1. 30 9月, 2015 1 次提交
    • D
      Fix no-stdio build · 984d6c60
      David Woodhouse 提交于
      Much related/similar work also done by
      Ivan Nestlerode <ivan.nestlerode@sonos.com>
      
         +Replace FILE BIO's with dummy ops that fail.
         +Include <stdio.h> for sscanf() even with no-stdio (since the declaration
          is there). We rely on sscanf() to parse the OPENSSL_ia32cap environment
          variable, since it can be larger than a 'long'. And we don't rely on the
          availability of strtoull().
         +Remove OPENSSL_stderr(); not used.
         +Make OPENSSL_showfatal() do nothing (currently without stdio there's
          nothing we can do).
         +Remove file-based functionality from ssl/. The function
          prototypes were already gone, but not the functions themselves.
         +Remove unviable conf functionality via SYS_UEFI
         +Add fallback definition of BUFSIZ.
         +Remove functions taking FILE * from header files.
         +Add missing DECLARE_PEM_write_fp_const
         +Disable X509_LOOKUP_hash_dir(). X509_LOOKUP_file() was already compiled out,
          so remove its prototype.
         +Use OPENSSL_showfatal() in CRYPTO_destroy_dynlockid().
         +Eliminate SRP_VBASE_init() and supporting functions. Users will need to
          build the verifier manually instead.
         +Eliminate compiler warning for unused do_pk8pkey_fp().
         +Disable TEST_ENG_OPENSSL_PKEY.
         +Disable GOST engine as is uses [f]printf all over the place.
         +Eliminate compiler warning for unused send_fp_chars().
      Signed-off-by: NRich Salz <rsalz@akamai.com>
      Reviewed-by: NTim Hudson <tjh@openssl.org>
      984d6c60
  2. 04 9月, 2015 1 次提交
  3. 04 8月, 2015 1 次提交
  4. 10 6月, 2015 1 次提交
    • M
      EC_POINT_is_on_curve does not return a boolean · 68886be7
      Matt Caswell 提交于
      The function EC_POINT_is_on_curve does not return a boolean value.
      It returns 1 if the point is on the curve, 0 if it is not, and -1
      on error. Many usages within OpenSSL were incorrectly using this
      function and therefore not correctly handling error conditions.
      
      With thanks to the Open Crypto Audit Project for reporting this issue.
      Reviewed-by: NKurt Roeckx <kurt@openssl.org>
      68886be7
  5. 05 5月, 2015 1 次提交
    • R
      Use safer sizeof variant in malloc · b4faea50
      Rich Salz 提交于
      For a local variable:
              TYPE *p;
      Allocations like this are "risky":
              p = OPENSSL_malloc(sizeof(TYPE));
      if the type of p changes, and the malloc call isn't updated, you
      could get memory corruption.  Instead do this:
              p = OPENSSL_malloc(sizeof(*p));
      Also fixed a few memset() calls that I noticed while doing this.
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      b4faea50
  6. 01 5月, 2015 2 次提交
    • R
      free NULL cleanup 7 · 23a1d5e9
      Rich Salz 提交于
      This gets BN_.*free:
          BN_BLINDING_free BN_CTX_free BN_FLG_FREE BN_GENCB_free
          BN_MONT_CTX_free BN_RECP_CTX_free BN_clear_free BN_free BUF_MEM_free
      
      Also fix a call to DSA_SIG_free to ccgost engine and remove some #ifdef'd
      dead code in engines/e_ubsec.
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      23a1d5e9
    • R
      free cleanup almost the finale · 4b45c6e5
      Rich Salz 提交于
      Add OPENSSL_clear_free which merges cleanse and free.
      (Names was picked to be similar to BN_clear_free, etc.)
      Removed OPENSSL_freeFunc macro.
      Fixed the small simple ones that are left:
              CRYPTO_free CRYPTO_free_locked OPENSSL_free_locked
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      4b45c6e5
  7. 29 4月, 2015 1 次提交
  8. 26 3月, 2015 1 次提交
  9. 22 1月, 2015 1 次提交
  10. 09 12月, 2014 1 次提交
  11. 08 12月, 2014 2 次提交
  12. 30 8月, 2014 1 次提交
  13. 15 7月, 2013 1 次提交
    • A
      Make `safe' (EC)DSA nonces the default. · 190c615d
      Adam Langley 提交于
      This change updates 8a99cb29 to make the generation of (EC)DSA nonces
      using the message digest the default. It also reverts the changes to
      (EC)DSA_METHOD structure.
      
      In addition to making it the default, removing the flag from EC_KEY
      means that FIPS modules will no longer have an ABI mismatch.
      190c615d
  14. 14 6月, 2013 1 次提交
    • A
      Add secure DSA nonce flag. · 8a99cb29
      Adam Langley 提交于
      This change adds the option to calculate (EC)DSA nonces by hashing the
      message and private key along with entropy to avoid leaking the private
      key if the PRNG fails.
      8a99cb29
  15. 06 10月, 2012 1 次提交
  16. 16 11月, 2011 1 次提交
  17. 23 10月, 2011 1 次提交
  18. 11 5月, 2011 1 次提交
  19. 24 4月, 2011 2 次提交
  20. 19 4月, 2011 1 次提交
  21. 14 4月, 2011 2 次提交
  22. 16 2月, 2011 1 次提交
  23. 15 2月, 2011 1 次提交
    • D
      Reorganise ECC code for inclusion in FIPS module. · 84b08eee
      Dr. Stephen Henson 提交于
      Move compression, point2oct and oct2point functions into separate files.
      
      Add a flags field to EC_METHOD.
      
      Add a flag EC_FLAGS_DEFAULT_OCT to use the default compession and oct
      functions (all existing methods do this). This removes dependencies from
      EC_METHOD while keeping original functionality.
      84b08eee
  24. 13 2月, 2011 1 次提交
  25. 25 1月, 2011 1 次提交
  26. 24 1月, 2011 1 次提交
  27. 19 1月, 2011 2 次提交
  28. 24 9月, 2008 1 次提交
  29. 17 5月, 2005 1 次提交
  30. 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
  31. 27 4月, 2005 1 次提交
  32. 20 2月, 2003 1 次提交
    • B
      typo · fbbfd86b
      Bodo Möller 提交于
      PR: 511
      Submitted by: Eric Cronin
      fbbfd86b
  33. 28 11月, 2002 1 次提交
  34. 10 8月, 2002 1 次提交
  35. 09 8月, 2002 1 次提交
    • B
      Add ECDH support. · e172d60d
      Bodo Möller 提交于
      Additional changes:
       - use EC_GROUP_get_degree() in apps/req.c
       - add ECDSA and ECDH to apps/speed.c
       - adds support for EC curves over binary fields to ECDSA
       - new function EC_KEY_up_ref() in crypto/ec/ec_key.c
       - reorganize crypto/ecdsa/ecdsatest.c
       - add engine support for ECDH
       - fix a few bugs in ECDSA engine support
      
      Submitted by: Douglas Stebila <douglas.stebila@sun.com>
      e172d60d