openssl/crypto/evp
Benjamin Kaduk 2f5c405a16 Use local IV storage in EVP BLOCK_* macros
Inline the pre-13273237a65d46186b6bea0b51aec90670d4598a versions
of EVP_CIPHER_CTX_iv(), EVP_CIPHER_CTX_original_iv(), and
EVP_CIPHER_CTX_iv_noconst() in evp.h.

These macros are internal-only, used to implement legacy libcrypto
EVP ciphers, with no real provider involvement.  Accordingly, just use the
EVP_CIPHER_CTX storage directly and don't try to reach into a provider-side
context.

This does necessitate including evp_local.h in several more files.

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/12233)
2020-08-11 07:07:58 -07:00
..
bio_b64.c
bio_enc.c
bio_md.c
bio_ok.c Add and use internal header that implements endianness check 2020-07-11 10:00:33 +02:00
build.info Delete old KDF bridge EVP_PKEY_METHODS 2020-08-10 14:52:37 +01:00
c_allc.c
c_alld.c
cmeth_lib.c Update copyright year 2020-08-06 13:22:30 +01:00
digest.c Add EVP signature with libctx methods. 2020-08-09 17:34:52 +10:00
e_aes_cbc_hmac_sha1.c Use local IV storage in e_aes_ebc_hmac_sha1.c 2020-08-11 07:07:57 -07:00
e_aes_cbc_hmac_sha256.c Use local IV storage in e_aes_ebc_hmac_sha256.c 2020-08-11 07:07:57 -07:00
e_aes.c Use local IV storage in e_aes.c 2020-08-11 07:07:57 -07:00
e_aria.c Use local IV storage in e_aria.c 2020-08-11 07:07:58 -07:00
e_bf.c Use local IV storage in EVP BLOCK_* macros 2020-08-11 07:07:58 -07:00
e_camellia.c Use local IV storage in e_camellia.c 2020-08-11 07:07:58 -07:00
e_cast.c Use local IV storage in EVP BLOCK_* macros 2020-08-11 07:07:58 -07:00
e_chacha20_poly1305.c Update copyright year 2020-07-16 14:47:04 +02:00
e_des3.c Use local IV storage in e_des3.c 2020-08-11 07:07:58 -07:00
e_des.c Use local IV storage in e_des.c 2020-08-11 07:07:58 -07:00
e_idea.c Use local IV storage in EVP BLOCK_* macros 2020-08-11 07:07:58 -07:00
e_null.c
e_old.c
e_rc2.c Use local IV storage in EVP BLOCK_* macros 2020-08-11 07:07:58 -07:00
e_rc4_hmac_md5.c
e_rc4.c
e_rc5.c
e_seed.c Use local IV storage in EVP BLOCK_* macros 2020-08-11 07:07:58 -07:00
e_sm4.c Use local IV storage in e_sm4.c 2020-08-11 07:07:58 -07:00
e_xcbc_d.c Use local IV storage in e_xcbc_d.c 2020-08-11 07:07:58 -07:00
encode.c Update copyright year 2020-06-25 14:13:12 +01:00
evp_cnf.c
evp_enc.c Retire EVP_CTRL_GET_IV 2020-08-11 07:07:57 -07:00
evp_err.c Extend the EVP_PKEY KDF to KDF provider bridge to also support HKDF 2020-08-10 14:51:59 +01:00
evp_fetch.c Add 'on demand self test' and status test to providers 2020-08-09 18:06:52 +10:00
evp_key.c
evp_lib.c Deprecate and replace EVP_CIPHER_CTX_iv()/etc. 2020-08-11 07:07:56 -07:00
evp_local.h rand_drbg: remove RAND_DRBG. 2020-08-07 14:16:47 +10:00
evp_pbe.c
evp_pkey.c
evp_rand.c rand_drbg: remove RAND_DRBG. 2020-08-07 14:16:47 +10:00
evp_utils.c
exchange.c Implement a EVP_PKEY KDF to KDF provider bridge 2020-08-10 14:51:57 +01:00
kdf_lib.c Revert "kdf: make function naming consistent." 2020-07-16 14:21:07 +02:00
kdf_meth.c gettables: core changes to pass the provider context. 2020-08-07 08:02:14 +10:00
keymgmt_lib.c EVP KEYMGMT utils: Make a few more utility functions available 2020-07-24 16:32:00 +02:00
keymgmt_meth.c gettables: core changes to pass the provider context. 2020-08-07 08:02:14 +10:00
legacy_blake2.c
legacy_md2.c
legacy_md4.c
legacy_md5_sha1.c
legacy_md5.c
legacy_mdc2.c
legacy_meth.h
legacy_ripemd.c
legacy_sha.c
legacy_wp.c
m_null.c
m_sigver.c Add EVP signature with libctx methods. 2020-08-09 17:34:52 +10:00
mac_lib.c mac: add some consistency to setting the XXX_final output length. 2020-08-07 08:07:07 +10:00
mac_meth.c gettables: core changes to pass the provider context. 2020-08-07 08:02:14 +10:00
names.c
p5_crpt2.c Add evp_test fixes. 2020-08-07 14:29:00 +10:00
p5_crpt.c
p_dec.c
p_enc.c
p_lib.c Add DHX serialization 2020-08-11 20:39:19 +10:00
p_open.c
p_seal.c
p_sign.c Add EVP signature with libctx methods. 2020-08-09 17:34:52 +10:00
p_verify.c Add EVP signature with libctx methods. 2020-08-09 17:34:52 +10:00
pbe_scrypt.c Add evp_test fixes. 2020-08-07 14:29:00 +10:00
pkey_mac.c Revert "The EVP_MAC functions have been renamed for consistency. The EVP_MAC_CTX_*" 2020-07-16 14:21:07 +02:00
pmeth_check.c
pmeth_fn.c Make the naming scheme for dispatched functions more consistent 2020-06-24 22:01:22 +02:00
pmeth_gn.c Make EVP_PKEY_CTX_[get|set]_ec_paramgen_curve_name more generic 2020-06-19 10:19:31 +01:00
pmeth_lib.c Add dh_kdf support to provider 2020-08-11 20:39:19 +10:00
signature.c Make the naming scheme for dispatched functions more consistent 2020-06-24 22:01:22 +02:00