mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-23 06:05:28 +00:00
HMAC_DRBG: note that the initial seeding grabs entropy for the nonce
This commit is contained in:
parent
9fb4518728
commit
340d6099a0
|
@ -224,6 +224,9 @@ void mbedtls_hmac_drbg_set_prediction_resistance( mbedtls_hmac_drbg_context *ctx
|
|||
* \brief This function sets the amount of entropy grabbed on each
|
||||
* seed or reseed.
|
||||
*
|
||||
* During the initial seeding, mbedtls_hmac_drbg_seed() additionally grabs
|
||||
* half this amount to create the nonce.
|
||||
*
|
||||
* The default value is given by the security strength, which depends on the
|
||||
* hash used. See the documentation of mbedtls_hmac_drbg_seed() for details.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue