mirror of
https://github.com/yuzu-mirror/mbedtls.git
synced 2026-03-01 19:14:10 +01:00
Call mbedtls_platform_zeroize via mbedtls_sha3_free
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
parent
dbddb00158
commit
984309c2c3
|
|
@ -286,7 +286,7 @@ int mbedtls_sha3_finish(mbedtls_sha3_context *ctx,
|
|||
ret = 0;
|
||||
|
||||
exit:
|
||||
mbedtls_platform_zeroize(ctx, sizeof(mbedtls_sha3_context));
|
||||
mbedtls_sha3_free(ctx);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue