Skip to content

Commit 2c162ff

Browse files
author
Andras Fekete
committed
Make sure aes->rounds is initialized
Warning 684346.5627323
1 parent 726e702 commit 2c162ff

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

wolfcrypt/src/aes.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11103,6 +11103,7 @@ int wc_AesInit(Aes* aes, void* heap, int devId)
1110311103
return BAD_FUNC_ARG;
1110411104

1110511105
aes->heap = heap;
11106+
aes->rounds = 0;
1110611107

1110711108
#ifdef WOLF_CRYPTO_CB
1110811109
aes->devId = devId;

0 commit comments

Comments
 (0)