summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorStephen Farrell <stephen.farrell@cs.tcd.ie>2024-07-04 18:34:47 +0200
committerTomas Mraz <tomas@openssl.org>2024-07-10 11:44:39 +0200
commit21dfb975968d73b9cd40835d2cd436602079e853 (patch)
treec0f4f0e52a8d7e98cdea371a7ae812c4727d6452 /util
parentAdd documentation for deprecated CMAC_CTX functions (diff)
downloadopenssl-21dfb975968d73b9cd40835d2cd436602079e853.tar.xz
openssl-21dfb975968d73b9cd40835d2cd436602079e853.zip
Extend TLSv1.3 record layer padding API calls
Added SSL_set_block_padding_ex() and SSL_CTX_set_block_padding_ex() to allow separate padding block size values for handshake messages and application data messages. Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/24796)
Diffstat (limited to 'util')
-rw-r--r--util/libssl.num2
-rw-r--r--util/perl/OpenSSL/paramnames.pm1
2 files changed, 3 insertions, 0 deletions
diff --git a/util/libssl.num b/util/libssl.num
index e232d3efd4..cd2c7f06a1 100644
--- a/util/libssl.num
+++ b/util/libssl.num
@@ -584,3 +584,5 @@ SSL_poll 584 3_3_0 EXIST::FUNCTION:
SSL_SESSION_get_time_ex 585 3_3_0 EXIST::FUNCTION:
SSL_SESSION_set_time_ex 586 3_3_0 EXIST::FUNCTION:
SSL_CTX_flush_sessions_ex 587 3_4_0 EXIST::FUNCTION:
+SSL_CTX_set_block_padding_ex ? 3_4_0 EXIST::FUNCTION:
+SSL_set_block_padding_ex ? 3_4_0 EXIST::FUNCTION:
diff --git a/util/perl/OpenSSL/paramnames.pm b/util/perl/OpenSSL/paramnames.pm
index 204a8bb213..6e5c027a22 100644
--- a/util/perl/OpenSSL/paramnames.pm
+++ b/util/perl/OpenSSL/paramnames.pm
@@ -506,6 +506,7 @@ my %params = (
'LIBSSL_RECORD_LAYER_PARAM_MAX_FRAG_LEN' => "max_frag_len",
'LIBSSL_RECORD_LAYER_PARAM_MAX_EARLY_DATA' => "max_early_data",
'LIBSSL_RECORD_LAYER_PARAM_BLOCK_PADDING' => "block_padding",
+ 'LIBSSL_RECORD_LAYER_PARAM_HS_PADDING' => "hs_padding",
);
# Generate string based macros for public consumption