summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/nx/nx-aes-ecb.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2013-05-24 08:57:38 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2013-05-24 08:57:38 -0700
commitd4c2456a1888d7914502f4237b2ca4e262dd4c4d (patch)
treee1cdf52fa6e58ba682be563f21a5c7b8347b13c5 /drivers/crypto/nx/nx-aes-ecb.c
parenteb3d33900aa953bcdfe132a71bb03ee592ebbb47 (diff)
parentf1dd153121dcb872ae6cba8d52bec97519eb7d97 (diff)
Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc
Pull powerpc fixes from Benjamin Herrenschmidt: "Some more P8 related bits, a bunch of fixes for our P7+/P8 HW crypto drivers, some added workarounds for those radeons that don't do proper 64-bit MSIs and a couple of other trivialities by myself." * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: powerpc/pseries: Make 32-bit MSI quirk work on systems lacking firmware support powerpc/powernv: Build a zImage.epapr powerpc: Make radeon 32-bit MSI quirk work on powernv powerpc: Context switch more PMU related SPRs powerpc/powernv: Fix condition for when to invalidate the TCE cache powerpc/pci: Fix bogus message at boot about empty memory resources powerpc: Fix TLB cleanup at boot on POWER8 drivers/crypto/nx: Fixes for multiple races and issues
Diffstat (limited to 'drivers/crypto/nx/nx-aes-ecb.c')
-rw-r--r--drivers/crypto/nx/nx-aes-ecb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/nx/nx-aes-ecb.c b/drivers/crypto/nx/nx-aes-ecb.c
index ba5f1611336..7bbc9a81da2 100644
--- a/drivers/crypto/nx/nx-aes-ecb.c
+++ b/drivers/crypto/nx/nx-aes-ecb.c
@@ -123,6 +123,7 @@ struct crypto_alg nx_ecb_aes_alg = {
.cra_priority = 300,
.cra_flags = CRYPTO_ALG_TYPE_BLKCIPHER,
.cra_blocksize = AES_BLOCK_SIZE,
+ .cra_alignmask = 0xf,
.cra_ctxsize = sizeof(struct nx_crypto_ctx),
.cra_type = &crypto_blkcipher_type,
.cra_module = THIS_MODULE,