]> git.ipfire.org Git - thirdparty/linux.git/commit
crypto: skcipher - remove support for physical address walks
authorEric Biggers <ebiggers@google.com>
Sat, 7 Dec 2024 19:05:03 +0000 (11:05 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 14 Dec 2024 09:21:43 +0000 (17:21 +0800)
commit07d58e0a60f70b3cc176c9427d1ea856d1756820
tree5fce9d991855847e326111b2c772784f377070f8
parent9cda46babdfed9804214b1eecb4219786d91c9c7
crypto: skcipher - remove support for physical address walks

Since the physical address support in skcipher_walk is not used anymore,
remove all the code associated with it.  This includes:

- The skcipher_walk_async() and skcipher_walk_complete() functions;

- The SKCIPHER_WALK_PHYS flag and everything conditional on it;

- The buffers, phys, and virt.page fields in struct skcipher_walk;

- struct skcipher_walk_buffer.

As a result, skcipher_walk now just supports virtual addresses.
Physical address support in skcipher_walk is unneeded because drivers
that need physical addresses just use the scatterlists directly.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/skcipher.c
include/crypto/internal/skcipher.h