]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: tcrypt - add the asynchronous speed test for SM4
authorTianjia Zhang <tianjia.zhang@linux.alibaba.com>
Tue, 20 Jul 2021 03:46:42 +0000 (11:46 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 30 Jul 2021 02:58:31 +0000 (10:58 +0800)
commit137dfe8b7eeae088b7adac548eb94e3812cb0493
tree79e262181550cb835ae8e49b20a7082cb8ba7c41
parent146c3e35cf81e6f75c5752cc0228f9c623149133
crypto: tcrypt - add the asynchronous speed test for SM4

tcrypt supports testing of SM4 cipher algorithms that use avx
instruction set acceleration. The implementation of sm4 instruction
set acceleration supports up to 8 blocks in parallel encryption and
decryption, which is 128 bytes. Therefore, the 128-byte block size
is also added to block_sizes.

Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/tcrypt.c