1. 06 2月, 2013 2 次提交
    • B
      Make CBC decoding constant time. · 2acc020b
      Ben Laurie 提交于
      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)
      2acc020b
    • B
      Add and use a constant-time memcmp. · 7c770d57
      Ben Laurie 提交于
      This change adds CRYPTO_memcmp, which compares two vectors of bytes in
      an amount of time that's independent of their contents. It also changes
      several MAC compares in the code to use this over the standard memcmp,
      which may leak information about the size of a matching prefix.
      (cherry picked from commit 2ee798880a246d648ecddadc5b91367bee4a5d98)
      7c770d57
  2. 04 2月, 2013 1 次提交
  3. 03 2月, 2013 1 次提交
  4. 25 1月, 2013 1 次提交
  5. 24 1月, 2013 1 次提交
  6. 23 1月, 2013 7 次提交
  7. 22 1月, 2013 2 次提交
  8. 20 1月, 2013 10 次提交
  9. 19 1月, 2013 4 次提交
  10. 18 1月, 2013 1 次提交
  11. 14 1月, 2013 1 次提交
  12. 12 1月, 2013 1 次提交
  13. 08 1月, 2013 1 次提交
  14. 07 1月, 2013 3 次提交
  15. 31 12月, 2012 1 次提交
  16. 30 12月, 2012 2 次提交
  17. 27 12月, 2012 1 次提交