openssl/apps
Ingo Franzki b8028d4890 speed: Pass IV to EVP_CipherInit_ex for -evp runs with non-AEAD ciphers
Some (non-AEAD) ciphers require an IV to be used. Always pass a (dummy) IV
when setting the key. It is ignored by ciphers that do not use an IV.

Commit 607a46d003 corrected the use of AEAD
ciphers, but removed the IV from being passed to EVP_CipherInit_ex() for
non-AEAD ciphers.

Fixes: 607a46d003

Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com>

Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Hugo Landau <hlandau@devever.net>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26346)
2025-01-13 11:47:29 +01:00
..
demoSRP Fix grammar in srp_verifier.txt 2024-04-25 11:07:20 +02:00
include apps: directly inclusion of "e_os.h when needed 2024-09-05 17:02:51 +02:00
lib Check returns of various sk_*_push functions 2025-01-08 11:11:00 +01:00
asn1parse.c Fix memory leaks from missing checks of return value from sk_OPENSSL_STRING_push() 2025-01-09 15:23:39 +01:00
build.info
ca-cert.srl
ca-key.pem
ca-req.pem
ca.c apps: directly inclusion of "e_os.h when needed 2024-09-05 17:02:51 +02:00
CA.pl.in
cert.pem
ciphers.c
client.pem
cmp.c apps: directly inclusion of "e_os.h when needed 2024-09-05 17:02:51 +02:00
cms.c Fix memory leaks from missing checks of return value from sk_OPENSSL_STRING_push() 2025-01-09 15:23:39 +01:00
crl2pkcs7.c Check returns of various sk_*_push functions 2025-01-08 11:11:00 +01:00
crl.c Copyright year updates 2024-04-09 13:43:27 +02:00
ct_log_list.cnf
dgst.c Copyright year updates 2024-09-05 09:35:49 +02:00
dhparam.c APPS/dhparam: fix case where infile and outfile are the same 2024-10-04 12:09:33 +02:00
dsa512.pem
dsa1024.pem
dsa-ca.pem
dsa-pca.pem
dsa.c
dsap.pem
dsaparam.c APPS/dsaparam: fix case where infile and outfile are the same 2024-10-04 12:09:33 +02:00
ec.c
ecparam.c Fix wrong return value checks for some functions 2024-11-22 12:10:26 +01:00
enc.c Copyright year updates 2024-04-09 13:43:26 +02:00
engine.c Fix memory leaks from missing checks of return value from sk_OPENSSL_STRING_push() 2025-01-09 15:23:39 +01:00
errstr.c
fipsinstall.c fipsinstall: Save the 'status indicator' if the FIPS provider is 3.0.X. 2024-10-11 14:52:37 +02:00
gendsa.c
genpkey.c Copyright year updates 2024-04-09 13:43:26 +02:00
genrsa.c
info.c Add 'openssl info' item for the Windows install context 2024-10-16 19:29:53 +02:00
insta.ca.crt
kdf.c
list.c apps: directly inclusion of "e_os.h when needed 2024-09-05 17:02:51 +02:00
mac.c
nseq.c
ocsp.c APPS/ocsp: fix case where reqin and outfile are the same 2024-10-04 12:09:33 +02:00
openssl-vms.cnf
openssl.c apps: directly inclusion of "e_os.h when needed 2024-09-05 17:02:51 +02:00
openssl.cnf
passwd.c apps/passwd.c: Convert a redundant check to assert 2024-11-29 14:33:30 +01:00
pca-cert.srl
pca-key.pem
pca-req.pem
pkcs7.c
pkcs8.c APPS/pkcs8: fix case where infile and outfile are the same 2024-10-04 12:09:33 +02:00
pkcs12.c Fix memory leaks from missing checks of return value from sk_OPENSSL_STRING_push() 2025-01-09 15:23:39 +01:00
pkey.c APPS/pkey: fix case where infile and outfile are the same 2024-10-04 12:09:33 +02:00
pkeyparam.c APPS/{ecparam,pkeyparam}: fix case where infile and outfile are the same 2024-10-04 12:09:33 +02:00
pkeyutl.c apps/pkeyutl: Fix checks and documentation regarding -peerkey 2025-01-06 11:41:03 +01:00
prime.c Fix multiple wrong use of BN_check_prime 2024-11-22 12:09:38 +01:00
privkey.pem
progs.pl
rand.c
rehash.c rehash.c: handle possible null pointer returned by OPENSSL_strdup 2024-09-09 09:20:08 +02:00
req.c apps: Change default cipher to aes-256-cbc for req, cms and smime apps 2024-11-04 09:56:55 +01:00
req.pem
rsa8192.pem
rsa.c
rsautl.c
s512-key.pem
s512-req.pem
s1024key.pem
s1024req.pem
s_client.c apps: directly inclusion of "e_os.h when needed 2024-09-05 17:02:51 +02:00
s_server.c s_server: Support reading HTTP request from early data 2024-09-12 14:19:44 +02:00
s_time.c Copyright year updates 2024-04-09 13:43:26 +02:00
server2.pem
server.pem
server.srl
sess_id.c
smime.c Fix memory leaks from missing checks of return value from sk_OPENSSL_STRING_push() 2025-01-09 15:23:39 +01:00
speed.c speed: Pass IV to EVP_CipherInit_ex for -evp runs with non-AEAD ciphers 2025-01-13 11:47:29 +01:00
spkac.c
srp.c
storeutl.c APPS/storeutl: fix case where uri and outfile are the same 2024-10-09 11:10:19 +02:00
testCA.pem
testdsa.h
testrsa.h
timeouts.h
ts.c Copyright year updates 2024-09-05 09:35:49 +02:00
tsget.in
verify.c
version.c Revert API change of OPENSSL_version() 2024-10-17 13:36:58 +02:00
vms_decc_init.c
x509.c Check returns of various sk_*_push functions 2025-01-08 11:11:00 +01:00