summaryrefslogtreecommitdiffstats
path: root/crypto/gcm.c
diff options
context:
space:
mode:
authorEric Biggers2019-04-15 01:23:33 +0200
committerHerbert Xu2019-04-18 16:15:04 +0200
commit67cb60e4efe7bd9d7a7afb8297f58afe25c28919 (patch)
tree793814ab8b57c0c592bc5fee608d3e51db39f4f5 /crypto/gcm.c
parentcrypto: powerpc - convert to use crypto_simd_usable() (diff)
downloadkernel-qcow2-linux-67cb60e4efe7bd9d7a7afb8297f58afe25c28919.tar.gz
kernel-qcow2-linux-67cb60e4efe7bd9d7a7afb8297f58afe25c28919.tar.xz
kernel-qcow2-linux-67cb60e4efe7bd9d7a7afb8297f58afe25c28919.zip
crypto: shash - fix missed optimization in shash_ahash_digest()
shash_ahash_digest(), which is the ->digest() method for ahash tfms that use an shash algorithm, has an optimization where crypto_shash_digest() is called if the data is in a single page. But an off-by-one error prevented this path from being taken unless the user happened to provide extra data in the scatterlist. Fix it. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/gcm.c')
0 files changed, 0 insertions, 0 deletions