summaryrefslogtreecommitdiffstats
path: root/crypto/rmd128.c
diff options
context:
space:
mode:
authorPatrick McHardy2008-05-08 13:27:47 +0200
committerHerbert Xu2008-07-10 14:35:12 +0200
commita558f1d4f8730f055b004b4c8ca1605aeb957daa (patch)
tree244ca2967ce2f0004ca46905b6c4eba927a7774d /crypto/rmd128.c
parent[HIFN]: Have HW invalidate src and dest descriptors after processing (diff)
downloadkernel-qcow2-linux-a558f1d4f8730f055b004b4c8ca1605aeb957daa.tar.gz
kernel-qcow2-linux-a558f1d4f8730f055b004b4c8ca1605aeb957daa.tar.xz
kernel-qcow2-linux-a558f1d4f8730f055b004b4c8ca1605aeb957daa.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/rmd128.c')
0 files changed, 0 insertions, 0 deletions