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
Jeffrey Walton
5a577e71ac
Add additional SM3 test vectors
...
Cleanup SM3 whitespace
2017-11-24 00:40:18 -05:00
Jeffrey Walton
8c29b1a4d3
Update documentation
2017-11-24 00:06:48 -05:00
Jeffrey Walton
5267723a49
Add SM3 hash function (GH #541 )
2017-11-23 23:19:09 -05:00
Jeffrey Walton
13652cf9bf
Add additional SM4 test vectors (GH #540 )
...
The additional ECB mode vectors were generated with Botan. We still need some vectors for SM4/CBC
2017-11-23 19:03:47 -05:00
Jeffrey Walton
2c8a618a03
Add SM4 block ciphers (GH #540 )
2017-11-23 11:41:40 -05:00
Jeffrey Walton
c447918815
Add additional test vectors (GH #538 , #539 )
...
These were generated by Crypto++ using the C/C++ implementation, which operates on 1 block at a time. They are consumed by the SSSE3 implementation, which operates on 4 blocks at a time. Its not ideal, but it will have to do.
2017-11-22 07:38:55 -05:00
Jeffrey Walton
3970a066e3
Add SIMON-64 and SIMON-128 lightweight block ciphers (GH #539 )
2017-11-21 04:58:51 -05:00
Jeffrey Walton
78922e9c85
Remove unneeded include
2017-11-21 03:01:23 -05:00
Jeffrey Walton
f6f5583e63
Add additional SPECK test vectors (GH #538 )
...
These were generated by modifying the reference implementation
2017-11-20 11:27:01 -05:00
Jeffrey Walton
b9fc470bc7
Add SPECK-64 and SPECK-128 lightweight block ciphers (GH #538 )
2017-11-20 06:30:21 -05:00
Jeffrey Walton
b9bd51f7a6
Remove variable block size for Threefish (GH #535 )
2017-11-17 19:15:14 -05:00
Jeffrey Walton
5bf43f4ef3
Add additional Threefish test vectors
...
The test vectors came from NIST submission archive (NIST_CD_102610), skein_golden_kat_short_internals.txt
2017-05-15 22:55:33 -04:00
Jeffrey Walton
8c34a5f7f5
Add Threefish block cipher (Issue 422)
2017-05-14 13:51:41 -04:00
Jeffrey Walton
7ee87af86b
Don't latch BlockSize or BlockPaddingScheme across tests
2017-05-14 05:26:33 -04:00
Jeffrey Walton
d236cf1277
Add Kalyna CBC test vectors
2017-05-10 15:27:57 -04:00
Jeffrey Walton
0de44edde1
Remove EncryptBlockCipher
...
The test mode EncryptBlockCipher is not needed. datatest.cpp is versatile enough to handle variable block sizes under test mode Encrypt
2017-05-10 13:50:36 -04:00
Jeffrey Walton
a5c67cfdd6
Add Kalyna block cipher (Issue 411)
...
Thanks to Roman Oliynykov and Oleksandr Kazymyrov for their assistance. Thanks to Keru Kuro for the reference implementation.
2017-05-06 00:24:35 -04:00
Jeffrey Walton
5c1de7b5a5
Add variable block size support to test and benchmarks
...
CRYPTOPP_COVERAGE was added at 9614307ab7 to increase code coverage support. This commit enables additional validation routines when CRYPTOPP_COVERAGE is in effect.
2017-05-04 19:11:24 -04:00