summaryrefslogtreecommitdiffhomepage
path: root/src/crypto/blake2s.h
diff options
context:
space:
mode:
authorSamuel Neves <sneves@dei.uc.pt>2017-07-14 03:41:24 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2017-07-20 03:37:39 +0200
commit86faeb83343b22e9a862b7f122a299b9d34f6779 (patch)
treec33071561a71f724e408cf1d10cb07728bea8ba8 /src/crypto/blake2s.h
parent2961d3b1f4e2f80905283528d569d548511f899f (diff)
blake2s: move compression loop to assembly
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/crypto/blake2s.h')
-rw-r--r--src/crypto/blake2s.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/blake2s.h b/src/crypto/blake2s.h
index 6b2242f..e8d2908 100644
--- a/src/crypto/blake2s.h
+++ b/src/crypto/blake2s.h
@@ -15,7 +15,7 @@ struct blake2s_state {
u32 h[8];
u32 t[2];
u32 f[2];
- u8 buf[2 * BLAKE2S_BLOCKBYTES];
+ u8 buf[BLAKE2S_BLOCKBYTES];
size_t buflen;
u8 last_node;
};