mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-15 23:42:41 +00:00
Remove misleading comment in TLS 1.3 key schedule code
The implementation documentation of ``` mbedtls_ssl_tls1_3_derive_early_secrets() ``` mentioned the PSK binder key, which is misleading because the function doesn't actually calculate it. Signed-off-by: Hanno Becker <hanno.becker@arm.com>
This commit is contained in:
parent
28e5f1ed57
commit
cd817b0630
@ -368,9 +368,6 @@ int mbedtls_ssl_tls1_3_derive_early_secrets(
|
|||||||
* v
|
* v
|
||||||
* PSK -> HKDF-Extract = Early Secret
|
* PSK -> HKDF-Extract = Early Secret
|
||||||
* |
|
* |
|
||||||
* +-----> Derive-Secret(., "ext binder" | "res binder", "")
|
|
||||||
* | = binder_key
|
|
||||||
* |
|
|
||||||
* +-----> Derive-Secret(., "c e traffic", ClientHello)
|
* +-----> Derive-Secret(., "c e traffic", ClientHello)
|
||||||
* | = client_early_traffic_secret
|
* | = client_early_traffic_secret
|
||||||
* |
|
* |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user