15{ 0xF5, 0xBF, 0x8B, 0x37, 0x13, 0x6F, 0x2E, 0x1F,
16 0x6B, 0xEC, 0x6F, 0x57, 0x20, 0x21, 0xE3, 0xBA
21 0x4E, 0x46, 0xF8, 0xC5, 0x09, 0x2B, 0x29, 0xE2,
22 0x9A, 0x97, 0x1A, 0x0C, 0xD1, 0xF6, 0x10, 0xFB,
23 0x1F, 0x67, 0x63, 0xDF, 0x80, 0x7A, 0x7E, 0x70,
24 0x96, 0x0D, 0x4C, 0xD3, 0x11, 0x8E, 0x60, 0x1A
33 unsigned char buf[16];
34 unsigned char key[32];
36 for (n = 0; n < *len; n+=16,str+=16,l-=16)
39 memcpy( buf, str,
min(16,l));
int aes_set_key(aes_context *ctx, uint8 *key, int nbits)
void aes_encrypt(aes_context *ctx, uint8 input[16], uint8 output[16])
static unsigned char secret_key[32]
static unsigned char AES_test[16]
int aes256(char *str, int *len)