1. 28 Jan, 2013 5 commits
    • Ben Laurie's avatar
      Oops. Add missing file. · 014265eb
      Ben Laurie authored
      014265eb
    • Ben Laurie's avatar
      Update DTLS code to match CBC decoding in TLS. · 9f27de17
      Ben Laurie authored
      This change updates the DTLS code to match the constant-time CBC
      behaviour in the TLS.
      9f27de17
    • Ben Laurie's avatar
      Don't crash when processing a zero-length, TLS >= 1.1 record. · 6cb19b76
      Ben Laurie authored
      The previous CBC patch was bugged in that there was a path through enc()
      in s3_pkt.c/d1_pkt.c which didn't set orig_len. orig_len would be left
      at the previous value which could suggest that the packet was a
      sufficient length when it wasn't.
      6cb19b76
    • Ben Laurie's avatar
      Make CBC decoding constant time. · e130841b
      Ben Laurie authored
      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.
      e130841b
    • Ben Laurie's avatar
      Add and use a constant-time memcmp. · 2ee79888
      Ben Laurie authored
      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.
      2ee79888
  2. 23 Jan, 2013 1 commit
  3. 22 Jan, 2013 2 commits
  4. 20 Jan, 2013 1 commit
  5. 19 Jan, 2013 2 commits
  6. 14 Jan, 2013 2 commits
  7. 13 Jan, 2013 2 commits
  8. 12 Jan, 2013 1 commit
  9. 07 Jan, 2013 4 commits
  10. 30 Dec, 2012 1 commit
  11. 23 Dec, 2012 1 commit
  12. 16 Dec, 2012 1 commit
  13. 14 Dec, 2012 1 commit
  14. 13 Dec, 2012 3 commits
  15. 06 Dec, 2012 1 commit
  16. 05 Dec, 2012 1 commit
  17. 04 Dec, 2012 1 commit
  18. 03 Dec, 2012 1 commit
  19. 01 Dec, 2012 1 commit
  20. 29 Nov, 2012 1 commit
    • Dr. Stephen Henson's avatar
      PR: 2803 · f20ba1c9
      Dr. Stephen Henson authored
      Submitted by: jean-etienne.schwartz@bull.net
      
      In OCSP_basic_varify return an error if X509_STORE_CTX_init fails.
      f20ba1c9
  21. 22 Nov, 2012 1 commit
  22. 21 Nov, 2012 1 commit
    • Dr. Stephen Henson's avatar
      PR: 2908 · eb3a3911
      Dr. Stephen Henson authored
      Submitted by: Dmitry Belyavsky <beldmit@gmail.com>
      
      Fix DH double free if parameter generation fails.
      eb3a3911
  23. 20 Nov, 2012 1 commit
  24. 19 Nov, 2012 1 commit
  25. 18 Nov, 2012 1 commit
    • Dr. Stephen Henson's avatar
      PR: 2880 · e7b85bc4
      Dr. Stephen Henson authored
      Submitted by: "Florian Rüchel" <florian.ruechel@ruhr-uni-bochum.de>
      
      Correctly handle local machine keys in the capi ENGINE.
      e7b85bc4
  26. 15 Nov, 2012 1 commit
  27. 16 Oct, 2012 1 commit