summaryrefslogtreecommitdiff
path: root/crypto/ahash.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2023-09-14 16:28:23 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2023-09-20 13:15:29 +0800
commita5a57bd35085781d022c62a7bc5f930fb2abfada (patch)
treee83d22de2ca1a37f6dae41267b5e1d9fc62496e6 /crypto/ahash.c
parentd1716903f396037a401cfd6f7fe2cd5189baf7cd (diff)
downloadlinux-crypto-a5a57bd35085781d022c62a7bc5f930fb2abfada.tar.gz
linux-crypto-a5a57bd35085781d022c62a7bc5f930fb2abfada.zip
crypto: hash - Hide CRYPTO_ALG_TYPE_AHASH_MASK
Move the macro CRYPTO_ALG_TYPE_AHASH_MASK out of linux/crypto.h and into crypto/ahash.c so that it's not visible to users of the Crypto API. Also remove the unused CRYPTO_ALG_TYPE_HASH_MASK macro. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/ahash.c')
-rw-r--r--crypto/ahash.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/ahash.c b/crypto/ahash.c
index 709ef094..213bb3e9 100644
--- a/crypto/ahash.c
+++ b/crypto/ahash.c
@@ -21,6 +21,8 @@
#include "hash.h"
+#define CRYPTO_ALG_TYPE_AHASH_MASK 0x0000000e
+
static const struct crypto_type crypto_ahash_type;
struct ahash_request_priv {