aboutsummaryrefslogtreecommitdiffstats
path: root/libkeccak_degeneralise_spec.3
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-02-26 14:09:49 +0100
committerMattias Andrée <maandree@kth.se>2022-02-26 19:11:06 +0100
commite2d8ba51ecd9a302641e63bf7aafbcddb8da1375 (patch)
tree49f027a6f62f46269fe43095c1197d97600a554a /libkeccak_degeneralise_spec.3
parentFix error in libkeccak_degeneralise_spec: spec->state_size was set to 1 rather than have_state_size (diff)
downloadlibkeccak-e2d8ba51ecd9a302641e63bf7aafbcddb8da1375.tar.gz
libkeccak-e2d8ba51ecd9a302641e63bf7aafbcddb8da1375.tar.bz2
libkeccak-e2d8ba51ecd9a302641e63bf7aafbcddb8da1375.tar.xz
Fix libkeccak_degeneralise_spec and add missing error: LIBKECCAK_GENERALISED_SPEC_ERROR_STATE_BITRATE_CAPACITY_INCONSISTENCY
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libkeccak_degeneralise_spec.3')
-rw-r--r--libkeccak_degeneralise_spec.34
1 files changed, 4 insertions, 0 deletions
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.