aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/crypto.h
diff options
context:
space:
mode:
authorLiu Shixin <liushixin2@huawei.com>2021-06-11 10:01:00 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2021-06-17 15:07:31 +0800
commit10ff9976d06fc6a11f512755d500ab2860cbe650 (patch)
tree8beb7514deee9a88f42577a7e5b4d4ecdd81961d /include/linux/crypto.h
parentcrypto: shash - avoid comparing pointers to exported functions under CFI (diff)
downloadlinux-dev-10ff9976d06fc6a11f512755d500ab2860cbe650.tar.xz
linux-dev-10ff9976d06fc6a11f512755d500ab2860cbe650.zip
crypto: api - remove CRYPTOA_U32 and related functions
According to the advice of Eric and Herbert, type CRYPTOA_U32 has been unused for over a decade, so remove the code related to CRYPTOA_U32. After removing CRYPTOA_U32, the type of the variable attrs can be changed from union to struct. Signed-off-by: Liu Shixin <liushixin2@huawei.com> Reviewed-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/linux/crypto.h')
-rw-r--r--include/linux/crypto.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/crypto.h b/include/linux/crypto.h
index da5e0d74bb2f..3b9263d6122f 100644
--- a/include/linux/crypto.h
+++ b/include/linux/crypto.h
@@ -647,7 +647,6 @@ enum {
CRYPTOA_UNSPEC,
CRYPTOA_ALG,
CRYPTOA_TYPE,
- CRYPTOA_U32,
__CRYPTOA_MAX,
};
@@ -665,10 +664,6 @@ struct crypto_attr_type {
u32 mask;
};
-struct crypto_attr_u32 {
- u32 num;
-};
-
/*
* Transform user interface.
*/