commit | 0adf0fc31c2ed664f7536e15c8c7ef4e99e1b5a5 | [log] [tgz] |
---|---|---|
author | itayzafrir <itay.zafrir@arm.com> | Thu Sep 06 16:24:41 2018 +0300 |
committer | itayzafrir <itay.zafrir@arm.com> | Sun Sep 16 12:15:46 2018 +0300 |
tree | bc01809ac28d15fee140678389f8e5d27ce8528e | |
parent | e852df846649dbf0a8ece71c2d77dfa5f5907c8d [diff] [blame] |
Ensure the module is initialized in psa_generate_random
diff --git a/include/psa/crypto.h b/include/psa/crypto.h index c3899bf..b0bbb16 100644 --- a/include/psa/crypto.h +++ b/include/psa/crypto.h
@@ -2902,6 +2902,7 @@ * \retval #PSA_ERROR_COMMUNICATION_FAILURE * \retval #PSA_ERROR_HARDWARE_FAILURE * \retval #PSA_ERROR_TAMPERING_DETECTED + * \retval #PSA_ERROR_BAD_STATE */ psa_status_t psa_generate_random(uint8_t *output, size_t output_size);