diff options
author | Paul Duncan <pabs@pablotron.org> | 2023-09-23 09:36:25 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2023-09-23 09:36:25 -0400 |
commit | 27d068ce203a7b1371dd28c1ce4bd8f3fad3d06f (patch) | |
tree | 94827e7fe0abca278ea89ef2aa323aeffd3a635f | |
parent | 9414c5b86c864ccc9753f4713b6f58d47ce4538b (diff) | |
download | sha3-27d068ce203a7b1371dd28c1ce4bd8f3fad3d06f.tar.bz2 sha3-27d068ce203a7b1371dd28c1ce4bd8f3fad3d06f.zip |
sha3.c: k12_big_absorb_done(): fix uninitialized buffer warning
-rw-r--r-- | sha3.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |