summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2010-11-04 14:38:39 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-03-21 12:44:17 -0700
commit3302c32ab0e6bdcc9f9b4acac8c4c3c0a2fc3f02 (patch)
tree07a1c326f45c23fb732905c4947c905670da50ec /net
parent9cff69da3eb80877cf7efd51c777707e7561537f (diff)
crypto: padlock - Fix AES-CBC handling on odd-block-sized input
commit c054a076a1bd4731820a9c4d638b13d5c9bf5935 upstream. On certain VIA chipsets AES-CBC requires the input/output to be a multiple of 64 bytes. We had a workaround for this but it was buggy as it sent the whole input for processing when it is meant to only send the initial number of blocks which makes the rest a multiple of 64 bytes. As expected this causes memory corruption whenever the workaround kicks in. Reported-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions