fix SE050 hash msg buffer leak

This commit is contained in:
Jeremiah Mackey
2026-03-26 16:39:50 +00:00
parent 079e7c5692
commit dcbb5539f1
+1
View File
@@ -344,6 +344,7 @@ int se050_hash_final(SE050_HASH_Context* se050Ctx, byte* hash, size_t digestLen,
if (status == kStatus_SSS_Success) {
/* reset state */
XFREE(se050Ctx->msg, se050Ctx->heap, DYNAMIC_TYPE_TMP_BUFFER);
ret = se050_hash_init(se050Ctx, se050Ctx->heap);
} else {
ret = WC_HW_E;