diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-09-30 04:04:29 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-10-02 03:41:49 +0200 |
commit | 26a82eb11ce80f9f82cfdd3f3e9353c1d21e822e (patch) | |
tree | 05515ff4a949633497443eb8683210f67102644d | |
parent | 6c470a7f5f5e3c115dce116b358df97bb3ebb37a (diff) |
chacha20: no need to align ctx
We don't use vmovdqa any more.
Suggested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r-- | src/crypto/include/zinc/chacha20.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/include/zinc/chacha20.h b/src/crypto/include/zinc/chacha20.h index 37ec3b4..0b98bd6 100644 --- a/src/crypto/include/zinc/chacha20.h +++ b/src/crypto/include/zinc/chacha20.h @@ -37,7 +37,7 @@ struct chacha20_ctx { u32 counter[4]; }; }; -} __aligned(32); +}; static inline void chacha20_init(struct chacha20_ctx *ctx, const u8 key[CHACHA20_KEY_SIZE], |