Skip to content
  1. Jan 19, 2004
  2. Jan 08, 2004
  3. Jan 06, 2004
  4. Jan 04, 2004
  5. Dec 27, 2003
  6. Dec 20, 2003
  7. Dec 18, 2003
  8. Dec 11, 2003
  9. Dec 10, 2003
  10. Dec 06, 2003
  11. Dec 03, 2003
  12. Dec 02, 2003
    • Geoff Thorpe's avatar
      Incremental cleanups to bn_lib.c. · 2bfd2c74
      Geoff Thorpe authored
      - Add missing bn_check_top() calls and relocate some others
      - Use BN_is_zero() where appropriate
      - Remove assert()s that bn_check_top() is already covering
      - Simplify the code in places (esp. bn_expand2())
      - Only keep ambiguous zero handling if BN_STRICT isn't defined
      - Remove some white-space and make some other aesthetic tweaks
      2bfd2c74
    • Geoff Thorpe's avatar
      Use the BN_is_odd() macro in place of code that (inconsistently) does much · 82b2f57e
      Geoff Thorpe authored
      the same thing.
      
      Also, I have some stuff on the back-burner related to some BN_CTX notes
      from Peter Gutmann about his cryptlib hacks to the bignum code. The BN_CTX
      comments are there to remind me of some relevant points in the code.
      82b2f57e
    • Geoff Thorpe's avatar
      BN_FLG_FREE is of extremely dubious usefulness, and is only referred to · 2ae1ea37
      Geoff Thorpe authored
      once in the source (where it is set for the benefit of no other code
      whatsoever). I've deprecated the declaration in the header and likewise
      made the use of the flag conditional in bn_lib.c. Note, this change also
      NULLs the 'd' pointer in a BIGNUM when it is reset but not deallocated.
      2ae1ea37
  13. Dec 01, 2003