Applications utilizing OpenSSL are capable of leveraging AOCL-Cryptography by configuring the provider interface. The AOCL-Cryptography provider for OpenSSL APIs is provided through the libopenssl-compat.so library.
Update the openssl.conf file installed in the OpenSSL binaries path.
Alternatively, you may duplicate the openssl.conf file and modify it.
Add the AOCL-Cryptography provider section.
Figure 6.2 OpenSSL Configuration#
Set the OPENSSL_CONF path to load the providers.
$ export OPENSSL_CONF=/path/to/openssl.cnf
Verify Setup:
Run
openssl list –providersto get the list of providers.Upon successful provider initialization, the library name with the version will be displayed: AOCL-Crypto <AOCL version> Build <Build id>
Figure 6.3 Available Providers#