6.5.3. Configuring AOCL-Cryptography Provider With OpenSSL - 5.2 English - 57404

AOCL User Guide (57404)

Document ID
57404
Release Date
2025-12-29
Version
5.2 English

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.

    _images/ConfiguringAlcpProvider.png

    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 –providers to 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>

      _images/ListProviders2.png

      Figure 6.3 Available Providers#