UPSTREAM: 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)
committerEric Biggers <ebiggers@google.com>
Wed, 5 Dec 2018 20:30:44 +0000 (12:30 -0800)
commit4cf145fc1fdb5a0cd1d9761d60751ac79e4b5994
tree3af4f6def3e65a37d0a564b8232302015d8d463b
parente72d2307f3131015411da56a3c35b6ef42f879bd
UPSTREAM: 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>
(cherry picked from commit fcfbeedf79adc7abaea35b0f88ec23cf546d3b77)
Bug: 112008522
Test: As series, see Ic61c13b53facfd2173065be715a7ee5f3af8760b
Change-Id: Id6347cebf899e2aef6fab355f3af3d2773582127
Signed-off-by: Eric Biggers <ebiggers@google.com>
crypto/poly1305_generic.c