openssl/providers
Juergen Christ 732a4d15b0 Fix cipher reinit on s390x if no key is specified
If key==null on EVP_CipherInit_ex, the init functions for the hardware
implementation is not called.  The s390x implementation of OFB and CFB mode
used the init function to copy the IV into the hardware causing test failures
on cipher reinit.  Fix this by moving the copy operation into the cipher
operation.

Signed-off-by: Juergen Christ <jchrist@linux.ibm.com>

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Patrick Steuer <patrick.steuer@de.ibm.com>
(Merged from https://github.com/openssl/openssl/pull/13984)
2021-01-28 15:23:25 +01:00
..
common Update copyright year 2021-01-28 13:54:57 +01:00
fips Update copyright year 2021-01-28 13:54:57 +01:00
implementations Fix cipher reinit on s390x if no key is specified 2021-01-28 15:23:25 +01:00
baseprov.c PROV: Re-implement all the keypair encoders 2020-11-11 12:43:27 +01:00
build.info providers/build.info: Tag the FIPS module, for the build file 2020-10-08 11:29:23 +02:00
decoders.inc Remove unnecessary guards around MSBLOB and PVK readers and writers 2020-12-13 10:27:31 +01:00
defltprov.c rand: add a provider side seed source. 2020-12-09 12:20:32 +10:00
encoders.inc PROV: Add MSBLOB and PVK encoders 2020-12-15 14:27:37 +01:00
legacyprov.c Rename some occurrences of 'library_context' and 'lib_ctx' to 'libctx' 2020-10-15 12:00:21 +01:00
nullprov.c null prov: fix gettable param array type. 2020-10-16 10:33:38 +10:00
prov_running.c keygen: add FIPS error state management to conditional self tests 2020-09-12 16:46:51 +10:00
stores.inc prov: prefix all OSSL_DISPATCH tables names with ossl_ 2020-09-29 16:31:46 +10:00