我要评分
获取效率
正确性
完整性
易理解

KAE Fails to Be Used by OpenSSL 1.1.1c Installed on EulerOS 2.8

Symptom

KAE fails to be used by OpenSSL 1.1.1c installed by default on EulerOS 2.8, and a message is displayed indicating that the symbol cannot be found.

Key Process and Cause Analysis

The SM algorithm (controlled by the OPENSSL_NO_SM4 compilation option) is not enabled for OpenSSL 1.1.1c installed by default on EulerOS 2.8, and the generated crypto library does not have the corresponding function symbol.

Conclusion and Solution

Download a OpenSSL version and compile it again. You do not need to add the OPENSSL_NO_SM4 macro in the configuration before compilation. Then install OpenSSL following the instructions in "Installing OpenSSL/Tongsuo" in the Kunpeng Accelerator Engine User Guide.