summaryrefslogtreecommitdiff
path: root/crypto/rsapubkey.asn1
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2023-01-02 11:18:46 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2023-01-13 12:11:18 +0800
commitebd19e0c70fe0e05794f1f15a7c69b9492cb56f1 (patch)
tree910ba17463abe8c7332fff5a801583c97a0e10b5 /crypto/rsapubkey.asn1
parentd8e6eb21f7af62608dcd5cdede8dd2d7ce9a60c1 (diff)
downloadlinux-crypto-ebd19e0c70fe0e05794f1f15a7c69b9492cb56f1.tar.gz
linux-crypto-ebd19e0c70fe0e05794f1f15a7c69b9492cb56f1.zip
crypto: skcipher - Use scatterwalk (un)map interface for dst and src buffers
The skcipher walk API implementation avoids scatterwalk_map() for mapping the source and destination buffers, and invokes kmap_atomic() directly if the buffer in question is not in low memory (which can only happen on 32-bit architectures). This avoids some overhead on 64-bit architectures, and most notably, permits the skcipher code to run with preemption enabled. Now that scatterwalk_map() has been updated to use kmap_local(), none of this is needed, so we can simply use scatterwalk_map/unmap instead. Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/rsapubkey.asn1')
0 files changed, 0 insertions, 0 deletions