1. 13 10月, 2017 1 次提交
  2. 12 10月, 2017 3 次提交
  3. 11 10月, 2017 1 次提交
    • M
      Ensure we test all parameters for BN_FLG_CONSTTIME · e913d11f
      Matt Caswell 提交于
      RSA_setup_blinding() calls BN_BLINDING_create_param() which later calls
      BN_mod_exp() as follows:
      
      BN_mod_exp(ret->A, ret->A, ret->e, ret->mod, ctx)
      
      ret->mod will have BN_FLG_CONSTTIME set, but ret->e does not. In
      BN_mod_exp() we only test the third param for the existence of this flag.
      We should test all the inputs.
      
      Thanks to Samuel Weiser (samuel.weiser@iaik.tugraz.at) for reporting this
      issue.
      
      This typically only happens once at key load, so this is unlikely to be
      exploitable in any real scenario.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/4477)
      e913d11f
  4. 09 10月, 2017 1 次提交
  5. 27 9月, 2017 2 次提交
  6. 30 8月, 2017 1 次提交
  7. 24 8月, 2017 1 次提交
  8. 23 8月, 2017 1 次提交
  9. 22 8月, 2017 2 次提交
  10. 21 8月, 2017 1 次提交
  11. 03 8月, 2017 2 次提交
    • R
      Add RAND_priv_bytes() for private keys · ddc6a5c8
      Rich Salz 提交于
      Add a new global DRBG for private keys used by RAND_priv_bytes.
      
      Add BN_priv_rand() and BN_priv_rand_range() which use RAND_priv_bytes().
      Change callers to use the appropriate BN_priv... function.
      Reviewed-by: NPaul Dale <paul.dale@oracle.com>
      (Merged from https://github.com/openssl/openssl/pull/4076)
      ddc6a5c8
    • R
      Switch from ossl_rand to DRBG rand · 75e2c877
      Rich Salz 提交于
      If RAND_add wraps around, XOR with existing. Add test to drbgtest that
      does the wrap-around.
      
      Re-order seeding and stop after first success.
      
      Add RAND_poll_ex()
      
      Use the DF and therefore lower RANDOMNESS_NEEDED.  Also, for child DRBG's,
      mix in the address as the personalization bits.
      
      Centralize the entropy callbacks, from drbg_lib to rand_lib.
      (Conceptually, entropy is part of the enclosing application.)
      Thanks to Dr. Matthias St Pierre for the suggestion.
      
      Various code cleanups:
          -Make state an enum; inline RANDerr calls.
          -Add RAND_POLL_RETRIES (thanks Pauli for the idea)
          -Remove most RAND_seed calls from rest of library
          -Rename DRBG_CTX to RAND_DRBG, etc.
          -Move some code from drbg_lib to drbg_rand; drbg_lib is now only the
           implementation of NIST DRBG.
          -Remove blocklength
      Reviewed-by: NPaul Dale <paul.dale@oracle.com>
      (Merged from https://github.com/openssl/openssl/pull/4019)
      75e2c877
  12. 31 7月, 2017 3 次提交
  13. 07 7月, 2017 2 次提交
  14. 05 7月, 2017 1 次提交
  15. 04 7月, 2017 1 次提交
  16. 01 7月, 2017 1 次提交
  17. 26 6月, 2017 2 次提交
  18. 20 6月, 2017 1 次提交
  19. 17 6月, 2017 1 次提交
  20. 14 6月, 2017 1 次提交
  21. 08 6月, 2017 1 次提交
    • R
      make error tables const and separate header file · 52df25cf
      Rich Salz 提交于
      Run perltidy on util/mkerr
      Change some mkerr flags, write some doc comments
      Make generated tables "const" when genearting lib-internal ones.
      Add "state" file for mkerr
      Renerate error tables and headers
      Rationalize declaration of ERR_load_XXX_strings
      Fix out-of-tree build
      Add -static; sort flags/vars for options.
      Also tweak code output
      Moved engines/afalg to engines (from master)
      Use -static flag
      Standard engine #include's of errors
      Don't linewrap err string tables unless necessary
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/3392)
      52df25cf
  22. 12 5月, 2017 2 次提交
  23. 11 5月, 2017 1 次提交
  24. 22 4月, 2017 1 次提交
  25. 21 4月, 2017 1 次提交
  26. 29 3月, 2017 2 次提交
  27. 24 3月, 2017 1 次提交
  28. 04 3月, 2017 1 次提交
  29. 03 3月, 2017 1 次提交