X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fsec%2Fcipher%2Faes.h;h=7be6265ead5ca42e4348f36fa09d43cf8766a0ca;hb=69189320a33089d77c2623698c583a7a0fc48702;hp=b31507c905a49fef1987bf2682f1503910493646;hpb=0873803f4cfeb7e58896d767ebfafbc420939e39;p=bertos.git diff --git a/bertos/sec/cipher/aes.h b/bertos/sec/cipher/aes.h index b31507c9..7be6265e 100644 --- a/bertos/sec/cipher/aes.h +++ b/bertos/sec/cipher/aes.h @@ -1,27 +1,67 @@ +/** + * \file + * + * + * \brief AES Advanced Encryption Standard implementation + * + * \author Giovanni Bajo + * + * $WIZ$ module_name = "aes" + */ + #ifndef SEC_CIPHER_AES_H #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;