diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2021-02-01 19:02:36 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-02-10 17:55:56 +1100 |
commit | e9cbaef5111a403b1e40ddec2bfb9adea2da682f (patch) | |
tree | be2abbe957453a4ae8dc50f5d43a6eb881568579 | |
parent | 80879dd9de7aa34c8de620e9f18e940b919497f7 (diff) | |
download | lwn-e9cbaef5111a403b1e40ddec2bfb9adea2da682f.tar.gz lwn-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>
-rw-r--r-- | crypto/fcrypt.c | 1 |
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, |