openssl/providers/implementations/ciphers
Juergen Christ ff555f8136 Fix CipherInit on s390x.
Various different initialization sequences led to bugs on s390x due to caching
and processing during key setting.  Since, e.g., the direction does not
necessarily have to be correct during initialization, this produced bugs in
s390x which were not present on other architectures.  Fix this by recomputing
the function codes on the fly during updates and final operations.

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

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15521)
2021-06-08 14:32:44 +10:00
..
build.info Drop libimplementations.a 2021-05-07 10:17:23 +02:00
cipher_aes_cbc_hmac_sha1_hw.c prov: add zero strenght arguments to BN and RAND RNG calls 2021-05-29 17:17:12 +10:00
cipher_aes_cbc_hmac_sha256_hw.c prov: add zero strenght arguments to BN and RAND RNG calls 2021-05-29 17:17:12 +10:00
cipher_aes_cbc_hmac_sha.c Move libssl related defines used by fips provider to prov_ssl.h 2021-06-04 17:06:47 +02:00
cipher_aes_cbc_hmac_sha.h
cipher_aes_ccm_hw_aesni.inc Update copyright year 2021-03-11 13:27:36 +00:00
cipher_aes_ccm_hw_s390x.inc
cipher_aes_ccm_hw_t4.inc Update copyright year 2021-03-11 13:27:36 +00:00
cipher_aes_ccm_hw.c Update copyright year 2021-03-11 13:27:36 +00:00
cipher_aes_ccm.c Update copyright year 2021-03-11 13:27:36 +00:00
cipher_aes_ccm.h
cipher_aes_cts.c
cipher_aes_cts.h
cipher_aes_cts.inc support params argument to AES cipher init calls 2021-03-12 08:27:21 +10:00
cipher_aes_gcm_hw_aesni.inc Update copyright year 2021-03-11 13:27:36 +00:00
cipher_aes_gcm_hw_armv8.inc Update copyright year 2021-03-11 13:27:36 +00:00
cipher_aes_gcm_hw_s390x.inc Fix CipherInit on s390x. 2021-06-08 14:32:44 +10:00
cipher_aes_gcm_hw_t4.inc Update copyright year 2021-03-11 13:27:36 +00:00
cipher_aes_gcm_hw.c aes: rename new bsaes_ symbols -> ossl_bsaes_ ones 2021-05-27 09:35:50 +10:00
cipher_aes_gcm.c Update copyright year 2021-03-11 13:27:36 +00:00
cipher_aes_gcm.h Fix CipherInit on s390x. 2021-06-08 14:32:44 +10:00
cipher_aes_hw_aesni.inc
cipher_aes_hw_s390x.inc Fix CipherInit on s390x. 2021-06-08 14:32:44 +10:00
cipher_aes_hw_t4.inc
cipher_aes_hw.c aes: rename new bsaes_ symbols -> ossl_bsaes_ ones 2021-05-27 09:35:50 +10:00
cipher_aes_ocb_hw.c
cipher_aes_ocb.c support params argument to AES cipher init calls 2021-03-12 08:27:21 +10:00
cipher_aes_ocb.h
cipher_aes_siv_hw.c Update copyright year 2021-04-08 13:04:41 +01:00
cipher_aes_siv.c Fix incorrect OSSL_CIPHER_PARAM_SPEED get_ctx_params 2021-05-28 14:29:13 +02:00
cipher_aes_siv.h
cipher_aes_wrp.c support params argument to AES cipher init calls 2021-03-12 08:27:21 +10:00
cipher_aes_xts_fips.c Update copyright year 2021-04-08 13:04:41 +01:00
cipher_aes_xts_hw.c aes: rename new bsaes_ symbols -> ossl_bsaes_ ones 2021-05-27 09:35:50 +10:00
cipher_aes_xts.c Add ossl_provider symbols 2021-03-18 17:52:38 +10:00
cipher_aes_xts.h Update copyright year 2021-04-08 13:04:41 +01:00
cipher_aes.c
cipher_aes.h
cipher_aria_ccm_hw.c Add ossl_aria symbols 2021-03-18 17:52:37 +10:00
cipher_aria_ccm.c Update copyright year 2021-03-11 13:27:36 +00:00
cipher_aria_ccm.h
cipher_aria_gcm_hw.c Add ossl_aria symbols 2021-03-18 17:52:37 +10:00
cipher_aria_gcm.c Update copyright year 2021-03-11 13:27:36 +00:00
cipher_aria_gcm.h
cipher_aria_hw.c Add ossl_aria symbols 2021-03-18 17:52:37 +10:00
cipher_aria.c
cipher_aria.h
cipher_blowfish_hw.c
cipher_blowfish.c
cipher_blowfish.h
cipher_camellia_hw_t4.inc
cipher_camellia_hw.c
cipher_camellia.c
cipher_camellia.h Use <> for #include openssl/xxx 2021-05-27 09:56:41 +10:00
cipher_cast5_hw.c
cipher_cast5.c
cipher_cast.h
cipher_chacha20_hw.c
cipher_chacha20_poly1305_hw.c prov: support params argument to CHACHA20 ciphers 2021-03-12 08:27:21 +10:00
cipher_chacha20_poly1305.c prov: support params argument to CHACHA20 ciphers 2021-03-12 08:27:21 +10:00
cipher_chacha20_poly1305.h
cipher_chacha20.c prov: support params argument to CHACHA20 ciphers 2021-03-12 08:27:21 +10:00
cipher_chacha20.h Update copyright year 2021-03-11 13:27:36 +00:00
cipher_des_hw.c Update copyright year 2021-03-11 13:27:36 +00:00
cipher_des.c prov: add zero strenght arguments to BN and RAND RNG calls 2021-05-29 17:17:12 +10:00
cipher_des.h
cipher_desx_hw.c
cipher_desx.c
cipher_idea_hw.c
cipher_idea.c
cipher_idea.h
cipher_null.c prov: support param argument to null cipher init calls 2021-03-12 08:27:21 +10:00
cipher_rc2_hw.c
cipher_rc2.c Fixes #15070. Allow custom algorithm ID ASN.1 encoding for provided ciphers 2021-05-07 11:00:54 +02:00
cipher_rc2.h
cipher_rc4_hmac_md5_hw.c
cipher_rc4_hmac_md5.c prov: support params argument to RCx ciphers 2021-03-12 08:27:21 +10:00
cipher_rc4_hmac_md5.h
cipher_rc4_hw.c
cipher_rc4.c prov: support params argument to RCx ciphers 2021-03-12 08:27:21 +10:00
cipher_rc4.h
cipher_rc5_hw.c
cipher_rc5.c prov: support params argument to RCx ciphers 2021-03-12 08:27:21 +10:00
cipher_rc5.h
cipher_seed_hw.c
cipher_seed.c
cipher_seed.h
cipher_sm4_hw.c Update copyright year 2021-04-08 13:04:41 +01:00
cipher_sm4.c
cipher_sm4.h
cipher_tdes_common.c prov: add zero strenght arguments to BN and RAND RNG calls 2021-05-29 17:17:12 +10:00
cipher_tdes_default_hw.c
cipher_tdes_default.c
cipher_tdes_default.h
cipher_tdes_hw.c
cipher_tdes_wrap_hw.c
cipher_tdes_wrap.c prov: add zero strenght arguments to BN and RAND RNG calls 2021-05-29 17:17:12 +10:00
cipher_tdes.c
cipher_tdes.h
ciphercommon_block.c Move libssl related defines used by fips provider to prov_ssl.h 2021-06-04 17:06:47 +02:00
ciphercommon_ccm_hw.c Update copyright year 2021-03-11 13:27:36 +00:00
ciphercommon_ccm.c prov: support params argument to common cipher init calls 2021-03-12 08:27:21 +10:00
ciphercommon_gcm_hw.c Update copyright year 2021-03-11 13:27:36 +00:00
ciphercommon_gcm.c prov: add zero strenght arguments to BN and RAND RNG calls 2021-05-29 17:17:12 +10:00
ciphercommon_hw.c Fix param indentation in ciphercommon_hw.c 2021-06-01 15:22:30 +10:00
ciphercommon_local.h Update copyright year 2021-03-11 13:27:36 +00:00
ciphercommon.c Move libssl related defines used by fips provider to prov_ssl.h 2021-06-04 17:06:47 +02:00