mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 10:47:28 +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;
|
return BAD_FUNC_ARG;
|
||||||
|
|
||||||
aes->heap = heap;
|
aes->heap = heap;
|
||||||
|
aes->rounds = 0;
|
||||||
|
|
||||||
#ifdef WOLF_CRYPTO_CB
|
#ifdef WOLF_CRYPTO_CB
|
||||||
aes->devId = devId;
|
aes->devId = devId;
|
||||||
|
Reference in New Issue
Block a user