summaryrefslogtreecommitdiff
path: root/crypto/testmgr.h
diff options
context:
space:
mode:
authorTianjia Zhang <tianjia.zhang@linux.alibaba.com>2021-07-20 11:46:39 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2021-07-30 10:58:30 +0800
commit4bc9be01c70fa6465530f5358b4844cc96925ef0 (patch)
tree5000698d19d0bac6695a8f6fced3c376bc97eeaa /crypto/testmgr.h
parentd301adefbfcd1438dd74ee1e850284c65097a4ad (diff)
downloadlinux-crypto-4bc9be01c70fa6465530f5358b4844cc96925ef0.tar.gz
linux-crypto-4bc9be01c70fa6465530f5358b4844cc96925ef0.zip
crypto: sm4 - create SM4 library based on sm4 generic code
Take the existing small footprint and mostly time invariant C code and turn it into a SM4 library that can be used for non-performance critical, casual use of SM4, and as a fallback for, e.g., SIMD code that needs a secondary path that can be taken in contexts where the SIMD unit is off limits. Secondly, some codes have been optimized, such as unrolling small times loop, removing unnecessary memory shifts, exporting sbox, fk, ck arrays, and basic encryption and decryption functions. Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/testmgr.h')
0 files changed, 0 insertions, 0 deletions