forked from wolfSSL/wolfssl
Fix for using static memory AES GCM test.
This commit is contained in:
@ -8876,7 +8876,7 @@ int aesgcm_test(void)
|
|||||||
WC_RNG rng;
|
WC_RNG rng;
|
||||||
byte randIV[12];
|
byte randIV[12];
|
||||||
|
|
||||||
result = wc_InitRng(&rng);
|
result = wc_InitRng_ex(&rng, HEAP_HINT, devId);
|
||||||
if (result != 0)
|
if (result != 0)
|
||||||
return -6135;
|
return -6135;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user