1. 15 1月, 2003 2 次提交
  2. 02 1月, 2003 1 次提交
  3. 29 12月, 2002 1 次提交
  4. 09 12月, 2002 2 次提交
    • R
      make update · 0edad88a
      Richard Levitte 提交于
      0edad88a
    • G
      Nils Larsch submitted; · e1898724
      Geoff Thorpe 提交于
        - a patch to fix a memory leak in rsa_gen.c
        - a note about compiler warnings with unions
        - a note about improving structure element names
      
      This applies his patch and implements a solution to the notes.
      e1898724
  5. 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
  6. 06 12月, 2002 1 次提交
  7. 01 12月, 2002 1 次提交
  8. 29 11月, 2002 2 次提交
  9. 13 11月, 2002 1 次提交
  10. 04 11月, 2002 1 次提交
  11. 09 10月, 2002 1 次提交
  12. 09 8月, 2002 1 次提交
  13. 30 7月, 2002 1 次提交
  14. 15 7月, 2002 1 次提交
    • B
      Replace 'ecdsaparam' commandline utility by 'ecparam' · 5dbd3efc
      Bodo Möller 提交于
      (the same keys can be used for ECC schemes other than ECDSA)
      and add some new options.
      
      Similarly, use string "EC PARAMETERS" instead of "ECDSA PARAMETERS"
      in 'PEM' format.
      
      Fix ec_asn1.c (take into account the desired conversion form).
      
      'make update'.
      
      Submitted by: Nils Larsch
      5dbd3efc
  15. 28 6月, 2002 1 次提交
  16. 10 3月, 2002 1 次提交
    • D
      · 0c372b94
      Dr. Stephen Henson 提交于
      Make {RSA,DSA,DH}_new_method obtain and release an ENGINE
      functional reference in all cases.
      0c372b94
  17. 05 3月, 2002 1 次提交
    • D
      · 2c2f9e2c
      Dr. Stephen Henson 提交于
      Make sure the type accessed by the LONG and ZLONG ASN1 type
      is really a long, to avoid problems on platforms where
      sizeof(int) != sizeof(long).
      2c2f9e2c
  18. 14 2月, 2002 1 次提交
  19. 18 12月, 2001 1 次提交
  20. 16 10月, 2001 1 次提交
    • D
      · 20d2186c
      Dr. Stephen Henson 提交于
      Retain compatibility of EVP_DigestInit() and EVP_DigestFinal()
      with existing code.
      
      Modify library to use digest *_ex() functions.
      20d2186c
  21. 04 10月, 2001 2 次提交
  22. 26 9月, 2001 2 次提交
    • G
      "make update". · 534aaf37
      Geoff Thorpe 提交于
      534aaf37
    • 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
  23. 03 9月, 2001 1 次提交
  24. 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
  25. 26 8月, 2001 1 次提交
  26. 13 8月, 2001 1 次提交
    • G
      The indexes returned by ***_get_ex_new_index() functions are used when · b7727ee6
      Geoff Thorpe 提交于
      setting stack (actually, array) values in ex_data. So only increment the
      global counters if the underlying CRYPTO_get_ex_new_index() call succeeds.
      This change doesn't make "ex_data" right (see the comment at the head of
      ex_data.c to know why), but at least makes the source code marginally less
      frustrating.
      b7727ee6
  27. 06 8月, 2001 1 次提交
  28. 04 8月, 2001 1 次提交
  29. 01 8月, 2001 1 次提交
  30. 31 7月, 2001 1 次提交
  31. 26 7月, 2001 1 次提交
  32. 26 6月, 2001 1 次提交
  33. 24 6月, 2001 2 次提交
  34. 20 6月, 2001 1 次提交
    • D
      · 323f289c
      Dr. Stephen Henson 提交于
      Change all calls to low level digest routines in the library and
      applications to use EVP. Add missing calls to HMAC_cleanup() and
      don't assume HMAC_CTX can be copied using memcpy().
      
      Note: this is almost identical to the patch submitted to openssl-dev
      by Verdon Walker <VWalker@novell.com> except some redundant
      EVP_add_digest_()/EVP_cleanup() calls were removed and some changes
      made to avoid compiler warnings.
      323f289c