summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2017-01-29 00:25:33 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2017-02-03 11:16:19 +0100
commit8f4102dbd9b6a050491a966a74f030e65e29d33d (patch)
tree3db4131dcd259676695aca70a84241086265c4e3 /arch
parentcrypto: arm/chacha20 - remove cra_alignmask (diff)
downloadlinux-8f4102dbd9b6a050491a966a74f030e65e29d33d.tar.xz
linux-8f4102dbd9b6a050491a966a74f030e65e29d33d.zip
crypto: arm64/aes-ce-ccm - remove cra_alignmask
Remove the unnecessary alignmask: it is much more efficient to deal with the misalignment in the core algorithm than relying on the crypto API to copy the data to a suitably aligned buffer. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm64/crypto/aes-ce-ccm-glue.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm64/crypto/aes-ce-ccm-glue.c b/arch/arm64/crypto/aes-ce-ccm-glue.c
index cc5515dac74a..6a7dbc7c83a6 100644
--- a/arch/arm64/crypto/aes-ce-ccm-glue.c
+++ b/arch/arm64/crypto/aes-ce-ccm-glue.c
@@ -258,7 +258,6 @@ static struct aead_alg ccm_aes_alg = {
.cra_priority = 300,
.cra_blocksize = 1,
.cra_ctxsize = sizeof(struct crypto_aes_ctx),
- .cra_alignmask = 7,
.cra_module = THIS_MODULE,
},
.ivsize = AES_BLOCK_SIZE,