aes.h 255 B

1234567891011
  1. #include <stdint.h>
  2. #define AES_KEYLEN 16 // Key length in bytes
  3. #define AES_keyExpSize 176
  4. #define AES_BLOCKLEN 16 // Block length in bytes - AES is 128b block only
  5. struct AES_ctx
  6. {
  7. uint8_t RoundKey[AES_keyExpSize];
  8. uint8_t Iv[AES_BLOCKLEN];
  9. };