openssl/crypto/evp
Matt Caswell c826988109 Sanity check EVP_CTRL_AEAD_TLS_AAD
The various implementations of EVP_CTRL_AEAD_TLS_AAD expect a buffer of at
least 13 bytes long. Add sanity checks to ensure that the length is at
least that. Also add a new constant (EVP_AEAD_TLS1_AAD_LEN) to evp.h to
represent this length. Thanks to Kevin Wojtysiak (Int3 Solutions) and
Paramjot Oberoi (Int3 Solutions) for reporting this issue.

Reviewed-by: Andy Polyakov <appro@openssl.org>
2015-04-30 23:12:39 +01:00
..
bio_b64.c remove malloc casts 2015-04-28 15:28:14 -04:00
bio_enc.c free cleanup almost the finale 2015-04-30 17:57:32 -04:00
bio_md.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
bio_ok.c free cleanup almost the finale 2015-04-30 17:57:32 -04:00
c_all.c Dead code: if 0 removal from crypto/evp and an unused file. 2015-02-02 16:53:54 -05:00
c_allc.c Big apps cleanup (option-parsing, etc) 2015-04-24 15:26:15 -04:00
c_alld.c Merge OPENSSL_NO_EC{DH,DSA} into OPENSSL_NO_EC 2015-03-11 09:29:37 -04:00
digest.c free cleanup almost the finale 2015-04-30 17:57:32 -04:00
e_aes.c Sanity check EVP_CTRL_AEAD_TLS_AAD 2015-04-30 23:12:39 +01:00
e_aes_cbc_hmac_sha1.c Sanity check EVP_CTRL_AEAD_TLS_AAD 2015-04-30 23:12:39 +01:00
e_aes_cbc_hmac_sha256.c Sanity check EVP_CTRL_AEAD_TLS_AAD 2015-04-30 23:12:39 +01:00
e_bf.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
e_camellia.c Add Camellia CTR mode. 2015-02-11 20:30:13 +01:00
e_cast.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
e_des.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
e_des3.c RAND_bytes updates 2015-03-25 12:38:07 +00:00
e_dsa.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
e_idea.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
e_null.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
e_old.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
e_rc2.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
e_rc4.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
e_rc4_hmac_md5.c Sanity check EVP_CTRL_AEAD_TLS_AAD 2015-04-30 23:12:39 +01:00
e_rc5.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
e_seed.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
e_xcbc_d.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
encode.c ifdef cleanup, part 4a: '#ifdef undef' 2015-01-24 10:58:38 -05:00
evp_acnf.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
evp_cnf.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
evp_enc.c free NULL cleanup 2015-03-28 10:54:15 -04:00
evp_err.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
evp_key.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
evp_lib.c make ASN1_OBJECT opaque 2015-03-24 17:35:58 +00:00
evp_locl.h Move some EVP internals to evp_int.h 2015-03-24 12:03:36 +00:00
evp_pbe.c free cleanup almost the finale 2015-04-30 17:57:32 -04:00
evp_pkey.c Move some ASN.1 internals to asn1_int.h 2015-03-24 12:03:36 +00:00
m_dss1.c OPENSSL_NO_xxx cleanup: SHA 2015-01-27 12:34:45 -05:00
m_ecdsa.c OPENSSL_NO_xxx cleanup: SHA 2015-01-27 12:34:45 -05:00
m_md2.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
m_md4.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
m_md5.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
m_mdc2.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
m_null.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
m_ripemd.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
m_sha1.c OPENSSL_NO_xxx cleanup: SHA 2015-01-27 12:34:45 -05:00
m_sigver.c Move some EVP internals to evp_int.h 2015-03-24 12:03:36 +00:00
m_wp.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
Makefile make update 2015-04-01 22:31:28 +02:00
names.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
p5_crpt.c Remove duplicate code. 2015-03-30 22:01:31 +01:00
p5_crpt2.c Remove duplicate code. 2015-03-30 22:01:31 +01:00
p_dec.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
p_enc.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
p_lib.c free NULL cleanup 5a 2015-04-30 17:33:59 -04:00
p_open.c free cleanup almost the finale 2015-04-30 17:57:32 -04:00
p_seal.c RAND_bytes updates 2015-03-25 12:38:07 +00:00
p_sign.c ifdef cleanup, part 4a: '#ifdef undef' 2015-01-24 10:58:38 -05:00
p_verify.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
pmeth_fn.c free NULL cleanup 2015-03-28 10:54:15 -04:00
pmeth_gn.c free NULL cleanup 2015-03-28 10:54:15 -04:00
pmeth_lib.c free NULL cleanup 2015-03-28 10:54:15 -04:00