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)
commita7fc80bb22eb0f13791ee4f70484e88316cc2a24
tree79e262181550cb835ae8e49b20a7082cb8ba7c41
parenta7ee22ee1445c7fdb00ab80116bb9710ca86a860
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