$ cd / $ git clone --branch OpenSSL_1_1_0f https://github.com/openssl/openssl.git $ mv OpenSSL_1_1_0f openssl $ cd openssl $ mkdir .openssl $ ./config --prefix=`pwd`/.openssl $ make $ make install
编译QAT驱动程序
$ mkdir /QAT $ cd /QAT/ $ wget https://01.org/sites/default/files/page/qatmux.l.2.6.0-60.tgz $ tar xzvf qatmux.l.2.6.0-60.tgz $ ./installer.sh (选择 3)
编译QAT engine
$ cd / $ git clone --branch v0.5.30 https://github.com/01org/QAT_Engine.git $ cd QAT_Engine-0.5.30/qat_contig_mem $ make $ make load $ make test $ cd /QAT_Engine-0.5.30 $ ./configure \ --with-qat_dir=$ICP_ROOT \ --with-openssl_dir=$OPENSSL_ROOT \ --with-openssl_install_dir=$OPENSSL_LIB $ make $ make install
# This must be in the default section openssl_conf = openssl_def [openssl_def] engines = engine_section [engine_section] qat = qat_section [qat_section] engine_id = qat dynamic_path = /openssl/.openssl/lib/engines-1.1/qat.so default_algorithms = ALL
性能分析
详细的性能分析见Intel白皮书: Intel® Quickassist Technology and OpenSSL-1.1.0:性能数据。