Fixes and tests for async and crypto callbacks by dgarske · Pull Request #9784 · wolfSSL/wolfssl
wolfcrypt/src/cryptocb.c
Fix
%p logging by casting ctx pointers to void*.
wolfcrypt/src/async.c
Document callback-driven pending/retry behavior in the polling loop.
src/internal.c
Clear stale async event state after event removal to enable clean retries.
examples/async/user_settings.h
Adjust example settings and document mutually exclusive async modes.
examples/async/async_tls.c
Update include flow for user settings; narrow simulated pending operations in callback.
examples/async/async_server.c
Register/unregister crypto callback device and improve error logging.
examples/async/async_client.c
Register/unregister crypto callback device and improve error logging.
examples/async/README.md
Document build modes and how to run async examples.
examples/async/Makefile
Add ASYNC_MODE switch controlling WOLFSSL_ASYNC_CRYPT_SW vs WOLF_CRYPTO_CB.
.github/workflows/async-examples.yml
Build/run CI matrix for both async modes and adjust pending-count validation.