1. 26 5月, 2023 1 次提交
  2. 12 4月, 2023 2 次提交
  3. 10 8月, 2021 1 次提交
  4. 27 2月, 2020 1 次提交
  5. 28 9月, 2019 1 次提交
  6. 27 4月, 2018 1 次提交
  7. 03 4月, 2018 1 次提交
  8. 28 3月, 2018 2 次提交
  9. 18 10月, 2017 1 次提交
  10. 09 10月, 2017 1 次提交
  11. 26 6月, 2017 1 次提交
  12. 09 11月, 2016 1 次提交
  13. 18 5月, 2016 1 次提交
  14. 23 2月, 2016 1 次提交
  15. 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
  16. 01 12月, 2015 1 次提交
  17. 24 10月, 2015 1 次提交
  18. 14 5月, 2015 1 次提交
  19. 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
  20. 29 4月, 2015 1 次提交
  21. 09 2月, 2015 1 次提交
  22. 22 1月, 2015 2 次提交
  23. 31 12月, 2014 1 次提交
  24. 08 12月, 2014 1 次提交
  25. 19 8月, 2014 1 次提交
  26. 04 6月, 2012 1 次提交
  27. 28 1月, 2011 2 次提交
  28. 12 11月, 2008 1 次提交
  29. 01 11月, 2008 1 次提交
  30. 29 8月, 2005 1 次提交
  31. 27 4月, 2005 1 次提交
  32. 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
  33. 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
  34. 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
  35. 05 11月, 2003 1 次提交
  36. 30 10月, 2003 1 次提交