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

Checking Whether a Program Calls KAE

Question

My program calls the APIs provided by OpenSSL and is bound to KAE. The program can run and stop properly. How do I know that the program uses KAE instead of the original software computing library in the system?

Answer

When the program is running, you can query the number of hardware device queues to check whether the program has called KAE. You can run the cat /sys/class/uacce/hisi_zip/attrs/available_instances command to query the number of queues corresponding to the hisi_zip driver module. By default, the number is 256.

Figure 1 Viewing the number of queues of the driver module