diff options
author | Pascal van Leeuwen <pascalvanl@gmail.com> | 2019-09-13 11:10:38 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-10-05 01:06:04 +1000 |
commit | 03a6cfb97f8f28373a6fed68deefccb5e98e1072 (patch) | |
tree | 9ca4886d1d370f12847a582086fc811bd22c8803 /drivers/crypto/inside-secure/safexcel.h | |
parent | 6f2d14288ec1d659503c37e965de825131462a1a (diff) | |
download | linux-03a6cfb97f8f28373a6fed68deefccb5e98e1072.tar.gz linux-03a6cfb97f8f28373a6fed68deefccb5e98e1072.tar.bz2 linux-03a6cfb97f8f28373a6fed68deefccb5e98e1072.zip |
crypto: inside-secure - Add support for the ofb(sm4) skcipher
This patch adds support for SM4 in OFB mode, i.e. skcipher ofb(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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/inside-secure/safexcel.h b/drivers/crypto/inside-secure/safexcel.h index 7c63590f4e5d..765f5e8706bd 100644 --- a/drivers/crypto/inside-secure/safexcel.h +++ b/drivers/crypto/inside-secure/safexcel.h @@ -881,5 +881,6 @@ extern struct safexcel_alg_template safexcel_alg_sm3; 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; #endif |