Commit Graph

52 Commits

Author SHA1 Message Date
Jeffrey Walton
ac6987f3ae
Use \return and \throw consitently in the docs 2020-12-07 23:35:10 -05:00
Jeffrey Walton
0968bb53c2
Update documentation 2019-10-28 15:33:36 -04:00
Jeffrey Walton
85ecff4609
Make bt const in BERDecodePeekLength 2019-10-08 07:41:01 -04:00
Jeffrey Walton
dd1c8a5b24
Update documentation 2019-10-07 20:07:32 -04:00
Jeffrey Walton
a55cfcbf8b
Update documentation 2019-10-05 18:25:10 -04:00
Jeffrey Walton
f5c817221b Update documentation 2019-10-01 20:07:02 -04:00
Jeffrey Walton
f117c61d07 Update documentation 2019-10-01 19:47:47 -04:00
Jeffrey Walton
1b8045def0 Update documentation 2019-10-01 19:23:29 -04:00
Jeffrey Walton
93657b074a Update documentation 2019-10-01 02:59:27 -04:00
Jeffrey Walton
6687baf7ba Add OID operator<= and operator>=
I thought the compiler was supposed to deduce these from operator== and operator<, but not for GCC 7.2
2019-10-01 02:09:43 -04:00
Jeffrey Walton
fa6181f950 Add additional ASN.1 string types 2019-09-30 23:39:29 -04:00
Jeffrey Walton
42044d5095 Fix Travis build on OS X 2019-09-30 03:32:09 -04:00
Jeffrey Walton
e4b25dcffe Fix compile error due to missing BytePtr overload
This is a local change on a testing fork. It is not tested for Master yet.
2019-09-29 23:54:04 -04:00
Jeffrey Walton
2656798bf1 Update documentation 2019-09-29 23:43:56 -04:00
Jeffrey Walton
d850788574 Add DEREncodeTextString overload 2019-09-29 23:28:30 -04:00
Jeffrey Walton
db22c6ce50 Add ASN.1 Date type support 2019-09-29 22:56:12 -04:00
Jeffrey Walton
7a927b4d82 Update BERDecodeTextString 2019-09-29 15:09:25 -04:00
Jeffrey Walton
1190da17ea Avoid circular dependency using AlignedAllocate (GH #885) 2019-09-28 18:22:11 -04:00
Jeffrey Walton
54e39a7bcd Update documentation 2019-09-28 03:57:21 -04:00
Jeffrey Walton
445ec61125
Remove copy ctor from DERGeneralEncoder and BERGeneralDecoder
GCC was giving too many warnings at -Wextra. We also could not comply with Rule of 3 because it resulted in compile failures in C++98 and C++03
2019-07-01 13:29:46 -04:00
Jeffrey Walton
198b081df5
Add assert to RemainingLength member function 2019-06-04 09:29:01 -04:00
Jeffrey Walton
a644008679
Cleanup ASN.1 encoders and decoders (GH #851) 2019-06-04 02:49:16 -04:00
Jeffrey Walton
d62674b561
Add ed25519 (GH #764, PR #767)
Add ed25519
2018-12-24 17:17:32 -05:00
Jeffrey Walton
64a15cf51b
Order of initialization for ASN.1 decoders 2018-04-06 02:29:08 -04:00
Jeffrey Walton
c27d3a9442
Make ASN.1 decoder m_values protected 2018-04-03 17:32:56 -04:00
Jeffrey Walton
61ec50dabe
Change Doxygen comment style from //! to ///
Also see https://groups.google.com/forum/#!topic/cryptopp-users/A7-Xt5Knlzw
2017-11-29 10:54:33 -05: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
5efb019d8b
Add C++ nullptr support (Issue 383) 2017-03-01 06:10:06 -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
b19332a69f
Add additional validations based on X.690 rules
The library was a tad bit fast and loose with respect to parsing some of the ASN.1 presented to it. It was kind of like we used Alternate Encoding Rules (AER), which was more relaxed than BER, CER or DER. This commit closes most of the gaps.

The changes are distantly related to Issue 346. Issue 346 caught a CVE bcause of the transient DoS. These fixes did not surface with negative effcts. Rather, the library was a bit too accomodating to the point it was not conforming
2016-12-24 04:55:21 -05:00
Gergely Nagy
3d9181d7bd Fix possible DoS in ASN.1 decoders (CVE-2016-9939) 2016-12-14 13:19:01 +01: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
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
894874fe75 Whitespace checkin 2016-09-10 04:57:48 -04:00
Jeffrey Walton
f4d8b054b3 Updated documentation 2016-04-20 19:03:46 -04:00
Jeffrey Walton
a20192a0ce Updated documentation 2016-04-08 17:34:15 -04:00
Jeffrey Walton
bd4df8f983 Updated documentation 2016-04-08 04:23:42 -04:00
Jeffrey Walton
198ae5a518 Updated documentation 2016-04-08 01:51:21 -04: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
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
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
43b41c1042 update version number, port to Sun C++ 5.8 2006-12-18 02:34:33 +00:00
weidai
1db8ea5084 port to MSVC .NET 2005 beta 2 2005-07-12 04:23:32 +00:00
weidai
b3924f2108 changes done for FIPS-140 lab code drop 2005-01-20 04:19:35 +00:00
weidai
393ae4859a fix documentation, fix PanamaMAC, fix algorithm names 2004-07-22 00:51:57 +00:00
weidai
40a5b80a45 fix encoding/decoding of optional attributes 2004-06-19 08:26:29 +00:00
weidai
f278895908 create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00