Commit Graph

12 Commits (cmake)

Author SHA1 Message Date
Jeffrey Walton 48033dac0a
Updated source comment 2018-02-20 00:01:23 -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 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 939e6fa0f0
Add Simon-128/CTR test vectors 2018-02-12 01:32:51 -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 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 3970a066e3
Add SIMON-64 and SIMON-128 lightweight block ciphers (GH #539) 2017-11-21 04:58:51 -05:00