1. 06 8月, 2008 1 次提交
    • G
      Remove the dual-callback scheme for numeric and pointer thread IDs, · 4c329696
      Geoff Thorpe 提交于
      deprecate the original (numeric-only) scheme, and replace with the
      CRYPTO_THREADID object. This hides the platform-specifics and should reduce
      the possibility for programming errors (where failing to explicitly check
      both thread ID forms could create subtle, platform-specific bugs).
      
      Thanks to Bodo, for invaluable review and feedback.
      4c329696
  2. 04 7月, 2008 1 次提交
  3. 28 3月, 2008 1 次提交
    • G
      There was a need to support thread ID types that couldn't be reliably cast · f7ccba3e
      Geoff Thorpe 提交于
      to 'unsigned long' (ie. odd platforms/compilers), so a pointer-typed
      version was added but it required portable code to check *both* modes to
      determine equality. This commit maintains the availability of both thread
      ID types, but deprecates the type-specific accessor APIs that invoke the
      callbacks - instead a single type-independent API is used.  This simplifies
      software that calls into this interface, and should also make it less
      error-prone - as forgetting to call and compare *both* thread ID accessors
      could have led to hard-to-debug/infrequent bugs (that might only affect
      certain platforms or thread implementations). As the CHANGES note says,
      there were corresponding deprecations and replacements in the
      thread-related functions for BN_BLINDING and ERR too.
      f7ccba3e
  4. 22 5月, 2007 1 次提交
  5. 29 8月, 2005 1 次提交
  6. 11 8月, 2005 1 次提交
  7. 08 8月, 2005 1 次提交
  8. 10 5月, 2005 1 次提交
  9. 23 4月, 2005 1 次提交
  10. 18 5月, 2004 1 次提交
  11. 20 4月, 2004 1 次提交
  12. 22 7月, 2003 1 次提交
    • B
      add test for secp160r1 · 652ae06b
      Bodo Möller 提交于
      add code for kP+lQ timings
      
      Submitted by: Douglas Stebila <douglas.stebila@sun.com>
      Reviewed by: Bodo Moeller
      652ae06b
  13. 31 1月, 2003 1 次提交
  14. 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
  15. 29 11月, 2002 1 次提交
  16. 16 11月, 2002 2 次提交
  17. 11 11月, 2002 1 次提交
  18. 04 11月, 2002 1 次提交
  19. 29 10月, 2002 1 次提交
  20. 09 8月, 2002 1 次提交
  21. 03 8月, 2002 1 次提交
  22. 02 8月, 2002 2 次提交
    • B
      Rename implementations of method functions so that they match · 35b73a1f
      Bodo Möller 提交于
      the new method names where _GF... suffixes have been removed.
      
      Revert changes to ..._{get/set}_Jprojective_coordinates_...:
      The current implementation for ECC over binary fields does not use
      projective coordinates, and if it did, it would not use Jacobian
      projective coordinates; so it's OK to use the ..._GFp prefix for all
      this.
      
      Add author attributions to some files so that it doesn't look
      as if Sun wrote all of this :-)
      35b73a1f
    • B
      add support for elliptic curves over binary fields · 7793f30e
      Bodo Möller 提交于
      Submitted by: Duglas Stebila <douglas.stebila@sun.com>,
                    Sheueling Chang <sheueling.chang@sun.com>
      
      (CHANGES entries by Bodo Moeller)
      7793f30e
  23. 15 6月, 2002 1 次提交
    • L
      Some more prototype fixes. · 65ee74fb
      Lutz Jänicke 提交于
      Use DECLARE macros in asn1* instead of direct declaration.
      Submitted by: Goetz Babin-Ebell <babinebell@trustcenter.de>
      Reviewed by:
      PR: 89
      65ee74fb
  24. 14 2月, 2002 1 次提交
  25. 18 12月, 2001 2 次提交
  26. 16 11月, 2001 1 次提交
  27. 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
  28. 10 7月, 2001 1 次提交
  29. 05 7月, 2001 1 次提交
  30. 03 4月, 2001 1 次提交
  31. 15 3月, 2001 1 次提交
  32. 12 3月, 2001 1 次提交
  33. 11 3月, 2001 5 次提交