Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Eric Biggers and committed by
Herbert Xu
70ffa8fd 79bfa4e7

-11
-9
crypto/skcipher.c
··· 549 549 return err; 550 550 } 551 551 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 - 561 552 int skcipher_walk_aead_encrypt(struct skcipher_walk *walk, 562 553 struct aead_request *req, bool atomic) 563 554 {
-2
include/crypto/internal/skcipher.h
··· 140 140 void skcipher_walk_atomise(struct skcipher_walk *walk); 141 141 int skcipher_walk_async(struct skcipher_walk *walk, 142 142 struct skcipher_request *req); 143 - int skcipher_walk_aead(struct skcipher_walk *walk, struct aead_request *req, 144 - bool atomic); 145 143 int skcipher_walk_aead_encrypt(struct skcipher_walk *walk, 146 144 struct aead_request *req, bool atomic); 147 145 int skcipher_walk_aead_decrypt(struct skcipher_walk *walk,