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
..
2010-05-27 12:41:20 +00:00
2009-07-01 14:55:59 +00:00
2013-02-06 13:56:12 +00:00
2012-07-13 11:17:56 +00:00
2007-04-23 23:48:59 +00:00
2008-11-05 18:39:08 +00:00
2012-07-04 13:14:44 +00:00
2012-07-03 20:20:11 +00:00
2008-11-05 18:39:08 +00:00
2011-09-01 13:49:08 +00:00
2012-07-03 20:20:11 +00:00
2012-06-03 22:03:37 +00:00
2012-06-03 22:03:37 +00:00
2005-07-16 12:37:36 +00:00
2012-06-03 22:03:37 +00:00
2013-01-15 16:24:07 +00:00
2011-12-02 14:39:41 +00:00
2012-03-22 16:28:21 +00:00
2012-06-03 22:03:37 +00:00
2009-06-16 16:39:20 +00:00
2010-11-24 13:14:03 +00:00