summaryrefslogtreecommitdiffhomepage
path: root/src/crypto/include/zinc/blake2s.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/include/zinc/blake2s.h')
-rw-r--r--src/crypto/include/zinc/blake2s.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crypto/include/zinc/blake2s.h b/src/crypto/include/zinc/blake2s.h
index 5f1a1ae..8035cee 100644
--- a/src/crypto/include/zinc/blake2s.h
+++ b/src/crypto/include/zinc/blake2s.h
@@ -21,8 +21,8 @@ struct blake2s_state {
u32 t[2];
u32 f[2];
u8 buf[BLAKE2S_BLOCK_SIZE];
- size_t buflen;
- u8 last_node;
+ unsigned int buflen;
+ unsigned int outlen;
};
void blake2s_init(struct blake2s_state *state, const size_t outlen);