1
0
Fork 0
mirror of https://github.com/yuzu-emu/mbedtls.git synced 2025-04-01 23:07:00 +00:00

Clarify TLS PRF algorithm description

This commit is contained in:
Janos Follath 2019-06-26 12:50:36 +01:00
parent 30090bc2cf
commit 76c3984477

View file

@ -4160,7 +4160,8 @@ static psa_status_t psa_key_derivation_tls12_prf_generate_next_block(
* *
* The `psa_tls12_prf_key_derivation` structure saves the block * The `psa_tls12_prf_key_derivation` structure saves the block
* `HMAC_hash(secret, A(i) + seed)` from which the output * `HMAC_hash(secret, A(i) + seed)` from which the output
* is currently extracted as `output_block`. * is currently extracted as `output_block` and where i is
* `block_number`.
*/ */
/* Save the hash context before using it, to preserve the hash state with /* Save the hash context before using it, to preserve the hash state with