mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-11 19:15:35 +00:00
Separate return codes for unsupported and invalid algorithms
This commit is contained in:
parent
66200c4e98
commit
fbf7f121f9
|
@ -956,7 +956,9 @@ static psa_hash_operation_t psa_hash_operation_init(void);
|
||||||
* \retval #PSA_SUCCESS
|
* \retval #PSA_SUCCESS
|
||||||
* Success.
|
* Success.
|
||||||
* \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 a supported hash algorithm.
|
||||||
|
* \retval #PSA_ERROR_INVALID_ARGUMENT
|
||||||
|
* \p alg is not a hash algorithm.
|
||||||
* \retval #PSA_ERROR_BAD_STATE
|
* \retval #PSA_ERROR_BAD_STATE
|
||||||
* The operation state is not valid (already set up and not
|
* The operation state is not valid (already set up and not
|
||||||
* subsequently completed).
|
* subsequently completed).
|
||||||
|
|
Loading…
Reference in a new issue