1. 21 11月, 2015 7 次提交
    • 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
      Add ASYNC_JOB pools · 252d6d3a
      Matt Caswell 提交于
      It is expensive to create the ASYNC_JOB objects due to the "makecontext"
      call. This change adds support for pools of ASYNC_JOB objects so that we
      don't have to create a new ASYNC_JOB every time we want to use one.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      252d6d3a
    • 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
      Async port to windows · 50108304
      Matt Caswell 提交于
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      50108304
    • 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
    • M
      Add the Dummy Async engine (dasync) · a14e9ff7
      Matt Caswell 提交于
      This engine is for developers of async aware applications. It simulates
      asynchronous activity with external hardware. This initial version supports
      SHA1 and RSA. Certain operations using those algorithms have async job
      "pauses" in them - using the new libcrypto async capability.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      a14e9ff7
    • M
      Add async sub-library to libcrypto · a3667c31
      Matt Caswell 提交于
      Provides support for running asynchronous jobs. Currently this is completely
      stand alone. Future commits will integrate this into libssl and s_server/
      s_client. An asynchronous capable engine will be required to see any benefit
      from this capability.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      a3667c31
  2. 20 11月, 2015 2 次提交
  3. 18 11月, 2015 1 次提交
  4. 14 11月, 2015 2 次提交
  5. 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
  6. 08 11月, 2015 2 次提交
  7. 03 11月, 2015 6 次提交
  8. 31 10月, 2015 1 次提交
  9. 30 10月, 2015 16 次提交
  10. 28 10月, 2015 1 次提交
  11. 24 10月, 2015 1 次提交