1. 28 9月, 2019 1 次提交
  2. 27 4月, 2018 1 次提交
  3. 03 4月, 2018 1 次提交
  4. 28 3月, 2018 2 次提交
  5. 18 10月, 2017 1 次提交
  6. 09 10月, 2017 1 次提交
  7. 26 6月, 2017 1 次提交
  8. 09 11月, 2016 1 次提交
  9. 18 5月, 2016 1 次提交
  10. 23 2月, 2016 1 次提交
  11. 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
  12. 01 12月, 2015 1 次提交
  13. 24 10月, 2015 1 次提交
  14. 14 5月, 2015 1 次提交
  15. 05 5月, 2015 1 次提交
    • R
      Use safer sizeof variant in malloc · b4faea50
      Rich Salz 提交于
      For a local variable:
              TYPE *p;
      Allocations like this are "risky":
              p = OPENSSL_malloc(sizeof(TYPE));
      if the type of p changes, and the malloc call isn't updated, you
      could get memory corruption.  Instead do this:
              p = OPENSSL_malloc(sizeof(*p));
      Also fixed a few memset() calls that I noticed while doing this.
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      b4faea50
  16. 29 4月, 2015 1 次提交
  17. 09 2月, 2015 1 次提交
  18. 22 1月, 2015 2 次提交
  19. 31 12月, 2014 1 次提交
  20. 08 12月, 2014 1 次提交
  21. 19 8月, 2014 1 次提交
  22. 04 6月, 2012 1 次提交
  23. 28 1月, 2011 2 次提交
  24. 12 11月, 2008 1 次提交
  25. 01 11月, 2008 1 次提交
  26. 29 8月, 2005 1 次提交
  27. 27 4月, 2005 1 次提交
  28. 25 3月, 2004 1 次提交
    • G
      Adjust various bignum functions to use BN_CTX for variables instead of · c86f2054
      Geoff Thorpe 提交于
      locally initialising their own.
      
      NB: I've removed the "BN_clear_free()" loops for the exit-paths in some of
      these functions, and that may be a major part of the performance
      improvements we're seeing. The "free" part can be removed because we're
      using BN_CTX. The "clear" part OTOH can be removed because BN_CTX
      destruction automatically performs this task, so performing it inside
      functions that may be called repeatedly is wasteful. This is currently safe
      within openssl due to the fact that BN_CTX objects are never created for
      longer than a single high-level operation. However, that is only because
      there's currently no mechanism in openssl for thread-local storage. Beyond
      that, this might be an issue for applications using the bignum API directly
      and caching their own BN_CTX objects. The solution is to introduce a flag
      to BN_CTX_start() that allows its variables to be automatically sanitised
      on release during BN_CTX_end(). This way any higher-level function (and
      perhaps the application) can specify this flag in its own
      BN_CTX_start()/BN_CTX_end() pair, and this will cause inner-loop functions
      specifying the flag to be ignored so that sanitisation is handled only once
      back out at the higher level. I will be implementing this in the near
      future.
      c86f2054
  29. 14 3月, 2004 1 次提交
    • G
      Convert openssl code not to assume the deprecated form of BN_zero(). · b6358c89
      Geoff Thorpe 提交于
      Remove certain redundant BN_zero() initialisations, because BN_CTX_get(),
      BN_init(), [etc] already initialise to zero.
      
      Correct error checking in bn_sqr.c, and be less wishy-wash about how/why
      the result's 'top' value is set (note also, 'max' is always > 0 at this
      point).
      b6358c89
  30. 02 12月, 2003 1 次提交
    • G
      bn_fix_top() exists for compatibility's sake and is mapped to · e65c2b98
      Geoff Thorpe 提交于
      bn_correct_top() or bn_check_top() depending on debug settings. For
      internal source, all bn_fix_top()s should be converted one way or the other
      depending on whether the use of bn_correct_top() is justified.
      
      For BN_div_recp(), these cases should not require correction if the other
      bignum functions are doing their jobs properly, so convert to
      bn_check_top().
      e65c2b98
  31. 05 11月, 2003 1 次提交
  32. 30 10月, 2003 1 次提交
  33. 15 12月, 2000 1 次提交
  34. 08 12月, 2000 1 次提交
    • B
      Fix some things that look like bugs. · 8dea52fa
      Bodo Möller 提交于
      One problem that looked like a problem in bn_recp.c at first turned
      out to be a BN_mul bug.  An example is given in bn_recp.c; finding
      the bug responsible for this is left as an exercise.
      8dea52fa
  35. 27 11月, 2000 1 次提交
  36. 07 11月, 2000 1 次提交
  37. 02 6月, 2000 1 次提交
    • R
      There have been a number of complaints from a number of sources that names · 26a3a48d
      Richard Levitte 提交于
      like Malloc, Realloc and especially Free conflict with already existing names
      on some operating systems or other packages.  That is reason enough to change
      the names of the OpenSSL memory allocation macros to something that has a
      better chance of being unique, like prepending them with OPENSSL_.
      
      This change includes all the name changes needed throughout all C files.
      26a3a48d