Daniel Pouzzner b178138d83 src/internal.c: in wolfSSL_ERR_reason_error_string(), add missing error string for SCR_DIFFERENT_CERT_E, and de-gate error strings previously gated on HAVE_HTTP_CLIENT. | 2 ヶ月 前 | |
---|---|---|
.. | ||
README.md | 1 年間 前 | |
async_client.c | 2 ヶ月 前 | |
async_server.c | 2 ヶ月 前 | |
async_tls.c | 2 ヶ月 前 | |
async_tls.h | 3 ヶ月 前 | |
include.am | 5 ヶ月 前 |
Supported with:
--enable-cryptocb
)--enable-pkcallbacks
)Requires files from https://github.com/wolfSSL/wolfAsyncCrypt
See async-check.sh
for how to setup.
Tested with:
./configure --enable-asynccrypt --enable-rsa --disable-ecc
./configure --enable-asynccrypt --disable-rsa --enable-ecc
./configure --enable-asynccrypt --enable-cryptocb --enable-rsa --disable-ecc
./configure --enable-asynccrypt --enable-cryptocb --disable-rsa --enable-ecc
./configure --enable-asynccrypt --enable-pkcallbacks --enable-rsa --disable-ecc
./configure --enable-asynccrypt --enable-pkcallbacks --disable-rsa --enable-ecc
make
./examples/async/async_server
./examples/async/async_client 127.0.0.1
When a cryptogaphic call is handed off to hardware it return WC_PENDING_E
up to caller. Then it can keep calling until the operation completes. For some platforms it is required to call wolfSSL_AsyncPoll
. At the TLS layer a "devId" (Device ID) must be set using wolfSSL_CTX_SetDevId
to indicate desire to offload cryptography.
For further design details please see: https://github.com/wolfSSL/wolfAsyncCrypt#design
For questions please email support@wolfssl.com