utils/gcm-ref (demo_table_l): Use an end-swap function that exists.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 16 Jan 2024 13:43:09 +0000 (13:43 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 16 Jan 2024 13:44:00 +0000 (13:44 +0000)
Now `table-l' actually runs at all.

utils/gcm-ref

index 4a53737..ec25bb8 100755 (executable)
@@ -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.