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 14d92f9eba .
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
danielweck
46a9323d19
patched CryptoPP Crypto++ to add support for AES-256-CBC with W3C padding scheme (based on https://github.com/readium/readium-lcp-client/pull/26 )
2017-01-24 16:43:10 +00:00
Jeffrey Walton
d4c247a1fd
Add MOVBE support
...
MOVBE is a modest gain over BSWAP. Though its guarded by CRYPTOPP_MOVBE_AVAILABLE, we cannot detect availability with a preprocessor macro. That is, GCC does not provide __MOVBE__ or similar. It has to be enabled manually
2017-01-24 04:26:00 -05:00
Jeffrey Walton
3dbf6e785c
Removed debug instrumentation
2017-01-23 21:33:23 -05:00
Jeffrey Walton
81669590d5
Update documentation
...
Added additional asserts
2017-01-23 19:25:06 -05:00
Jeffrey Walton
a6105c5417
Clear MSVC warning "warning C4189: 'params': local variable is initialized but not referenced"
2017-01-23 04:35:30 -05:00
Jeffrey Walton
23fbba488d
Add BLAKE2B_ and BLAKE2S_ prefix to macros, remive \#undef's
2017-01-22 22:44:35 -05:00
Jeffrey Walton
12978bc6ea
Use ASCII character for comment
2017-01-22 20:53:50 -05:00
Jeffrey Walton
14f5305c92
VEXT_8 -> VEXT_U8
2017-01-22 20:53:19 -05:00
Jeffrey Walton
6e1a021511
Comments and whitespace (Issue 367)
2017-01-22 13:34:50 -05:00
Jeffrey Walton
9dd2744419
Disable NEON for Cortex-A53 and A57 processors (Issue 367)
2017-01-22 13:18:35 -05:00
Jeffrey Walton
0f83589852
Comments and whitespace checkin
2017-01-20 21:33:27 -05:00
Jeffrey Walton
f2132a81c1
Comments and whitespace checkin
2017-01-20 19:41:20 -05:00
Jeffrey Walton
74328f93a8
Fix "error: impossible constraint in asm" under Aarch64 (Issue 366)
2017-01-20 18:48:11 -05:00