diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2013-11-05 11:36:27 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-11-29 19:27:53 (GMT) |
commit | 0996972585115007edbca1dd2316185409c9c032 (patch) | |
tree | 5e10f04d2009bdbfcba1348b715f5de9279ebca3 /REPORTING-BUGS | |
parent | 8ea7fffd97835f4e3ffd5f757df152a79835f65f (diff) | |
download | linux-fsl-qoriq-0996972585115007edbca1dd2316185409c9c032.tar.xz |
crypto: s390 - Fix aes-cbc IV corruption
commit f262f0f5cad0c9eca61d1d383e3b67b57dcbe5ea upstream.
The cbc-aes-s390 algorithm incorrectly places the IV in the tfm
data structure. As the tfm is shared between multiple threads,
this introduces a possibility of data corruption.
This patch fixes this by moving the parameter block containing
the IV and key onto the stack (the block is 48 bytes long).
The same bug exists elsewhere in the s390 crypto system and they
will be fixed in subsequent patches.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'REPORTING-BUGS')
0 files changed, 0 insertions, 0 deletions