From ac2a6719f074fa43d79b31a3994549f2af55efd6 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 27 Feb 2022 18:27:08 +0100 Subject: Add cSHAKE MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libkeccak_generalised_sum_fd.3 | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'libkeccak_generalised_sum_fd.3') diff --git a/libkeccak_generalised_sum_fd.3 b/libkeccak_generalised_sum_fd.3 index 3ff7e8c..9f5341a 100644 --- a/libkeccak_generalised_sum_fd.3 +++ b/libkeccak_generalised_sum_fd.3 @@ -38,13 +38,23 @@ should have an allocation size of at least + 7) / 8) * sizeof(char)). .PP .I *state -should not be initialised. +should not be initialised unless +.I spec +is +.IR NULL . .BR libkeccak_generalised_sum_fd () initialises .I *state -itself. Therefore there would be a memory leak if +itself unless +.I spec +is +.IR NULL . +Therefore there would be a memory leak if .I *state -is already initialised. +is already initialised and +.I spec +is +.RI non- NULL . .SH RETURN VALUES The .BR libkeccak_generalised_sum_fd () @@ -118,6 +128,7 @@ libkeccak_state_destroy(&state); .BR libkeccak_sha3sum_fd (3), .BR libkeccak_rawshakesum_fd (3), .BR libkeccak_shakesum_fd (3), +.BR libkeccak_spec_cshake (3), .BR libkeccak_spec_sha3 (3), .BR libkeccak_spec_shake (3), .BR libkeccak_spec_rawshake (3), -- cgit v1.2.3-70-g09d2