1. 17 6月, 2009 1 次提交
  2. 12 11月, 2008 1 次提交
  3. 01 11月, 2008 1 次提交
  4. 28 3月, 2007 1 次提交
  5. 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
  6. 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
  7. 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
  8. 02 12月, 2003 1 次提交
  9. 05 11月, 2003 1 次提交
  10. 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
  11. 30 11月, 2000 3 次提交
  12. 29 11月, 2000 1 次提交
  13. 28 11月, 2000 1 次提交
  14. 27 11月, 2000 1 次提交
  15. 07 11月, 2000 1 次提交
  16. 27 10月, 2000 1 次提交
  17. 23 6月, 2000 2 次提交
  18. 13 6月, 2000 2 次提交
  19. 09 6月, 2000 1 次提交
  20. 08 6月, 2000 2 次提交
  21. 17 2月, 2000 1 次提交
  22. 05 2月, 2000 1 次提交
  23. 05 6月, 1999 1 次提交
  24. 20 4月, 1999 1 次提交
  25. 28 1月, 1999 1 次提交
  26. 21 12月, 1998 3 次提交