diff options
author | Gerald Schaefer <gerald.schaefer@de.ibm.com> | 2013-11-19 17:12:47 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-11-28 22:25:16 +0800 |
commit | 9dda2769af4f3f3093434648c409bb351120d9e8 (patch) | |
tree | 073fc5aca5c4e48804dae27d49f6a66b4dc7ffd8 /crypto | |
parent | 935e99a3afda0a58c2eada0ff7c613d3844d738c (diff) | |
download | op-kernel-dev-9dda2769af4f3f3093434648c409bb351120d9e8.zip op-kernel-dev-9dda2769af4f3f3093434648c409bb351120d9e8.tar.gz |
crypto: s390 - Fix aes-xts parameter corruption
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).
Cc: stable@vger.kernel.org
Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions