Merge pull request #342 from Patater/reseed-counter-value-comment

ctr_drbg: Clarify reseed_counter values before seeding
This commit is contained in:
Jaeden Amero 2020-01-10 13:49:33 +00:00 committed by GitHub
commit a337167543
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -177,7 +177,9 @@ typedef struct mbedtls_ctr_drbg_context
* minus one.
* Before the initial seeding, this field
* contains the amount of entropy in bytes
* to use as a nonce for the initial seeding.
* to use as a nonce for the initial seeding,
* or -1 if no nonce length has been explicitly
* set (see mbedtls_ctr_drbg_set_nonce_len()).
*/
int prediction_resistance; /*!< This determines whether prediction
resistance is enabled, that is