summaryrefslogtreecommitdiffstats
path: root/crypto/fcrypt.c
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2021-02-01 19:02:36 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2021-02-10 07:55:56 +0100
commite9cbaef5111a403b1e40ddec2bfb9adea2da682f (patch)
treebe2abbe957453a4ae8dc50f5d43a6eb881568579 /crypto/fcrypt.c
parentcrypto: cast6 - use unaligned accessors instead of alignmask (diff)
downloadlinux-e9cbaef5111a403b1e40ddec2bfb9adea2da682f.tar.xz
linux-e9cbaef5111a403b1e40ddec2bfb9adea2da682f.zip
crypto: fcrypt - drop unneeded alignmask
The fcrypt implementation uses memcpy() to access the input and output buffers so there is no need to set an alignmask. Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/fcrypt.c')
-rw-r--r--crypto/fcrypt.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/crypto/fcrypt.c b/crypto/fcrypt.c
index 58f935315cf8..c36ea0c8be98 100644
--- a/crypto/fcrypt.c
+++ b/crypto/fcrypt.c
@@ -396,7 +396,6 @@ static struct crypto_alg fcrypt_alg = {
.cra_blocksize = 8,
.cra_ctxsize = sizeof(struct fcrypt_ctx),
.cra_module = THIS_MODULE,
- .cra_alignmask = 3,
.cra_u = { .cipher = {
.cia_min_keysize = 8,
.cia_max_keysize = 8,