X-Git-Url: https://git.cryptolib.org/?p=arm-crypto-lib.git;a=blobdiff_plain;f=aes%2Faes_types.h;h=6d68022b0c296ca451a9a2ee323234cd4c0bbe27;hp=2768521aac580cfcf35d35049966162ce47d23b7;hb=bbdf729f289a7920c271991712558f566392af4a;hpb=1cdc772d04bae747c339badaa99f6132eedbcd2f diff --git a/aes/aes_types.h b/aes/aes_types.h index 2768521..6d68022 100644 --- a/aes/aes_types.h +++ b/aes/aes_types.h @@ -46,7 +46,7 @@ typedef struct __attribute__((packed)){ } aes256_ctx_t; typedef struct __attribute__((packed)){ - aes_roundkey_t key[1]; /* just to avoid the warning */ + aes_roundkey_t key[15]; /* just to avoid the warning */ } aes_genctx_t; typedef struct __attribute__((packed)){