diff options
author | Mattias Andrée <maandree@kth.se> | 2022-02-19 16:49:53 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2022-02-19 16:49:53 +0100 |
commit | ff0cc43df0e1acfdf35439c7969a340f1a7bb3c7 (patch) | |
tree | a14055760442d639ede157713f7f9e6491d223e5 | |
parent | Add document BLAKE functions and make two functions inline (diff) | |
download | libblake-ff0cc43df0e1acfdf35439c7969a340f1a7bb3c7.tar.gz libblake-ff0cc43df0e1acfdf35439c7969a340f1a7bb3c7.tar.bz2 libblake-ff0cc43df0e1acfdf35439c7969a340f1a7bb3c7.tar.xz |
Fix initial t[0] for keyed BLAKE2s
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | libblake_blake2s_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libblake_blake2s_init.c b/libblake_blake2s_init.c index e9eacb8..bafe010 100644 --- a/libblake_blake2s_init.c +++ b/libblake_blake2s_init.c @@ -80,7 +80,7 @@ libblake_blake2s_init(struct libblake_blake2s_state *state, const struct libblak } if (params->key_len) { - state->t[0] = 32; + state->t[0] = 64; libblake_internal_blake2s_compress(state, key); } } |