mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-29 18:27:29 +02:00
Make sure aes->rounds is initialized
Warning 684346.5627323
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user