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
Jeffrey Walton
011a66d03b
Clear sign compare warning
2018-07-01 01:01:36 -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
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
61f635b837
Add additional SIMECK tests (GH #675 )
2018-06-30 08:25:32 -04:00
Jeffrey Walton
7fdb66d46e
Fix cryptest-cmake message
2018-06-30 04:30:58 -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
e18de4d5f9
Re-engage SSE2 ASM for SHA-256 (GH# 674)
...
I'm not usre where exactly the break occured, but it was probably due to the BASE+SIMD rewrite. Thanks to tesbayda for tracking it down.
2018-06-29 21:02:53 -04:00
Jeffrey Walton
9a75d09ca4
Add cleanup function to cryptest-cmake.sh
2018-06-29 19:43:31 -04:00
Jeffrey Walton
598e371b8a
Add cryptest-cmake.sh
2018-06-29 19:28:16 -04:00
Jeffrey Walton
574097bd6f
Add cryptest-autotools.sh
2018-06-29 17:04:22 -04:00
Jeffrey Walton
b613522794
Fix copy/paste error
2018-06-25 15:38:50 -04:00
Jeffrey Walton
f5c86217c0
Use default alignment for GetBlock
2018-06-24 16:05:37 -04:00
Jeffrey Walton
afd3b5c596
Place HIGHT F0 and F1 in unnamed namespace
2018-06-24 01:39:09 -04:00
Jeffrey Walton
b53842bcdc
Fix CRYPTOPP_DISABLE_ASM build
2018-06-24 01:22:37 -04:00
Jeffrey Walton
d12229d463
Fix bench1.cpp from HIGHT testing
2018-06-24 01:01:39 -04:00
Jeffrey Walton
2f5b110b52
Add HIGHT lightweight block cipher (GH #672 )
2018-06-24 00:54:16 -04:00
Jeffrey Walton
32e2be647a
Make CHAM_Info public
2018-06-23 21:21:42 -04:00
Jeffrey Walton
404e6cfae3
Remove CRYPTOPP_LEA_ARM_SPLAT_ROUNDKEYS
...
GCC 8 was producing bad decryption results for CBC mode on x86. NEON and Aarch64 was fine. We lose 0.6 cpb so LEA runs around 3.5 cpb instead of 2.9 cpb. It would be nice to pinpoint the GCC issue but it is kind of difficult at the moment.
2018-06-23 20:55:17 -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
d9797c414a
Add CRYPTOPP_LEA_ARM_SPLAT_ROUNDKEYS for LEA
2018-06-23 14:19:18 -04:00
Jeffrey Walton
2d0d87b57a
Use pre-splatted key table for LEA NEON and Aarch64
2018-06-23 13:47:59 -04:00
Jeffrey Walton
09c8ae2835
Use inline for LEA_Encryption and LEA_Decryption
2018-06-23 12:58:55 -04:00
Jeffrey Walton
8279fab432
Fix AdvancedProcessBlocks128_6x1_NEON template name
2018-06-23 12:35:06 -04:00
Jeffrey Walton
527613df22
Update documentation
2018-06-23 12:27:25 -04:00
Jeffrey Walton
d0b5dac162
Update comments
2018-06-23 04:49:10 -04:00
Jeffrey Walton
9980d30734
Add LEA-128 NEON and ARMv8 implementation (GH #669 )
...
LEA-128(128) from 35.6 cpb to 14.11 cpb on a LeMaker HiKey dev-board. LEA-128 from 12.60 cpb to 11.89 cpb on AMD Opteron 1100.
2018-06-23 03:54:51 -04:00
Jeffrey Walton
80ae9f4f0a
Add AVX512 rotates to RotateLeft and RotateRight templates
2018-06-22 17:44:16 -04:00
Jeffrey Walton
fa7714f6cb
Add LEA-128 SSSE3 implementation (GH #669 )
...
LEA-128(128) from 6.73 cpb to 2.84 cpb on modern Core-i5 6400. LEA-128 from 10.12 cpb to 7.84 cpb antique Core2 Duo.
2018-06-22 16:26:27 -04:00
Jeffrey Walton
ea109e0f8f
Add CHAM and LEA to cryptest.nmake
2018-06-21 13:34:18 -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
a80b1d35b0
Parameterize word type for subkeys in AdvancedProcessBlocks templates
...
This was needed a while ago but we mostly side-stepped the issues with casts. CHAM64 uses a word16 type for subkeys and a cast won't fix it because we favor word32 for 64-bit block sizes.
2018-06-20 19:25:52 -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
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