1. 15 8月, 2017 1 次提交
  2. 14 8月, 2017 1 次提交
  3. 12 8月, 2017 1 次提交
  4. 11 8月, 2017 1 次提交
  5. 10 8月, 2017 1 次提交
  6. 09 8月, 2017 1 次提交
  7. 08 8月, 2017 1 次提交
  8. 04 8月, 2017 1 次提交
  9. 03 8月, 2017 3 次提交
    • 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
      Add a DRBG to each SSL object · ae3947de
      Rich Salz 提交于
      Give each SSL object it's own DRBG, chained to the parent global
      DRBG which is used only as a source of randomness into the per-SSL
      DRBG.  This is used for all session, ticket, and pre-master secret keys.
      It is NOT used for ECDH key generation which use only the global
      DRBG. (Doing that without changing the API is tricky, if not impossible.)
      Reviewed-by: NPaul Dale <paul.dale@oracle.com>
      (Merged from https://github.com/openssl/openssl/pull/4050)
      ae3947de
    • 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
  10. 30 7月, 2017 2 次提交
  11. 28 7月, 2017 2 次提交
  12. 27 7月, 2017 2 次提交
  13. 26 7月, 2017 2 次提交
  14. 21 7月, 2017 1 次提交
  15. 19 7月, 2017 1 次提交
  16. 17 7月, 2017 1 次提交
  17. 07 7月, 2017 1 次提交
  18. 03 7月, 2017 2 次提交
  19. 30 6月, 2017 3 次提交
  20. 29 6月, 2017 2 次提交
  21. 27 6月, 2017 2 次提交
  22. 25 6月, 2017 1 次提交
  23. 22 6月, 2017 1 次提交
  24. 21 6月, 2017 6 次提交