1. 08 3月, 2016 5 次提交
  2. 29 2月, 2016 1 次提交
    • M
      Refactor the async wait fd logic · ff75a257
      Matt Caswell 提交于
      Implementation experience has shown that the original plan for async wait
      fds was too simplistic. Originally the async logic created a pipe internally
      and user/engine code could then get access to it via API calls. It is more
      flexible if the engine is able to create its own fd and provide it to the
      async code.
      
      Another issue is that there can be a lot of churn in the fd value within
      the context of (say) a single SSL connection leading to continually adding
      and removing fds from (say) epoll. It is better if we can provide some
      stability of the fd value across a whole SSL connection. This is
      problematic because an engine has no concept of an SSL connection.
      
      This commit refactors things to introduce an ASYNC_WAIT_CTX which acts as a
      proxy for an SSL connection down at the engine layer.
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      ff75a257
  3. 09 2月, 2016 1 次提交
  4. 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
  5. 08 12月, 2015 2 次提交
  6. 03 12月, 2015 1 次提交
    • D
      Remove legacy sign/verify from EVP_MD. · 7f572e95
      Dr. Stephen Henson 提交于
      Remove sign/verify and required_pkey_type fields of EVP_MD: these are a
      legacy from when digests were linked to public key types. All signing is
      now handled by the corresponding EVP_PKEY_METHOD.
      
      Only allow supported digest types in RSA EVP_PKEY_METHOD: other algorithms
      already block unsupported types.
      
      Remove now obsolete EVP_dss1() and EVP_ecdsa().
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      7f572e95
  7. 22 11月, 2015 1 次提交
  8. 21 11月, 2015 3 次提交
    • M
      Rename some daysnc functions for consistency · 46a283c0
      Matt Caswell 提交于
      For some reason the dasync sha1 functions did not start with the
      dasync prefix like all of the other functions do. Changed for
      consistency.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      46a283c0
    • 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 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