TI中文支持网
TI专业的中文技术问题搜集分享网站

PROCESSOR-SDK-AM62X: OK62xx AES硬件加密加速咨询

Part Number:PROCESSOR-SDK-AM62X

现在我们的手册上,两种加密速度测试,一个是用openssl测试,一个是使用模块测试,命令如下,有一些疑问,这两个命令都是使用硬件加密加速器吗
/dev/crypto 是硬件加密加速设备吗

怎么使用硬件加密加速设备

您们是否有相关的例程

OK6254-C 包含一个硬件加密加快模块。
不使用硬件加密加速模块测试
root@ok6254:~# openssl speed -engine devcrypto -multi 8 -elapsed -evp aes-128-cbc
Forked child 0
engine "devcrypto" set.
+DT:aes-128-cbc:3:16
Forked child 1
engine "devcrypto" set.
Forked child 2
+DT:aes-128-cbc:3:16
engine "devcrypto" set.
Forked child 3

root@ok6254:~# openssl engine

(devcrypto) /dev/crypto engine

(dynamic) Dynamic engine loading support

root@ok6254:~# insmod /lib/modules/`uname -r`/kernel/crypto/tcrypt.ko mode=500 sec=1
[ 3143.525663] tcrypt:
[ 3143.525663] testing speed of async ecb(aes) (ecb-aes-ce) encryption
[ 3143.534137] tcrypt: test 0 (128 bit key, 16 byte blocks): 1832666 operations in 1 seconds
(29322656 bytes)
[ 3144.543108] tcrypt: test 1 (128 bit key, 64 byte blocks): 1633381 operations in 1 seconds
(104536384 bytes)
[ 3145.551184] tcrypt: test 2 (128 bit key, 256 byte blocks): 1338923 operations in 1 seconds

Nancy Wang:

我将您的问题升级到了英文论坛,请关注:

e2e.ti.com/…/processor-sdk-am62x-ok62xx-aes-hardware-encryption-acceleration

,

Nancy Wang:

英文论坛已有回复,请跟进。

赞(0)
未经允许不得转载:TI中文支持网 » PROCESSOR-SDK-AM62X: OK62xx AES硬件加密加速咨询
分享到: 更多 (0)