aboutsummaryrefslogtreecommitdiff
path: root/crypto/aes_generic.c
diff options
context:
space:
mode:
authorGravatar Tianjia Zhang <tianjia.zhang@linux.alibaba.com> 2022-03-15 17:44:51 +0800
committerGravatar Herbert Xu <herbert@gondor.apana.org.au> 2022-04-08 16:12:46 +0800
commit73c919d314ad57be900437fd329990b1d846b763 (patch)
tree60e59a08cfe9cc16cefa245a8f3c0cd0af54bfdb /crypto/aes_generic.c
parentcrypto: sm3,sm4 - move into crypto directory (diff)
downloadlinux-73c919d314ad57be900437fd329990b1d846b763.tar.gz
linux-73c919d314ad57be900437fd329990b1d846b763.tar.bz2
linux-73c919d314ad57be900437fd329990b1d846b763.zip
crypto: sm4 - export sm4 constant arrays
Export the constant arrays fk, ck, sbox of the SM4 algorithm, and add the 'crypto_sm4_' prefix, where sbox is used in the SM4 NEON implementation for the tbl/tbx instruction to replace the S-BOX, and the fk, ck arrays are used in the SM4 CE implementation. Use the sm4ekey instruction to speed up key expansion operations. Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/aes_generic.c')
0 files changed, 0 insertions, 0 deletions