0 memset kop in devcrypto before use

This commit is contained in:
JacobBarthelmeh
2026-05-20 01:29:34 -07:00
parent 26bce72776
commit 51698759fa
@@ -64,6 +64,7 @@ int wc_DevCryptoEccKeyGen(int curveId, int enc, byte* pri, word32 priSz,
}
if (ret == 0) {
XMEMSET(&kop, 0, sizeof(kop));
kop.crk_op = CRK_ECC_KEYGEN;
kop.ses = ctx.sess.ses;
kop.crk_flags = ecdsel;