summaryrefslogtreecommitdiff
path: root/crypto/skcipher.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2019-12-30 22:41:15 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2020-01-09 06:30:51 +0300
commit70ffa8fd72b8df7ddfedc0b7db042eea75182fd5 (patch)
tree9fc3187c5f9dbd885a5bc157d64ec72d090e1686 /crypto/skcipher.c
parent79bfa4e737f53ebb8fa0b1fe912889a034f6d92c (diff)
downloadlinux-70ffa8fd72b8df7ddfedc0b7db042eea75182fd5.tar.xz
crypto: skcipher - remove skcipher_walk_aead()
skcipher_walk_aead() is unused and is identical to skcipher_walk_aead_encrypt(), so remove it. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/skcipher.c')
-rw-r--r--crypto/skcipher.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/crypto/skcipher.c b/crypto/skcipher.c
index 37adb71f7759..457e4ddc1482 100644
--- a/crypto/skcipher.c
+++ b/crypto/skcipher.c
@@ -549,15 +549,6 @@ static int skcipher_walk_aead_common(struct skcipher_walk *walk,
return err;
}
-int skcipher_walk_aead(struct skcipher_walk *walk, struct aead_request *req,
- bool atomic)
-{
- walk->total = req->cryptlen;
-
- return skcipher_walk_aead_common(walk, req, atomic);
-}
-EXPORT_SYMBOL_GPL(skcipher_walk_aead);
-
int skcipher_walk_aead_encrypt(struct skcipher_walk *walk,
struct aead_request *req, bool atomic)
{