1. 06 6月, 2016 1 次提交
  2. 18 5月, 2016 1 次提交
  3. 03 4月, 2016 1 次提交
  4. 27 1月, 2016 1 次提交
    • R
      Remove /* foo.c */ comments · 34980760
      Rich Salz 提交于
      This was done by the following
              find . -name '*.[ch]' | /tmp/pl
      where /tmp/pl is the following three-line script:
              print unless $. == 1 && m@/\* .*\.[ch] \*/@;
              close ARGV if eof; # Close file to reset $.
      
      And then some hand-editing of other files.
      Reviewed-by: NViktor Dukhovni <viktor@openssl.org>
      34980760
  5. 26 11月, 2015 1 次提交
    • M
      Tighten up BN_with_flags usage and avoid a reachable assert · fd7d2520
      Matt Caswell 提交于
      The function rsa_ossl_mod_exp uses the function BN_with_flags to create a
      temporary copy (local_r1) of a BIGNUM (r1) with modified flags. This
      temporary copy shares some state with the original r1. If the state of r1
      gets updated then local_r1's state will be stale. This was occurring in the
      function so that when local_r1 was freed a call to bn_check_top was made
      which failed an assert due to the stale state. To resolve this we must free
      local_r1 immediately after we have finished using it and not wait until the
      end of the function.
      
      This problem prompted a review of all BN_with_flag usage within the
      codebase. All other usage appears to be correct, although often not
      obviously so. This commit refactors things to make it much clearer for
      these other uses.
      Reviewed-by: NEmilia Käsper <emilia@openssl.org>
      fd7d2520
  6. 10 11月, 2015 1 次提交
  7. 24 6月, 2015 1 次提交
  8. 14 5月, 2015 1 次提交
  9. 01 5月, 2015 1 次提交
    • R
      free NULL cleanup 7 · 23a1d5e9
      Rich Salz 提交于
      This gets BN_.*free:
          BN_BLINDING_free BN_CTX_free BN_FLG_FREE BN_GENCB_free
          BN_MONT_CTX_free BN_RECP_CTX_free BN_clear_free BN_free BUF_MEM_free
      
      Also fix a call to DSA_SIG_free to ccgost engine and remove some #ifdef'd
      dead code in engines/e_ubsec.
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      23a1d5e9
  10. 28 1月, 2015 1 次提交
    • R
      OPENSSL_NO_xxx cleanup: SHA · 474e469b
      Rich Salz 提交于
      Remove support for SHA0 and DSS0 (they were broken), and remove
      the ability to attempt to build without SHA (it didn't work).
      For simplicity, remove the option of not building various SHA algorithms;
      you could argue that SHA_224/256/384/512 should be kept, since they're
      like crypto algorithms, but I decided to go the other way.
      So these options are gone:
      	GENUINE_DSA         OPENSSL_NO_SHA0
      	OPENSSL_NO_SHA      OPENSSL_NO_SHA1
      	OPENSSL_NO_SHA224   OPENSSL_NO_SHA256
      	OPENSSL_NO_SHA384   OPENSSL_NO_SHA512
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      474e469b
  11. 22 1月, 2015 1 次提交
  12. 09 12月, 2014 1 次提交
  13. 08 12月, 2014 2 次提交
  14. 11 5月, 2011 1 次提交
  15. 24 4月, 2011 1 次提交
  16. 19 4月, 2011 1 次提交
  17. 14 4月, 2011 2 次提交
  18. 16 2月, 2011 1 次提交
  19. 11 2月, 2011 1 次提交
  20. 04 2月, 2011 1 次提交
  21. 26 1月, 2011 1 次提交
    • D
      FIPS mode DSA changes: · 20818e00
      Dr. Stephen Henson 提交于
      Check for selftest failures.
      
      Pairwise consistency test for RSA key generation.
      
      Use some EVP macros instead of EVP functions.
      
      Use minimal FIPS EVP where needed.
      
      Key size restrictions.
      20818e00
  22. 28 3月, 2007 1 次提交
  23. 27 5月, 2005 1 次提交
  24. 16 5月, 2005 1 次提交
    • B
      Implement fixed-window exponentiation to mitigate hyper-threading · 46a64376
      Bodo Möller 提交于
      timing attacks.
      
      BN_FLG_EXP_CONSTTIME requests this algorithm, and this done by default for
      RSA/DSA/DH private key computations unless
      RSA_FLAG_NO_EXP_CONSTTIME/DSA_FLAG_NO_EXP_CONSTTIME/
      DH_FLAG_NO_EXP_CONSTTIME is set.
      
      Submitted by: Matthew D Wood
      Reviewed by: Bodo Moeller
      46a64376
  25. 21 3月, 2003 1 次提交
  26. 15 1月, 2003 1 次提交
  27. 20 6月, 2001 1 次提交
    • D
      · 323f289c
      Dr. Stephen Henson 提交于
      Change all calls to low level digest routines in the library and
      applications to use EVP. Add missing calls to HMAC_cleanup() and
      don't assume HMAC_CTX can be copied using memcpy().
      
      Note: this is almost identical to the patch submitted to openssl-dev
      by Verdon Walker <VWalker@novell.com> except some redundant
      EVP_add_digest_()/EVP_cleanup() calls were removed and some changes
      made to avoid compiler warnings.
      323f289c
  28. 20 2月, 2001 2 次提交
    • U
      Use BN_rand_range(). · 12c2fe8d
      Ulf Möller 提交于
      12c2fe8d
    • R
      Make all configuration macros available for application by making · cf1b7d96
      Richard Levitte 提交于
      sure they are available in opensslconf.h, by giving them names starting
      with "OPENSSL_" to avoid conflicts with other packages and by making
      sure e_os2.h will cover all platform-specific cases together with
      opensslconf.h.
      
      I've checked fairly well that nothing breaks with this (apart from
      external software that will adapt if they have used something like
      NO_KRB5), but I can't guarantee it completely, so a review of this
      change would be a good thing.
      cf1b7d96
  29. 13 9月, 2000 1 次提交
  30. 01 3月, 2000 1 次提交
  31. 27 4月, 1999 1 次提交
  32. 24 4月, 1999 1 次提交
  33. 20 4月, 1999 1 次提交
  34. 21 12月, 1998 2 次提交