From cd817b06303bf43547ed6fe855e712c529de7e63 Mon Sep 17 00:00:00 2001 From: Hanno Becker Date: Mon, 31 May 2021 19:40:45 +0100 Subject: [PATCH] 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 --- library/ssl_tls13_keys.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/library/ssl_tls13_keys.c b/library/ssl_tls13_keys.c index 78a55812d..f1c8a12d8 100644 --- a/library/ssl_tls13_keys.c +++ b/library/ssl_tls13_keys.c @@ -368,9 +368,6 @@ int mbedtls_ssl_tls1_3_derive_early_secrets( * v * PSK -> HKDF-Extract = Early Secret * | - * +-----> Derive-Secret(., "ext binder" | "res binder", "") - * | = binder_key - * | * +-----> Derive-Secret(., "c e traffic", ClientHello) * | = client_early_traffic_secret * |