]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
crypto: aes_s390 - access .cip instead of .blk in cipher mode
authorRoel Kluin <roel.kluin@gmail.com>
Fri, 8 Jan 2010 03:18:34 +0000 (14:18 +1100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 8 Jan 2010 03:18:34 +0000 (14:18 +1100)
commitd7ac769068df87ca8c7f72d99cf67ead16739f18
treec58f8f442f75d896a47e265c21553685b5c43820
parent5068c7a883d1694f0fb3631b664827644153cd08
crypto: aes_s390 - access .cip instead of .blk in cipher mode

The fallback code in cipher mode touch the union fallback.blk instead
of fallback.cip. This is wrong because we use the cipher and not the
blockcipher. This did not show any side effects yet because both types /
structs contain the same element right now.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/s390/crypto/aes_s390.c