aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-02-02 22:43:38 -0500
committerJack Lloyd <[email protected]>2017-02-02 22:43:38 -0500
commit23a96ca126ebfddb2259386f12a00a8e783226ed (patch)
tree03b8bb5224a2ae7de2c0a94e54bd28631717ddf8 /src/tests
parentae8d2bd859120839ee08bc35daebda7ef4971ea6 (diff)
Support zero-length IV in ChaCha
Equivalent to an 8 byte all-zero IV, same handling as Salsa.
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/data/stream/chacha.vec3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tests/data/stream/chacha.vec b/src/tests/data/stream/chacha.vec
index f7ba701ba..a361a913a 100644
--- a/src/tests/data/stream/chacha.vec
+++ b/src/tests/data/stream/chacha.vec
@@ -6,6 +6,9 @@
# Tests got from the original implementation of Daniel J. Bernstein
Key = 00000000000000000000000000000000
+Out = E28A5FA4A67F8C5DEFED3E6FB7303486AA8427D31419A729572D777953491120B64AB8E72B8DEB85CD6AEA7CB6089A101824BEEB08814A428AAB1FA2C816081B
+
+Key = 00000000000000000000000000000000
Nonce = 0000000000000000
Out = E28A5FA4A67F8C5DEFED3E6FB7303486AA8427D31419A729572D777953491120B64AB8E72B8DEB85CD6AEA7CB6089A101824BEEB08814A428AAB1FA2C816081B