Jeffrey Walton
75a379593d
Updated documentation
2017-03-10 03:14:43 -05:00
Jeffrey Walton
a0bb490056
Define _XOPEN_SOURCE for Cygwin/Newlib (Issue 315)
2017-03-10 01:53:51 -05:00
Jeffrey Walton
86a45fd1ca
Suppress unneeded output in Makefiles
2017-03-09 04:01:36 -05:00
Jeffrey Walton
804feccfd9
Add TimeToString function (Issue 386)
...
This was supposed to be checked-in with ce38a411fc5324a2
2017-03-08 17:15:16 -05:00
Jeffrey Walton
ce38a411fc
Add Random Number Generator benchmarks (Issue 386)
...
Move HTML header and footer into benchmark functions
Switch to <cmath> and standard math routines
Switch to <ctime> and standard clock and time routines
Move static variable^Cinto anonymous namespace
Add TimeToString function for printing start and end times
2017-03-08 16:59:24 -05:00
Jeffrey Walton
2416c0eaf5
Switch to <cmath> and standard math routines
2017-03-08 15:55:53 -05:00
Jeffrey Walton
a72fdedfa7
Remove unneeded alloca header
2017-03-08 15:47:59 -05:00
Jeffrey Walton
448282331b
Remove HTML echo's from 'make benchmark' recipe
2017-03-08 15:45:38 -05:00
Jeffrey Walton
3f528fef1f
Add guard for RDSEED64 on 32-bit platforms (Issue 387)
...
Cleanup comments in rdrand.cpp and rdrand.asm
2017-03-08 14:09:58 -05:00
Jeffrey Walton
5b98a255f7
Add pch.obj to clean recipe
2017-03-08 12:25:21 -05:00
denisbider
111db9cf9d
WSAStringToAddress => WSAStringToAddressA
...
Issue #385
2017-03-07 20:51:00 -06:00
Jeffrey Walton
d3bcbc71da
Cutover to fastcall for MASM and X86 (Issue 387)
...
Fix "target specific option mismatch" under GCC 4.6
2017-03-07 12:57:47 -05:00
Jeffrey Walton
19df272d90
Fix output buffer cast in rdrand.cpp (Issue 388)
...
Update comments in rdrand.h
Fix compile on CentOS 5 with GCC 4.1
2017-03-07 10:01:26 -05:00
Jeffrey Walton
78823bfd0c
Add StaticAlgorithmName to select RNGs for object registry (Issue 386)
2017-03-07 04:52:37 -05:00
Jeffrey Walton
585b23d7b1
Removed test define from rdrand.cpp
...
The library should use the intrinsics if they are available. This change should have been included with Commit 14d92f9eba81191e.
2017-03-07 04:39:08 -05:00
Jeffrey Walton
14d92f9eba
Improve performance of RDRAND and RDSEED (Issue 387)
2017-03-07 03:57:23 -05:00
Jeffrey Walton
1e5d6ee8d4
Add ASM and S files to trim recipe
2017-03-07 02:48:58 -05:00
Jeffrey Walton
7f0c0fb0c0
Add ValidateBaseCode to DEBUG tests by default
2017-03-02 00:24:52 -05:00
Jeffrey Walton
ab1477c7a5
Add GCC 7 warning checks (Issue 383)
2017-03-01 23:40:47 -05:00
Jeffrey Walton
b791234b53
Remove VC++ 6.0 guard and code (Issue 342)
2017-03-01 09:11:41 -05:00
Jeffrey Walton
5efb019d8b
Add C++ nullptr support (Issue 383)
2017-03-01 06:10:06 -05:00
Jeffrey Walton
5fb2f5d45b
Remove NULL_CHANNEL and CW8 workaround (Issue 382)
2017-03-01 03:54:02 -05:00
Jeffrey Walton
0dc97f1d3a
Unroll decoder initialization (Issue 376)
2017-03-01 02:19:12 -05:00
Jeffrey Walton
62f92dd592
Change next version from 5.7 to 6.0
...
Crypto++ 5.7 was the increment after the 5.6.5 release. Crypto++ 6.0 accurately reflects compatibility
2017-02-21 12:59:20 -05:00
Jeffrey Walton
8c20630c2d
Remove extra preamble for copyright.
...
Similar text may be added in the future
2017-02-21 02:54:09 -05:00
Jeffrey Walton
73836e58a5
Add Test namespace within CryptoPP namespace (Issue 379)
2017-02-21 02:03:29 -05:00
Jeffrey Walton
11f0186fd0
Add DragonFly support to cryptest.sh
2017-02-19 22:30:02 -05:00
Jeffrey Walton
752a74404d
Merge pull request #378 from anonimal/master
...
config.h: add DragonFly BSD support
2017-02-19 03:16:46 -05:00
anonimal
8558bc519c
config.h: add DragonFly BSD support
2017-02-19 07:04:38 +00:00
Jeffrey Walton
c22f3228fb
Use NO_OS_DEPENDENCE in osrng class files (Issue 377)
...
Thanks to Mattias Linnap for raising the issue
2017-02-18 17:38:40 -05:00
Jeffrey Walton
26e2e12b6a
Fix typo
2017-02-16 20:57:31 -05:00
Jeffrey Walton
5bbdcaf243
Fix compile under MFC project
2017-02-16 20:55:02 -05:00
Jeffrey Walton
9d7c5fce55
Remove old VerifierFilter, switch to SignatureVerificationFilter
...
VerifierFilter was a typedef for SignatureVerificationFilter. The name changed at Crypto++ 5.0
Updated documentation
2017-02-07 18:51:44 -05:00
Jeffrey Walton
48b0d8ade5
Updated documentation
2017-02-07 17:13:27 -05:00
Jeffrey Walton
6511868bc8
Guard use of LibraryVersion() under MSVC (Issue 371)
2017-02-07 15:03:13 -05:00
Jeffrey Walton
a25fa00a3f
Updated documentation
2017-02-07 13:23:36 -05:00
Jeffrey Walton
2868452193
Add NIST SP800-90A HMAC_DRBG generator
...
Move bodies out-of-line
Whitespace
2017-02-07 08:51:58 -05:00
Jeffrey Walton
8e088b4865
Add W3C_PADDING to encryption path
2017-02-06 08:09:09 -05:00
Jeffrey Walton
061f272da3
Merge pull request #368 from edrlab/aes256cbc-w3c-padding-scheme
...
Support for AES-256-CBC with W3C padding scheme ( http://www.w3.org/2001/04/xmlenc#aes256-cbc )
2017-02-06 03:53:25 -05:00
Jeffrey Walton
b8adc91ce8
Add asserts to validation routines
2017-01-29 04:58:56 -05:00
Jeffrey Walton
7c7e8aa804
Fix headers and data types for cpu.cpp (Issue 362)
...
This is trickier than expected due to sporadic support for PMULL and PMULL2 among compilers
2017-01-29 03:08:19 -05:00
Jeffrey Walton
6d86e546f9
Backed off ASSERT. PKCS12_PBKDF and other classes use truncated buffers
2017-01-29 00:19:28 -05:00
Jeffrey Walton
de688a66d9
Validate Integer::Decode inputLen (Issue 346)
2017-01-28 23:17:33 -05:00
Jeffrey Walton
a49cb0861b
Add SecBlock member to track number of elements to zeroize (Issue 346)
...
By default the member, named m_mark, is set to the maximum number of elements. If SetMark() is called, then m_mark is adjusted. Upon deallocation and zeroization, STDMIN(m_size, m_mark) elements are zeroized.
We wanted to use a high water mark, but we could not track the writes to the allocation. operator[] would have been OK, but ::memcpy would have been problematic
2017-01-28 13:23:50 -05:00
Jeffrey Walton
42af35fd2b
Change to more intuitive names LibraryVersion and HeaderVersion (Issue 371)
2017-01-28 07:09:27 -05:00
Jeffrey Walton
6f7339c81b
Add BuildVersion and RuntimeVersion functions (Issue 371)
...
These function are intended to catch mining and matching of library versions. BuildVersion provides CRYPTOPP_VERSION when the shared object was built. RuntimeVersion provides CRYPTOPP_VERSION the app compiled against, which could be different than the shared object's version
2017-01-28 05:43:24 -05:00
Jeffrey Walton
e757fad5ba
Add MOVBE test. Add guard for use of C++11
2017-01-27 13:48:01 -05:00
Jeffrey Walton
81b1a18063
Change file preamble to include "originally written by Wei Dai"
...
We have made a fair number of changes, and we don't want WD to receive credit for issues he was not part of
2017-01-27 07:05:45 -05:00
Jeffrey Walton
aaf43e3f1d
Updated variable names
2017-01-27 06:31:55 -05:00
Jeffrey Walton
79f3ab89f1
Removed remaining CRYPTOPP_MAINTAIN_BACKWARDS_COMPATIBILITY (Issue 369)
2017-01-27 06:02:58 -05:00