1. 28 11月, 2015 2 次提交
    • D
      PRF and handshake hash revision. · 28ba2541
      Dr. Stephen Henson 提交于
      Change handshake hash array into a single digest context simplifying the
      handhake hash code. Use EVP_md5_sha1() if needed for handshake hashes in
      TLS 1.1 and earlier.
      
      Simplify PRF code to also use a single digest and treat EVP_md5_sha1()
      as a special case.
      
      Modify algorithm2 field of ciphers to use a single index value for handshake
      hash and PRF instead of a bitmap.
      Reviewed-by: NMatt Caswell <matt@openssl.org>
      28ba2541
    • M
      Updates to GOST2012 · 2a9b9654
      Matt Caswell 提交于
      Various updates following feedback from the recent commit of the new
      GOST2012 code.
      Reviewed-by: NAndy Polyakov <appro@openssl.org>
      2a9b9654
  2. 26 11月, 2015 1 次提交
  3. 24 11月, 2015 1 次提交
  4. 21 11月, 2015 7 次提交
    • M
      Rename start_async_job to ssl_start_async_job · 7fecbf6f
      Matt Caswell 提交于
      Make it clear that this function is ssl specific.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      7fecbf6f
    • M
      Clean up libssl async calls · add2f5ca
      Matt Caswell 提交于
      Tidy up the libssl async calls and make sure all IO functions are covered.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      add2f5ca
    • M
      Fix the error code for SSL_get_async_wait_fd() · 9920a58e
      Matt Caswell 提交于
      0 is a valid file descriptor so SSL_get_async_wait_fd should instead return
      -1 on error.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      9920a58e
    • M
      Remove ASYNC_in_job() · 44a27ac2
      Matt Caswell 提交于
      The ASYNC_in_job() function is redundant. The same effect can be achieved by
      using ASYNC_get_current_job().
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      44a27ac2
    • M
      Initial Async notify code changes · f4da39d2
      Matt Caswell 提交于
      Initial API implemented for notifying applications that an ASYNC_JOB
      has completed. Currently only s_server is using this. The Dummy Async
      engine "cheats" in that it notifies that it has completed *before* it
      pauses the job. A normal async engine would not do that.
      
      Only the posix version of this has been implemented so far, so it will
      probably fail to compile on Windows at the moment.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      f4da39d2
    • M
      Async clean ups · 82676094
      Matt Caswell 提交于
      Removed the function ASYNC_job_is_waiting() as it was redundant. The only
      time user code has a handle on a job is when one is waiting, so all they
      need to do is check whether the job is NULL. Also did some cleanups to
      make sure the job really is NULL after it has been freed!
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      82676094
    • M
      Make libssl async aware · 07bbc92c
      Matt Caswell 提交于
      The following entry points have been made async aware:
      SSL_accept
      SSL_read
      SSL_write
      
      Also added is a new mode - SSL_MODE_ASYNC. Calling the above functions with
      the async mode enabled will initiate a new async job. If an async pause is
      encountered whilst executing the job (such as for example if using SHA1/RSA
      with the Dummy Async engine), then the above functions return with
      SSL_WANT_ASYNC. Calling the functions again (with exactly the same args
      as per non-blocking IO), will resume the job where it left off.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      07bbc92c
  5. 20 11月, 2015 1 次提交
  6. 11 11月, 2015 1 次提交
    • M
      Fix SSL_use_certificate_chain_file · a974e64a
      Matt Caswell 提交于
      The new function SSL_use_certificate_chain_file was always crashing in
      the internal function use_certificate_chain_file because it would pass a
      NULL value for SSL_CTX *, but use_certificate_chain_file would
      unconditionally try to dereference it.
      Reviewed-by: NStephen Henson <steve@openssl.org>
      a974e64a
  7. 10 11月, 2015 1 次提交
  8. 09 11月, 2015 1 次提交
  9. 08 11月, 2015 1 次提交
  10. 30 10月, 2015 8 次提交
  11. 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
  12. 25 9月, 2015 1 次提交
  13. 23 9月, 2015 1 次提交
  14. 17 9月, 2015 1 次提交
  15. 15 9月, 2015 1 次提交
    • D
      Fix PSK identity hint handling. · df6da24b
      Dr. Stephen Henson 提交于
      For server use a PSK identity hint value in the CERT structure which
      is inherited when SSL_new is called and which allows applications to
      set hints on a per-SSL basis. The previous version of
      SSL_use_psk_identity_hint tried (wrongly) to use the SSL_SESSION structure.
      
      PR#4039
      Reviewed-by: NMatt Caswell <matt@openssl.org>
      df6da24b
  16. 11 9月, 2015 1 次提交
  17. 06 9月, 2015 1 次提交
  18. 04 9月, 2015 1 次提交
  19. 03 9月, 2015 1 次提交
  20. 01 9月, 2015 1 次提交
  21. 12 8月, 2015 1 次提交
  22. 30 7月, 2015 1 次提交
  23. 18 7月, 2015 1 次提交
  24. 22 6月, 2015 1 次提交
  25. 15 6月, 2015 1 次提交
  26. 28 5月, 2015 1 次提交