summaryrefslogtreecommitdiffstats
path: root/crypto/tcrypt.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2009-05-31 15:09:22 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2009-05-31 15:09:22 +0200
commitd315a0e09f1c8b833cacd5e72f3edea419978138 (patch)
tree335d0d482ef10584320a1ab6b139fe729f031b5b /crypto/tcrypt.c
parentMerge git://git.infradead.org/~dwmw2/mtd-2.6.30 (diff)
downloadlinux-d315a0e09f1c8b833cacd5e72f3edea419978138.tar.xz
linux-d315a0e09f1c8b833cacd5e72f3edea419978138.zip
crypto: hash - Fix handling of sg entry that crosses page boundary
A quirk that we've always supported is having an sg entry that's bigger than a page, or more generally an sg entry that crosses page boundaries. Even though it would be better to explicitly have to sg entries for this, we need to support it for the existing users, in particular, IPsec. The new ahash sg walking code did try to handle this, but there was a bug where we didn't increment the page so kept on walking on the first page over an dover again. This patch fixes it. Tested-by: Martin Willi <martin@strongswan.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/tcrypt.c')
0 files changed, 0 insertions, 0 deletions