• Eric Biggers's avatar
    crypto: vmac - don't set alignmask · 1fb90689
    Eric Biggers authored
    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: default avatarEric Biggers <ebiggers@google.com>
    Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
    1fb90689
vmac.c 18.8 KB