1. 08 12月, 2002 1 次提交
    • G
      This is a first-cut at improving the callback mechanisms used in · e9224c71
      Geoff Thorpe 提交于
      key-generation and prime-checking functions. Rather than explicitly passing
      callback functions and caller-defined context data for the callbacks, a new
      structure BN_GENCB is defined that encapsulates this; a pointer to the
      structure is passed to all such functions instead.
      
      This wrapper structure allows the encapsulation of "old" and "new" style
      callbacks - "new" callbacks return a boolean result on the understanding
      that returning FALSE should terminate keygen/primality processing.  The
      BN_GENCB abstraction will allow future callback modifications without
      needing to break binary compatibility nor change the API function
      prototypes. The new API functions have been given names ending in "_ex" and
      the old functions are implemented as wrappers to the new ones.  The
      OPENSSL_NO_DEPRECATED symbol has been introduced so that, if defined,
      declaration of the older functions will be skipped. NB: Some
      openssl-internal code will stick with the older callbacks for now, so
      appropriate "#undef" logic will be put in place - this is in case the user
      is *building* openssl (rather than *including* its headers) with this
      symbol defined.
      
      There is another change in the new _ex functions; the key-generation
      functions do not return key structures but operate on structures passed by
      the caller, the return value is a boolean. This will allow for a smoother
      transition to having key-generation as "virtual function" in the various
      ***_METHOD tables.
      e9224c71
  2. 06 12月, 2002 1 次提交
  3. 01 12月, 2002 1 次提交
  4. 29 11月, 2002 1 次提交
  5. 26 9月, 2001 1 次提交
    • G
      This commits changes to various parts of libcrypto required by the recent · cb78486d
      Geoff Thorpe 提交于
      ENGINE surgery. DH, DSA, RAND, and RSA now use *both* "method" and ENGINE
      pointers to manage their hooking with ENGINE. Previously their use of
      "method" pointers was replaced by use of ENGINE references. See
      crypto/engine/README for details.
      
      Also, remove the ENGINE iterations from evp_test - even when the
      cipher/digest code is committed in, this functionality would require a
      different set of API calls.
      cb78486d
  6. 02 9月, 2001 1 次提交
    • G
      Make the necessary changes to work with the recent "ex_data" overhaul. · 79aa04ef
      Geoff Thorpe 提交于
      See the commit log message for that for more information.
      
      NB: X509_STORE_CTX's use of "ex_data" support was actually misimplemented
      (initialisation by "memset" won't/can't/doesn't work). This fixes that but
      requires that X509_STORE_CTX_init() be able to handle errors - so its
      prototype has been changed to return 'int' rather than 'void'. All uses of
      that function throughout the source code have been tracked down and
      adjusted.
      79aa04ef
  7. 11 3月, 2001 1 次提交
  8. 20 2月, 2001 2 次提交
    • R
      Use new-style system-id macros everywhere possible. I hope I haven't · bc36ee62
      Richard Levitte 提交于
      missed any.
      
      This compiles and runs on Linux, and external applications have no
      problems with it.  The definite test will be to build this on VMS.
      bc36ee62
    • R
      Make all configuration macros available for application by making · cf1b7d96
      Richard Levitte 提交于
      sure they are available in opensslconf.h, by giving them names starting
      with "OPENSSL_" to avoid conflicts with other packages and by making
      sure e_os2.h will cover all platform-specific cases together with
      opensslconf.h.
      
      I've checked fairly well that nothing breaks with this (apart from
      external software that will adapt if they have used something like
      NO_KRB5), but I can't guarantee it completely, so a review of this
      change would be a good thing.
      cf1b7d96
  9. 06 2月, 2000 1 次提交
  10. 03 2月, 2000 1 次提交
    • D
      · 82fc1d9c
      Dr. Stephen Henson 提交于
      Add new -notext option to 'ca', -pubkey option to spkac.
      
      Remove some "WTF??" casts from applications.
      
      Fixes to keep VC++ happy and avoid warnings.
      
      Docs tidy.
      82fc1d9c
  11. 30 1月, 2000 1 次提交
  12. 28 1月, 2000 1 次提交
    • U
      Document DSA and SHA. · 38e33cef
      Ulf Möller 提交于
      New function BN_pseudo_rand().
      Use BN_prime_checks_size(BN_num_bits(w)) rounds of Miller-Rabin when
      generating DSA primes (why not use BN_is_prime()?)
      38e33cef
  13. 16 1月, 2000 1 次提交
  14. 26 10月, 1999 1 次提交
  15. 10 7月, 1999 1 次提交
  16. 25 6月, 1999 1 次提交
  17. 12 6月, 1999 1 次提交
  18. 27 4月, 1999 2 次提交
  19. 24 4月, 1999 1 次提交
  20. 23 4月, 1999 1 次提交
  21. 20 4月, 1999 1 次提交
  22. 10 4月, 1999 1 次提交
  23. 21 12月, 1998 2 次提交