summaryrefslogtreecommitdiff
path: root/arch/s390/Makefile
diff options
context:
space:
mode:
authorGerald Schaefer <gerald.schaefer@de.ibm.com>2013-11-19 16:12:47 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-12 06:37:52 (GMT)
commit272051255586c48a191c6748d0b5cfff2e4a4ff5 (patch)
treee675aacece4412d1ddbe728ba499ef84adbec16c /arch/s390/Makefile
parent5d57b0d77d2341c23f278eca536fef54649386e2 (diff)
downloadlinux-fsl-qoriq-272051255586c48a191c6748d0b5cfff2e4a4ff5.tar.xz
crypto: s390 - Fix aes-xts parameter corruption
commit 9dda2769af4f3f3093434648c409bb351120d9e8 upstream. Some s390 crypto algorithms incorrectly use the crypto_tfm structure to store private data. As the tfm can be shared among multiple threads, this can result in data corruption. This patch fixes aes-xts by moving the xts and pcc parameter blocks from the tfm onto the stack (48 + 96 bytes). Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/s390/Makefile')
0 files changed, 0 insertions, 0 deletions