Commit Graph

1447 Commits

Author SHA1 Message Date
Jeffrey Walton
0403fc747d Added Sun Studio testing (Issue 180) 2016-06-09 03:47:57 -04:00
Jeffrey Walton
b02724e788 Remove -fPIC from Solaris builds. -Kpic will be added appropriately 2016-06-09 01:02:56 -04:00
Jeffrey Walton
f4ef75ef91 Fix GCC and Solaris builds picking up Sun Studio flags 2016-06-09 00:54:53 -04:00
Jeffrey Walton
37dad288fd Add warnings ands some suppressions to Sun Studio builds 2016-06-09 00:51:23 -04:00
Jeffrey Walton
77e4bd7a7b Cleared warning 'Warning: key hides CryptoPP::FixedRoundsCipherFactory::key' 2016-06-09 00:15:02 -04:00
Jeffrey Walton
d67d32dab0 Cleared warning 'Warning: mr hides CryptoPP::ProjectiveDoubling::mr' 2016-06-08 23:41:03 -04:00
Jeffrey Walton
f836f741e8 Update makefile to make it easier to tune Solaris builds during testing 2016-06-08 23:30:39 -04:00
Jeffrey Walton
d965ca66d9 Fixed broken Sun Studio compile (Issue 179) 2016-06-08 21:41:45 -04:00
Jeffrey Walton
ddb120e208 Cleared missing function protoype under Sun Studio 2016-06-08 20:03:52 -04:00
Jeffrey Walton
639c9024f4 Fix Sun Studio builds (Issue 179) 2016-06-08 19:51:36 -04:00
Jeffrey Walton
4431bc58e5 Cleared warning 'Warning: personalization hides CryptoPP::BLAKE2_ParameterBlock<0>::personalization' 2016-06-08 17:49:43 -04:00
Jeffrey Walton
bc52b1abf8 Cleared warning 'extra ";" ignored' 2016-06-08 16:46:51 -04:00
Jeffrey Walton
f0f060bb8b Cleared warning 'extra ";" ignored' 2016-06-08 16:22:47 -04:00
Jeffrey Walton
5849050e14 Cleared warning 'extra ";" ignored' 2016-06-08 16:13:48 -04:00
Jeffrey Walton
0414faff8e Revert "Add hack to pickup C++11 alignas"
This reverts commit 16df6e64a8. Detailed testing is revealing some fractures. The pain point seems to be C++11 is more strict about the location of the 'alignas(N)' in the statement-expression. Some compilers accept a looser grammar; while others do not.

Clang 3.3 is rejecting some of the statements with CRYPTOPP_ALIGN_DATA(N). Others may do the same, and we need to look at ICC in particular.
2016-06-07 15:22:11 -04:00
Jeffrey Walton
16df6e64a8 Add hack to pickup C++11 alignas 2016-06-06 23:57:46 -04:00
Jeffrey Walton
e961c2da5b Merge Atomics branch into Master 2016-06-06 22:08:04 -04:00
Jeffrey Walton
370483c7aa Change guard for AES, RDRAND and RDSEED. There's no sense in performing the test if none of the features are available 2016-06-05 22:31:10 -04:00
Jeffrey Walton
5c311d7fab Remove -march=native from AES, RDRAND and RDSEED test 2016-06-05 22:25:08 -04:00
Jeffrey Walton
259f845bd4 Removed unneeded diagnostic 2016-06-05 18:21:05 -04:00
Jeffrey Walton
cdd88236af Add test for modern compiler and old hardware 2016-06-05 18:15:47 -04:00
Jeffrey Walton
5d9607613a Fix hasSSE3/hasSSE4 transposiion. Remove Padlock reporting 2016-06-05 17:23:21 -04:00
Jeffrey Walton
7b901f8edc Add -std=c++03, -std=c++11 and -std=c++14 to filtered flags 2016-06-03 18:02:30 -04:00
Jeffrey Walton
07406e2656 Fix Git merge butchering files. Add -march=armv8-a+crypto and -march=armv8-a+crc to filered flags 2016-06-03 17:55:54 -04:00
Jeffrey Walton
9b6d7ae156 Merge branch 'master' into arm-neon
Conflicts:
	cryptest.sh
2016-06-03 17:37:40 -04:00
Jeffrey Walton
a4dd3ba97a Add code to respect user CXXFLAGS while removing flags we explicitly test 2016-06-03 17:33:41 -04:00
Jeffrey Walton
b0dc644d70 Merge pull request #175 from aberaud/master
cmake: add BUILD_(STATIC/SHARED) to specify which flavor to build
2016-06-01 14:30:13 -07:00
Adrien Béraud
294c0f9da6 cmake: add BUILD_(STATIC/SHARED) to specify which flavor to build 2016-06-01 17:21:40 -04:00
Jeffrey Walton
1ee66a8fc2 Merge arm-neon into master 2016-06-01 03:10:18 -04:00
Jeffrey Walton
eaafd4206e Change "result=false" to "return fals". There's no sense in trying the instruction if we can't catch the SIGILL or we can't restore SIGMASK state 2016-06-01 01:27:53 -04:00
Jeffrey Walton
87e2da8388 Fix missing oldMask for x86 2016-05-31 23:25:44 -04:00
Jeffrey Walton
ec8c794a26 Removed duplicate C++11 atomics block. Fixed comment on CRYPTOPP_CXX11_ALIGNAS availability under MS toolchain 2016-05-30 17:46:00 -04:00
Jeffrey Walton
77f870abb3 Cleared "C4101: unreferenced local variable" under Visual Studio 2016-05-30 08:35:58 -04:00
Jeffrey Walton
f41adb8589 Fix "Too many initializers" under Visual Studio 2012 2016-05-30 07:49:14 -04:00
Jeffrey Walton
fd6ccce8ed Added non-zero terms to CRC detection code. Exercise all SHA1 instructions during feature test. Apply GCC optimization workaround to MSVC code paths to avoid potential problems 2016-05-30 06:37:08 -04:00
Jeffrey Walton
89ec42b1f2 Fix GCC optimizing away feature tests 2016-05-30 03:08:53 -04:00
Jeffrey Walton
be572877f6 Commented out assert. Its still firing without an accompanying SIGBUS 2016-05-28 19:22:24 -04:00
Jeffrey Walton
08fb87417d Updated test script to print more platform information 2016-05-28 16:35:56 -04:00
Jeffrey Walton
b86f3fef87 Backed-off assert for input byte array 2016-05-28 16:01:18 -04:00
Jeffrey Walton
3b583346ae Added test cases for ARM CRC and Crypto extensions 2016-05-28 15:59:14 -04:00
Jeffrey Walton
b2c38f07a2 Fix ARm-64 detection 2016-05-28 10:19:21 -04:00
Jeffrey Walton
a75abe0de2 Added test cases for ARM CRC and Crypto extensions 2016-05-28 10:10:03 -04:00
Jeffrey Walton
33582d330a Merge branch 'master' into arm-neon 2016-05-25 18:07:18 -04:00
Jeffrey Walton
432db09b72 Removed CRYPTOPP_DISABLE_ASM from __BMI__ check 2016-05-25 17:48:16 -04:00
Jeffrey Walton
3a26c34721 Simplified tests ARM features. Tied ARM intrinsics to CRYPTOPP_DISABLE_ASM to allow easier user control and testing 2016-05-22 13:02:53 -04:00
Jeffrey Walton
addf45d4da Simplified tests ARM features. Tied ARM intrinsics to CRYPTOPP_DISABLE_ASM to allow easier user control and testing 2016-05-22 13:02:09 -04:00
Jeffrey Walton
428b5a4e36 Merge branch 'master' into arm-neon 2016-05-22 11:37:10 -04:00
Jeffrey Walton
09dc7caf25 Increase allocation size of FixedSizeAlignedSecBlock for State and ParameterBlock 2016-05-22 10:36:03 -04:00
Jeffrey Walton
733c78ba23 Relocate ARM defines to contribute to CRYPTOPP_BOOL_ALIGN16 2016-05-21 15:50:04 -04:00
Jeffrey Walton
07cf417d15 Merge branch 'master' into arm-neon 2016-05-21 13:00:35 -04:00