X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fsec%2Fcipher%2Faes.h;h=7be6265ead5ca42e4348f36fa09d43cf8766a0ca;hb=ebdb6199fdf3a09932ea6da7b147ee9e19834078;hp=587f3f7482c46bf0f439ab67dae780558f00609b;hpb=a0c2e0ee114dbb7cb95766d43694f46718c75b6f;p=bertos.git diff --git a/bertos/sec/cipher/aes.h b/bertos/sec/cipher/aes.h index 587f3f74..7be6265e 100644 --- a/bertos/sec/cipher/aes.h +++ b/bertos/sec/cipher/aes.h @@ -41,26 +41,27 @@ #define SEC_CIPHER_AES_H #include +#include #include typedef struct { BlockCipher c; - int num_rounds; + uint32_t status; uint8_t expkey[44*4]; } AES128_Context; typedef struct { BlockCipher c; - int num_rounds; + uint32_t status; uint8_t expkey[52*4]; } AES192_Context; typedef struct { BlockCipher c; - int num_rounds; + uint32_t status; uint8_t expkey[60*4]; } AES256_Context;