crypto: poly1305 - Use unaligned access where required
authorJason A. Donenfeld <Jason@zx2c4.com>
Mon, 7 Nov 2016 19:47:09 +0000 (20:47 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 13 Nov 2016 09:45:03 +0000 (17:45 +0800)
commit109e23bd10b5688895e61916435834c71a0bd1ed
treed44afb0c4525df292525acc91bb76d2857105a2c
parent650d4a978271850278466ba7222bcfc893ce9542
crypto: poly1305 - Use unaligned access where required

By using the unaligned access helpers, we drastically improve
performance on small MIPS routers that have to go through the exception
fix-up handler for these unaligned accesses.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Reviewed-by: Eric Biggers <ebiggers@google.com>
Acked-by: Martin Willi <martin@strongswan.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/poly1305_generic.c