Jeffrey Walton
c5303b9c2a
Fix "variable tracking size limit exceeded" with UBsan
...
threefish.cpp: In member function ‘virtual void CryptoPP::Threefish512::Enc::ProcessAndXorBlock(const byte*, const byte*, CryptoPP::byte*) const’:
threefish.cpp:316:6: note: variable tracking size limit exceeded with -fvar-tracking-assignments, retrying without
void Threefish512::Enc::ProcessAndXorBlock(const byte *inBlock, const byte *xorBlock, byte *outBlock) const
...
2017-11-26 05:27:03 -05:00
Jeffrey Walton
a074722bfa
Switch to rotlConstant and rotrConstant
...
This will help Clang and its need for a constexpr
2017-11-25 02:52:19 -05:00
Jeffrey Walton
b9bd51f7a6
Remove variable block size for Threefish (GH #535 )
2017-11-17 19:15:14 -05:00
Jeffrey Walton
03a6a8fb73
Add separate Enc and Dec classes to Threefish
...
The change speeds up benchmarks for Threefish-256 and Threefish-512 by about 10 MiB/s on a 6th gen Skylake
2017-05-17 14:38:37 -04:00
Jeffrey Walton
a61c97f7ee
Re-enable the Tweak on Threefish
...
We also add a helper to PutDecodedDatumInto which reverses the little-endian values from the Threefish test vectors. Test vectors will follow at next check-in.
2017-05-15 18:42:20 -04:00
Jeffrey Walton
f60f212687
Remove Tweak handling.
...
We are arriving at incorrect result for G2 after the first Key Injection, and its not readily apparent why.
2017-05-15 14:38:24 -04:00
Jeffrey Walton
b3399b4f86
Remove SSE2 intrinsics from Threefish
...
The benchmarks showed things ran slower with GCC and MSVC
2017-05-14 16:59:04 -04:00
Jeffrey Walton
54ca8b3a16
Whitespace check-in
2017-05-14 15:30:59 -04:00
Jeffrey Walton
8c34a5f7f5
Add Threefish block cipher (Issue 422)
2017-05-14 13:51:41 -04:00