mirror of
https://github.com/kokke/tiny-AES-c
synced 2024-11-21 21:11:58 +03:00
Update aes.h
This commit is contained in:
parent
8526d39536
commit
79458d2162
7
aes.h
7
aes.h
@ -41,11 +41,12 @@
|
||||
#define AES_keyExpSize 176
|
||||
#endif
|
||||
|
||||
struct AES_ctx {
|
||||
struct AES_ctx
|
||||
{
|
||||
uint8_t RoundKey[AES_keyExpSize];
|
||||
#if (defined(CBC) && (CBC == 1)) || (defined(CTR) && (CTR == 1))
|
||||
#if (defined(CBC) && (CBC == 1)) || (defined(CTR) && (CTR == 1))
|
||||
uint8_t Iv[AES_BLOCKLEN];
|
||||
#endif
|
||||
#endif
|
||||
};
|
||||
|
||||
void AES_init_ctx(struct AES_ctx* ctx, const uint8_t* key);
|
||||
|
Loading…
Reference in New Issue
Block a user