chiark
/
gitweb
/
~mdw
/
catacomb-python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
10f3f61
)
t/t-algorithms.py: Add tests for other HSalsa20 and HChaCha key sizes.
author
Mark Wooding
<mdw@distorted.org.uk>
Sun, 17 Nov 2019 23:42:00 +0000
(23:42 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Wed, 27 Nov 2019 15:11:29 +0000
(15:11 +0000)
t/t-algorithms.py
patch
|
blob
|
blame
|
history
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)