diff options
author | Patrick McHardy <kaber@trash.net> | 2008-05-08 19:27:47 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2008-07-10 20:35:12 +0800 |
commit | 19bafd294addc4ea4af67b94c6962d3a8ee9b912 (patch) | |
tree | a2fe1684257e07d7f80f6802a9b32deadb42f415 /crypto/eseqiv.c | |
parent | 538442d5d699131a28334aad8486d0fda1411fa8 (diff) | |
download | linux-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/eseqiv.c')
0 files changed, 0 insertions, 0 deletions