Commit Graph

54 Commits

Author SHA1 Message Date
Jeffrey Walton
82accdc13b
Sort source list (Pull Request 426) 2017-05-19 20:12:29 -04:00
Anton Gorev
7eeab3d0bf Added -xmemalign=4i compiler option for Sparc's. 2017-04-27 14:15:12 -05:00
Jeffrey Walton
422600c5b8
Update scripts for testing 2017-04-23 07:38:25 -04:00
Jeffrey Walton
89176e51cd
Add safety for SSSE4.1 and SSE4.2 intructions
They are giving ARIA and BLAKE2 trouble. It looks like SSE4  support appeared in the GCC compiler around 4.1 or 4.2. It looks like SHA support appeared in the GNU assembler around 2.18
2017-04-23 06:37:03 -04:00
Jeffrey Walton
7562e38ad6
Add safety for SHA intructions
It looks like SHA support appeared in the GCC compiler around 4.8 or 4.9. It looks like SHA support appeared in the GNU assembler around 2.23
2017-04-22 19:46:13 -04:00
Jeffrey Walton
c25edcaff3
Add potential workaround for Solaris SIGBUS 2017-04-22 00:05:55 -04:00
Jeffrey Walton
cede0f3fb1
Whitespace 2017-04-18 02:57:38 -04:00
Jeffrey Walton
0f7aba8b4c Merge pull request #398 from anonimal/cmake
Build: apply patch for GNU assembler errors to CMake
2017-04-14 06:27:56 -04:00
Jeffrey Walton
bf92cb0039
Split regtest.cpp into regtest{1|2|3}.cpp
regtest.cpp is where ciphers register by name. The library has added a number of ciphers over the last couple of years and the source file has experienced bloat. Most of the ARM and MIPS test borads were suffering Out of Memory (OOM) kills as the compiler processed the source fille and the included header files.
This won't stop the OOM kills, but it will help the situation. An early BeagleBoard with 512 MB of RAM is still going to have trouble, but it can be worked around by building with 1 make job as opposed to 2 or 4.
2017-04-13 21:45:21 -04:00
anonimal
a9f2518a2c
Build: apply patch for GNU assembler errors to CMake
References weidai11/cryptopp#395
2017-03-29 07:01:04 +00:00
Jeffrey Walton
d865cf9e62
Fix OpenBSD 6.0 compile with GCC 4.9 (Issue 395)
This check-in also enables the 64-bit RDRAND routines for X32. The changes were with held until they could be tested. The testing occurred with Issue 395
2017-03-22 17:26:25 -04:00
Jeffrey Walton
4bcaabbe26
Updated RDRAND and RDSEED under NASM
Port rdrand.S to Cygwin and OS X
Add DISABLE_NATIVE_ARCH to CmakefileList and GNUmakefile. It supresses the addition of -march=native. DISABLE_NATIVE_ARCH replaces DISABLE_CXXFLAGS_OPTIMIZATIONS in CmakefileList (the latter is now deprecated).
2017-03-13 15:57:47 -04:00
Heinrich Janzing
3c77873b0e CMake: allow disabling the intermediate objects target (cryptopp-object).
Targets with only object inputs do not work correctly with some
generators (like Xcode, see issue #355). Defining these directly in
terms of the source code files (rather than a reused set of object
files) allows correct builds in such cases. This can now be controlled
through a new option USE_INTERMEDIATE_OBJECTS_TARGET which defaults to
ON.
2017-01-05 09:19:19 +01:00
klemens
5a5c633073 spelling fixes 2016-12-27 18:34:57 +01:00
Jeffrey Walton
26db40567d
Add Integer Bitops tests (Issue 344) 2016-12-06 20:56:57 -05:00
Jeffrey Walton
82009ecf41
Increment version to 5.7 due to ABI break *Issue 337)
We still need to supply a patch for those maintaining 5.6.x
2016-12-01 18:10:56 -05:00
Alon Bar-Lev
db50b93766 build: add DISABLE_CXXFLAGS_OPTIMIZATIONS option
handy when packaging should control optimization without build system
masking. Especially handy when building to common architecture.

no change of behavior if DISABLE_CXXFLAGS_OPTIMIZATIONS is unset.

Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
2016-10-21 23:49:06 +03:00
Jeffrey Walton
4d562aaac7
Post-release version increment 2016-10-11 14:37:03 -04:00
Florian
398e49d5ed Fixes #276 2016-09-27 21:44:04 +02:00
Florian
c8a5a2edd3 Fix Cmake (Issue 273) 2016-09-27 21:06:01 +02:00
Jeffrey Walton
df40b6224a Restore CMAKE_VERBOSE_MAKEFILE to its original state 2016-09-15 12:04:49 -04:00
Jeffrey Walton
34c1837647 Use SET(CMAKE_POSITION_INDEPENDENT_CODE 1) 2016-09-15 05:16:01 -04:00
Jeffrey Walton
722afc4733 Improve Cmake cross-ompile support.
Add CRYPTOPP_CROSS_COMPILE variable. Guard host uname calls on CROSS_COMPILE. Set CMAKE_CXX_LINK_FLAGS to CMAKE_CXX_FLAGS. Change to SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} <option>") pattern.
2016-09-15 02:20:15 -04:00
Jeffrey Walton
299288b2e7 Add Solaris SunCC and GCC specific configuration options 2016-09-14 15:15:42 -04:00
Jeffrey Walton
4c5017428b Add machine and system detection using 'uname' for Linux and Unix 2016-09-14 13:57:53 -04:00
Jeffrey Walton
ad47c0cce8 Add integger.cpp as the thrird object file in the list of object files
This should have been performed at Commit 7f958575ea
2016-09-14 12:03:27 -04:00
Jeffrey Walton
c70f01d7b3 Relocate first PIC code to just after Windows options. Remove second PIC code based on SIZEOF_POINTER since it only managed to set for x86_64 2016-09-14 06:33:34 -04:00
Jeffrey Walton
1204d3dfcc Add -fPIC for builds except for 32-bit x86 and Windows 2016-09-14 01:15:18 -04:00
Jeffrey Walton
9280850b26 Enable Cmake's VERBOSE=1 by default.
Cmake's choice of default options are awful. No wonder they hide them by default
2016-09-13 23:54:16 -04:00
Jeffrey Walton
c8388746b9 Fix build under Sun Studio 2016-09-13 12:51:17 -04:00
Jeffrey Walton
84db27c8f6 Post-release version increment for CMake 2016-09-11 20:40:09 -04:00
Jeffrey Walton
b779fbc943 Change Crypto++ version number to 5.6.4 2016-09-11 04:00:11 -04:00
Alexander Shishenko
a4e4e48127 Fixed install path for Windows in CMake (for example, for use with MinGW/MSYS environment) 2016-08-07 15:54:36 +03:00
Alexander Shishenko
2bb736576e
CMake cryptest binary is now named "cryptest.exe" on all platforms. 2016-06-21 16:19:15 +03:00
Alexander Shishenko
32451f23ea
Fixed #192
Fixed #198
Fixed #199
Added complete support for CMake 2.8.5 and tested it on Ubuntu 12.04.
2016-06-21 13:47:20 +03:00
Jeffrey Walton
0b56cf57b1 Fix target_include_directories not available on semi-modern platforms (Issue 181) 2016-06-18 22:13:18 -04:00
Jeffrey Walton
4cd6f99ab9 Add 'set(CMAKE_MACOSX_RPATH 0)'; guard with 'NOT CMAKE_VERSION VERSION_LESS 2.8.12' 2016-06-17 08:35:08 -04:00
Jeffrey Walton
2010371bce Add commented 'set(CMAKE_MACOSX_RPATH 0)'. Remove -DCRYPTOPP_DISABLE_ASM for ARM because it disables NEON, CRC32 and Crypto intrinsics 2016-06-17 08:23:14 -04:00
Jeffrey Walton
94f26519d2 Updated message on compatibility 2016-06-13 07:51:11 -04: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
f0f30ade6a Add newline 2016-05-17 02:05:20 -04:00
Jeffrey Walton
3ba1ecf692 Whitespace cleanup 2016-05-15 01:53:31 -04:00
zabulus
819c10c173 Fix _WIN32_WINNT for Windows Store Apps >= 10.* 2016-05-09 03:07:58 -04:00
zabulus
728c2a2fe5 Fix Windows Phone ARM Build 2016-05-09 03:07:58 -04:00
zabulus
8dbcd103fc Force include winapifamily.h for windows store 2016-05-09 03:07:57 -04:00
Jeffrey Walton
5a9a41ffc4 Merge pull request #156 from zabulus/master
Fix MSVC2015 CMakeLists.txt (Issue #99)
2016-05-02 06:21:21 -05:00
Jeffrey Walton
f8ad685c3d Rename bench.cpp to bench1.cpp 2016-04-22 14:15:09 -04:00
zabulus
4f42f4f6ec Fix MSVC2015 (win64) CMakeLists.txt issues #99
Fix x86 build
2016-04-07 14:10:52 +03:00
zabulus
1a8dac33a2 Fix MSVC2015 (win64) CMakeLists.txt issues #99 2016-04-07 13:58:43 +03:00
Alexander Shishenko
59287d15ce
Fixed #135 2016-02-12 02:30:45 +03:00