1 | AlgorithmType: SymmetricCipher |
---|
2 | Name: ChaCha8 |
---|
3 | Source: http://tools.ietf.org/html/draft-strombergson-chacha-test-vectors |
---|
4 | Comment: TC1 - All zero key and IV (16-byte key). |
---|
5 | Key: r16 00 |
---|
6 | IV: r8 00 |
---|
7 | Plaintext: r64 00 |
---|
8 | Ciphertext: e28a5fa4a67f8c5defed3e6fb7303486aa8427d31419a729572d777953491120b64ab8e72b8deb85cd6aea7cb6089a101824beeb08814a428aab1fa2c816081b |
---|
9 | Test: Encrypt |
---|
10 | Comment: TC1 - All zero key and IV (32-byte key). |
---|
11 | Key: r32 00 |
---|
12 | IV: r8 00 |
---|
13 | Plaintext: r64 00 |
---|
14 | Ciphertext: 3e00ef2f895f40d67f5bb8e81f09a5a12c840ec3ce9a7f3b181be188ef711a1e984ce172b9216f419f445367456d5619314a42a3da86b001387bfdb80e0cfe42 |
---|
15 | Test: Encrypt |
---|
16 | Comment: TC2 - Single bit in key set. All zero IV (16-byte key). |
---|
17 | Key: 0x01000000000000000000000000000000 |
---|
18 | IV: r8 00 |
---|
19 | Plaintext: r64 00 |
---|
20 | Ciphertext: 03a7669888605a0765e8357475e58673f94fc8161da76c2a3aa2f3caf9fe5449e0fcf38eb882656af83d430d410927d55c972ac4c92ab9da3713e19f761eaa14 |
---|
21 | Test: Encrypt |
---|
22 | Comment: TC2 - Single bit in key set. All zero IV (32-byte key). |
---|
23 | Key: 0x0100000000000000000000000000000000000000000000000000000000000000 |
---|
24 | IV: r8 00 |
---|
25 | Plaintext: r64 00 |
---|
26 | Ciphertext: cf5ee9a0494aa9613e05d5ed725b804b12f4a465ee635acc3a311de8740489ea289d04f43c7518db56eb4433e498a1238cd8464d3763ddbb9222ee3bd8fae3c8 |
---|
27 | Test: Encrypt |
---|
28 | Comment: TC3 - Single bit in IV set. All zero key (16-byte key). |
---|
29 | Key: r16 00 |
---|
30 | IV: 0x0100000000000000 |
---|
31 | Plaintext: r64 00 |
---|
32 | Ciphertext: 25f5bec6683916ff44bccd12d102e692176663f4cac53e719509ca74b6b2eec85da4236fb29902012adc8f0d86c8187d25cd1c486966930d0204c4ee88a6ab35 |
---|
33 | Test: Encrypt |
---|
34 | Comment: TC3 - Single bit in IV set. All zero key (32-byte key). |
---|
35 | Key: r32 00 |
---|
36 | IV: 0x0100000000000000 |
---|
37 | Plaintext: r64 00 |
---|
38 | Ciphertext: 2b8f4bb3798306ca5130d47c4f8d4ed13aa0edccc1be6942090faeeca0d7599b7ff0fe616bb25aa0153ad6fdc88b954903c22426d478b97b22b8f9b1db00cf06 |
---|
39 | Test: Encrypt |
---|
40 | |
---|
41 | AlgorithmType: SymmetricCipher |
---|
42 | Name: ChaCha12 |
---|
43 | Source: http://tools.ietf.org/html/draft-strombergson-chacha-test-vectors |
---|
44 | Comment: TC1 - All zero key and IV (16-byte key). |
---|
45 | Key: r16 00 |
---|
46 | IV: r8 00 |
---|
47 | Plaintext: r64 00 |
---|
48 | Ciphertext: e1047ba9476bf8ff312c01b4345a7d8ca5792b0ad467313f1dc412b5fdce32410dea8b68bd774c36a920f092a04d3f95274fbeff97bc8491fcef37f85970b450 |
---|
49 | Test: Encrypt |
---|
50 | Comment: TC1 - All zero key and IV (32-byte key). |
---|
51 | Key: r32 00 |
---|
52 | IV: r8 00 |
---|
53 | Plaintext: r64 00 |
---|
54 | Ciphertext: 9bf49a6a0755f953811fce125f2683d50429c3bb49e074147e0089a52eae155f0564f879d27ae3c02ce82834acfa8c793a629f2ca0de6919610be82f411326be |
---|
55 | Test: Encrypt |
---|
56 | Comment: TC2 - Single bit in key set. All zero IV (16-byte key). |
---|
57 | Key: 0x01000000000000000000000000000000 |
---|
58 | IV: r8 00 |
---|
59 | Plaintext: r64 00 |
---|
60 | Ciphertext: 2a865a3b8999fa83ae8aacf33fc6be4f32c8aa9762738d26963270052f4eef8b86af758f7867560af6d0eeb973b5542bb24c8abceac8b1f36d026963d6c8a9b2 |
---|
61 | Test: Encrypt |
---|
62 | Comment: TC2 - Single bit in key set. All zero IV (32-byte key). |
---|
63 | Key: 0x0100000000000000000000000000000000000000000000000000000000000000 |
---|
64 | IV: r8 00 |
---|
65 | Plaintext: r64 00 |
---|
66 | Ciphertext: 12056e595d56b0f6eef090f0cd25a20949248c2790525d0f930218ff0b4ddd10a6002239d9a454e29e107a7d06fefdfef0210feba044f9f29b1772c960dc29c0 |
---|
67 | Test: Encrypt |
---|
68 | Comment: TC3 - Single bit in IV set. All zero key (16-byte key). |
---|
69 | Key: r16 00 |
---|
70 | IV: 0x0100000000000000 |
---|
71 | Plaintext: r64 00 |
---|
72 | Ciphertext: 91cdb2f180bc89cfe86b8b6871cd6b3af61abf6eba01635db619c40a0b2e19edfa8ce5a9bd7f53cc2c9bcfea181e9754a9e245731f658cc282c2ae1cab1ae02c |
---|
73 | Test: Encrypt |
---|
74 | Comment: TC3 - Single bit in IV set. All zero key (32-byte key). |
---|
75 | Key: r32 00 |
---|
76 | IV: 0x0100000000000000 |
---|
77 | Plaintext: r64 00 |
---|
78 | Ciphertext: 64b8bdf87b828c4b6dbaf7ef698de03df8b33f635714418f9836ade59be1296946c953a0f38ecffc9ecb98e81d5d99a5edfc8f9a0a45b9e41ef3b31f028f1d0f |
---|
79 | Test: Encrypt |
---|
80 | |
---|
81 | AlgorithmType: SymmetricCipher |
---|
82 | Name: ChaCha20 |
---|
83 | Source: http://tools.ietf.org/html/draft-strombergson-chacha-test-vectors |
---|
84 | Comment: TC1 - All zero key and IV (16-byte key). |
---|
85 | Key: r16 00 |
---|
86 | IV: r8 00 |
---|
87 | Plaintext: r64 00 |
---|
88 | Ciphertext: 89670952608364fd00b2f90936f031c8e756e15dba04b8493d00429259b20f46cc04f111246b6c2ce066be3bfb32d9aa0fddfbc12123d4b9e44f34dca05a103f |
---|
89 | Test: Encrypt |
---|
90 | Comment: TC1 - All zero key and IV (32-byte key). |
---|
91 | Key: r32 00 |
---|
92 | IV: r8 00 |
---|
93 | Plaintext: r64 00 |
---|
94 | Ciphertext: 76b8e0ada0f13d90405d6ae55386bd28bdd219b8a08ded1aa836efcc8b770dc7da41597c5157488d7724e03fb8d84a376a43b8f41518a11cc387b669b2ee6586 |
---|
95 | Test: Encrypt |
---|
96 | Comment: TC2 - Single bit in key set. All zero IV (16-byte key). |
---|
97 | Key: 0x01000000000000000000000000000000 |
---|
98 | IV: r8 00 |
---|
99 | Plaintext: r64 00 |
---|
100 | Ciphertext: ae56060d04f5b597897ff2af1388dbceff5a2a4920335dc17a3cb1b1b10fbe70ece8f4864d8c7cdf0076453a8291c7dbeb3aa9c9d10e8ca36be4449376ed7c42 |
---|
101 | Test: Encrypt |
---|
102 | Comment: TC2 - Single bit in key set. All zero IV (32-byte key). |
---|
103 | Key: 0x0100000000000000000000000000000000000000000000000000000000000000 |
---|
104 | IV: r8 00 |
---|
105 | Plaintext: r64 00 |
---|
106 | Ciphertext: c5d30a7ce1ec119378c84f487d775a8542f13ece238a9455e8229e888de85bbd29eb63d0a17a5b999b52da22be4023eb07620a54f6fa6ad8737b71eb0464dac0 |
---|
107 | Test: Encrypt |
---|
108 | Comment: TC3 - Single bit in IV set. All zero key (16-byte key). |
---|
109 | Key: r16 00 |
---|
110 | IV: 0x0100000000000000 |
---|
111 | Plaintext: r64 00 |
---|
112 | Ciphertext: 1663879eb3f2c9949e2388caa343d361bb132771245ae6d027ca9cb010dc1fa7178dc41f8278bc1f64b3f12769a24097f40d63a86366bdb36ac08abe60c07fe8 |
---|
113 | Test: Encrypt |
---|
114 | Comment: TC3 - Single bit in IV set. All zero key (32-byte key). |
---|
115 | Key: r32 00 |
---|
116 | IV: 0x0100000000000000 |
---|
117 | Plaintext: r64 00 |
---|
118 | Ciphertext: ef3fdfd6c61578fbf5cf35bd3dd33b8009631634d21e42ac33960bd138e50d32111e4caf237ee53ca8ad6426194a88545ddc497a0b466e7d6bbdb0041b2f586b |
---|
119 | Test: Encrypt |
---|
120 | |
---|