mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03:00
Make mbedtls_sa_ecp_load_public_part return psa_status_t
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
@ -3787,10 +3787,10 @@ psa_status_t mbedtls_psa_verify_hash_start(
|
||||
return status;
|
||||
}
|
||||
|
||||
int ret = mbedtls_psa_ecp_load_public_part(operation->ctx);
|
||||
status = mbedtls_psa_ecp_load_public_part(operation->ctx);
|
||||
|
||||
if (ret != 0) {
|
||||
return mbedtls_to_psa_error(ret);
|
||||
if (status != PSA_SUCCESS) {
|
||||
return status;
|
||||
}
|
||||
|
||||
/* We only need to store the same length of hash as the private key size
|
||||
|
Reference in New Issue
Block a user