Jeffrey Walton
947525c5f3
Update documentation
2019-10-14 21:42:50 -04:00
Jeffrey Walton
1147fdfaa3
Update documentation
2019-10-14 21:27:23 -04:00
Jeffrey Walton
6d3346990e
Clear unused varaible warning on PowerPC
2019-10-14 20:06:01 -04:00
Jeffrey Walton
9013cb60fb
Fix semicolons yet again (GH #889 )
...
So it looks like sed added a '\r' between the closing paren and the semi. Grepping for '^;' failed because the '\r' was considered part of the previous line, so it showed no hits. I finally had to write a C program to properly identify and fix those damn stray semicolons.
2019-10-14 12:30:10 -04:00
Jeffrey Walton
6f36f0db06
Update documentation
2019-10-14 09:45:51 -04:00
Jeffrey Walton
1b8cd7e818
Clear missing initializer under early GCC
...
This created over 700 warnings when running cryptest.sh
2019-10-14 09:23:53 -04:00
Jeffrey Walton
04cfd0720a
Add Visual Studio 2019 to AppVeyor build worker
2019-10-14 06:08:38 -04:00
Jeffrey Walton
7b0ec4d4a6
Use size_type in allocator functions
2019-10-14 01:56:30 -04:00
Jeffrey Walton
0c27093ab6
Cleanup asserts in SecBlock
...
SecBlock regularly uses NULL pointers rather returning non-NULL 0-sized pointers. The asserts were moved to AlignedAllocate and UnalignedAllocate.
2019-10-14 01:00:49 -04:00
Jeffrey Walton
55b5464e50
Fix AIX crash in AlignedDeallocate (GH #875 )
2019-10-13 23:55:01 -04:00
Jeffrey Walton
891b8db04a
Tune XTS for PowerPC
2019-10-13 23:13:08 -04:00
Jeffrey Walton
8e8e95cea2
Make XTS mode parallelizable (GH #891 )
...
On CoffeeLake performance increased from 3.4 cpb to 1.75 cpb. On Core2Duo performance increased from 27 cpb to 19 cpb.
2019-10-13 16:17:37 -04:00
Jeffrey Walton
c9b8452d57
Fix semicolons in adv_simd.h
...
Many, that sed went sideways...
2019-10-13 13:39:34 -04:00
Jeffrey Walton
74f265aff3
Update comments in XTS
2019-10-13 10:42:10 -04:00
Jeffrey Walton
d36a0b1a54
Avoid calling AdvancedProcessBlocks (GH #891 )
...
On machines without AES acceleration, like Core2Duo's, this change profits by about 6 to 8 cpb. Machines with AES acceleration are not affected
2019-10-13 10:28:46 -04:00
Jeffrey Walton
4adcae6495
Clear unused variable warning under GCC
2019-10-13 09:17:00 -04:00
Jeffrey Walton
c3202534f4
Remove temp file in cryptest.sh
2019-10-13 06:45:30 -04:00
Jeffrey Walton
7abe21e254
Add section on OS X fixups
2019-10-13 06:42:20 -04:00
Jeffrey Walton
ed09452c09
Use int cast in awk expression on OS X
2019-10-13 06:30:48 -04:00
Jeffrey Walton
af1ec58d37
Use int cast in awk expression on OS X
2019-10-13 06:30:39 -04:00
Jeffrey Walton
3c42c4d504
Use int cast in awk expression on OS X
2019-10-13 06:28:57 -04:00
Jeffrey Walton
49f652298b
Update cryptest.sh for OS X 10.9
2019-10-13 06:26:18 -04:00
Jeffrey Walton
d3bb20ffe0
Guard for runts in ProcessLastBlock (GH #891 )
2019-10-13 04:57:46 -04:00
Jeffrey Walton
d80a33c711
Cleanup XTS regtest name
2019-10-13 04:41:11 -04:00
Jeffrey Walton
9c711221c6
Fix XTS GetValidKeyLength (GH #891 )
2019-10-13 04:31:39 -04:00
Jeffrey Walton
97aa173507
Update assert
2019-10-13 03:05:18 -04:00
Jeffrey Walton
dab3b5fd90
Cleanup headers in xts.cpp
2019-10-13 02:08:58 -04:00
Jeffrey Walton
5f9f371558
Fix typo in Aarch64 code path
2019-10-13 02:07:09 -04:00
Jeffrey Walton
9ae8806bbe
Add XorBuffer wrapper function to XTS (GH #891 )
...
XorBuffer wraps SIMD or falls back to xorbuf. The function gains 0.3 cpb to 1.5 cpb, depending on the architecture.
2019-10-13 01:51:22 -04:00
Jeffrey Walton
5fcd3adbbf
Update comments
2019-10-13 01:47:56 -04:00
Jeffrey Walton
1196755f06
Add additional test vector
...
This rounds them out from 499 to 500
2019-10-13 01:36:45 -04:00
Jeffrey Walton
0705189685
Reuse outLength in ProcessLastBlock
2019-10-12 16:04:11 -04:00
Jeffrey Walton
620b54eddc
Reuse outLength in ProcessLastBlock
2019-10-12 16:01:46 -04:00
Jeffrey Walton
5460cd6852
Clear UBsan warning in hmac.cpp
2019-10-12 14:27:36 -04:00
Jeffrey Walton
69c9a42938
Make GF_Double 64-bit aware on MS platforms
2019-10-12 14:20:52 -04:00
Jeffrey Walton
155925dedb
Update documentation
2019-10-12 11:33:50 -04:00
Jeffrey Walton
9eb0d4572d
Validate XTS block size when CRYPTOPP_XTS_WIDE_BLOCK_CIPHERS==0
2019-10-12 10:41:55 -04:00
Jeffrey Walton
b91ce07bfb
Revert BlowfishCompat changes (PR #877 )
2019-10-12 09:40:34 -04:00
Jeffrey Walton
dd005c4bc3
Fix stray semicolons uder MSVC (GH #889 )
2019-10-12 09:27:51 -04:00
Jeffrey Walton
13a75b6b51
Fix XTS compile under Clang
2019-10-12 08:45:38 -04:00
Jeffrey Walton
e33714d3d8
Fix XTS compile under Clang
2019-10-12 08:21:53 -04:00
Jeffrey Walton
dc063adbba
Update documentation
2019-10-12 08:19:34 -04:00
Jeffrey Walton
c88f53c862
Add XTS test vectors to All collection
2019-10-12 07:43:18 -04:00
Jeffrey Walton
76c29eadaf
Add XTS block cipher mode of operation (GH #891 , PR #892 )
2019-10-12 07:14:38 -04:00
Jeffrey Walton
85ecff4609
Make bt const in BERDecodePeekLength
2019-10-08 07:41:01 -04:00
Jeffrey Walton
dd1c8a5b24
Update documentation
2019-10-07 20:07:32 -04:00
Jeffrey Walton
f6ff499035
Clear signed/unsigned warnings under Clang
2019-10-05 21:16:07 -04:00
Jeffrey Walton
1da81ae454
Clear virtual dtor warning under Clang
2019-10-05 20:55:15 -04:00
Jeffrey Walton
a55cfcbf8b
Update documentation
2019-10-05 18:25:10 -04:00
Jeffrey Walton
f2c0c2c5cb
Cleanup stray semicolons
...
I believe this is the last group from https://github.com/weidai11/cryptopp/issues/889
2019-10-03 22:08:51 -04:00