From: Mark Wooding Date: Tue, 16 Jan 2024 13:43:09 +0000 (+0000) Subject: utils/gcm-ref (demo_table_l): Use an end-swap function that exists. X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/commitdiff_plain/58094286b7ee355f281f41c2ba5b6fe9869e4743 utils/gcm-ref (demo_table_l): Use an end-swap function that exists. Now `table-l' actually runs at all. --- diff --git a/utils/gcm-ref b/utils/gcm-ref index 4a53737b..ec25bb8d 100755 --- a/utils/gcm-ref +++ b/utils/gcm-ref @@ -172,7 +172,7 @@ def demo_table_b(u, v): @demo def demo_table_l(u, v): """Little-endian table lookup.""" - return table_common(u, v, endswap_words, lambda b: b.getu32l(), 0x18) + return table_common(u, v, endswap_words_32, lambda b: b.getu32l(), 0x18) ###-------------------------------------------------------------------------- ### Implementation using 64×64->128-bit binary polynomial multiplication.