Message ID | 20210201180237.3171-9-ardb@kernel.org |
---|---|
State | Accepted |
Commit | e9cbaef5111a403b1e40ddec2bfb9adea2da682f |
Headers | show |
Series | crypto: fix alignmask handling | expand |
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,
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> --- crypto/fcrypt.c | 1 - 1 file changed, 1 deletion(-)