rand.c: Make nonce/IV arguments to cipher-based random generators optional.
[catacomb-python] / t / testutils.py
index 0ba49c6..67bcc0e 100644 (file)
@@ -99,10 +99,9 @@ def prep_lenseq(w, n, bigendp, goodp):
     span(n) + \
     byteseq([0xff])
 
-Z64 = C.ByteString.zero(8)
 def detrand(seed):
   """Return a fast deterministic random generator with the given SEED."""
-  return C.chacha8rand(C.sha256().hash(bin(seed)).done(), Z64)
+  return C.chacha8rand(C.sha256().hash(bin(seed)).done())
 
 class GenericTestMixin (U.TestCase):
   """