crypto: vmac - don't set alignmask
authorEric Biggers <ebiggers@google.com>
Thu, 19 Oct 2023 05:53:35 +0000 (22:53 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 27 Oct 2023 10:04:24 +0000 (18:04 +0800)
commit1fb90689bc7ced529152fec406faddd0bcbf99f1
tree3653d54f50db7774bd9a48907c1bb471e2a0ab49
parent25c74a39e0f637a44982c3820a583755aedc9811
crypto: vmac - don't set alignmask

The vmac template is setting its alignmask to that of its underlying
'cipher'.  This doesn't actually accomplish anything useful, though, so
stop doing it.  (vmac_update() does have an alignment bug, where it
assumes u64 alignment when it shouldn't, but that bug exists both before
and after this patch.)  This is a prerequisite for removing support for
nonzero alignmasks from shash.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/vmac.c