diff options
| author | Eric Biggers <ebiggers@google.com> | 2017-11-22 11:51:35 -0800 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-11-29 17:33:31 +1100 |
| commit | ecf3220d882ae84844909ed6323032aac47aff93 (patch) | |
| tree | 06a021d9e6773ea5f6511ee6e68d4522406b2380 /tools/perf/scripts/python | |
| parent | crypto: cryptd - Add cryptd_max_cpu_qlen module parameter (diff) | |
| download | linux-ecf3220d882ae84844909ed6323032aac47aff93.tar.gz linux-ecf3220d882ae84844909ed6323032aac47aff93.zip | |
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
