summaryrefslogtreecommitdiff
path: root/asn.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Make bt const in BERDecodePeekLengthJeffrey Walton2019-10-081-1/+1
|
* Update documentationJeffrey Walton2019-10-051-1/+0
|
* Remove double semicolons after sed'ing definesJeffrey Walton2019-10-031-1/+1
| | | | Also see https://github.com/weidai11/cryptopp/issues/889
* Clear unreachable code warnings with early MSVC compilersJeffrey Walton2019-10-031-3/+3
|
* Add BytePtr and ConstBytePtr overloads for SecByteBlock (GH #890)Jeffrey Walton2019-10-031-5/+6
|
* Fix Travis build on OS XJeffrey Walton2019-09-301-4/+9
|
* Fix compile error due to missing BytePtr overloadJeffrey Walton2019-09-291-4/+4
| | | | This is a local change on a testing fork. It is not tested for Master yet.
* Add DEREncodeTextString overloadJeffrey Walton2019-09-291-5/+17
|
* Add ASN.1 Date type supportJeffrey Walton2019-09-291-2/+63
|
* Update BERDecodeTextStringJeffrey Walton2019-09-291-6/+14
|
* Remove copy ctor from DERGeneralEncoder and BERGeneralDecoderJeffrey Walton2019-07-011-11/+0
| | | | 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
* Cleanup BERGeneralDecoder constructorsJeffrey Walton2019-06-091-8/+8
| | | | For real this time...
* Cleanup BERGeneralDecoder constructorsJeffrey Walton2019-06-091-4/+4
|
* Revert changes for lgtm findingsJeffrey Walton2019-06-091-8/+8
| | | | This broke SunCC to the point of no repair. SunCC is using AVX2 instructions for C++ and SSE2. Man this compiler sucks...
* Clear lgtm findingsJeffrey Walton2019-06-081-8/+8
| | | | We did some refactoring and added sse_simd.h. Over time more SSE functions will likely move into sse_simd.h
* Cleanup ASN.1 encoders and decoders (GH #851)Jeffrey Walton2019-06-041-0/+22
|
* Order of initialization for ASN.1 decodersJeffrey Walton2018-04-061-4/+2
|
* Clear uninitialized variable warnings under xlCJeffrey Walton2017-09-011-2/+2
|
* Cleared fall through warnings under GCC 7 (Issue 441)Jeffrey Walton2017-07-171-4/+6
|
* Guard string assignmentJeffrey Walton2017-03-191-1/+4
| | | | Visual Studio 2005 fired an assert on the negative self tests because the SecByteBlock was 0-sized and returned a null pointer.
* Add Test namespace within CryptoPP namespace (Issue 379)Jeffrey Walton2017-02-211-1/+1
|
* Change file preamble to include "originally written by Wei Dai"Jeffrey Walton2017-01-271-1/+1
| | | | We have made a fair number of changes, and we don't want WD to receive credit for issues he was not part of
* spelling fixesklemens2016-12-271-1/+1
|
* Add additional validations based on X.690 rulesJeffrey Walton2016-12-241-5/+6
| | | | | | 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
* Fix possible DoS in ASN.1 decoders (CVE-2016-9939)Gergely Nagy2016-12-141-0/+10
|
* Add CRYPTOPP_ASSERT (Issue 277, CVE-2016-7420)Jeffrey Walton2016-09-161-3/+3
| | | | 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
* Whitespace checkinJeffrey Walton2016-09-101-3/+3
|
* remove unwanted assertThomas Guyard2016-03-031-2/+2
|
* CRYPTOPP 5.6.3 RC6 checkinJeffrey Walton2015-11-051-602/+606
|
* Removed USING_NAMESPACE(std). Changed cout → std::cout, cerr → ↵Jeffrey Walton2015-07-301-1/+0
| | | | std::cerr, ...
* Cut-in CRYPTOPP_ASSERT in all remaining header and source filesJeffrey Walton2015-07-261-1/+1
|
* Added "trap.h" include for header and source files that assertJeffrey Walton2015-07-261-0/+1
|
* Cleared "Base class ‘class ByteQueue’ should be explicitly initialized ↵Jeffrey Walton2015-07-251-2/+2
| | | | in the copy constructor" warning under GCC 5.1 with -Wextra
* Cleared "unused parameter" warning with GCC 5.1 and -WextraJeffrey Walton2015-07-231-4/+4
|
* Cleared -Wmaybe-uninitialized under GCC 5.1Jeffrey Walton2015-07-191-1/+3
|
* Cleared unused variable and function warningsJeffrey Walton2015-07-191-0/+3
|
* small optimizationWei Dai2015-06-031-1/+1
| | | | no need to use resize here, which copies old content
* check for integer overflow in OID::DecodeValue()weidai2010-06-181-0/+2
|
* fix bug decoding optional parametersweidai2007-04-161-1/+1
|
* update version number, port to Sun C++ 5.8weidai2006-12-181-4/+4
|
* port to MSVC .NET 2005 beta 2weidai2005-07-121-38/+43
|
* fix encoding/decoding of optional attributesweidai2004-06-191-7/+36
|
* create DLL version, fix GetNextIV() bug in CTR and OFB modesweidai2003-07-041-0/+5
|
* Initial revisionweidai2002-10-041-0/+556