mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-24 23:38:09 +00:00
- Seed-size now matches required entropy for key + IV
This commit is contained in:
parent
c50132d4fa
commit
5cb9db4c5b
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@
|
|||
#define CTR_DRBG_KEYBITS ( CTR_DRBG_KEYSIZE * 8 )
|
||||
#define CTR_DRBG_SEEDLEN ( CTR_DRBG_KEYSIZE + CTR_DRBG_BLOCKSIZE )
|
||||
/**< The seed length (counter + AES key) */
|
||||
#define CTR_DRBG_ENTROPY_LEN 32 /**< Amount of entropy used per seed by default */
|
||||
#define CTR_DRBG_ENTROPY_LEN 48 /**< Amount of entropy used per seed by default */
|
||||
#define CTR_DRBG_RESEED_INTERVAL 10000 /**< Interval before reseed is performed by default */
|
||||
#define CTR_DRBG_MAX_INPUT 256 /**< Maximum number of additional input bytes */
|
||||
#define CTR_DRBG_MAX_REQUEST 1024 /**< Maximum number of requested bytes per call */
|
||||
|
|
Loading…
Reference in a new issue