mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 14:35:37 +01:00
HMAC_DRBG: note that the initial seeding grabs entropy for the nonce
This commit is contained in:
parent
217b8159da
commit
5d9fd07938
@ -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
|
* \brief This function sets the amount of entropy grabbed on each
|
||||||
* seed or reseed.
|
* 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
|
* 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.
|
* hash used. See the documentation of mbedtls_hmac_drbg_seed() for details.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user