chiark / gitweb /
t/t-algorithms.py: Add tests for other HSalsa20 and HChaCha key sizes.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 17 Nov 2019 23:42:00 +0000 (23:42 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 27 Nov 2019 15:11:29 +0000 (15:11 +0000)
t/t-algorithms.py

index d9f94df06371f1baa3183e3063058c1cd54dd4f3..fc6bff2e83d29bbfb7b71d1bb62c1bbddf415147 100644 (file)
@@ -712,7 +712,7 @@ class TestHLatin (U.TestCase):
   """Test the `hsalsa20' and `hchacha20' functions."""
 
   def test_hlatin(me):
-    kk = [T.span(sz) for sz in [32]]
+    kk = [T.span(sz) for sz in [10, 16, 32]]
     n = T.span(16)
     bad_k = T.span(18)
     bad_n = T.span(13)