Skip to content

Commit 70ffa8f

Browse files
ebiggersherbertx
authored andcommitted
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>
1 parent 79bfa4e commit 70ffa8f

2 files changed

Lines changed: 0 additions & 11 deletions

File tree

‎crypto/skcipher.c‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -549,15 +549,6 @@ static int skcipher_walk_aead_common(struct skcipher_walk *walk,
549549
return err;
550550
}
551551

552-
int skcipher_walk_aead(struct skcipher_walk *walk, struct aead_request *req,
553-
bool atomic)
554-
{
555-
walk->total = req->cryptlen;
556-
557-
return skcipher_walk_aead_common(walk, req, atomic);
558-
}
559-
EXPORT_SYMBOL_GPL(skcipher_walk_aead);
560-
561552
int skcipher_walk_aead_encrypt(struct skcipher_walk *walk,
562553
struct aead_request *req, bool atomic)
563554
{

‎include/crypto/internal/skcipher.h‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,6 @@ int skcipher_walk_virt(struct skcipher_walk *walk,
140140
void skcipher_walk_atomise(struct skcipher_walk *walk);
141141
int skcipher_walk_async(struct skcipher_walk *walk,
142142
struct skcipher_request *req);
143-
int skcipher_walk_aead(struct skcipher_walk *walk, struct aead_request *req,
144-
bool atomic);
145143
int skcipher_walk_aead_encrypt(struct skcipher_walk *walk,
146144
struct aead_request *req, bool atomic);
147145
int skcipher_walk_aead_decrypt(struct skcipher_walk *walk,

0 commit comments

Comments
 (0)