mbedtls_psa_verify_hash_start() function
Start reading and verifying a hash or short message, in an interruptible manner.
Arguments
operation
The \c mbedtls_psa_verify_hash_interruptible_operation_t to use. This must be initialized first.
attributes
The attributes of the key to use for the operation.
key_buffer
The buffer containing the key context.
key_buffer_size
Size of the \p key_buffer buffer in bytes.
alg
A signature algorithm that is compatible with the type of the key.
hash
The hash whose signature is to be verified.
hash_length
Size of the \p hash buffer in bytes.
signature
Buffer containing the signature to verify.
signature_length
Size of the \p signature buffer in bytes.
Return value
#PSA_SUCCESS The operation started successfully - call \c psa_sign_hash_complete() with the same context to complete the operation #PSA_ERROR_INVALID_ARGUMENT An unsupported or incorrect type of key was used. #PSA_ERROR_NOT_SUPPORTED Either no internal interruptible operations are currently supported, or the key type is currently unsupported. #PSA_ERROR_INSUFFICIENT_MEMORY There was insufficient memory either to load the key representation, or to prepare the operation.
Notes
The signature of this function is that of a PSA driver verify_hash_start entry point. This function behaves as a verify_hash_start entry point as defined in the PSA driver interface specification for transparent drivers.
mbedtls_psa_verify_hash_start() is called by 1 function:
![]()
mbedtls_psa_verify_hash_start()
mbedtls_psa_verify_hash_start() reads 1 variable:
![]()
mbedtls_psa_verify_hash_start()