diff options
author | Tianjia Zhang <tianjia.zhang@linux.alibaba.com> | 2022-03-15 17:44:51 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2022-04-08 16:12:46 +0800 |
commit | 39219a56d8c1665be99988efbce3a8db07d25932 (patch) | |
tree | 58d08e572e9e79eff5e610975a4dd847eea5ebb8 /crypto/ecdh.c | |
parent | 6c61c531209daa30ae680d553a9fdb907b2ce5c9 (diff) | |
download | linux-crypto-39219a56d8c1665be99988efbce3a8db07d25932.tar.gz linux-crypto-39219a56d8c1665be99988efbce3a8db07d25932.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/ecdh.c')
0 files changed, 0 insertions, 0 deletions