Commit Graph

1427 Commits (cdd88236afb2c4726f15c5fadc3ae84b585cc7fa)

Author SHA1 Message Date
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
Jeffrey Walton 884f7fd4ac Remove uneeded assert 2016-05-21 13:00:00 -04:00
Jeffrey Walton 14fcf50ae0 Add missing constants for Debug builds 2016-05-21 12:58:55 -04:00
Jeffrey Walton 98944d2252 Merge branch 'master' into arm-neon 2016-05-21 12:30:20 -04:00
Jeffrey Walton 2162219299 Add call to ThrowIfInvalidTruncatedSize in TruncatedFinal 2016-05-21 12:28:52 -04:00
Jeffrey Walton c4c5a50adf Merge branch 'master' into arm-neon 2016-05-21 12:20:18 -04:00
Jeffrey Walton 309fbc2e78 Fix hash calculation for big endian machines. Remove unused functions 2016-05-21 12:19:57 -04:00
Jeffrey Walton 3cd857de7a Fix hash calculation for big endian machines. Remove unused functions 2016-05-21 12:19:01 -04:00
Jeffrey Walton a6d58714ac Avoid Valgrind uninitialized warning by defering checks and using asserts 2016-05-21 08:45:05 -04:00
Jeffrey Walton 6a6027c2cd Include "cpu.h" rather than <immintrin.h> directly to avoid compile error when using GCC and -mno-sse<N> 2016-05-21 08:32:23 -04:00
Jeffrey Walton f260be1f42 Updated documentation 2016-05-21 08:17:49 -04:00
Jeffrey Walton d7c832b813 Remove ILP32 from CRYPTOPP_L1_CACHE_LINE_SIZE. Clang defines it for all 32-bit data models, and not just X32 2016-05-20 16:38:42 -04:00
Jeffrey Walton 9534ce5bc5 Add ARM-64 defines for CRYPTOPP_L1_CACHE_LINE_SIZE 2016-05-20 16:28:55 -04:00
Jeffrey Walton 38f87d3cfc Whitespace cleanup 2016-05-20 12:36:25 -04:00
Jeffrey Walton b005d8b4b5 Fixed memory error after switch to FixedSizeAlignedSecBlock<State> and FixedSizeAlignedSecBlock<ParameterBlock> 2016-05-19 14:55:51 -04:00
Jeffrey Walton 2056421881 Updated documentation 2016-05-19 14:54:41 -04:00
Jeffrey Walton d37b3f9028 Fixed memory error after switch to FixedSizeAlignedSecBlock<State> and FixedSizeAlignedSecBlock<ParameterBlock> 2016-05-19 14:39:25 -04:00
Jeffrey Walton 1c8c16f9e8 Updated documentation 2016-05-19 14:37:50 -04:00
Jeffrey Walton c8e1923515 Merge branch 'master' into arm-neon 2016-05-19 08:42:19 -04:00
Jeffrey Walton c3d61ef78a Fix AMD RDRAND detection. Add VIA Padlock extension detection 2016-05-19 08:32:51 -04:00
Jeffrey Walton 755edd8262 Merge branch 'master' into arm-neon 2016-05-19 04:53:48 -04:00