mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-24 11:55:37 +00:00
Added extra bad state case to psa_hash_setup
This commit is contained in:
parent
2364924619
commit
97d3bc3674
|
@ -503,6 +503,8 @@ psa_status_t psa_close_key(psa_key_handle_t handle);
|
||||||
* \retval #PSA_ERROR_HARDWARE_FAILURE
|
* \retval #PSA_ERROR_HARDWARE_FAILURE
|
||||||
* \retval #PSA_ERROR_CORRUPTION_DETECTED
|
* \retval #PSA_ERROR_CORRUPTION_DETECTED
|
||||||
* \retval #PSA_ERROR_BAD_STATE
|
* \retval #PSA_ERROR_BAD_STATE
|
||||||
|
* \p operation is either not initialized or is in use
|
||||||
|
* \retval #PSA_ERROR_BAD_STATE
|
||||||
* The library has not been previously initialized by psa_crypto_init().
|
* The library has not been previously initialized by psa_crypto_init().
|
||||||
* It is implementation-dependent whether a failure to initialize
|
* It is implementation-dependent whether a failure to initialize
|
||||||
* results in this error code.
|
* results in this error code.
|
||||||
|
|
Loading…
Reference in a new issue