Commit Graph

15 Commits (9b81a545fc50b13f933687550ef116818ab29de6)

Author SHA1 Message Date
Jeffrey Walton 3dcceb55f5
Squash MS LNK4221 and libtool warnings 2018-07-06 03:46:25 -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 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 7f86f498d6
Remove GCC_NO_UBSAN attribute 2018-07-01 01:02:33 -04:00
Jeffrey Walton 3d29f99af7
Clear warnings at -Wall -Wextra 2018-06-30 19:40:47 -04:00
Jeffrey Walton 1be58db828
Avoid casting among datatypes in CHAM
Clang 5.0 and 6.0 at -O1 is producing code that fails for CHAM-64/ECB
2018-06-30 18:48:20 -04:00
Jeffrey Walton 527613df22
Update documentation 2018-06-23 12:27:25 -04:00
Jeffrey Walton 80ae9f4f0a
Add AVX512 rotates to RotateLeft and RotateRight templates 2018-06-22 17:44:16 -04:00
Jeffrey Walton 68305324ef
Fix C2719 on MSVC
"error C2719: 'value': formal parameter with __declspec(align('16')) won't be aligned"
2018-06-21 13:32:27 -04:00
Jeffrey Walton 73513d0d04
Whitespace check-in 2018-06-21 01:29:30 -04:00
Jeffrey Walton b00a378a8d
Add CHAM64 SSSE3 implementation (PR #670)
CHAM64 from 20 cpb to 14 cpb on modern iCore. CHAM64 from 90 cpb to 18 cpb antique Core2 Duo
2018-06-21 00:37:10 -04:00
Jeffrey Walton a6cdf2bfd1
Switch to _mm_loadu_pd to load round keys
This is profitable by 0.1 to 0.2 cpb on a modern Core-i5
2018-06-20 01:20:27 -04:00
Jeffrey Walton 1fd8d612ea
Specialize single word UnpackXMM 2018-06-19 21:35:44 -04:00
Jeffrey Walton 5e41d5d9b6
Fix SSSE3 include guard
Use single XMM word for subkeys
2018-06-19 20:15:30 -04:00
Jeffrey Walton 6138829572
Add CHAM128 SSSE3 implementation (PR #670)
CHAM-128(128) from 10.5 cpb to 4.1 cpb. CHAM-128(256) from 12.5 cpb to 4.7 cpb.
2018-06-19 18:03:28 -04:00