1. 26 5月, 2023 1 次提交
  2. 12 4月, 2023 2 次提交
  3. 10 8月, 2021 1 次提交
  4. 27 2月, 2020 1 次提交
  5. 28 9月, 2019 1 次提交
    • D
      Reorganize private crypto header files · 0c994d54
      Dr. Matthias St. Pierre 提交于
      Currently, there are two different directories which contain internal
      header files of libcrypto which are meant to be shared internally:
      
      While header files in 'include/internal' are intended to be shared
      between libcrypto and libssl, the files in 'crypto/include/internal'
      are intended to be shared inside libcrypto only.
      
      To make things complicated, the include search path is set up in such
      a way that the directive #include "internal/file.h" could refer to
      a file in either of these two directoroes. This makes it necessary
      in some cases to add a '_int.h' suffix to some files to resolve this
      ambiguity:
      
        #include "internal/file.h"      # located in 'include/internal'
        #include "internal/file_int.h"  # located in 'crypto/include/internal'
      
      This commit moves the private crypto headers from
      
        'crypto/include/internal'  to  'include/crypto'
      
      As a result, the include directives become unambiguous
      
        #include "internal/file.h"       # located in 'include/internal'
        #include "crypto/file.h"         # located in 'include/crypto'
      
      hence the superfluous '_int.h' suffixes can be stripped.
      
      The files 'store_int.h' and 'store.h' need to be treated specially;
      they are joined into a single file.
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/9681)
      0c994d54
  6. 26 2月, 2019 1 次提交
  7. 08 2月, 2019 1 次提交
    • T
      Fix d2i_PublicKey() for EC keys · 3dbec21b
      Todd Short 提交于
      o2i_ECPublicKey() requires an EC_KEY structure filled with an EC_GROUP.
      
      o2i_ECPublicKey() is called by d2i_PublicKey(). In order to fulfill the
      o2i_ECPublicKey()'s requirement, d2i_PublicKey() needs to be called with
      an EVP_PKEY with an EC_KEY containing an EC_GROUP.
      
      However, the call to EVP_PKEY_set_type() frees any existing key structure
      inside the EVP_PKEY, thus freeing the EC_KEY with the EC_GROUP that
      o2i_ECPublicKey() needs.
      
      This means you can't d2i_PublicKey() for an EC key...
      
      The fix is to check to see if the type is already set appropriately, and
      if so, not call EVP_PKEY_set_type().
      Reviewed-by: NPaul Yang <yang.yang@baishancloud.com>
      Reviewed-by: NMatt Caswell <matt@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/8168)
      
      (cherry picked from commit 2aa2beb06cc25c1f8accdc3d87b946205becfd86)
      3dbec21b
  8. 18 10月, 2017 1 次提交
  9. 01 3月, 2017 1 次提交
  10. 18 5月, 2016 1 次提交
  11. 21 3月, 2016 1 次提交
  12. 27 1月, 2016 1 次提交
    • R
      Remove /* foo.c */ comments · 34980760
      Rich Salz 提交于
      This was done by the following
              find . -name '*.[ch]' | /tmp/pl
      where /tmp/pl is the following three-line script:
              print unless $. == 1 && m@/\* .*\.[ch] \*/@;
              close ARGV if eof; # Close file to reset $.
      
      And then some hand-editing of other files.
      Reviewed-by: NViktor Dukhovni <viktor@openssl.org>
      34980760
  13. 20 1月, 2016 1 次提交
  14. 14 5月, 2015 1 次提交
  15. 28 3月, 2015 1 次提交
    • R
      free NULL cleanup · c5ba2d99
      Rich Salz 提交于
      EVP_.*free; this gets:
              EVP_CIPHER_CTX_free EVP_PKEY_CTX_free EVP_PKEY_asn1_free
              EVP_PKEY_asn1_set_free EVP_PKEY_free EVP_PKEY_free_it
              EVP_PKEY_meth_free; and also EVP_CIPHER_CTX_cleanup
      Reviewed-by: NKurt Roeckx <kurt@openssl.org>
      c5ba2d99
  16. 22 1月, 2015 2 次提交
  17. 13 11月, 2009 1 次提交
    • D
      PR: 2088 · c18e51ba
      Dr. Stephen Henson 提交于
      Submitted by: Aleksey Samsonov <s4ms0n0v@gmail.com>
      Approved by: steve@openssl.org
      
      Fix memory leak in d2i_PublicKey().
      c18e51ba
  18. 12 11月, 2008 1 次提交
  19. 02 11月, 2008 1 次提交
  20. 16 5月, 2005 1 次提交
    • N
      ecc api cleanup; summary: · 9dd84053
      Nils Larsch 提交于
      - hide the EC_KEY structure definition in ec_lcl.c + add
        some functions to use/access the EC_KEY fields
      - change the way how method specific data (ecdsa/ecdh) is
        attached to a EC_KEY
      - add ECDSA_sign_ex and ECDSA_do_sign_ex functions with
        additional parameters for pre-computed values
      - rebuild libeay.num from 0.9.7
      9dd84053
  21. 16 3月, 2004 1 次提交
  22. 11 11月, 2003 1 次提交
  23. 21 2月, 2003 1 次提交
    • B
      ECPublicKey_set_octet_string and ECPublicKey_get_octet_string · 62e3163b
      Bodo Möller 提交于
      behaviour was not quite consistent with the conventions
      for d2i and i2d functions as far as handling of the 'out'
      or 'in' pointer is concerned.
      
      This patch changes this behaviour, and renames the functions to
      o2i_ECPublicKey and i2o_ECPublicKey (not 'd2i' and 'i2d' because the
      external encoding is just a raw object string without any DER icing).
      
      Submitted by: Nils Larsch
      62e3163b
  24. 07 8月, 2002 1 次提交
  25. 09 4月, 2002 1 次提交
  26. 14 2月, 2002 1 次提交
  27. 02 12月, 2001 1 次提交
  28. 04 8月, 2001 1 次提交
  29. 20 2月, 2001 1 次提交
    • 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
  30. 07 11月, 2000 2 次提交
  31. 24 7月, 1999 1 次提交
  32. 24 4月, 1999 1 次提交
  33. 20 4月, 1999 1 次提交
  34. 21 12月, 1998 3 次提交