remove zeorize from keys
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
parent
cc0a13fcf8
commit
545432310d
1 changed files with 0 additions and 3 deletions
|
@ -1440,9 +1440,6 @@ int mbedtls_ssl_tls13_generate_application_keys(
|
|||
handshake->tls13_master_secrets.app,
|
||||
transcript, transcript_len,
|
||||
app_secrets );
|
||||
/* Erase master secrets */
|
||||
mbedtls_platform_zeroize( &ssl->handshake->tls13_master_secrets,
|
||||
sizeof( ssl->handshake->tls13_master_secrets ) );
|
||||
if( ret != 0 )
|
||||
{
|
||||
MBEDTLS_SSL_DEBUG_RET( 1,
|
||||
|
|
Loading…
Reference in a new issue