Rate This Document
Findability
Accuracy
Completeness
Readability

Installing KAE

The Kunpeng Accelerator Engine (KAE) is a hardware acceleration solution provided on the Kunpeng 920 processor. It consists of KAE encryption and decryption and KAEzip. The KAE encryption and decryption module is based on OpenSSL. Therefore, install OpenSSL before installing and using this module.

For details about how to install OpenSSL, see Installing OpenSSL.

Procedure

  1. Use a remote login tool to log in to the Linux CLI as the root user.
  2. Pull the KAE 2.0 code from the /home directory.
    git clone https://gitee.com/kunpengcompute/KAE.git -b kae2

    The kae2 branch applies to openEuler 22.03 LTS SP2. If the OS is openEuler 22.03 LTS SP1, use KAE 2.0.0.

  3. Go to the pulled KAE directory and install all modules.
    sh build.sh all

    This script provides commands for one-click installation. Go to the KAE source package directory and run the sh build.sh all command to install all KAE components (both the encryption-decryption and decompression modules are required). For details about the installation procedure, see Installation Using Source Code (KAE 2.0).

Verifying the KAE Installation

Go to the KAE directory and run the env-check.sh script.
sh env-check.sh

After the build.sh script is executed, KAE may fail to be installed even if no error is reported. To check the installation result, run the env-check.sh script in the KAE directory. This script checks whether the KAE environment is normal. If not, it will display the exceptions.