Skip to content
  1. Feb 06, 2018
  2. Jan 23, 2018
  3. Jan 09, 2018
  4. Jan 07, 2018
  5. Dec 15, 2017
  6. Dec 09, 2017
  7. Dec 08, 2017
  8. Nov 20, 2017
  9. Nov 13, 2017
  10. Nov 05, 2017
  11. Oct 31, 2017
  12. Oct 30, 2017
  13. Oct 18, 2017
  14. Oct 13, 2017
  15. Oct 11, 2017
  16. Oct 09, 2017
  17. Sep 14, 2017
  18. Sep 13, 2017
  19. Sep 11, 2017
  20. Aug 30, 2017
  21. Aug 29, 2017
  22. Aug 22, 2017
  23. Aug 21, 2017
    • Pauli's avatar
      This has been added to avoid the situation where some host ctype.h functions · a1df06b3
      Pauli authored
      
      return true for characters > 127.  I.e. they are allowing extended ASCII
      characters through which then cause problems.  E.g. marking superscript '2' as
      a number then causes the common (ch - '0') conversion to number to fail
      miserably.  Likewise letters with diacritical marks can also cause problems.
      
      If a non-ASCII character set is being used (currently only EBCDIC), it is
      adjusted for.
      
      The implementation uses a single table with a bit for each of the defined
      classes.  These functions accept an int argument and fail for
      values out of range or for characters outside of the ASCII set.  They will
      work for both signed and unsigned character inputs.
      
      Reviewed-by: default avatarAndy Polyakov <appro@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/4102)
      a1df06b3
  24. Aug 15, 2017
  25. Aug 12, 2017
  26. Aug 08, 2017
  27. Aug 03, 2017
    • Rich Salz's avatar
      Switch from ossl_rand to DRBG rand · 75e2c877
      Rich Salz authored
      
      
      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: default avatarPaul Dale <paul.dale@oracle.com>
      (Merged from https://github.com/openssl/openssl/pull/4019)
      75e2c877