Matt Caswell 974d4d675c 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>
(cherry picked from commit c8269881093324b881b81472be037055571f73f3)

Conflicts:
	ssl/record/ssl3_record.c

Conflicts:
	apps/speed.c
	crypto/evp/e_aes_cbc_hmac_sha256.c
	crypto/evp/evp.h
2015-04-30 23:26:06 +01:00
..
2015-04-16 13:51:51 -04:00
2015-02-27 20:32:49 +00:00
2015-01-22 09:38:39 +00:00
2015-04-21 17:53:36 +02:00
2015-04-21 19:37:17 +02:00
2015-03-11 10:49:22 +00:00
2015-03-05 09:30:35 +00:00
2015-01-22 09:38:39 +00:00
2015-01-22 09:38:39 +00:00
2015-01-22 09:38:39 +00:00
2015-01-22 09:38:39 +00:00
2015-04-21 19:37:17 +02:00
2015-02-27 08:57:44 +00:00
2015-03-08 22:42:23 +00:00
2015-04-14 14:59:54 +01:00
2015-04-21 19:37:17 +02:00
2015-02-06 10:10:49 +00:00
2015-04-30 23:26:06 +01:00
2015-04-16 13:51:51 -04:00
2015-01-22 09:38:39 +00:00
2015-04-16 13:51:51 -04:00