Overview
This page provides a complete reference of all./configure flags available when building the Intel QAT OpenSSL Engine. Options are organized by category for easy navigation.
./configure command during the build process. For build instructions, see Building from Source.Required Options
--with-qat_hw_dir
--with-qat_hw_dir
- Building against in-tree driver via qatlib RPM
- Building for QAT_SW only
--with-openssl_install_dir
--with-openssl_install_dir
make install.Example:- System already includes OpenSSL 3.x library and devel packages
- In this case, qatengine.so installs to system enginesdir (e.g.,
/usr/lib64/engines-3)
QAT Software Options
--enable-qat_sw / --disable-qat_sw
--enable-qat_sw / --disable-qat_sw
- crypto_mb:
/usr/local/lib - ipsec_mb:
/usr/lib
--with-qat_sw_crypto_mb_install_dir and --with-qat_sw_ipsec_mb_install_dir if libraries are elsewhere.--disable-qat_hw
--disable-qat_hw
- System has both QAT_HW and QAT_SW
- In-tree driver installed via qatlib RPM
- Prefer QAT_SW over QAT_HW
--with-qat_sw_crypto_mb_install_dir
--with-qat_sw_crypto_mb_install_dir
/usr/localSpecify if Intel Crypto Multi-buffer library is installed in a non-default location.--with-qat_sw_ipsec_mb_install_dir
--with-qat_sw_ipsec_mb_install_dir
/usrSpecify if Intel Multi-buffer crypto for IPsec library is installed in a non-default location.Advanced Options
--with-openssl_dir
--with-openssl_dir
- Adding new error messages to QAT Engine source
- Updates qat_err.c, qat_err.h, and qat.txt
--with-qat_hw_install_dir
--with-qat_hw_install_dir
<qat_hw_dir>/buildOnly specify if driver libraries are built in a non-default location.--with-qat_hw_usdm_dir
--with-qat_hw_usdm_dir
<qat_hw_dir>/quickassist/utilities/libusdm_drvOnly specify if using USDM and path differs from default.--with-qat_engine_id
--with-qat_engine_id
"qatengine"Set a custom engine ID. Useful for applications using the legacy “qat” ID.Example:--with-qat_debug_file
--with-qat_debug_file
--enable-qat_warnings--enable-qat_debug--enable-qat_mem_warnings--enable-qat_mem_debug
- Full absolute path and filename
- Directory must be writable
- File is replaced (not appended) on each run
Provider & FIPS Support
--enable-qat_provider
--enable-qat_provider
- RSA
- ECDSA
- ECDH
- ECX
- AES-GCM
--enable-qat_fips
--enable-qat_fips
- Must be used with
--enable-qat_provider - OpenSSL 3.0 or later
QAT Hardware Algorithm Control
Asymmetric Crypto
RSA
RSA
DSA
DSA
DH
DH
ECDH
ECDH
ECDSA
ECDSA
ECX (X25519/X448)
ECX (X25519/X448)
Symmetric Crypto & Ciphers
Chained Ciphers
Chained Ciphers
AES-GCM
AES-GCM
AES-CCM
AES-CCM
CHACHA20-POLY1305 (QAT Gen4 only)
CHACHA20-POLY1305 (QAT Gen4 only)
SM4-CBC (QAT Gen4 + Tongsuo)
SM4-CBC (QAT Gen4 + Tongsuo)
- QAT gen 4 devices (4xxx)
- Built with Tongsuo
Key Derivation & Hashing
PRF
PRF
HKDF
HKDF
SHA-3 (QAT Gen4 only)
SHA-3 (QAT Gen4 only)
SM3 (QAT Gen4 only)
SM3 (QAT Gen4 only)
SM2 (QAT Gen4 only)
SM2 (QAT Gen4 only)
QAT Software Algorithm Control
QAT_SW RSA
QAT_SW RSA
--enable-qat_sw is setQAT_SW AES-GCM
QAT_SW AES-GCM
--enable-qat_sw is setRequirement: IPSec_mb library must be installedQAT_SW ECX (X25519)
QAT_SW ECX (X25519)
--enable-qat_sw is setQAT_SW ECDSA (P-256/P-384)
QAT_SW ECDSA (P-256/P-384)
--enable-qat_sw is setQAT_SW ECDH (P-256/P-384/SM2)
QAT_SW ECDH (P-256/P-384/SM2)
--enable-qat_sw is setQAT_SW SM2
QAT_SW SM2
--enable-qat_sw is setQAT_SW SM3
QAT_SW SM3
QAT_SW SM4-CBC (Tongsuo only)
QAT_SW SM4-CBC (Tongsuo only)
QAT_SW SM4-GCM (Tongsuo only)
QAT_SW SM4-GCM (Tongsuo only)
QAT_SW SM4-CCM (Tongsuo only)
QAT_SW SM4-CCM (Tongsuo only)
Performance & Optimization
--enable-qat_small_pkt_offload
--enable-qat_small_pkt_offload
--enable-qat_plock
--enable-qat_plock
--enable-qat_sw_heuristic_timeout
--enable-qat_sw_heuristic_timeout
--enable-qat_cycle_counts
--enable-qat_cycle_counts
Security & Special Features
--disable-qat_hw_lenstra_protection
--disable-qat_hw_lenstra_protection
--enable-qat_hw_lenstra_verify_hw
--enable-qat_hw_lenstra_verify_hw
--disable-qat_auto_engine_init_on_fork
--disable-qat_auto_engine_init_on_fork
INIT_ENGINE message or wait for first QAT crypto operation--enable-qat_insecure_algorithms
--enable-qat_insecure_algorithms
- RSA < 2048 bits
- DSA, DH
- ECDH curves with bitlen < 256
- ECDSA curves with bitlen < 256
- AES128-CBC-HMAC-SHA1
- AES256-CBC-HMAC-SHA1
- SHA3-224
--enable-qat_ntls
--enable-qat_ntls
Debug Options
--enable-qat_warnings
--enable-qat_warnings
--enable-qat_debug
--enable-qat_debug
--enable-qat_mem_warnings
--enable-qat_mem_warnings
--enable-qat_mem_debug
--enable-qat_mem_debug
Compiler & Linker Options
--with-cc-opt
--with-cc-opt
--with-ld-opt
--with-ld-opt