tree: 7d22e6e6f678cf5cb5bb1cf9a2a8dc5b76182d96 [path history] [tgz]
  1. async_engine.c
  2. load_engine.cnf
  3. README.md
contrib/openssl/README.md

async-test.c is source for a sample openssl crypto engine. It wraps the standard RSA operations. For the private key operations it spawns a thread to sleep for 5 seconds and then pauses the asynchronous job.

It should be built as follows. It must be build against openssl 1.1 or better for access to the ASYNC_*_job apis.

gcc -fPIC -shared -g -o async-test.so -I -L -lssl -lcrypto -lpthread async_engine.c

load_engine.cnf is an example openssl config file that can be passed to Traffic Server via the proxy.config.ssl.engine.conf_file setting. It describes which crypto engines should be loaded and how they should be used. In the case of our async-test crypto engine it will be used for RSA operations