]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: poly1305 - use unaligned access macros to output digest
authorEric Biggers <ebiggers@google.com>
Fri, 29 Dec 2017 16:10:24 +0000 (10:10 -0600)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 5 Jan 2018 07:43:10 +0000 (18:43 +1100)
commit129cbe774244fb738b18e56f20417dafffb8c843
treef63e386916ea32ed7b6e5f9f543fabf73baa51c6
parent932c03e21e9b7f3237f09bb71d34ba8f783088a5
crypto: poly1305 - use unaligned access macros to output digest

Currently the only part of poly1305-generic which is assuming special
alignment is the part where the final digest is written.  Switch this
over to the unaligned access macros so that we'll be able to remove the
cra_alignmask.

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