Jeffrey Walton
3e171d51f7
Fix cryptest-android.sh and cryptest-ios.sh
...
The test programs were ignoring PLATFORM in the environment, and testing all platforms
2019-10-16 15:14:14 -04:00
Jeffrey Walton
8de7378919
Guard IS_ARMv8 for stray IS_ARM32
2019-10-16 07:42:48 -04:00
Jeffrey Walton
5f3c1b8cb9
Fix Android ARMv7a compile and link ( #894 )
...
* Fix Android Aarch64 compile with XTS
* Clear Shellcheck warnings
* Fix Android armv7a builds
* Update comments
2019-10-16 07:30:40 -04:00
Jeffrey Walton
51e52a902f
Update Android build numbers
2019-10-16 01:29:34 -04:00
Jeffrey Walton
c4411493a5
Remove old variables from setenv-android.sh
2019-10-16 01:11:18 -04:00
Jeffrey Walton
bc87fdf485
Cleanup setenv-ios.sh script
...
Clear Shellcheck warnings
2019-10-15 18:18:50 -04:00
Jeffrey Walton
ba517a6c31
Fix setenv-android.sh and cryptest-android.sh for NDK r19 (PR #893 )
...
setenv-android.sh and cryptest-android.sh are up to date for NDK r19 again.
2019-10-15 18:05:54 -04:00
Jeffrey Walton
c331fc9bc7
Compile cpu_features.c with '-x c' to avoid compile error
2019-10-15 08:49:38 -04:00
Jeffrey Walton
c9d79e1cf0
Fix cryptest-cmake.sh URL
2019-10-14 23:54:37 -04:00
Jeffrey Walton
e6c643feda
Add cryptest-pem.sh to Travis and OS X
2019-10-14 23:05:05 -04:00
Jeffrey Walton
3a0c08aacb
Add cryptest-pem.sh to Travis
2019-10-14 23:01:27 -04:00
Jeffrey Walton
dd7bbb55cb
Add test for OpenSSL in cryptest-pem.sh
2019-10-14 22:39:38 -04:00
Jeffrey Walton
045eac302d
Run make clean in test scripts
2019-10-14 22:34:32 -04:00
Jeffrey Walton
e843b01d6e
Switch to cURL for download
...
New versions of OS X have cURL, not Wget
2019-10-14 22:31:58 -04:00
Jeffrey Walton
b046313841
Update Automake and CMake test scripts
2019-10-14 22:20:47 -04:00
Jeffrey Walton
6b1fec4c14
Add cryptest-pem.sh test script
2019-10-14 22:20:42 -04:00
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