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:
parent
efebad0d67
commit
2c9843f2a4
3 changed files with 28 additions and 20 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue