openssl/crypto/evp
Richard Levitte 130b7df2db EVP_*Update: ensure that input NULL with length 0 isn't passed
Even with custome ciphers, the combination in == NULL && inl == 0
should not be passed down to the backend cipher function.  The reason
is that these are the values passed by EVP_*Final, and some of the
backend cipher functions do check for these to see if a "final" call
is made.

Fixes #8675

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/8676)

(cherry picked from commit dcb982d792)
2019-04-10 07:53:32 +02:00
..
bio_b64.c Set error code on alloc failures 2018-04-03 11:31:16 -04:00
bio_enc.c Update copyright year 2018-04-17 15:18:40 +02:00
bio_md.c
bio_ok.c Update copyright year 2018-04-17 15:18:40 +02:00
build.info s390x assembly pack: add KIMD/KLMD code path for sha3/shake 2018-08-06 12:04:52 +02:00
c_allc.c
c_alld.c
cmeth_lib.c
digest.c Tolerate 0 byte input length for Update functions 2019-03-27 10:20:52 +00:00
e_aes.c typo-fixes: miscellaneous typo fixes 2018-09-21 23:59:02 +02:00
e_aes_cbc_hmac_sha1.c Don't use a ssl specific DRBG anymore 2018-03-19 15:04:40 +01:00
e_aes_cbc_hmac_sha256.c Don't use a ssl specific DRBG anymore 2018-03-19 15:04:40 +01:00
e_aria.c Fix a memory leak in ARIA GCM 2019-03-27 10:31:05 +00:00
e_bf.c
e_camellia.c Update copyright year 2018-02-27 13:59:42 +00:00
e_cast.c
e_chacha20_poly1305.c Prevent over long nonces in ChaCha20-Poly1305 2019-03-06 13:30:39 +00:00
e_des.c Update copyright year 2018-04-03 13:57:12 +01:00
e_des3.c Update copyright year 2018-04-03 13:57:12 +01:00
e_idea.c
e_null.c
e_old.c
e_rc2.c Update copyright year 2018-11-20 13:27:36 +00:00
e_rc4.c
e_rc4_hmac_md5.c
e_rc5.c
e_seed.c
e_sm4.c
e_xcbc_d.c
encode.c Update copyright year 2018-04-17 15:18:40 +02:00
evp_cnf.c
evp_enc.c EVP_*Update: ensure that input NULL with length 0 isn't passed 2019-04-10 07:53:32 +02:00
evp_err.c make update 2018-12-10 10:08:32 +01:00
evp_key.c
evp_lib.c Allow EVP_MD_CTX_set_pkey_ctx to accept NULL pctx 2018-09-07 18:12:26 +08:00
evp_locl.h Update copyright year 2018-04-17 15:18:40 +02:00
evp_pbe.c Update copyright year 2018-09-11 13:45:17 +01:00
evp_pkey.c
m_md2.c
m_md4.c
m_md5.c
m_md5_sha1.c
m_mdc2.c
m_null.c
m_ripemd.c
m_sha1.c
m_sha3.c Update copyright year 2018-09-11 13:45:17 +01:00
m_sigver.c Update document for SM2 stuffs 2018-09-07 18:12:26 +08:00
m_wp.c
names.c
p5_crpt.c
p5_crpt2.c
p_dec.c
p_enc.c
p_lib.c Providing missing accessor to EVP_PKEY.engine 2019-03-21 09:06:12 +00:00
p_open.c Fix the allocation size in EVP_OpenInit and PEM_SignFinal 2019-04-06 10:20:10 +02:00
p_seal.c Update copyright year 2018-09-11 13:45:17 +01:00
p_sign.c
p_verify.c
pbe_scrypt.c Update copyright year 2018-04-03 13:57:12 +01:00
pmeth_fn.c
pmeth_gn.c
pmeth_lib.c Make some return checks consistent with others 2018-09-13 23:23:18 +09:00