Skip to contentSkip to conversation

crypto: skcipher - remove skcipher_walk_aead()

PATCH In review Eric Biggers 2 participants 2 messages Dec 30, 2019 – Jan 9, 2020 Crypto API

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 crypto: skcipher - remove skcipher_walk_aead()

From: Eric Biggers <[email protected]>

skcipher_walk_aead() is unused and is identical to skcipher_walk_aead_encrypt(), so remove it.

---
 crypto/skcipher.c                  | 9 ---------
 include/crypto/internal/skcipher.h | 2 --
 2 files changed, 11 deletions(-)
crypto/skcipher.c +0 -9
index 8dc9dc80b379..21f1421980e6 100644
@@ -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)
 {
include/crypto/internal/skcipher.h +0 -2
index b81cb4902abc..e387424f6247 100644
@@ -135,8 +135,6 @@ int skcipher_walk_virt(struct skcipher_walk *walk,
 void skcipher_walk_atomise(struct skcipher_walk *walk);
 int skcipher_walk_async(struct skcipher_walk *walk,
 			struct skcipher_request *req);
-int skcipher_walk_aead(struct skcipher_walk *walk, struct aead_request *req,
-		       bool atomic);
 int skcipher_walk_aead_encrypt(struct skcipher_walk *walk,
 			       struct aead_request *req, bool atomic);
 int skcipher_walk_aead_decrypt(struct skcipher_walk *walk,
Signature · 1 line
2.24.1
maintainer
#1 lore raw
Quoted 10 lines · Eric Biggers

From: Eric Biggers <[email protected]>

skcipher_walk_aead() is unused and is identical to skcipher_walk_aead_encrypt(), so remove it.

---
crypto/skcipher.c | 9 ---------
include/crypto/internal/skcipher.h | 2 --

2 files changed, 11 deletions(-)

Patch applied. Thanks.

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt