crypto: hisilicon/sec - add new skcipher mode for SEC
authorKai Ye <yekai13@huawei.com>
Fri, 28 May 2021 11:42:04 +0000 (19:42 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 3 Jun 2021 12:24:06 +0000 (20:24 +0800)
commit7b44c0eecd6ade576bfb7a104dcdae5580237420
tree823a90ae1ac642b90a15e4ba351fa0c054fb76ad
parentadc3f65a7806dda12894870731509b6778735319
crypto: hisilicon/sec - add new skcipher mode for SEC

Add new skcipher algorithms for Kunpeng930 SEC:
OFB(AES), CFB(AES), CTR(AES),
OFB(SM4), CFB(SM4), CTR(SM4).

Signed-off-by: Kai Ye <yekai13@huawei.com>
Signed-off-by: Wenkai Lin <linwenkai6@hisilicon.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/sec2/sec_crypto.c
drivers/crypto/hisilicon/sec2/sec_crypto.h