projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
[platform/kernel/linux-starfive.git]
/
arch
/
x86
/
crypto
/
chacha_glue.c
diff --git
a/arch/x86/crypto/chacha_glue.c
b/arch/x86/crypto/chacha_glue.c
index
1ce0019
..
388f95a
100644
(file)
--- a/
arch/x86/crypto/chacha_glue.c
+++ b/
arch/x86/crypto/chacha_glue.c
@@
-124,7
+124,7
@@
static void chacha_dosimd(u32 *state, u8 *dst, const u8 *src,
}
static int chacha_simd_stream_xor(struct skcipher_walk *walk,
-
struct chacha_ctx *ctx,
u8 *iv)
+
const struct chacha_ctx *ctx, const
u8 *iv)
{
u32 *state, state_buf[16 + 2] __aligned(8);
int next_yield = 4096; /* bytes until next FPU yield */