We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d9beb2 commit 708b797Copy full SHA for 708b797
src/libwolfboot.c
@@ -1578,6 +1578,9 @@ int aes_init(void)
1578
int devId = RENESAS_DEVID + 1;
1579
wrap_enc_key_t* enc_key =(wrap_enc_key_t*)RENESAS_TSIP_INSTALLEDENCKEY_ADDR;
1580
1581
+ /* required to properly setup the crypto callback defaults */
1582
+ wolfCrypt_Init(); /* has logic to support being called multiple times */
1583
+
1584
XMEMSET(&aes_enc, 0, sizeof(aes_enc));
1585
XMEMSET(&aes_dec, 0, sizeof(aes_dec));
1586
wc_AesInit(&aes_enc, NULL, devId);
0 commit comments