Eric Biggers ecf3220d88 crypto: chacha20 - Fix unaligned access when loading constants
The four 32-bit constants for the initial state of ChaCha20 were loaded
from a char array which is not guaranteed to have the needed alignment.

Fix it by just assigning the constants directly instead.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2017-11-29 17:33:31 +11:00
..
2017-11-29 17:33:29 +11:00
2017-11-29 17:33:29 +11:00
2017-11-03 21:35:35 +08:00
2017-11-06 14:45:04 +08:00
2017-11-29 17:33:29 +11:00
2017-09-22 17:43:08 +08:00