mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-30 22:43:08 +03:00
Use driver-wrapper functions for psa_sign/verify_message
To avoid code duplication of the old-style SE interface usage call psa_driver_wrapper_sign/verify_hash function instead of the direct internal functions. Signed-off-by: gabor-mezei-arm <gabor.mezei@arm.com>
This commit is contained in:
@ -3038,7 +3038,7 @@ psa_status_t psa_sign_message_internal(
|
||||
return status;
|
||||
}
|
||||
|
||||
return psa_sign_hash_internal(
|
||||
return psa_driver_wrapper_sign_hash(
|
||||
attributes, key_buffer, key_buffer_size,
|
||||
alg, hash, hash_length,
|
||||
signature, signature_size, signature_length );
|
||||
@ -3082,7 +3082,7 @@ psa_status_t psa_verify_message_internal(
|
||||
return status;
|
||||
}
|
||||
|
||||
return psa_verify_hash_internal(
|
||||
return psa_driver_wrapper_verify_hash(
|
||||
attributes, key_buffer, key_buffer_size,
|
||||
alg, hash, hash_length,
|
||||
signature, signature_length );
|
||||
|
Reference in New Issue
Block a user