aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sha3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sha3.c b/sha3.c
index 0e9a63d..526574d 100644
--- a/sha3.c
+++ b/sha3.c
@@ -2202,7 +2202,7 @@ static void k12_big_absorb_done(k12_big_t * const big) {
}
// absorb block count
- uint8_t buf[9];
+ uint8_t buf[9] = { 0 };
const size_t buf_len = k12_length_encode(buf, big->num_blocks);
turboshake128_absorb(big->root, buf, buf_len);