algorithms.c (ShakeNN constructor): Support `None' for func/perso args.
[catacomb-python] / t / t-algorithms.py
index d7b97cb..bf637ef 100644 (file)
@@ -820,7 +820,7 @@ class TestKeccak (HashBufferTestMixin):
 
   def check_kmac(me, mcls, c):
     k = T.span(32)
-    me.check_shake(lambda func = None, perso = T.bin(""):
+    me.check_shake(lambda func = None, perso = None:
                      mcls(k, perso = perso),
                    c, done_matches_xof = False)