Commit Graph

1296 Commits (392c55d57355d3ccc53a8aa224f5c00c3e5faee0)

Author SHA1 Message Date
Jeffrey Walton 392c55d573 Add runtime detection code for ARM NEON, CRC32 and Crypto extensions 2016-05-16 18:47:43 -04:00
Jeffrey Walton e846beac35 Add defines for ARMv8 CRC32 and Crypto extensions 2016-05-16 18:47:31 -04:00
Jeffrey Walton 480532931b Improve Apple iOS support for ARM and NEON. Add ARM Crypto detection 2016-05-15 08:24:51 -04:00
Jeffrey Walton 950cf4cdb9 Improve ARM feature detection for ARM64 2016-05-15 05:37:39 -04:00
Jeffrey Walton 01f77765d4 Add basic ARM and Windows Store support 2016-05-15 02:30:08 -04:00
Jeffrey Walton be0d838e11 Updated documentation 2016-05-15 00:04:28 -04:00
Jeffrey Walton 58656e4bac Updated documentation 2016-05-15 00:03:58 -04:00
Jeffrey Walton a96d60e4e8 Merge pull request #172 from MarcelRaad/illegal_sse4_instruction
Check for SSE4 support before using SSE4.1 instruction
2016-05-12 07:17:09 -05:00
Marcel Raad f43b7c95cd Check for SSE4 support before using SSE4.1 instruction
In a 32-bit Windows program compiled with Visual C++ 2013 Update 5, we
sometimes get crashes because of an exception "0xC000001D: Illegal Instruction"
on the pextrd (_mm_extract_epi32) instruction. Explicitly check for SSE4
support instead of only AES-NI before using this SSE4.1 instruction.
2016-05-10 12:43:49 +02:00
Jeffrey Walton 69f7802b53 Add rules for AArch32 and AArch64 detection. Restrict shared object warning to shared object and dylibs 2016-05-09 02:59:16 -04:00
Jeffrey Walton ed5f6e103b Change fpu to neon for Neon builds 2016-05-06 08:08:35 -04:00
Jeffrey Walton 4d7cb70ea8 Cleared unused function warning under Visual Studio with /Wall 2016-05-02 13:32:39 -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 50b4f675ac Merge pull request #152 from bozaro/no-exceptions
Fix Visual Studio compilation with _HAS_EXCEPTIONS=0
2016-05-02 06:20:30 -05:00
Jeffrey Walton 82939a7af9 Apply countermeasure hardening to Camellia 2016-05-02 06:26:19 -04:00
Jeffrey Walton d24babdecc Force include <sdkddkver.h>, detect X86 and X64 (in addition to x86 and x64) 2016-04-30 22:48:14 -04:00
Jeffrey Walton 8db0e7da6d Cleared compile errors under Visual Studio .Net compilers 2016-04-29 11:25:51 -04:00
Jeffrey Walton 1ce593357f Cleared compile errors under Visual Studio .Net compilers 2016-04-29 10:25:18 -04:00
Jeffrey Walton c11d334665 Updated to provide commented CXXFLAGS for WINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP (desktop) and WINAPI_FAMILY=WINAPI_FAMILY_APP (store) 2016-04-29 02:24:48 -04:00
Jeffrey Walton 373e7283e2 Removed _WIN32_WINNT define (Issue 166) 2016-04-28 10:00:20 -04:00
Jeffrey Walton c47e4a95de Force include <winapifamily.h> for ARM builds of Store and Phone apps 2016-04-28 06:54:19 -04:00
Jeffrey Walton a49a95de55 Cleared Visual Studio warning for uninitialized variables 2016-04-28 05:35:14 -04:00
Jeffrey Walton c32d4a8505 Add missing winpipes.cpp and winpipes.obj. Fix rules for rdrand.cpp and rdrand.asm 2016-04-28 01:36:41 -04:00
Jeffrey Walton d314162ca8 Removed OCB mode test code 2016-04-28 01:08:38 -04:00
Jeffrey Walton 24d10aa83e Add WIN32_LEAN_AND_MEAN to source files which inlude Windows headers 2016-04-28 01:05:47 -04:00
Jeffrey Walton a9715898b2 Add missing header for Windows 8, Windows Server 2012, and Windows Phone 8 2016-04-27 22:45:47 -04:00
Jeffrey Walton 500c312a58 Add missing header for Windows 8, Windows Server 2012, and Windows Phone 8 2016-04-27 22:45:34 -04:00
Jeffrey Walton e06b50f564 Updated to include precompiled headers 2016-04-26 20:21:00 -04:00
Jeffrey Walton 1d4967b5fc Updated to use BLSR intrinsic from SSE4/BMI when available 2016-04-26 17:13:15 -04:00
Jeffrey Walton ba596654af Updated for x86, x64 and ARM 2016-04-26 17:12:21 -04:00
Jeffrey Walton a2f97661ec Updated documentation 2016-04-26 17:11:50 -04:00
Jeffrey Walton 32ce24f4aa Add missing fipstest.cpp and fipstest.obj 2016-04-25 18:51:32 -04:00
Jeffrey Walton e69738e80b Add Windows NMAKE-based makefile for testing 2016-04-25 17:45:23 -04:00
Jeffrey Walton b499b8ba65 Fix Windows Phone compile (Issue 162) 2016-04-25 16:36:54 -04:00
Jeffrey Walton 5c41ccb8fb Enable tzcnt intrinsic for GCC when BMI is defined 2016-04-25 07:20:37 -04:00
Jeffrey Walton 412a41faa0 Enable tzcnt intrinsic for GCC when AVX2 is defined 2016-04-25 06:24:06 -04:00
Jeffrey Walton 9c1c352e98 Merge pull request #161 from SutarZeev/master
Replaced special character
2016-04-25 03:39:56 -05:00
Enrico Pisko 90748eb3c2 replaced special character which caused warning C4819 with other system encoding 2016-04-25 10:16:59 +02:00
Jeffrey Walton dfac7ec28b Fix Debian 8/GCC 4.9 compile on Core2 Duo 2016-04-25 01:43:45 -04:00
Jeffrey Walton f4877218fa Updated documentation 2016-04-24 22:20:25 -04:00
Jeffrey Walton a5621a9de9 Fixed documentation typo 2016-04-24 21:01:22 -04:00
Jeffrey Walton 9e9333230c Removed unneeded asserts 2016-04-24 20:31:38 -04:00
Jeffrey Walton bf22c4575b Add CRC-32C using CXX and SSE4 (Issue 160) 2016-04-24 13:24:45 -04:00
Jeffrey Walton 87d81372a9 Quiet deprecated warning on some library source files. The warning is intended to help users, not the library 2016-04-24 01:51:39 -04:00
Jeffrey Walton 02c20bbaec Add test vectors to filelist 2016-04-24 00:32:11 -04:00
Jeffrey Walton d83e4a0704 Add comment on test vectors used for CRYPTOPP_USE_FIPS_202_SHA3 2016-04-24 00:03:21 -04:00
Jeffrey Walton 78144f3f42 Add test case for CRYPTOPP_USE_FIPS_202_SHA3 2016-04-24 00:00:32 -04:00
Jeffrey Walton 3ee10576bb Make test program aware of CRYPTOPP_USE_FIPS_202_SHA3, use alternate all.txt 2016-04-23 23:34:48 -04:00
Jeffrey Walton 7b1d3a7d71 Add missing short test vectors 2016-04-23 23:01:16 -04:00
Jeffrey Walton 01d137155c Add SHA3/FIPS 202 test vectors. Add note to config.h on uncommenting sha3_fips_202.txt when defining CRYPTOPP_USE_FIPS_202_SHA3 2016-04-23 21:55:47 -04:00