chiark
/
gitweb
/
~mdw
/
catacomb-python
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
t/t-algorithms.py: Add tests for other HSalsa20 and HChaCha key sizes.
[catacomb-python]
/
t
/
t-algorithms.py
diff --git
a/t/t-algorithms.py
b/t/t-algorithms.py
index d9f94df06371f1baa3183e3063058c1cd54dd4f3..fc6bff2e83d29bbfb7b71d1bb62c1bbddf415147 100644
(file)
--- a/
t/t-algorithms.py
+++ b/
t/t-algorithms.py
@@
-712,7
+712,7
@@
class TestHLatin (U.TestCase):
"""Test the `hsalsa20' and `hchacha20' functions."""
def test_hlatin(me):
"""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)
n = T.span(16)
bad_k = T.span(18)
bad_n = T.span(13)