Commit Graph

2419 Commits (b8adc91ce888b94505f383101ed3a2b06e4a70a2)

Author SHA1 Message Date
Jeffrey Walton a274a64058
Fix compile under Visual Studio .Net (Issue 342) 2016-12-03 18:44:48 -05:00
Jeffrey Walton 5ec9763485
Updated documentation 2016-12-03 18:17:10 -05:00
Jeffrey Walton 1b16a75352
Updated documentation (Issue 328) 2016-12-03 17:07:43 -05:00
Jeffrey Walton 7cc8ad1a1d
Updated documentation (Issue 328) 2016-12-03 14:46:52 -05:00
Jeffrey Walton d45763a7ae
Removed CRYPTOPP_DISABLE_X86ASM macro (Issue 70) 2016-12-03 05:16:23 -05:00
Jeffrey Walton ba75834ae9
Removed VC++ 5.0 and 6.0 workarounds (Issue 342) 2016-12-03 05:05:56 -05:00
Jeffrey Walton bded4d385f
Commented typedef guarded by CRYPTOPP_MAINTAIN_BACKWARDS_COMPATIBILITY
The typedefs were only commented so folks could search for a missing symbol, like Crypto++ 4.0 PK_FixedLengthEncryptor or PK_FixedLengthDecryptor
This is a distinct change from CRYPTOPP_MAINTAIN_BACKWARDS_COMPATIBILITY_562
2016-12-03 00:58:54 -05:00
Jeffrey Walton f06c968b62
Fix member function already defined under Win32 (Issue 70) 2016-12-03 00:44:44 -05:00
Jeffrey Walton 40230dd3bf
Removed MAINTAIN_BACKWARDS_COMPATIBILITY_562 (Issue 70) 2016-12-03 00:32:07 -05:00
Jeffrey Walton 6eb2792bc2
Silence select conversion warnings (Issue 340) 2016-12-02 14:47:31 -05:00
Jeffrey Walton 3fff6251aa
Fix anachronism warning for *_HashBlocks functions under Win64 2016-12-02 00:41:13 -05:00
Jeffrey Walton b896c13bcb
Fix missing __fastcall for *_HashBlocks functions under Win32 2016-12-02 00:25:58 -05:00
Jeffrey Walton c8b910aff5
Backed-off automatically setting CRYPTOPP_BOOL_SSE_SHA_INTRINSICS_AVAILABLE due to bad interaction with '-march=x86-64'. Disgorge SSE2 implementation from CXX implementation 2016-12-01 23:35:13 -05:00
Jeffrey Walton 406bec8fc7
Backed-off assert for poly1305.cpp in Debug builds 2016-12-01 21:52:01 -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 50f0c84ea0
Fix "X86_SHA256_HashBlocks was not declared in this scope" when using CRYPTOPP_DISABLE_ASM 2016-12-01 19:00:24 -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
Jeffrey Walton 1491b48691
Add Intel SHA extension specialized tests 2016-12-01 16:51:39 -05:00
Jeffrey Walton cce56d3f79
Add Intel SHA1 extension support (Issue 139) 2016-12-01 15:05:41 -05:00
Jeffrey Walton 315b4b0b3e
Add Intel SHA256 code generation tests (Issue 139) 2016-12-01 15:04:50 -05:00
Jeffrey Walton 764ae95e45
Add full NIST SHA test vector suite for use with 'cryptest.exe tv' 2016-12-01 12:57:15 -05:00
Jeffrey Walton 70d7297559 Merge pull request #339 from ralphtandetzky/master
Fix: GCC warning "type qualifiers ignored on function return type".
2016-12-01 09:56:39 -05:00
Ralph Tandetzky 35a2ef10a2 Fix: GCC warning "type qualifiers ignored on function return type".
This pedantic message appeared all over the code. Also removed one warning about an unused variable in release build.
2016-12-01 15:37:04 +01:00
Jeffrey Walton 7ab9b00f90
Add Intel SHA1 extension support 2016-12-01 00:49:59 -05:00
Jeffrey Walton 6970ef702d
Add Intel SHA1 code generation tests 2016-11-30 21:13:45 -05:00
Jeffrey Walton 8af3937728
Updated documentation 2016-11-28 10:37:28 -05:00
Jeffrey Walton 4ee9fe3acc
Renamed ProcessBlocks → HashBlocks. Updated comments and documentation 2016-11-28 09:51:54 -05:00
Jeffrey Walton 6c9deef853
Updated documentation. Whitespace 2016-11-27 20:09:55 -05:00
Jeffrey Walton 7b36f81dc5
Updated documentation. Whitespace 2016-11-27 18:54:09 -05:00
Jeffrey Walton 484da03c7b
Add Poly1305 class to project files (Issue 338) 2016-11-27 16:56:57 -05:00
Jeffrey Walton 390b87507d
Updated documentation 2016-11-27 16:17:06 -05:00
Jeffrey Walton 62e99837e8
Add Poly1305 class (Issue 338) 2016-11-27 15:31:50 -05:00
Jeffrey Walton ccef9149af
Switch from WordCount() to reg.size() for bitops
This avoids a potential problem when OR'ing with 0 that results in a WordCount() of 1. Integer's minimum reg[] size is 2 due to RoundupSize(), and there could be implicit assumptions for the minimum that did not surface under testing
2016-11-26 00:56:02 -05:00
Jeffrey Walton beb9df9d9e
Switch from WordCount() to reg.size() for bitops
This avoids a potential problem when OR'ing with 0 that results in a WordCount() of 1. Integer's minimum reg[] size is 2 due to RoundupSize(), and there could be implicit assumptions for the minimum that did not surface under testing
2016-11-26 00:51:27 -05:00
Jeffrey Walton 16ffe513a4
Add Integer bitwise AND, OR and XOR (Issue 336) 2016-11-23 21:55:30 -05:00
Jeffrey Walton 6d898321e4
Fix cryptest-symbols.sh to account for bench.cpp rename (Issue 337) 2016-11-23 15:17:46 -05:00
Jeffrey Walton 3fc97d2bff
Updated documentation 2016-11-19 04:40:07 -05:00
Jeffrey Walton cb7dbd32ec
Updated documentation 2016-11-17 09:16:09 -05:00
Jeffrey Walton 1694193101
Make StaticGetValidKeyLength constexpr in seckey.h 2016-11-15 04:15:17 -05:00
Jeffrey Walton 2b736bc6f1
Fix "deprecated conversion from string constant to ‘char*’" 2016-11-14 19:45:08 -05:00
Jeffrey Walton 7223bbc119
Add /MACHINE option for linker 2016-11-14 05:32:58 -05:00
Jeffrey Walton 1ba8142195
Guard XOR of optional xorBlock. Updated documentation 2016-11-14 03:48:21 -05:00
Jeffrey Walton f7df2de284
Switch to PutWord for rdrand.cpp 2016-11-14 02:21:02 -05:00
Jeffrey Walton ea1157d8f5
Macro cleanup under Visual Studio .Net 2016-11-14 01:23:12 -05:00
Jeffrey Walton ef47a5c148
Selectively add <sdkddkver.h> and <winapifamily.h> to cryptest.nmake 2016-11-13 16:18:41 -05:00
Jeffrey Walton 76b11b010c
Add CRYPTOPP_STATIC_CONSTEXPR macro 2016-11-13 11:50:34 -05:00
Jeffrey Walton 5be05bce07
Add CC clobber to cpuid call
This should not be needed, but it does not hurt. According to Ian Lance Taylor (http://gcc.gnu.org/ml/gcc-help/2014-02/msg00023.html), the CC clobber causes GCC to forget its internal representation of flag state. It should not be needed for cpuid. However, Clang has some odd behave in a couple of versions of its compiler when using cpuid. Both JW and UB experienced it on separate occassions.
2016-11-13 11:14:03 -05:00
Jeffrey Walton 61aa62bd8f
Add CRYPTOPP_STATIC_CONSTEXPR 2016-11-12 09:34:34 -05:00
Jeffrey Walton 9993ffe200
Updated documentation 2016-11-12 09:05:39 -05:00
Jeffrey Walton 10c96e5a95
Updated documentation 2016-11-12 08:45:13 -05:00