summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/inside-secure/safexcel.h
diff options
context:
space:
mode:
authorPascal van Leeuwen <pascalvanl@gmail.com>2019-09-13 11:10:40 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2019-10-04 17:06:05 +0200
commit7468ab22d7ab968b99c75552c879cb5d96e50523 (patch)
treec3f8dc9864ba5bbab498bde5396d45a3a50f609b /drivers/crypto/inside-secure/safexcel.h
parentcrypto: testmgr - Added testvectors for the ofb(sm4) & cfb(sm4) skciphers (diff)
downloadlinux-7468ab22d7ab968b99c75552c879cb5d96e50523.tar.xz
linux-7468ab22d7ab968b99c75552c879cb5d96e50523.zip
crypto: inside-secure - Add support for the cfb(sm4) skcipher
This patch adds support for SM4 in CFB mode, i.e. skcipher cfb(sm4). changes since v1: - nothing Signed-off-by: Pascal van Leeuwen <pvanleeuwen@verimatrix.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/inside-secure/safexcel.h')
-rw-r--r--drivers/crypto/inside-secure/safexcel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/inside-secure/safexcel.h b/drivers/crypto/inside-secure/safexcel.h
index 765f5e8706bd..3f729a604136 100644
--- a/drivers/crypto/inside-secure/safexcel.h
+++ b/drivers/crypto/inside-secure/safexcel.h
@@ -882,5 +882,6 @@ extern struct safexcel_alg_template safexcel_alg_hmac_sm3;
extern struct safexcel_alg_template safexcel_alg_ecb_sm4;
extern struct safexcel_alg_template safexcel_alg_cbc_sm4;
extern struct safexcel_alg_template safexcel_alg_ofb_sm4;
+extern struct safexcel_alg_template safexcel_alg_cfb_sm4;
#endif