summaryrefslogtreecommitdiff
path: root/crypto/async_tx/async_tx.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2008-05-08 19:27:47 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2008-07-10 20:35:12 +0800
commit19bafd294addc4ea4af67b94c6962d3a8ee9b912 (patch)
treea2fe1684257e07d7f80f6802a9b32deadb42f415 /crypto/async_tx/async_tx.c
parent538442d5d699131a28334aad8486d0fda1411fa8 (diff)
downloadlinux-crypto-19bafd294addc4ea4af67b94c6962d3a8ee9b912.tar.gz
linux-crypto-19bafd294addc4ea4af67b94c6962d3a8ee9b912.zip
[CRYPTO] tcrypt: Catch cipher destination memory corruption
Check whether the destination buffer is written to beyond the last byte contained in the scatterlist. Also change IDX1 of the cross-page access offsets to a multiple of 4. This triggers a corruption in the HIFN driver and doesn't seem to negatively impact other testcases. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/async_tx/async_tx.c')
0 files changed, 0 insertions, 0 deletions