Extend the new_record_layer function
authorMatt Caswell <matt@openssl.org>
Mon, 14 Nov 2022 14:19:53 +0000 (14:19 +0000)
committerMatt Caswell <matt@openssl.org>
Tue, 24 Jan 2023 17:16:29 +0000 (17:16 +0000)
commit3f9175c7a46b13a3528d9b5776030a78eb1f9454
treed114752dce6626fe749c8bec4b8721424c701461
parentbea8d70498c9ad0e2cca3652c748d327be7b841e
Extend the new_record_layer function

Add the ability to pass the main secret and length, as well as the
digest used for the KDF.

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19748)
14 files changed:
include/internal/recordmethod.h
ssl/d1_lib.c
ssl/record/methods/dtls_meth.c
ssl/record/methods/ktls_meth.c
ssl/record/methods/tls_common.c
ssl/record/rec_layer_s3.c
ssl/record/record.h
ssl/s3_enc.c
ssl/ssl_lib.c
ssl/statem/statem_clnt.c
ssl/t1_enc.c
ssl/tls13_enc.c
test/tls13encryptiontest.c
test/tls13secretstest.c