Commit Graph

276 Commits (3dbf6e785cfd5aca1b83482f51cfad620c0b9cc0)

Author SHA1 Message Date
Jeffrey Walton 9cc01defde
Add test for CRYPTOPP_INIT_PRIORITY=0
Once we made config.recommend the default, we needed to start testing the disabling of init_priority
2017-01-01 17:47:33 -05:00
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