aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-03-25 16:23:54 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2019-03-25 16:39:50 +0100
commit202e57de031608d6eb80e695dd9dec032e7d4542 (patch)
treed0b5ea5bfe15e9f2b229dcdf1070a38ec6e7a981 /include
parentsecurity/keys: rewrite big_key crypto to use Zinc (diff)
downloadlinux-dev-jd/zinc-light.tar.xz
linux-dev-jd/zinc-light.zip
zinc: use existing ChaCha20 x86_64 implementationjd/zinc-light
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'include')
-rw-r--r--include/zinc/chacha20.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/zinc/chacha20.h b/include/zinc/chacha20.h
index 1b0083d871fb..20d7f8e93f9c 100644
--- a/include/zinc/chacha20.h
+++ b/include/zinc/chacha20.h
@@ -37,7 +37,7 @@ struct chacha20_ctx {
u32 counter[4];
};
};
-};
+} __aligned(16);
static inline void chacha20_init(struct chacha20_ctx *ctx,
const u8 key[CHACHA20_KEY_SIZE],