Matt Caswell
1a3701f4fe
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
2015-04-30 23:21:50 +01:00
..
2005-04-11 14:17:07 +00:00
2015-01-22 09:31:38 +00:00
2015-04-16 13:50:01 -04:00
2015-01-22 09:31:38 +00:00
2015-03-19 11:11:22 +00:00
2015-01-22 09:31:38 +00:00
2015-03-10 13:52:32 -07:00
2015-01-22 09:31:38 +00:00
2015-03-24 22:42:30 +01:00
2015-02-27 20:31:28 +00:00
2015-01-22 09:31:38 +00:00
2012-05-10 15:01:26 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:48 +00:00
2015-01-22 09:31:38 +00:00
2015-04-21 17:50:36 +02:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-03-19 12:58:35 +00:00
2015-01-22 09:31:38 +00:00
2015-04-29 17:23:45 +01:00
2015-04-08 16:28:42 +02:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:48 +00:00
2015-04-21 19:31:09 +02:00
2015-03-11 10:45:23 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-04-16 13:50:01 -04:00
2015-04-17 18:44:35 +02:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:48 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-02-27 20:31:28 +00:00
2015-01-22 09:31:38 +00:00
2015-03-07 23:02:19 +01:00
2015-03-18 12:31:06 +00:00
2015-01-22 09:31:38 +00:00
2015-04-21 19:31:09 +02:00
2015-03-20 12:06:12 +00:00
2015-03-08 17:31:48 +00:00
2015-01-22 09:31:38 +00:00
2015-04-14 14:59:40 +01:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:48 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-07 02:15:35 +01:00
2015-04-21 19:31:09 +02:00
2015-03-20 12:09:22 +00:00
2015-01-22 09:31:38 +00:00
2015-04-30 23:21:50 +01:00
2015-01-22 09:31:38 +00:00
2015-04-16 13:50:01 -04:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-04-16 13:50:01 -04:00