summaryrefslogtreecommitdiffhomepage
path: root/src/crypto/zinc/blake2s/blake2s-x86_64-glue.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-09-27 05:07:28 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-10-02 03:41:49 +0200
commit1eee8d7aa0740a86c6109f181689be49e58175be (patch)
tree31c4d45852651e4789a1fecd0e8b401df79f31fe /src/crypto/zinc/blake2s/blake2s-x86_64-glue.h
parentab089022b5591cd04d3f3495714eac51dc4b4f56 (diff)
blake2s: rename arch function and use slicker le32 helper
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/crypto/zinc/blake2s/blake2s-x86_64-glue.h')
-rw-r--r--src/crypto/zinc/blake2s/blake2s-x86_64-glue.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/crypto/zinc/blake2s/blake2s-x86_64-glue.h b/src/crypto/zinc/blake2s/blake2s-x86_64-glue.h
index 83d56e9..1f331cb 100644
--- a/src/crypto/zinc/blake2s/blake2s-x86_64-glue.h
+++ b/src/crypto/zinc/blake2s/blake2s-x86_64-glue.h
@@ -34,8 +34,9 @@ static void __init blake2s_fpu_init(void)
#endif
}
-static inline bool blake2s_arch(struct blake2s_state *state, const u8 *block,
- size_t nblocks, const u32 inc)
+static inline bool blake2s_compress_arch(struct blake2s_state *state,
+ const u8 *block, size_t nblocks,
+ const u32 inc)
{
simd_context_t simd_context;