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
..
2012-04-16 17:42:36 +00:00
2012-03-06 13:47:43 +00:00
2013-02-06 14:19:07 +00:00
2013-01-19 21:23:13 +01:00
2013-02-06 14:16:55 +00:00
2012-03-31 18:03:02 +00:00
2011-12-31 22:59:57 +00:00
2012-07-05 13:20:19 +00:00
2009-04-23 16:32:42 +00:00
2013-02-06 14:19:07 +00:00
2013-02-06 14:16:55 +00:00
2013-02-06 14:16:55 +00:00
2013-02-06 14:16:55 +00:00
2013-02-06 14:19:07 +00:00
2013-02-06 14:19:07 +00:00
2010-06-12 14:13:23 +00:00
2002-07-10 07:01:54 +00:00
2011-11-21 22:52:13 +00:00
2013-02-06 14:19:07 +00:00
2013-02-06 14:19:07 +00:00
2012-12-07 12:41:13 +00:00
2012-11-19 02:46:46 +00:00
2013-02-06 14:19:07 +00:00
2012-06-07 13:20:47 +00:00
2011-11-25 00:17:44 +00:00
2012-07-05 13:20:02 +00:00
2012-12-26 15:23:42 +00:00
2013-02-06 14:19:07 +00:00
2013-02-06 14:16:55 +00:00
2009-12-27 22:58:55 +00:00
2011-12-14 22:17:06 +00:00