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
..
2010-05-27 12:41:05 +00:00
2013-02-06 14:19:07 +00:00
2012-11-05 13:34:29 +00:00
2007-04-23 23:48:59 +00:00
2010-06-12 14:13:23 +00:00
2008-11-05 18:39:08 +00:00
2012-07-04 13:15:10 +00:00
2012-11-05 13:34:29 +00:00
2010-03-27 19:31:55 +00:00
2011-02-07 12:47:16 +00:00
2011-01-26 15:25:33 +00:00
2009-12-17 15:27:57 +00:00
2008-11-05 18:39:08 +00:00
2011-09-01 13:49:16 +00:00
2012-11-05 13:34:29 +00:00
2010-02-23 16:48:41 +00:00
2011-06-10 14:00:02 +00:00
2005-07-16 12:37:36 +00:00
2005-07-16 12:37:36 +00:00
2005-07-16 12:37:36 +00:00
2010-02-02 13:35:27 +00:00
2005-07-16 12:37:36 +00:00
2011-02-21 17:35:53 +00:00
2005-07-16 12:37:36 +00:00
2005-11-30 20:57:23 +00:00
2012-03-22 16:28:07 +00:00
2010-11-24 13:13:49 +00:00