typedef struct {
uint_32t ks[KS_LENGTH];
aes_inf inf;
+ unsigned char pad[16];
} aes_encrypt_ctx;
typedef struct {
} aes_decrypt_ctx;
typedef struct {
- aes_encrypt_ctx enc;
- aes_decrypt_ctx dec;
+ union {
+ aes_encrypt_ctx enc;
+ aes_decrypt_ctx dec;
+ } u;
} AesContext;
#define AES_RETURN void