| commit | a558f1d4f8730f055b004b4c8ca1605aeb957daa | [log] [tgz] |
|---|---|---|
| author | Patrick McHardy <kaber@trash.net> | Thu May 08 19:27:47 2008 +0800 |
| committer | Herbert Xu <herbert@gondor.apana.org.au> | Thu Jul 10 20:35:12 2008 +0800 |
| tree | 244ca2967ce2f0004ca46905b6c4eba927a7774d | |
| parent | 692af5da779e018fc6a3b480b67adb33e3c6e1f0 [diff] |
[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>