Ben Laurie 2acc020b77 Make CBC decoding constant time.
This patch makes the decoding of SSLv3 and TLS CBC records constant
time. Without this, a timing side-channel can be used to build a padding
oracle and mount Vaudenay's attack.

This patch also disables the stitched AESNI+SHA mode pending a similar
fix to that code.

In order to be easy to backport, this change is implemented in ssl/,
rather than as a generic AEAD mode. In the future this should be changed
around so that HMAC isn't in ssl/, but crypto/ as FIPS expects.
(cherry picked from commit e130841bccfc0bb9da254dc84e23bc6a1c78a64e)
2013-02-06 14:19:07 +00:00
..
2013-01-19 21:23:13 +01:00
2012-04-22 13:31:09 +00:00
2012-04-11 15:05:07 +00:00
2011-02-03 12:03:51 +00:00
2012-10-05 20:50:11 +00:00
2012-10-05 20:50:11 +00:00
2012-10-05 20:50:11 +00:00
2012-11-19 13:18:09 +00:00
2013-01-20 02:34:25 +00:00
2013-02-06 14:19:07 +00:00
2013-01-13 21:04:39 +00:00
2011-02-21 17:51:59 +00:00
2013-01-13 21:04:39 +00:00
2011-12-27 14:46:03 +00:00
2012-08-22 22:43:23 +00:00
2013-01-13 21:04:39 +00:00
2013-02-06 14:16:55 +00:00
2011-11-15 22:59:20 +00:00
2012-02-11 23:41:19 +00:00
2011-10-24 13:23:51 +00:00
2013-02-06 14:16:55 +00:00
2013-02-06 14:16:55 +00:00
2006-10-23 07:41:05 +00:00
2007-06-23 18:47:51 +00:00
2009-04-20 11:33:12 +00:00
2012-06-03 22:00:21 +00:00
2011-05-19 18:09:02 +00:00
2013-01-19 21:23:13 +01:00
2009-03-31 10:38:37 +00:00
2012-11-10 20:27:18 +00:00
2012-09-17 17:21:58 +00:00
2003-11-28 13:10:58 +00:00