mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 13:15:40 +01:00
mbedtls_ctr_drbg_seed: correct maximum for len
This commit is contained in:
parent
f6c2061af2
commit
e215a4d05e
@ -244,7 +244,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.
|
* \return \c 0 on success.
|
||||||
* \return #MBEDTLS_ERR_CTR_DRBG_ENTROPY_SOURCE_FAILED on failure.
|
* \return #MBEDTLS_ERR_CTR_DRBG_ENTROPY_SOURCE_FAILED on failure.
|
||||||
|
Loading…
Reference in New Issue
Block a user