Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
This commit is contained in:
Gabor Mezei 2022-02-07 18:06:35 +01:00
parent 298a2d6109
commit ebc9368173
No known key found for this signature in database
GPG Key ID: 106F5A41ECC305BD

View File

@ -3832,10 +3832,10 @@ void psa_hkdf_extract( int alg, char *hex_ikm_string,
ASSERT_COMPARE( output_prk, output_prk_len, prk, prk_len );
exit:
mbedtls_free(ikm);
mbedtls_free(salt);
mbedtls_free(prk);
mbedtls_free(output_prk);
mbedtls_free( ikm );
mbedtls_free( salt );
mbedtls_free( prk );
mbedtls_free( output_prk );
PSA_DONE( );
}
@ -3863,7 +3863,7 @@ void psa_hkdf_extract_ret( int hash_len, int ret )
TEST_ASSERT( prk_len == 0 );
exit:
mbedtls_free(prk);
mbedtls_free( prk );
PSA_DONE( );
}