mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-30 22:43:08 +03:00
Return error if algorithm is not hash-then-sign for psa_sign_message
Signed-off-by: gabor-mezei-arm <gabor.mezei@arm.com>
This commit is contained in:
@ -3074,10 +3074,7 @@ psa_status_t psa_verify_message_internal(
|
|||||||
signature, signature_length );
|
signature, signature_length );
|
||||||
}
|
}
|
||||||
|
|
||||||
return psa_driver_wrapper_verify_hash(
|
return( PSA_ERROR_NOT_SUPPORTED );
|
||||||
attributes, key_buffer, key_buffer_size,
|
|
||||||
alg, input, input_length,
|
|
||||||
signature, signature_length );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
psa_status_t psa_verify_message( mbedtls_svc_key_id_t key,
|
psa_status_t psa_verify_message( mbedtls_svc_key_id_t key,
|
||||||
|
Reference in New Issue
Block a user