Jeffrey Walton
bf717f47e6
Reduce C++ file scope class objects
...
Update comments and documentation
2017-11-12 11:55:57 -05:00
Jeffrey Walton
3cfbe66c82
Update documentation
2017-10-01 09:32:07 -04:00
Jeffrey Walton
bbc6ea5355
Comments, constants and whitespace
2017-09-30 06:19:28 -04:00
Jeffrey Walton
abc92b2e74
Updated documentation
2017-09-30 04:52:50 -04:00
Jeffrey Walton
e92eb31690
Update StreamTransformation and ProcessLastBlock
...
Some authenticated encryption modes have needs that are not expressed well with MandatoryBlockSize() and MinLastBlockSize(). When IsLastBlockSpecial() returns true three things happen. First, standard block cipher padding is not applied. Second, the ProcessLastBlock() is used that provides inString and outString lengths. Third, outString is larger than inString by 2*MandatoryBlockSize(). That is, there's a reserve available when processing the last block.
The return value of ProcessLastBlock() indicates how many bytes were written to outString. A filter driving data will send outString and returned length to an AttachedTransformation() for additional processing.
2017-09-29 22:34:33 -04:00
Jeffrey Walton
9099dc0625
Update documentation
2017-09-27 06:40:05 -04:00
Jeffrey Walton
326700f6ec
Fix library version numbers
...
They were inadvertently checked-in with the SHA doc updates
2017-08-05 01:08:25 -04:00
Jeffrey Walton
d779462a38
Update documentation
2017-08-05 01:05:58 -04:00
Jeffrey Walton
3fc7b104e6
Update documentation
2017-07-28 12:35:25 -04:00
Jeffrey Walton
46993f10f4
Update documentation
2017-07-28 11:50:11 -04:00
Jeffrey Walton
2c9a3039e8
Update documentation
...
This cleanup was performed using Clang and -Wdocumentation -Wno-documentation-deprecated-sync
2017-07-27 19:15:21 -04:00
Jeffrey Walton
7ac77ca9ac
Revert "Revert "Clear Visual Studio warnings (Issue 412)""
...
This reverts commit c3871aec94 .
2017-06-02 05:18:52 -04:00
Jeffrey Walton
c3871aec94
Revert "Clear Visual Studio warnings (Issue 412)"
...
This reverts commit eb3b27a6a5 . The change broke GCC 4.8 and unknown version of Clang on OS X. UB reported the OS X break, and JW found duplicated the break on a ARM CubieTruck with GCC 4.8.
2017-06-02 05:06:56 -04:00
Jeffrey Walton
eb3b27a6a5
Clear Visual Studio warnings (Issue 412)
2017-05-30 16:37:41 -04:00
Jeffrey Walton
0cbaea0428
Add tests for Information Dispersal and Secret Sharing
2017-05-09 18:44:45 -04:00
Jeffrey Walton
6ca68e714b
Updated documentation
2017-05-08 23:25:39 -04:00
Jeffrey Walton
a33a3435f4
Remove HashFunction typedef (Issue 369)
...
This should have happened when we removed most of MAINTAIN_BACKWARDS_COMPATIBILITY artifacts.
2017-05-01 16:41:43 -04:00
Jeffrey Walton
ba904cc9da
Update algorithm list in cryptlib.h
2017-04-17 02:39:22 -04:00
Jeffrey Walton
bed31de2f6
Whitespace check-in
2017-03-17 18:31:40 -04:00
Jeffrey Walton
d8570a3435
Avoid inlining LibraryVersion (Issue 371)
2017-03-14 10:26:51 -04: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
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
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
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
79f3ab89f1
Removed remaining CRYPTOPP_MAINTAIN_BACKWARDS_COMPATIBILITY (Issue 369)
2017-01-27 06:02:58 -05:00
klemens
5a5c633073
spelling fixes
2016-12-27 18:34:57 +01:00
Jeffrey Walton
1a17ade299
Fixed version numbers
...
Version numbers are rolled back to update the docs. The rolled back versions got committed with the updated docs
2016-12-11 07:06:38 -05:00
Jeffrey Walton
99ae937d8b
Updated documentation (Issue 121)
2016-12-11 06:56:52 -05:00
Jeffrey Walton
7e42780517
Add Deterministic DSA and ECDSA Signatures (Issue 121)
...
Based on Douglas Roark PR 131
2016-12-11 01:02:00 -05:00
Jeffrey Walton
5ec9763485
Updated documentation
2016-12-03 18:17:10 -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
40230dd3bf
Removed MAINTAIN_BACKWARDS_COMPATIBILITY_562 (Issue 70)
2016-12-03 00:32:07 -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
16ffe513a4
Add Integer bitwise AND, OR and XOR (Issue 336)
2016-11-23 21:55:30 -05:00
Jeffrey Walton
1ba8142195
Guard XOR of optional xorBlock. Updated documentation
2016-11-14 03:48:21 -05:00
Jeffrey Walton
7c7cb15f36
Remove unneeded include
2016-11-12 04:23:36 -05:00
Jeffrey Walton
93a6758fd9
Updated documentation
2016-10-12 02:57:28 -04:00
Jeffrey Walton
4bee0519f5
Updated documentation
2016-10-11 19:51:15 -04:00
Jeffrey Walton
22400b2ad1
Updated documentation
2016-10-11 19:13:36 -04:00
Jeffrey Walton
4d562aaac7
Post-release version increment
2016-10-11 14:37:03 -04:00
Jeffrey Walton
399a1546de
Add CRYPTOPP_ASSERT (Issue 277, CVE-2016-7420)
...
trap.h and CRYPTOPP_ASSERT has existed for over a year in Master. We deferred on the cut-over waiting for a minor version bump (5.7). We have to use it now due to CVE-2016-7420
2016-09-16 11:27:15 -04:00
Jeffrey Walton
8a47758463
Updated documentation
2016-09-13 16:43:12 -04:00
Jeffrey Walton
aa5767cccf
Post-release version increment
2016-09-11 14:35:21 -04:00
Jeffrey Walton
3074541e92
Bump Crypto++ version number from 5.6.3 to 5.6.4
2016-09-10 02:51:54 -04:00
Jeffrey Walton
1c2c91945b
Updated documentation
2016-09-08 14:30:01 -04:00
Jeffrey Walton
fcdc845bba
Updated documentation (Issue 248)
2016-08-27 23:52:43 -04:00
Jeffrey Walton
a2f97661ec
Updated documentation
2016-04-26 17:11:50 -04:00
Jeffrey Walton
f4877218fa
Updated documentation
2016-04-24 22:20:25 -04:00
Jeffrey Walton
c8900f3992
Updated documentation
2016-04-22 00:06:50 -04:00
Jeffrey Walton
53b51331a4
Add ChaCha family of stream ciphers
2016-04-21 12:05:25 -04:00
Jeffrey Walton
2f34169149
Updated documentation
2016-04-05 21:05:13 -04:00
Jeffrey Walton
f7c67d1a59
Moved dtors to first method in class (Issue 70)
2016-02-29 11:22:11 -05:00
Jeffrey Walton
389b6fc5da
Updated documentation
2016-02-01 13:41:25 -05:00
Jeffrey Walton
2e6946381e
Updated documentation
2016-01-19 13:05:54 -05:00
Jeffrey Walton
a991b29f97
Updated documentation
2016-01-17 12:48:28 -05:00
Jeffrey Walton
56e9ad363e
Updated documentation
2016-01-17 00:18:26 -05:00
Jeffrey Walton
23f1bb1c3a
Updated documentation
2016-01-16 22:28:23 -05:00
Jeffrey Walton
25d27fffa6
Updated documentation
2016-01-15 08:54:19 -05:00
Jeffrey Walton
2b7dba4fa6
Suppressed false positives on -Wcast-align warning
2016-01-14 19:08:56 -05:00
Jeffrey Walton
17ead160bf
Updated documentation
2015-12-16 19:39:29 -05:00
Jeffrey Walton
49de6e2012
Updated documentation
2015-12-16 03:22:22 -05:00
Jeffrey Walton
d9749ce7ac
Updated documentation
2015-12-14 15:50:56 -05:00
Jeffrey Walton
d9502a6ea9
Updated documentation
2015-12-13 23:53:50 -05:00
Jeffrey Walton
298988a5b9
Crypto++ 5.6.3 check-in
2015-11-22 19:17:15 -05:00
Jeffrey Walton
62618fda97
Revert botched "Crypto++ 5.6.3 check-in". Corruption due to VMware adding garbage to the end of some source files during drag and drop from guest to host.
...
This reverts commit c454358122 .
2015-11-22 19:11:31 -05:00
Jeffrey Walton
c454358122
Crypto++ 5.6.3 check-in
2015-11-20 19:15:33 -05:00
Jeffrey Walton
b3e49d8c96
Additional documentation; fixed issues with Clang integrated assembler and different versions numbers for LLVM Clang and Apple Clang; fixed missing header in DSA class
2015-11-19 13:09:33 -05:00
Jeffrey Walton
6ac1e46a1f
Cleared issues 11,12,13 (Clang integrated assembler), 58 (RC rollup), 66 (Coverity rollup)
2015-11-18 15:32:28 -05:00
Jeffrey Walton
48809d4e85
CRYPTOPP 5.6.3 RC6 checkin
2015-11-05 01:59:46 -05:00
Jeffrey Walton
d935fd80ba
Partial cut-over to static local strings for DefaultChannel() and AadChannel(). Cout-over DEFAULT_CHANNEL and AAD_CHANNEL to use them behind the scenes
2015-07-31 08:23:53 -04:00
Jeffrey Walton
22c3e41133
Removed USING_NAMESPACE(std). Changed cout → std::cout, cerr → std::cerr, ...
2015-07-30 17:35:58 -04:00
Jeffrey Walton
77206baf56
Whitespace checkin
2015-07-30 13:07:33 -04:00
Jeffrey Walton
b7de164d62
Cut-in CRYPTOPP_ASSERT in all remaining header and source files
2015-07-26 16:03:14 -04:00
Jeffrey Walton
7b64ca489a
Added "trap.h" include for header and source files that assert
2015-07-26 15:51:16 -04:00
Jeffrey Walton
35b213c085
Cleared "unused parameter" warning with GCC 5.1 and -Wextra
2015-07-23 19:30:14 -04:00
Jeffrey Walton
981b4c9d04
Added test for 'v<0' in GetAsUIntValue
2015-07-09 05:24:10 -04:00
Jeffrey Walton
d091b803c6
Added GetAsUIntValue{WithDefault} to help manage signed/unsigned warnings. The value is still written as an signed int; but its retrieved, range checked and then returned as an unsigned int
2015-07-07 19:46:09 -04:00
weidai
2fb44ea6db
add SHA-3
...
update DSA to FIPS 186-3
update version numbers
2013-01-19 02:20:00 +00:00
weidai
045d804f9b
fix compile with GCC 4.4 and -march=i386
...
fix minor documentation issues
fix compile w/o GAS 2.19 or later
2010-08-08 23:02:36 +00:00
weidai
7adbf89681
add support for AES-NI and CLMUL instruction sets in AES and GMAC/GCM
2010-07-24 05:55:22 +00:00
weidai
954fed3d5d
update version number to 5.6.1
2010-06-29 02:48:56 +00:00
weidai
d60229a02a
fix possible race condition in Singleton::Ref()
...
tolerate double destruction of Singleton and g_nullNameValuePairs
fix #include of standard headers
2010-06-18 07:06:59 +00:00
weidai
2f070fe411
fix documentation
2009-03-15 00:51:46 +00:00
weidai
df9fe81ee0
clarify error messages
2009-03-13 02:03:27 +00:00
weidai
2779fc6050
- add EAX mode, XSalsa20
...
- speed up GCM key setup
- wipe stack in AES assembly code
- speed up CFB mode
2009-03-12 11:24:12 +00:00
weidai
8ca6148ad5
add x86/x64 assembly for SHA-256,
...
add DEFAULT_CHANNEL and AAD_CHANNEL,
fix macChannel for AuthenticatedEncryptionFilter
2009-03-10 02:56:19 +00:00
weidai
8565900724
tweaks/fixes for 5.6
2009-03-03 03:28:39 +00:00
weidai
d8a644fc4e
changes for 5.6:
...
- added AuthenticatedSymmetricCipher interface class and Filter wrappers
- added CCM, GCM (with SSE2 assembly), CMAC, and SEED
- improved AES speed on x86 and x64
- removed WORD64_AVAILABLE; compiler 64-bit int support is now required
2009-03-02 02:39:17 +00:00
weidai
994090ba9c
update version number to 5.5.2
2007-08-13 23:54:25 +00:00
weidai
ce494f5bb4
add missing virtual destructors
2007-06-01 17:29:27 +00:00
weidai
31794cbec2
update manual
2007-05-05 20:35:31 +00:00
weidai
5834ecc870
add IncorporateEntropy and GenerateIntoBufferedTransformation to RNG interface
2007-05-04 15:38:32 +00:00
weidai
2a427babae
rename STRUCTURED_IV to UNIQUE_IV. Sun CC workaround
2007-04-16 00:29:47 +00:00
weidai
43b41c1042
update version number, port to Sun C++ 5.8
2006-12-18 02:34:33 +00:00
weidai
f05ea58bb3
port to GCC 4, reorganize implementations of SetKey
2006-12-10 02:12:23 +00:00
weidai
6aacd0a0de
merge in changes by denis bider and fix compile on gcc 3.4.4 and MSVC 6
2006-04-06 21:20:25 +00:00
weidai
80a9a45ad0
add missing Ref() function
2006-03-13 13:26:26 +00:00