Go to the documentation of this file.
27 #ifndef POLARSSL_AES_H
28 #define POLARSSL_AES_H
30 #if !defined(POLARSSL_CONFIG_FILE)
33 #include POLARSSL_CONFIG_FILE
38 #if defined(_MSC_VER) && !defined(EFIX64) && !defined(EFI32)
40 typedef UINT32 uint32_t;
49 #define POLARSSL_ERR_AES_INVALID_KEY_LENGTH -0x0020
50 #define POLARSSL_ERR_AES_INVALID_INPUT_LENGTH -0x0022
52 #if !defined(POLARSSL_AES_ALT)
100 unsigned int keysize );
112 unsigned int keysize );
126 const unsigned char input[16],
127 unsigned char output[16] );
129 #if defined(POLARSSL_CIPHER_MODE_CBC)
147 unsigned char iv[16],
148 const unsigned char *input,
149 unsigned char *output );
152 #if defined(POLARSSL_CIPHER_MODE_CFB)
174 unsigned char iv[16],
175 const unsigned char *input,
176 unsigned char *output );
197 unsigned char iv[16],
198 const unsigned char *input,
199 unsigned char *output );
202 #if defined(POLARSSL_CIPHER_MODE_CTR)
228 unsigned char nonce_counter[16],
229 unsigned char stream_block[16],
230 const unsigned char *input,
231 unsigned char *output );