Make sure aes->rounds is initialized

Warning 684346.5627323
This commit is contained in:
Andras Fekete
2024-01-19 10:39:33 -05:00
parent 726e7026cb
commit 2c162ffb97

View File

@ -11103,6 +11103,7 @@ int wc_AesInit(Aes* aes, void* heap, int devId)
return BAD_FUNC_ARG;
aes->heap = heap;
aes->rounds = 0;
#ifdef WOLF_CRYPTO_CB
aes->devId = devId;