Commit Graph

3739 Commits (97a1e8cae2e94f93c9da16b637a45612af224590)

Author SHA1 Message Date
Jeffrey Walton 97a1e8cae2
Use SecBlock for keys and IVs 2018-07-06 00:11:10 -04:00
Jeffrey Walton 320c68ecbf
Add *.cxx to .gitignore 2018-07-05 23:33:44 -04:00
Jeffrey Walton 8c871b40ae
Update comments 2018-07-05 22:42:17 -04:00
Jeffrey Walton d7a751b39a
Fix missing test vector in FileList 2018-07-05 19:40:17 -04:00
Jeffrey Walton a1887d4824
Add missing HC-256 2018-07-05 19:20:35 -04:00
Jeffrey Walton 24d54f06e6
Remove GetOptimalBlockSize from Rabbit
The AdditiveCipherConcretePolicy adapter already provides it
2018-07-05 11:48:52 -04:00
Jeffrey Walton 717a81484a
Switch to size_t datatype 2018-07-05 10:42:55 -04:00
Jeffrey Walton c9c51a5e01
Rework OperateKeystream (GH #678)
This improves Rabbit performance on a Core i5 6400 from 5.5 cpb to 4.7 cpb
2018-07-05 08:41:44 -04:00
Jeffrey Walton 665e16d340
Remove unneeded input variable 2018-07-05 08:22:59 -04:00
Jeffrey Walton fd5dc95f96
Fix spelling 2018-07-05 07:13:04 -04:00
Jeffrey Walton 23c8bfde7e
Rework OperateKeystream (GH #680)
This improves performance on a Core i5 6400 from 5.4 cpb to 2.9 cpb
2018-07-05 07:11:44 -04:00
Jeffrey Walton 989bf6dc5e
Add HC-256 stream cipher (GH #680) 2018-07-05 06:43:04 -04:00
Jeffrey Walton 069d85d3f8
Update comments 2018-07-05 06:07:47 -04:00
Jeffrey Walton ccc1b71bc8
Move TEA and XTEA to lightweight block ciphers 2018-07-05 01:59:42 -04:00
Jeffrey Walton 4feb3731ff
Fix HC-128 benchmark 2018-07-05 01:57:30 -04:00
Jeffrey Walton 541cdf373c
Update documentation 2018-07-05 01:26:48 -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 07be1caeb3
Update documentation 2018-07-04 07:08:14 -04:00
Jeffrey Walton c73b471dec
Fix CHAM compile on ARMv7 2018-07-04 06:48:54 -04:00
Jeffrey Walton 476559e763
Update documentation 2018-07-04 04:08:33 -04:00
Jeffrey Walton 5e0d31fa8b
Update documentation 2018-07-04 04:05:56 -04:00
Jeffrey Walton 0ebee8708e
Update documentation 2018-07-04 03:59:22 -04:00
Jeffrey Walton ffc0198991
Update documentation 2018-07-04 03:55:58 -04:00
Jeffrey Walton d00777e1d7
Add Rabbit stream cipher (GH #678) 2018-07-04 03:47:28 -04:00
Jeffrey Walton 94e0b3c954
Update documentation 2018-07-03 23:35:36 -04:00
Jeffrey Walton 65806e5ee9
Switch back to _mm_load_sd to load subkeys
We performed an intermediate copy while attempting to isolate GH #677.
2018-07-03 23:13:40 -04:00
Jeffrey Walton 78ece1b2aa
Fix temporary array size (GH #675)
cryptest.sh and UBsan caught a "secblock.h:389:4: runtime error: load of value 206, which is not a valid value for type 'bool'". m_t[4] is accessed in UncheckedSetKey. The extra m_t[] element was inadvertently removed when ProcessAndXorBlock no longer used it.
2018-07-03 22:41:04 -04:00
Jeffrey Walton f8f6afd1fa
Use IsZero()/NotZero() for 0 denominator test 2018-07-03 22:04:27 -04:00
Jeffrey Walton ac1439de59
Update documentation 2018-07-01 22:25:07 -04:00
Jeffrey Walton 904e8ce283
Remove code to accomodate variable block size (GH #535)
This should have occured when we yanked the variable block size experiment
2018-07-01 22:20:45 -04:00
Jeffrey Walton 3b92255b8b
Add recipe to trim trailing whitespace 2018-07-01 21:45:01 -04:00
Jeffrey Walton 7bfeb4f3a2
Add recipe to call dos2unix if available 2018-07-01 21:38:47 -04:00
Jeffrey Walton aa80c7d4ac
Fix bad CHAM-64/ECB decryption with Clang at -O1 (GH #677)
This changes both the encryption and decryption loops to perform 4 rounds per iteration rather than 8 rounds. Decryption was necessary for this bug. Encryption was included to keep things symmetrical in case of future maintenance
2018-07-01 11:01:34 -04:00
Jeffrey Walton 1d7358e971
Switch to _mm_loadu_si128 for SIMECK key loading 2018-07-01 08:47:09 -04:00
Jeffrey Walton 350a47f8b3
Clear unused variable warnings 2018-07-01 08:09:54 -04:00
Jeffrey Walton 9a6a0cbc9e
Used fixed rounds in encrypt and decrypt functions 2018-07-01 07:10:39 -04:00
Jeffrey Walton 7eaccfa47b
Update comments 2018-07-01 04:03:30 -04:00
Jeffrey Walton d6cde47bbd
Update documentation 2018-07-01 03:53:45 -04:00
Jeffrey Walton da32ed4679
Fix versioning that cross-pollinated when building docs 2018-07-01 03:46:11 -04:00
Jeffrey Walton c58ea35e23
Update documentation 2018-07-01 03:42:17 -04:00
Jeffrey Walton 64d15aff66
Update documentation 2018-07-01 03:29:12 -04:00
Jeffrey Walton b35df75890
Update attribution for SIMECK 2018-07-01 03:21:42 -04:00
Jeffrey Walton 01f11727ad
Fix bench1.cpp from SIMECK testing 2018-07-01 03:14:53 -04:00
Jeffrey Walton 08e6137082
Add SIMECK-64 SSSE3 implementation (GH #675) 2018-07-01 03:11:00 -04:00
Jeffrey Walton 4a7814be7e
Remove alignment of double for 64-bit template 2018-07-01 02:00:10 -04:00
Jeffrey Walton 810f5c1859
Remove GCC_NO_UBSAN and double casts 2018-07-01 01:23:35 -04:00
Jeffrey Walton 7f86f498d6
Remove GCC_NO_UBSAN attribute 2018-07-01 01:02:33 -04:00