From e2d8ba51ecd9a302641e63bf7aafbcddb8da1375 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 26 Feb 2022 14:09:49 +0100 Subject: Fix libkeccak_degeneralise_spec and add missing error: LIBKECCAK_GENERALISED_SPEC_ERROR_STATE_BITRATE_CAPACITY_INCONSISTENCY MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libkeccak_degeneralise_spec.3 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libkeccak_degeneralise_spec.3') diff --git a/libkeccak_degeneralise_spec.3 b/libkeccak_degeneralise_spec.3 index bed40c4..b4819b3 100644 --- a/libkeccak_degeneralise_spec.3 +++ b/libkeccak_degeneralise_spec.3 @@ -84,6 +84,10 @@ modulus 8, that is, it was not in whole bytes. .TP .B LIBKECCAK_GENERALISED_SPEC_ERROR_OUTPUT_NONPOSITIVE The specified output size was non-positive. +.TP +.B LIBKECCAK_GENERALISED_SPEC_ERROR_STATE_BITRATE_CAPACITY_INCONSISTENCY +The sum of the bitrate and the capacity does not equal +the state size (25 times the word size). .PP Note that there may be more than one error. Only the first detected is returned. -- cgit v1.2.3-70-g09d2