mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-27 01:34:19 +01:00
mbedtls_ctr_drbg_seed: correct maximum for len
This commit is contained in:
parent
406d25878c
commit
2abefefec2
@ -223,7 +223,8 @@ void mbedtls_ctr_drbg_init( mbedtls_ctr_drbg_context *ctx );
|
|||||||
* string is empty regardless of the value of \p len.
|
* string is empty regardless of the value of \p len.
|
||||||
* \param len The length of the personalization string.
|
* \param len The length of the personalization string.
|
||||||
* This must be at most
|
* This must be at most
|
||||||
* #MBEDTLS_CTR_DRBG_MAX_SEED_INPUT / 2.
|
* #MBEDTLS_CTR_DRBG_MAX_SEED_INPUT
|
||||||
|
* - #MBEDTLS_CTR_DRBG_ENTROPY_LEN.
|
||||||
*
|
*
|
||||||
* \return \c 0 on success, or
|
* \return \c 0 on success, or
|
||||||
* #MBEDTLS_ERR_CTR_DRBG_ENTROPY_SOURCE_FAILED on failure.
|
* #MBEDTLS_ERR_CTR_DRBG_ENTROPY_SOURCE_FAILED on failure.
|
||||||
|
Loading…
Reference in New Issue
Block a user