From 61ec18da26d0571bc925e8f60b9f8b60ce5ca1fb Mon Sep 17 00:00:00 2001 From: jsing <> Date: Wed, 5 May 2021 10:05:27 +0000 Subject: Rewrite TLSv1.2 key block handling. For TLSv1.2 a single key block is generated, then partitioned into individual secrets for use as IVs and keys. The previous implementation splits this across two functions tls1_setup_key_block() and tls1_change_cipher_state(), which means that the IV and key sizes have to be known in multiple places. This implementation generates and partitions the key block in a single step, meaning that the secrets are then simply handed out when requested. ok inoguchi@ tb@ --- src/lib/libssl/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lib/libssl/Makefile') diff --git a/src/lib/libssl/Makefile b/src/lib/libssl/Makefile index d6730a5e04..6171194629 100644 --- a/src/lib/libssl/Makefile +++ b/src/lib/libssl/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.69 2021/04/25 13:15:22 jsing Exp $ +# $OpenBSD: Makefile,v 1.70 2021/05/05 10:05:27 jsing Exp $ .include .ifndef NOMAN @@ -67,6 +67,7 @@ SRCS= \ ssl_versions.c \ t1_enc.c \ t1_lib.c \ + tls12_key_schedule.c \ tls12_lib.c \ tls12_record_layer.c \ tls13_buffer.c \ -- cgit v1.2.3-55-g6feb