Jeffrey Walton
704762ba2c
Add Test vectors and data to VS project files
2018-12-15 04:24:30 -05:00
Jeffrey Walton
8b13c2a8d0
Whitespace check-in
...
Look, we can finally use whitespace to add breaks and make these somewhat readable.
2018-11-05 20:43:11 -05:00
Jeffrey Walton
7c0be4ea8f
Add additional Salsa test vectors
2018-11-05 09:00:32 -05:00
Jeffrey Walton
5de6545827
Add additional test vectors
2018-11-04 20:05:08 -05:00
Jeffrey Walton
d7a3562c0b
Whitespace check-in
2018-11-04 14:36:55 -05:00
Jeffrey Walton
87d679bc7e
Add additional ChaCha20 test vectors (GH #732 )
...
The additional tests ensure we cross the 32-bit boundary used by the state counters
2018-11-04 14:34:32 -05:00
Jeffrey Walton
40fa6873f9
Add ability to Seek64 in test framework (GH #732 )
...
Also see https://github.com/randombit/botan/pull/1728
2018-11-04 14:21:54 -05:00
Jeffrey Walton
916c4484a2
Add ChaCha SSE2 implementation
...
Thanks to Jack Lloyd and Botan for allowing us to use the implementation.
The numbers for SSE2 are very good. When compared with Salsa20 ASM the results are:
* Salsa20 2.55 cpb; ChaCha/20 2.90 cpb
* Salsa20/12 1.61 cpb; ChaCha/12 1.90 cpb
* Salsa20/8 1.34 cpb; ChaCha/8 1.5 cpb
2018-10-23 07:57:59 -04:00
Jeffrey Walton
35b874b527
Add additional ChaCha tests
2018-10-23 07:35:41 -04:00
Jeffrey Walton
e2be0cdecc
Make ChaCha an Salsa use the same design pattern
2018-08-17 06:19:30 -04:00
Jeffrey Walton
2f83777e9b
Backout ChaCha changes to Crypto++ 7.0
...
These changes made it in by accident at Commit b74a6f444568. We were going to try to let them ride but they broke versioning. They may be added later but we should avoid the change at this time.
2018-07-25 16:25:41 -04:00
Jeffrey Walton
f065f193c1
Fixed failed ChaCha tests
...
We switched to the pattern used for Salsa but did not update the name in the test vector file
2018-07-06 22:30:11 -04:00
Jeffrey Walton
8c871b40ae
Update comments
2018-07-05 22:42:17 -04:00
Jeffrey Walton
989bf6dc5e
Add HC-256 stream cipher (GH #680 )
2018-07-05 06:43:04 -04:00
Jeffrey Walton
8e430daadf
Add additional HC-128 test vectors (GH #679 )
2018-07-05 00:45:52 -04:00
Jeffrey Walton
dd31eb80c0
Add HC-128 stream cipher (GH #679 )
2018-07-05 00:29:07 -04:00
Jeffrey Walton
93f46e4302
Update comments
2018-07-04 21:53:08 -04:00
Jeffrey Walton
bfe91dc732
Add additional Rabbit test vectors (GH #678 )
2018-07-04 19:34:51 -04:00
Jeffrey Walton
d00777e1d7
Add Rabbit stream cipher (GH #678 )
2018-07-04 03:47:28 -04:00
Jeffrey Walton
5fd0e98a41
Add additional SIMECK tests (GH #675 )
2018-06-30 09:48:09 -04:00
Jeffrey Walton
8b3c472333
Add additional SIMECK tests (GH #675 )
2018-06-30 09:41:38 -04:00
Jeffrey Walton
ac036496d3
Add Simeck lightweight block cipher (GH #675 )
...
Add Simeck lightweight block cipher (GH #675 )
2018-06-30 02:43:12 -04:00
Jeffrey Walton
b613522794
Fix copy/paste error
2018-06-25 15:38:50 -04:00
Jeffrey Walton
2f5b110b52
Add HIGHT lightweight block cipher (GH #672 )
2018-06-24 00:54:16 -04:00
Jeffrey Walton
3af3b8019b
Add additional LEA test vectors (GH #669 )
2018-06-23 17:58:12 -04:00
Jeffrey Walton
72d5d42746
Add additional LEA test vectors (GH #669 )
2018-06-23 17:38:07 -04:00
Jeffrey Walton
34dcb0d4cd
Add additional CHAM test vectors (PR #670 )
...
This is in preparation for SSE and large block processing. CTR mode is used because AdvancedProcessBlocks128_4x1_SSE
2018-06-19 17:09:43 -04:00
Jeffrey Walton
54d5100344
Add CHAM lightweight block cipher (PR #670 )
...
Add CHAM lightweight block cipher
2018-06-17 23:24:47 -04:00
Jeffrey Walton
1f06c512c4
Add LEA lightweight block cipher (GH #669 )
2018-06-17 22:36:41 -04:00
Jeffrey Walton
32abab75f2
Add KeyDerivationFunction interface (GH #610 , PR #611 )
2018-03-29 20:18:27 -04:00
Jeffrey Walton
48033dac0a
Updated source comment
2018-02-20 00:01:23 -05:00
Jeffrey Walton
c6a29e8708
Add Simon and Speck test vectors to All group (GH #585 )
2018-02-19 18:03:17 -05:00
Jeffrey Walton
e5b9fa6485
Use random IV's for Simon and Speck test vectors
2018-02-18 12:10:51 -05:00
Jeffrey Walton
3efef479d1
Re-add Simon and Speck test vectors (GH #585 )
...
Of the 200+ test vectors only 10 are semi-authentic. The ten are from the Simon and Speck paper but they had permutations applied to them so they worked with the algorithms described in the paper. The remaining 200 or so were generated with Crypto++ using straight C++ code. The library generated the test vectors because we don't have a reference implementation
2018-02-18 11:19:26 -05:00
Jeffrey Walton
2a367627f0
Finish removing Simon and Speck (GH #585 )
2018-02-15 06:17:35 -05:00
Jeffrey Walton
15b14cc618
Remove Simon and Speck ciphers (GH #585 )
...
We recently learned our Simon and Speck implementation was wrong. The removal will stop harm until we can loop back and fix the issue.
The issue is, the paper, the test vectors and the ref-impl do not align. Each produces slightly different result. We followed the test vectors but they turned out to be wrong for the ciphers.
We have one kernel test vector but we don't have a working implementation to observe it to fix our implementation. Ugh...
2018-02-14 04:06:16 -05:00
Jeffrey Walton
ac4c87a1b8
Add Speck-128/CTR test vectors
2018-02-12 01:53:22 -05:00
Jeffrey Walton
939e6fa0f0
Add Simon-128/CTR test vectors
2018-02-12 01:32:51 -05:00
Jeffrey Walton
58b6999274
Convert Kalyna from variable block size (GH #535 )
2018-01-18 20:26:10 -05:00
Jeffrey Walton
07f2a4fc3f
Fix Simon-64 and Speck-64 CTR mode
...
This fixes CTR mode for IA-32. We were only incrementing half the counters.
Added additional test vectors
2017-12-07 16:55:23 -05:00
Jeffrey Walton
77ff7aa528
Add additional Simon test vectors
2017-12-02 21:07:33 -05:00
Jeffrey Walton
ca158d56f8
Add additional Speck test vectors
2017-12-02 20:00:32 -05:00
Jeffrey Walton
49a119cbf7
Add SPECK-64 and SPECK-128 large block tests
...
The tests were generated using Crypto++ and the straight C++ implementation. It should allow us to test the SSE and NEON impelmentations and multiple blocks
2017-12-01 07:33:21 -05:00
Jeffrey Walton
3c1914b020
Add SIMON-64 and SIMON-128 large block tests
...
The tests were generated using Crypto++ and the straight C++ implementation. It should allow us to test the SSE and NEON impelmentations and multiple blocks
2017-12-01 07:10:42 -05:00
Jeffrey Walton
0db1ef29e1
List Key after Comments in Simon test vectors
2017-11-28 01:34:42 -05:00
Jeffrey Walton
a6ca22f6b6
Add additional Simon-64 test vectors
2017-11-28 01:18:21 -05:00
Jeffrey Walton
a33868b98d
Add additional Simon-128 test vectors
2017-11-28 00:34:22 -05:00
Jeffrey Walton
c797bd9523
Add additional SM3 test vectors (GH #541 )
2017-11-24 19:41:58 -05:00
Jeffrey Walton
4382b1a559
Add additional SM3 test vectors (GH #541 )
2017-11-24 07:24:09 -05:00
Jeffrey Walton
0dc72380a9
Add additional SM3 test vectors (GH #541 )
2017-11-24 06:52:57 -05:00