1. 26 3月, 2013 1 次提交
  2. 18 3月, 2013 2 次提交
    • D
      Use enc_flags when deciding protocol variations. · cbd64894
      Dr. Stephen Henson 提交于
      Use the enc_flags field to determine whether we should use explicit IV,
      signature algorithms or SHA256 default PRF instead of hard coding which
      versions support each requirement.
      cbd64894
    • D
      DTLS revision. · 173e72e6
      Dr. Stephen Henson 提交于
      Revise DTLS code. There was a *lot* of code duplication in the
      DTLS code that generates records. This makes it harder to maintain and
      sometimes a TLS update is omitted by accident from the DTLS code.
      
      Specifically almost all of the record generation functions have code like
      this:
      
      some_pointer = buffer + HANDSHAKE_HEADER_LENGTH;
      ... Record creation stuff ...
      set_handshake_header(ssl, SSL_MT_SOMETHING, message_len);
      
      ...
      
      write_handshake_message(ssl);
      
      Where the "Record creation stuff" is identical between SSL/TLS and DTLS or
      in some cases has very minor differences.
      
      By adding a few fields to SSL3_ENC to include the header length, some flags
      and function pointers for handshake header setting and handshake writing the
      code can cope with both cases.
      
      Note: although this passes "make test" and some simple DTLS tests there may
      be some minor differences in the DTLS code that have to be accounted for.
      173e72e6
  3. 06 2月, 2013 1 次提交
    • 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
  4. 24 1月, 2013 1 次提交
  5. 19 1月, 2013 2 次提交
  6. 18 12月, 2012 1 次提交
  7. 10 12月, 2012 2 次提交
  8. 27 11月, 2012 1 次提交
  9. 22 11月, 2012 1 次提交
  10. 19 11月, 2012 1 次提交
  11. 08 11月, 2012 1 次提交
  12. 11 9月, 2012 2 次提交
  13. 07 9月, 2012 1 次提交
  14. 29 8月, 2012 1 次提交
  15. 15 8月, 2012 1 次提交
  16. 27 7月, 2012 1 次提交
  17. 25 7月, 2012 1 次提交
  18. 24 7月, 2012 2 次提交
  19. 20 7月, 2012 1 次提交
  20. 18 7月, 2012 1 次提交
  21. 03 7月, 2012 2 次提交
  22. 29 6月, 2012 1 次提交
    • D
      Add certificate callback. If set this is called whenever a certificate · 18d71588
      Dr. Stephen Henson 提交于
      is required by client or server. An application can decide which
      certificate chain to present based on arbitrary criteria: for example
      supported signature algorithms. Add very simple example to s_server.
      This fixes many of the problems and restrictions of the existing client
      certificate callback: for example you can now clear existing certificates
      and specify the whole chain.
      18d71588
  23. 28 6月, 2012 2 次提交
  24. 27 6月, 2012 1 次提交
  25. 25 6月, 2012 1 次提交
  26. 22 6月, 2012 1 次提交
  27. 11 6月, 2012 1 次提交
  28. 06 6月, 2012 1 次提交
  29. 04 6月, 2012 1 次提交
  30. 30 5月, 2012 1 次提交
  31. 24 4月, 2012 1 次提交
  32. 18 4月, 2012 1 次提交
  33. 06 4月, 2012 1 次提交