Skip to content

Commit

Permalink
crypto: fcrypt - drop unneeded alignmask
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
ardbiesheuvel authored and herbertx committed Feb 10, 2021
1 parent 80879dd commit e9cbaef
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion crypto/fcrypt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit e9cbaef

Please sign in to comment.