mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-05-03 12:16:18 +00:00
fixup! CTR_DRBG: support set_entropy_len() before seed()
Update a comment that referred to a now-removed function.
This commit is contained in:
parent
9d3baea439
commit
379561feff
|
@ -382,14 +382,13 @@ exit:
|
||||||
}
|
}
|
||||||
|
|
||||||
/* CTR_DRBG_Instantiate with derivation function (SP 800-90A §10.2.1.3.2)
|
/* CTR_DRBG_Instantiate with derivation function (SP 800-90A §10.2.1.3.2)
|
||||||
* mbedtls_ctr_drbg_seed_entropy_len(ctx, f_entropy, p_entropy,
|
* mbedtls_ctr_drbg_seed(ctx, f_entropy, p_entropy, custom, len)
|
||||||
* custom, len, entropy_len)
|
|
||||||
* implements
|
* implements
|
||||||
* CTR_DRBG_Instantiate(entropy_input, nonce, personalization_string,
|
* CTR_DRBG_Instantiate(entropy_input, nonce, personalization_string,
|
||||||
* security_strength) -> initial_working_state
|
* security_strength) -> initial_working_state
|
||||||
* with inputs
|
* with inputs
|
||||||
* custom[:len] = nonce || personalization_string
|
* custom[:len] = nonce || personalization_string
|
||||||
* where entropy_input comes from f_entropy for entropy_len bytes
|
* where entropy_input comes from f_entropy for ctx->entropy_len bytes
|
||||||
* and with outputs
|
* and with outputs
|
||||||
* ctx = initial_working_state
|
* ctx = initial_working_state
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue