aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2019-12-30 21:19:34 -0600
committerHerbert Xu <herbert@gondor.apana.org.au>2020-01-09 11:30:52 +0800
commitf9d89b853ec1709345c0e2f1f51ae53188eef981 (patch)
tree87b4644df172d3b46c77cf01ca37c3fb21cb876b
parentcrypto: atmel-sha - fix error handling when setting hmac key (diff)
downloadlinux-dev-f9d89b853ec1709345c0e2f1f51ae53188eef981.tar.xz
linux-dev-f9d89b853ec1709345c0e2f1f51ae53188eef981.zip
crypto: remove unused tfm result flags
The tfm result flags CRYPTO_TFM_RES_BAD_KEY_SCHED and CRYPTO_TFM_RES_BAD_FLAGS are never used, so remove them. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--include/linux/crypto.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/crypto.h b/include/linux/crypto.h
index 8729f957f83c..950b592947b2 100644
--- a/include/linux/crypto.h
+++ b/include/linux/crypto.h
@@ -114,9 +114,7 @@
#define CRYPTO_TFM_REQ_MAY_BACKLOG 0x00000400
#define CRYPTO_TFM_RES_WEAK_KEY 0x00100000
#define CRYPTO_TFM_RES_BAD_KEY_LEN 0x00200000
-#define CRYPTO_TFM_RES_BAD_KEY_SCHED 0x00400000
#define CRYPTO_TFM_RES_BAD_BLOCK_LEN 0x00800000
-#define CRYPTO_TFM_RES_BAD_FLAGS 0x01000000
/*
* Miscellaneous stuff.