Commit Graph

325 Commits (0fab2a188f2817c349c781272ae18b972daedaf0)

Author SHA1 Message Date
Jeffrey Walton 61a2b285f1
Removed deprecated declaration workarounds
Commit bfbcfeec7c and Issue 345 was cleared some time ago. The warning suppression is no longer needed
2017-01-01 17:20:57 -05:00
klemens 5a5c633073 spelling fixes 2016-12-27 18:34:57 +01:00
Jeffrey Walton 06f79d904d
Remove vectorization test. This one test needs to be in its own script 2016-12-24 07:25:12 -05:00
Jeffrey Walton 716cd1fed9
Fix HAVE_CXX14/HAVE_CXX17 typo
This looks like a copy/paste error that has mostly gone unnoticed because many compilers lack support for C++17
2016-12-17 07:56:37 -05:00
Jeffrey Walton 05153d9740
Add test for vectorization opportunities 2016-12-14 15:24:29 -05:00
Jeffrey Walton 40230dd3bf
Removed MAINTAIN_BACKWARDS_COMPATIBILITY_562 (Issue 70) 2016-12-03 00:32:07 -05:00
Jeffrey Walton d91244a657
Sync'd cryptest.sh. Cleared shadow variable warning in poly1305.cpp 2016-12-01 21:11:48 -05:00
Jeffrey Walton 1491b48691
Add Intel SHA extension specialized tests 2016-12-01 16:51:39 -05:00
Jeffrey Walton 315b4b0b3e
Add Intel SHA256 code generation tests (Issue 139) 2016-12-01 15:04:50 -05:00
Jeffrey Walton 6970ef702d
Add Intel SHA1 code generation tests 2016-11-30 21:13:45 -05:00
Jeffrey Walton 903bbe37d3
Reduce 32-bit minimum arch from i686 to i586 2016-10-27 02:29:11 -04:00
Jeffrey Walton 3a3c051013
Removed -DCRYPTOPP_NO_UNALIGNED_DATA_ACCESS 2016-10-26 05:32:29 -04:00
Jeffrey Walton 8cbb7a9500
$X86_OPTS → ${X86_OPTS[@]} 2016-10-26 04:24:41 -04:00
Jeffrey Walton 2cd0fc993a
Add GNUmake $strip to cleanup CXXFLAGS. Fols cryptest.sh tests 2016-10-26 03:53:28 -04:00
Jeffrey Walton 270a8d1cbb
Added SSE2/AESNI/RDRAND/RDSEED test 2016-10-26 03:10:52 -04:00
Jeffrey Walton 2d42b71cb0
Removed NO_UNALIGNED_DATA_ACCESS tests 2016-10-15 22:58:26 -04:00
Jeffrey Walton afcd051a14
Removed NO_BACKWARDS_COMPATIBILITY_562 tests 2016-10-15 22:42:41 -04:00
Jeffrey Walton 9c9d81ba6c
Switch to OPT_PIC for cryptest.sh 2016-10-14 15:29:17 -04:00
Jeffrey Walton 7ce3922b97
Add PIC_FLAG for minimum platform tests 2016-10-14 05:04:04 -04:00
Jeffrey Walton b5f5c4951d
Fix use of -fPIC in test script under Cygwin 2016-10-14 04:46:48 -04:00
Jeffrey Walton 11d36e9cf9
Simplify -fPIC tests 2016-10-14 04:42:22 -04:00
Jeffrey Walton 4b73230e36
Fix use of -fPIC in test script under Cygwin 2016-10-14 04:16:04 -04:00
Jeffrey Walton b885d6c9ad Add cryptest.sh to root directory
The move into TestScriipts is inconvenient. Others have already asked about it
2016-09-26 04:12:30 -04:00
Jeffrey Walton dca76d760d Delete cryptest.sh after 'git mv' failed to delete it
Git could not find it in its heart to actually delete the file. What a broken too.
2016-09-23 14:44:03 -04:00
Jeffrey Walton 2ac9ea1253 Guard use of '-march=native' in test script 2016-09-23 02:53:20 -04:00
Jeffrey Walton ddac25ead8 Fix GCC attempting to use -stdlib=libc++ 2016-09-22 19:33:06 -04:00
Jeffrey Walton f19e97ad5c Removed unneeded WANTED_CONFIG 2016-09-18 20:44:24 -04:00
Jeffrey Walton f57c4dced5 Moved config.h → config.compat; moved config.recommend → config.h
Also see http://groups.google.com/forum/#\!topic/cryptopp-users/bWcRw1XgJ_Q
2016-09-18 12:36:50 -04:00
Jeffrey Walton bad74bb3ab Add test for mismatched capabiliities between libcryptopp.a and cryptest.exe (Issue 283) 2016-09-18 09:28:47 -04:00
Jeffrey Walton 0d434fb419 Updated failure message 2016-09-18 03:03:07 -04:00
Jeffrey Walton 85241c94a8 Updated IS_X86 detection code 2016-09-18 02:46:36 -04:00
Jeffrey Walton f041382c55 Add tests with -march=i686 and -march=x86-64
-march=native effectively tests a maximum, while the two new tests verify the minimum
2016-09-18 01:00:23 -04:00
Jeffrey Walton d6d2307b78 Fix test for assert, std::min and std::max
OS X's grep is not matching them, but egrep matches them
2016-09-18 00:39:56 -04:00
Jeffrey Walton 587a9956fc Added test for use of std::min and std::max
This is due to Windows.h and NOMINMAX. Linux test fine, while Windows breaks. We need to use either the library's 'STDMIN(a,b)' or '(std::min)(a, b);'
2016-09-17 22:08:12 -04:00
Jeffrey Walton c207012123 Add cryptest.sh tests for includio of <assert.h> and <cassert>; and use of NDEBUG or assert\(...\) 2016-09-17 14:38:52 -04:00
Jeffrey Walton 5b50423439 Fix SunCC 5.13 and "illegal use of -xarch option, illegal value ignored: avx2_i" 2016-09-13 15:11:52 -04:00
Jeffrey Walton ed9fdfc0ab Whitespace and comments for SunCC work-arounds 2016-09-13 01:16:04 -04:00
Jeffrey Walton 6e6f5e4228 Fix -xarch=ssse4_2 typo 2016-09-13 00:52:15 -04:00
Jeffrey Walton 3c9096a85d Updated comments in cryptest.sh 2016-09-12 16:06:21 -04:00
Jeffrey Walton 3585190924 Fix SunCC 5.11 and 5.12 CXXFLAGS and -xarch options.
We were still catcing the "requires -xarch=sse4_2" message
2016-09-12 07:34:59 -04:00
Jeffrey Walton 28c3d685e3 Attempt to fix SunCC 5.11 and 5.12 flags and xarch options in a generic way 2016-09-12 05:08:29 -04:00
Jeffrey Walton bb2f54a668 Fix line 859: /1024/1024: syntax error: operand expected (error token is "/1024/1024") 2016-09-12 04:17:39 -04:00
Jeffrey Walton 199c00f30a Modify cryptest.sh to better align with SunCC 12.1 though 12.3, CPU feature flags, and compiler options 2016-09-11 08:59:28 -04:00
Jeffrey Walton b8adfde288 Removed 'make zip' test.
The recipe cleans our result file, which is not very useful if the Terminal window cannot be searched
2016-09-10 03:06:59 -04:00
Jeffrey Walton fd0c63b914 SUNCC_121_OR_ABOVE → SUNCC_510_OR_ABOVE 2016-09-09 18:12:06 -04:00
Jeffrey Walton 42715f4e83 Fix CPU feature flag detection under FreeBSD 2016-09-09 17:55:46 -04:00
Jeffrey Walton a571f1e214 Fix MAKE variable for FreeBSD 2016-09-09 17:38:16 -04:00
Jeffrey Walton 001f6fcc59 Discard output from 'make zip' 2016-09-09 14:36:55 -04:00
Jeffrey Walton a7f9356d8b Fix unzip test 2016-09-09 14:33:56 -04:00
Jeffrey Walton 39e0bb3d6a Add 'make zip' test to script 2016-09-09 14:15:19 -04:00
Jeffrey Walton 7f958575ea Squashed commit of the following:
commit 47c75c6e9397e240919207e50e5a611d3e2a2428
Merge: d7685c2 42085ee
Author: Jeffrey Walton <noloader@gmail.com>
Date:   Thu Sep 8 20:20:39 2016 -0400

    Attempting to fix binary file merge conflict

commit d7685c2d946beecc419ddb6901c24e972c7cf3ee
Author: Jeffrey Walton <noloader@gmail.com>
Date:   Thu Sep 8 16:39:23 2016 -0400

    Add vsClean.cmd to vs2010.zip

commit 4b96fdf1c551260da60eb021f324bcc3fcfec626
Author: Jeffrey Walton <noloader@gmail.com>
Date:   Thu Sep 8 16:15:38 2016 -0400

    Add Keccak to vs2010.zip

commit 3962db73b7113ee805b46a5bb4da64e204fe6bb0
Author: Jeffrey Walton <noloader@gmail.com>
Date:   Thu Sep 8 15:40:35 2016 -0400

    Fold hmqv.cpp and fhmqv.cpp into mqv.cpp. There's no need for three empty source files

commit 44401448cbb6c8125b0f1ab4419c5b174408ffd7
Author: Jeffrey Walton <noloader@gmail.com>
Date:   Thu Sep 8 15:39:23 2016 -0400

    Fold hmqv.cpp and fhmqv.cpp into mqv.cpp. There's no need for three empty source files

commit 847bfccb8d5c388e67745dc8c69768fa503c5135
Author: Jeffrey Walton <noloader@gmail.com>
Date:   Thu Sep 8 14:48:02 2016 -0400

    Whitespace cleanup

commit 46a37be6fef361704dcf852bc9a099ce0a1da4c8
Merge: aefb8f8 3697867
Author: Jeffrey Walton <noloader@gmail.com>
Date:   Thu Sep 8 14:43:01 2016 -0400

    Merge 'master' into 'keccak'

commit aefb8f8ff2b81b967089c53b457a92fc6f7544d6
Merge: 51a828b 3c91d93
Author: Jeffrey Walton <noloader@gmail.com>
Date:   Thu Sep 8 12:39:51 2016 -0400

    Merge 'master' into 'keccak'

commit 51a828b88e37a4d18abb00300cd5522bd0e110c5
Merge: 4152870 e7c7722
Author: Jeffrey Walton <noloader@gmail.com>
Date:   Thu Sep 8 10:41:36 2016 -0400

    Merge 'master' into 'keccak'

commit 415287041e69ddadf5ca1f6fc794b87e145fc2db
Merge: 357a0c5 83ac849
Author: Jeffrey Walton <noloader@gmail.com>
Date:   Thu Sep 8 10:34:45 2016 -0400

    Merge 'master' into 'keccak'

commit 357a0c510f75e4e58078b500dd469462e90f7650
Author: Jeffrey Walton <noloader@gmail.com>
Date:   Thu Sep 8 10:13:32 2016 -0400

    Removed deprecated warning from SHA3 classes

commit 5cf9ec10d53b895b5a583e265e4e1298ed402195
Merge: 10ce0ed c2d60cc
Author: Jeffrey Walton <noloader@gmail.com>
Date:   Thu Sep 8 09:43:15 2016 -0400

    Merge 'master' into 'keccak'

commit 10ce0ed4c5b8a1ea230062fd2dfdec0d87ec5b42
Author: Jeffrey Walton <noloader@gmail.com>
Date:   Thu Sep 8 09:37:40 2016 -0400

    Add Keccak implementation based on early SHA3. Change SHA3 to NIST FIPS 202 conforming implementation
2016-09-08 20:24:25 -04:00
Jeffrey Walton e7c7722948 Add test for Debug OpenMP 2016-09-08 10:41:18 -04:00
Jeffrey Walton 66dc925f94 Add otion to test using config.h or config.recommend 2016-09-08 07:38:20 -04:00
Jeffrey Walton f0a4f74a23 Fix ld-gold detection under Debian 7 2016-09-07 12:40:53 -04:00
Jeffrey Walton f4c33f6969 Add tests for Bounds Checking sanitizer 2016-09-07 02:40:50 -04:00
Jeffrey Walton 47af829cdc Add MacPorts GCC 7.x test. Add MacPorts Clang 3.7, 3.8 and 3.9 test 2016-09-06 13:44:58 -04:00
Jeffrey Walton 023615ef61 Fixed test for empty MACPORTS_CXX 2016-09-06 08:04:17 -04:00
Jeffrey Walton 65f8c7478f Add IS_DARWIN check for MacPorts compilers 2016-09-06 07:44:39 -04:00
Jeffrey Walton 29e190343c Add additional MacPorts compiler tests under OS X 2016-09-06 07:43:14 -04:00
Jeffrey Walton 60911fe235 Add X86 ADX feature flag detection for adcx/adox 2016-09-04 16:25:11 -04:00
Jeffrey Walton 741d205592 Removed Clang version information from message since its not affected by the version 2016-09-04 13:22:37 -04:00
Jeffrey Walton cc1fe049cd Added test for "rotate immediate" code generation using SHA 2016-09-04 12:22:48 -04:00
Jeffrey Walton 77f57c758f Add additional ARM NEON mnemonics for disassembly check 2016-08-28 19:42:52 -04:00
Jeffrey Walton 15ec4ef713 Removed Solaris comments as things work as expected. Cleaned the object file of interest before compiling 2016-08-26 07:41:43 -04:00
Jeffrey Walton 81f868e6ff Add newline to echo for error and warning reports 2016-08-25 19:40:28 -04:00
Jeffrey Walton dbf65e82bf Fold CPU features and flags into single variables: X86_CPU_FLAGS and ARM_CPU_FLAGS. Consult the variables throughout the script 2016-08-25 19:26:48 -04:00
Jeffrey Walton 65e91a8caa Fix compile and code generation tests under Clang 3.4, 3.5 and 3.6 2016-08-25 01:25:33 -04:00
Jeffrey Walton eab45a1d66 Add disassembly tests for ARM NEON vector add and xor 2016-08-24 23:02:30 -04:00
Jeffrey Walton 4396f58f66 Account for Clang and use of ldp (load register pairs) 2016-08-24 22:09:15 -04:00
Jeffrey Walton ef6be6718b Add disassembly tests for ARM NEON 2016-08-24 21:15:55 -04:00
Jeffrey Walton 57a0059eb7 Improve CPU feature detection for X86 and ARM. Add tests for X86 Carryless Multiply; and X86 and ARM CRC32 2016-08-24 12:36:03 -04:00
Jeffrey Walton b1d7754ff7 Add disassembly tests for RDRAND and RDSEED 2016-08-24 08:10:37 -04:00
Jeffrey Walton 7c3967ad8f Add disassembly tests to verify some aspects of code generation. Fix SUNCC_CXXFLAGS flags. Fix "Quick Tests" undr Clang (Issues 245 and 246) 2016-08-24 06:19:42 -04:00
Jeffrey Walton 06a23f56fe Fix SunCC 12.2 test under Release builds 2016-08-22 17:02:24 -04:00
Jeffrey Walton 83b8d51487 Simplified logic to determine ARM platform flags 2016-08-22 08:17:31 -04:00
Jeffrey Walton a4be62a41f Fix -Os option. Add install results to test results 2016-08-22 06:27:35 -04:00
Jeffrey Walton 81e346ff35 Remove ubsan target from OpenMP test 2016-08-22 03:16:12 -04:00
Jeffrey Walton 4892ae25a7 Add debug and release test 2016-08-22 03:11:52 -04:00
Jeffrey Walton 65984d31e6 Remove duplicate dead code stripping 2016-08-22 03:03:59 -04:00
Jeffrey Walton 5fc7a8d201 Add OpenMP test 2016-08-22 02:50:08 -04:00
Jeffrey Walton 6997628f6d Add guards for HAVE_O3, HAVE_O5, HAVE_OS and HAVE_OFAST 2016-08-02 09:29:38 -04:00
Jeffrey Walton 49bf0112d8 Fix spelling error 2016-07-31 04:31:57 -04:00
Jeffrey Walton 3ffb1f3565 Fix failed self tests under -Ofast and -O5. It appears to be a SunCC compiler bug 2016-07-31 04:18:01 -04:00
Jeffrey Walton 8dffadf2e3 Fix USER_CXXFLAGS reporting 2016-07-30 11:37:10 -04:00
Jeffrey Walton b4726950c2 Add options for SunCC as arrary elements 2016-07-30 07:20:08 -04:00
Jeffrey Walton e6ad2579ca Remove extraneous whitespace from options 2016-07-30 06:32:44 -04:00
Jeffrey Walton 22ed5382ed Removed RETAINED_CXXFLAGS. Add USER_CXXFLAGS. Add HAVE_AARCH32 and Aarch32 tests 2016-07-29 01:47:44 -04:00
Jeffrey Walton bca0fa6a9e Add test for unified asm syntax
This is a premeptive strike to ensure no surprises when divided syntax is deprecated
2016-07-28 05:12:17 -04:00
Jeffrey Walton c7b329db90 Add fpv5 fpu option 2016-07-22 23:17:46 -04:00
Jeffrey Walton 2d55eeb2be Fix HAVE_ARM_VFPV3 typo. Fix PLATFORM_CXXFLAGS for first debug and release build 2016-07-22 05:42:14 -04:00
Jeffrey Walton 0c801ce822 Fix broken compile with GCC 4.9 and 4.9 in Debug configuration with -std=c++11 2016-07-22 03:25:25 -04:00
Jeffrey Walton e8d3ddffd8 Removed HAVE_ARM_ASIMD. Add HAVE_ARMV8. Enable at least '-march=armv8-a' for all Aarch64 platforms 2016-07-22 02:52:06 -04:00
Jeffrey Walton c1b57a9a7f Add logic for ARM vfpd32 CPU flag 2016-07-22 00:46:14 -04:00
Jeffrey Walton 29bd2bc95c Add additional FILTERED_CXXFLAGS 2016-07-21 18:00:49 -04:00
Jeffrey Walton 6ed2a60a53 Add -DCRYPTOPP_NO_UNALIGNED_DATA_ACCESS for -O5 and -Ofast 2016-07-21 02:57:50 -04:00
Jeffrey Walton c606ea2573 Remove 32-bit ARMv8 FPU flags from Aarch64 2016-07-20 20:08:00 -04:00
Jeffrey Walton e0ca095144 Fix "unrecognized command line option ‘-mfpu=neon-fp-armv8" under GCC 4.8 2016-07-20 11:15:03 -04:00
Jeffrey Walton 9f9b050c7f Remove soft-float from ARMv8 2016-07-20 10:31:00 -04:00
Jeffrey Walton 5bc1f5bfd1 Add -DCRYPTOPP_NO_UNALIGNED_DATA_ACCESS for -Ofast testing since it auto-vectorizes under GCC 2016-07-20 09:54:03 -04:00
Jeffrey Walton e7e61e8f9e Add ARM floating point ABI detection 2016-07-20 09:49:06 -04:00