forked from wolfSSL/wolfssl
wolfcrypt: cmac: add missing wc_AesFree()
This commit is contained in:
@@ -249,6 +249,7 @@ int wc_CmacFinal(Cmac* cmac, byte* out, word32* outSz)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
wc_AesFree(&cmac->aes);
|
||||||
ForceZero(cmac, sizeof(Cmac));
|
ForceZero(cmac, sizeof(Cmac));
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
Reference in New Issue
Block a user