Jeffrey Walton
d8570a3435
Avoid inlining LibraryVersion (Issue 371)
2017-03-14 10:26:51 -04:00
Jeffrey Walton
f9773d2961
Updated RDRAND and RDSEED under NASM
...
Port rdrand.S to Solaris
Port rdrand.S to X32
The X32 port is responsible for the loop unwinding. The unwind generates a 32-byte block (X64 and X32) or 16-byte block (X86). On X32, it increases throughut by 100% (doubles it). On X86 and X64, throughput increases by about 6%. Anything over 4 machine words slows things down.
2017-03-14 06:07:37 -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
Jeffrey Walton
2b4ec92dbe
Remove style from TABLE tag for benchmarks
2017-03-12 09:30:16 -04:00
Jeffrey Walton
c2efbae80a
Add AES/OFB RNG benchmark
2017-03-11 15:56:55 -05:00
Jeffrey Walton
76377f8219
Whitespace checkin
2017-03-11 15:55:44 -05:00
Jeffrey Walton
ef7a6a2f4e
Speedup Hash_DRBG and HMAC_DRBG
...
Add benchmarks for SHA1 and SHA256 variants
Hash_DRBG sped-up by about 2 MiB/s by using word128 and word64 in the initial update loop. It did not benefit other loops
HMAC_DRBG sped-up by about 5 MiB/s by reworking variables, access and loop control
2017-03-11 08:10:32 -05:00
Jeffrey Walton
006ca5f860
Updated documentation
2017-03-11 01:42:06 -05:00
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 ce38a411fc
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 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