diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2010-11-04 14:38:39 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-12-09 13:33:31 -0800 |
commit | b81d08ba841ec0f57bd8e965634dd3bdf54e56a1 (patch) | |
tree | 259177ca3a15ef6d1d225b7394c52c42871e66ac /fs/block_dev.c | |
parent | 9398085155dfc475ba9a5e1c4da10ad3dd009380 (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 'fs/block_dev.c')
0 files changed, 0 insertions, 0 deletions