mirror of
https://github.com/ARMmbed/mbedtls.git
synced 2025-06-06 06:49:22 +08:00
Use psa_ssl_status_to_mbedtls in PSA version of mbedtls_ct_hmac()
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
This commit is contained in:
parent
28d9c631b8
commit
ae57cfd3e7
@ -551,7 +551,7 @@ cleanup:
|
||||
mbedtls_platform_zeroize( aux_out, MBEDTLS_MD_MAX_SIZE );
|
||||
psa_hash_abort( &operation );
|
||||
psa_hash_abort( &aux_operation );
|
||||
return( status == PSA_SUCCESS ? 0 : MBEDTLS_ERR_PLATFORM_HW_ACCEL_FAILED );
|
||||
return( psa_ssl_status_to_mbedtls( status ) );
|
||||
}
|
||||
#else
|
||||
int mbedtls_ct_hmac( mbedtls_md_context_t *ctx,
|
||||
|
Loading…
x
Reference in New Issue
Block a user