summaryrefslogtreecommitdiff
path: root/sha3.c
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2023-09-04 01:38:19 -0400
committerPaul Duncan <pabs@pablotron.org>2023-09-04 01:38:19 -0400
commitbc832936097212b7c2a9229c5aa04998c7e4f93e (patch)
treeb39ca34ea28308b1a969870a82085200d021fccd /sha3.c
parentaf768a2790fea5c39afa4bff5e3d483f32757ade (diff)
downloadsha3-bc832936097212b7c2a9229c5aa04998c7e4f93e.tar.bz2
sha3-bc832936097212b7c2a9229c5aa04998c7e4f93e.zip
sha3.c: fix parallelhash128_xof_once() and test_parallelhash_xof()
Diffstat (limited to 'sha3.c')
-rw-r--r--sha3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sha3.c b/sha3.c
index f08cafe..10ec4b8 100644
--- a/sha3.c
+++ b/sha3.c
@@ -1152,10 +1152,10 @@ void parallelhash128_xof_once(const parallelhash_params_t params, const uint8_t
parallelhash128_xof_init(&hash, params);
// absorb
- parallelhash128_absorb(&hash, src, src_len);
+ parallelhash128_xof_absorb(&hash, src, src_len);
// squeeze
- parallelhash128_squeeze(&hash, dst, dst_len);
+ parallelhash128_xof_squeeze(&hash, dst, dst_len);
}
#ifdef SHA3_TEST