Ben Laurie fb0a59cc58 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 13:56:12 +00:00
..
2012-04-16 17:43:02 +00:00
2013-02-06 13:56:12 +00:00
2012-04-18 15:17:39 +00:00
2013-02-06 13:56:12 +00:00
2012-06-03 22:03:37 +00:00
2009-04-21 22:20:12 +00:00
2013-02-06 13:56:12 +00:00
2013-02-06 13:56:12 +00:00
2013-02-06 13:56:12 +00:00
2013-02-06 13:56:12 +00:00
2013-02-06 13:56:12 +00:00
2013-02-06 13:56:12 +00:00
2002-07-10 07:01:54 +00:00
2011-11-21 22:52:01 +00:00
2013-02-06 13:56:12 +00:00
2013-02-06 13:56:12 +00:00
2011-10-25 12:52:47 +00:00
2013-02-06 13:56:12 +00:00
2012-06-07 13:20:20 +00:00
2012-05-29 17:27:48 +00:00
2011-11-25 00:18:10 +00:00
2011-05-11 13:37:52 +00:00
2012-01-05 14:30:08 +00:00
2011-05-11 13:37:52 +00:00
2013-02-06 13:56:12 +00:00
2013-02-06 13:56:12 +00:00
2011-05-11 13:37:52 +00:00
2009-12-27 22:59:09 +00:00
2011-05-11 13:37:52 +00:00