mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-02-24 10:46:54 +00:00
Add PSA_ERROR_INVALID_ARGUMENT to psa_hash_compare
This commit is contained in:
parent
df3c7ac645
commit
8d0bcf27ec
|
@ -859,6 +859,8 @@ psa_status_t psa_hash_compute(psa_algorithm_t alg,
|
||||||
* differs from the expected hash.
|
* differs from the expected hash.
|
||||||
* \retval #PSA_ERROR_NOT_SUPPORTED
|
* \retval #PSA_ERROR_NOT_SUPPORTED
|
||||||
* \p alg is not supported or is not a hash algorithm.
|
* \p alg is not supported or is not a hash algorithm.
|
||||||
|
* \retval #PSA_ERROR_INVALID_ARGUMENT
|
||||||
|
* \p input_length or \p hash_length do not match the hash size for \p alg
|
||||||
* \retval #PSA_ERROR_INSUFFICIENT_MEMORY
|
* \retval #PSA_ERROR_INSUFFICIENT_MEMORY
|
||||||
* \retval #PSA_ERROR_COMMUNICATION_FAILURE
|
* \retval #PSA_ERROR_COMMUNICATION_FAILURE
|
||||||
* \retval #PSA_ERROR_HARDWARE_FAILURE
|
* \retval #PSA_ERROR_HARDWARE_FAILURE
|
||||||
|
|
Loading…
Reference in a new issue