Commit 8b59e8098e for openssl.org
commit 8b59e8098e97974e56ad68c92c24d178b59d90c4
Author: Pauli <paul.dale@oracle.com>
Date: Thu Sep 3 14:37:06 2026 +1000
tdes: restore query parameters
TDES doesn't do anything with these parameters but they do default via the
common cipher code and return zero (false).
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Mounir Idrassi <mounir.idrassi@idrix.fr>
Merge-date: Tue Sep 15 05:19:42 2026
Merged-from: https://github.com/openssl/openssl/pull/32656
diff --git a/providers/implementations/ciphers/cipher_tdes.inc.in b/providers/implementations/ciphers/cipher_tdes.inc.in
index a05efdd112..d4d884e47d 100644
--- a/providers/implementations/ciphers/cipher_tdes.inc.in
+++ b/providers/implementations/ciphers/cipher_tdes.inc.in
@@ -16,8 +16,12 @@ use OpenSSL::paramnames qw(produce_param_decoder);
['OSSL_CIPHER_PARAM_KEYLEN', 'common.keylen', 'size_t'],
['OSSL_CIPHER_PARAM_IVLEN', 'common.ivlen', 'size_t'],
['OSSL_CIPHER_PARAM_BLOCK_SIZE', 'common.bsize', 'size_t'],
+ ['OSSL_CIPHER_PARAM_AEAD', 'common.aead', 'int' ],
['OSSL_CIPHER_PARAM_CUSTOM_IV', 'common.custiv', 'int'],
+ ['OSSL_CIPHER_PARAM_CTS', 'common.cts', 'int' ],
+ ['OSSL_CIPHER_PARAM_TLS1_MULTIBLOCK', 'common.mb', 'int' ],
['OSSL_CIPHER_PARAM_HAS_RAND_KEY', 'common.rand', 'int'],
+ ['OSSL_CIPHER_PARAM_ENCRYPT_THEN_MAC', 'common.etm', 'int' ],
['OSSL_CIPHER_PARAM_DECRYPT_ONLY', 'decrypt', 'int'],
)); -}