#include <sys/types.h>
#include <crypto/rijndael.h>
int
rijndael_makeKey(keyInstance *key, uint8_t direction, int keyLen, char *keyMaterial);
int
rijndael_cipherInit(cipherInstance *cipher, uint8_t mode, char *IV);
int
rijndael_blockEncrypt(cipherInstance *cipher, keyInstance *key, uint8_t *input, int inputLen, uint8_t *outBuffer);
int
rijndael_padEncrypt(cipherInstance *cipher, keyInstance *key, uint8_t *input, int inputOctets, uint8_t *outBuffer);
int
rijndael_blockDecrypt(cipherInstance *cipher, keyInstance *key, uint8_t *input, int inputLen, uint8_t *outBuffer);
int
rijndael_padDecrypt(cipherInstance *cipher, keyInstance *key, uint8_t *input, int inputOctets, uint8_t *outBuffer);