Files
openssl/crypto/evp
Ben Laurie 35a65e814b 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 e130841bcc)

Conflicts:
	crypto/evp/c_allc.c
	ssl/ssl_algs.c
	ssl/ssl_locl.h
	ssl/t1_enc.c
(cherry picked from commit 3622239826698a0e534dcf0473204c724bb9b4b4)

Conflicts:
	ssl/d1_enc.c
	ssl/s3_enc.c
	ssl/s3_pkt.c
	ssl/ssl3.h
	ssl/ssl_algs.c
	ssl/t1_enc.c
2013-02-05 16:50:32 +00:00
..
2010-05-27 12:41:33 +00:00
2013-02-05 16:50:32 +00:00
2008-09-15 22:21:42 +00:00
2008-11-10 18:55:07 +00:00
2008-09-15 22:21:42 +00:00
2008-09-15 22:21:42 +00:00
2010-10-11 23:28:54 +00:00
2006-03-01 21:17:50 +00:00
2009-12-25 14:11:18 +00:00
2010-07-08 16:51:48 +00:00
2011-09-01 13:48:48 +00:00
2007-04-23 23:50:26 +00:00
2008-09-15 22:21:42 +00:00
2008-09-15 22:21:42 +00:00
2008-09-15 22:21:42 +00:00
2008-09-15 22:21:42 +00:00
2005-07-16 11:13:10 +00:00
2008-09-15 22:21:42 +00:00
2008-11-05 18:36:57 +00:00
2005-07-16 11:13:10 +00:00
2010-11-27 17:33:34 +00:00
2010-11-27 17:33:34 +00:00