summaryrefslogtreecommitdiff
path: root/crypto/ahash.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2016-02-01 21:36:54 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2016-02-06 15:33:20 +0800
commitaef26ddb875812b9d130b5aef347581a2dc578b1 (patch)
treeaefecb89b647c6b2e62184175cfd404544819c5a /crypto/ahash.c
parent0c9acd29225be70b0dd9a391d787ba7b25380e66 (diff)
downloadlinux-crypto-aef26ddb875812b9d130b5aef347581a2dc578b1.tar.gz
linux-crypto-aef26ddb875812b9d130b5aef347581a2dc578b1.zip
crypto: hash - Remove crypto_hash interface
This patch removes all traces of the crypto_hash interface, now that everyone has switched over to shash or ahash. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/ahash.c')
-rw-r--r--crypto/ahash.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/crypto/ahash.c b/crypto/ahash.c
index 8b08a592..5fc1f172 100644
--- a/crypto/ahash.c
+++ b/crypto/ahash.c
@@ -166,24 +166,6 @@ int crypto_ahash_walk_first(struct ahash_request *req,
}
EXPORT_SYMBOL_GPL(crypto_ahash_walk_first);
-int crypto_hash_walk_first_compat(struct hash_desc *hdesc,
- struct crypto_hash_walk *walk,
- struct scatterlist *sg, unsigned int len)
-{
- walk->total = len;
-
- if (!walk->total) {
- walk->entrylen = 0;
- return 0;
- }
-
- walk->alignmask = crypto_hash_alignmask(hdesc->tfm);
- walk->sg = sg;
- walk->flags = hdesc->flags & CRYPTO_TFM_REQ_MASK;
-
- return hash_walk_new_entry(walk);
-}
-
static int ahash_setkey_unaligned(struct crypto_ahash *tfm, const u8 *key,
unsigned int keylen)
{