aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/crypto/hisilicon/sec2/sec_crypto.h
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2023-11-30 18:09:24 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2023-12-08 11:59:46 +0800
commit1c90a1b43bc34eaf9c8913238f408a1317eab43f (patch)
tree7809519ce5003bbcb861ca9a009a31f738a7b042 /drivers/crypto/hisilicon/sec2/sec_crypto.h
parentcrypto: hifn_795x - Remove cfb and ofb (diff)
downloadlinux-rng-1c90a1b43bc34eaf9c8913238f408a1317eab43f.tar.xz
linux-rng-1c90a1b43bc34eaf9c8913238f408a1317eab43f.zip
crypto: hisilicon/sec2 - Remove cfb and ofb
Remove the unused CFB/OFB implementation. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/hisilicon/sec2/sec_crypto.h')
-rw-r--r--drivers/crypto/hisilicon/sec2/sec_crypto.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/crypto/hisilicon/sec2/sec_crypto.h b/drivers/crypto/hisilicon/sec2/sec_crypto.h
index d033f63b583f..27a0ee5ad913 100644
--- a/drivers/crypto/hisilicon/sec2/sec_crypto.h
+++ b/drivers/crypto/hisilicon/sec2/sec_crypto.h
@@ -37,8 +37,6 @@ enum sec_mac_len {
enum sec_cmode {
SEC_CMODE_ECB = 0x0,
SEC_CMODE_CBC = 0x1,
- SEC_CMODE_CFB = 0x2,
- SEC_CMODE_OFB = 0x3,
SEC_CMODE_CTR = 0x4,
SEC_CMODE_CCM = 0x5,
SEC_CMODE_GCM = 0x6,