diff options
Diffstat (limited to 'src/crypto/zinc')
-rw-r--r-- | src/crypto/zinc/blake2s/blake2s.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/zinc/blake2s/blake2s.c b/src/crypto/zinc/blake2s/blake2s.c index 76232a3..13765d3 100644 --- a/src/crypto/zinc/blake2s/blake2s.c +++ b/src/crypto/zinc/blake2s/blake2s.c @@ -71,7 +71,7 @@ static inline void blake2s_init_param(struct blake2s_state *state, { int i; - memset(state, 0, sizeof(struct blake2s_state)); + memset(state, 0, sizeof(*state)); for (i = 0; i < 8; ++i) state->h[i] = blake2s_iv[i] ^ le32_to_cpu(param->words[i]); } |