diff options
author | Samuel Neves <sneves@dei.uc.pt> | 2019-03-27 13:48:40 +0000 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-03-27 18:05:12 +0100 |
commit | dbd56ac3969f3d100e945fc27599cf8ccdd098e9 (patch) | |
tree | dc1001c3a549c92319db038c804e1273a4183a18 /src/crypto/include | |
parent | 3ab65261abca9e4091c0a5fd3f56a9dd2aa124f0 (diff) |
blake2s: simplify
Signed-off-by: Samuel Neves <sneves@dei.uc.pt>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/crypto/include')
-rw-r--r-- | src/crypto/include/zinc/blake2s.h | 4 |
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); |