summaryrefslogtreecommitdiff
path: root/include/crypto
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2024-01-27 10:49:27 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2024-02-02 13:10:05 +0300
commit9a14b311f2f786a7ac68f445bc550459b36d3190 (patch)
tree7d9f6f64e3dbb6d62f0c0258a131f83f17250896 /include/crypto
parent0c753f33428d824f476c1e76fac2f06b8dd0b3d5 (diff)
downloadlinux-9a14b311f2f786a7ac68f445bc550459b36d3190.tar.xz
crypto: ahash - unexport crypto_hash_alg_has_setkey()
Since crypto_hash_alg_has_setkey() is only called from ahash.c itself, make it a static function. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto')
-rw-r--r--include/crypto/internal/hash.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/crypto/internal/hash.h b/include/crypto/internal/hash.h
index 59c707e4dea4..58967593b6b4 100644
--- a/include/crypto/internal/hash.h
+++ b/include/crypto/internal/hash.h
@@ -87,8 +87,6 @@ static inline bool crypto_shash_alg_needs_key(struct shash_alg *alg)
!(alg->base.cra_flags & CRYPTO_ALG_OPTIONAL_KEY);
}
-bool crypto_hash_alg_has_setkey(struct hash_alg_common *halg);
-
int crypto_grab_ahash(struct crypto_ahash_spawn *spawn,
struct crypto_instance *inst,
const char *name, u32 type, u32 mask);