B1300 crypto engine LEDE

Hey guys, I am building a lede firmware for the b1300 and was wondering if you guys know if I should also include a crypto engine when I do the make menuconfig, and if so - which one?

Thanks

@hansome pls have a check

please choose kmod-cryptodev & Libraries–> SSL–> libopenssl–> Crypto acceleration support at menuconfig.

I got a result like:

root@OpenWrt:/sys# openssl speed -evp aes256
Doing aes-256-cbc for 3s on 16 size blocks: 53646 aes-256-cbc’s in 0.12s
Doing aes-256-cbc for 3s on 64 size blocks: 52937 aes-256-cbc’s in 0.13s
Doing aes-256-cbc for 3s on 256 size blocks: 50559 aes-256-cbc’s in 0.11s
Doing aes-256-cbc for 3s on 1024 size blocks: 40816 aes-256-cbc’s in 0.10s
Doing aes-256-cbc for 3s on 8192 size blocks: 16749 aes-256-cbc’s in 0.12s
OpenSSL 1.0.2o 27 Mar 2018
built on: reproducible build, date unspecified
options:bn(64,32) rc4(ptr,char) des(idx,cisc,2,long) aes(partial) blowfish(ptr)
compiler: arm-openwrt-linux-muslgnueabi-gcc -I. -I… -I…/include -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -I/home/han/misc/lede-1701.bak/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/include -I/home/han/misc/lede-1701.bak/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/include -I/home/han/misc/lede-1701.bak/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.3.0_musl_eabi/usr/include -I/home/han/misc/lede-1701.bak/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.3.0_musl_eabi/include/fortify -I/home/han/misc/lede-1701.bak/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.3.0_musl_eabi/include -znow -zrelro -DOPENSSL_SMALL_FOOTPRINT -DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS -DOPENSSL_NO_ERR -DTERMIOS -Os -pipe -mcpu=cortex-a7 -mfpu=neon-vfpv4 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -iremap/home/han/misc/lede-1701.bak/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/openssl-1.0.2o:openssl-1.0.2o -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -I/home/han/misc/lede-1701.bak/package/libs/openssl/include -ffunction-sections -fdata-sections -fomit-frame-pointer -Wall -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DAES_ASM -DBSAES_ASM -DGHASH_ASM
The ‘numbers’ are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
aes-256-cbc 7152.80k 26061.29k 117664.58k 417955.84k 1143398.40k