summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* decoding: removed redundant functionssimpler-ber-decodingNikos Mavrogiannopoulos2016-04-071-231/+151
| | | | | Simplified the STRING BER decoding by using asn1_decode_simple_ber(). This removes complex duplicate code.
* tests: added various octet string encoding/decoding testsNikos Mavrogiannopoulos2016-04-072-2/+178
| | | | This includes BER and DER decodings.
* asn1_decode_simple_ber: simplified and cleaned upNikos Mavrogiannopoulos2016-04-072-50/+79
|
* asn1_get_octet_der: doc updateNikos Mavrogiannopoulos2016-04-071-4/+6
|
* tests: removed non-existant file from MakefileNikos Mavrogiannopoulos2016-04-071-1/+1
|
* _asn1_extract_der_octet: properly account the bytes read through indefinite ↵Nikos Mavrogiannopoulos2016-04-061-4/+8
| | | | | | | encodings This prevents infinite recursions in the function loop. Reported by Pascal Cuoq.
* tests: corrected invalid input to asn1DecodingNikos Mavrogiannopoulos2016-04-052-2/+2
|
* tests: enhance the test suite with more invalid X.509 inputNikos Mavrogiannopoulos2016-04-0538-3/+26
| | | | The input was provided by Pascal Cuoq.
* libtasn1.h: updated for 4.8Nikos Mavrogiannopoulos2016-04-041-1/+1
|
* tests: avoid errors on known memory leaks from _asn1_add_static_nodeNikos Mavrogiannopoulos2016-04-042-1/+4
|
* document the global state issueNikos Mavrogiannopoulos2016-04-041-0/+2
|
* tests: added missing decoding-infNikos Mavrogiannopoulos2016-04-041-0/+34
|
* bumped versionNikos Mavrogiannopoulos2016-04-041-2/+2
|
* doc updateNikos Mavrogiannopoulos2016-04-041-1/+2
|
* _asn1_extract_der_octet: catch invalid input cases earlyNikos Mavrogiannopoulos2016-04-041-1/+8
| | | | | | That is, check the calculated lengths for validity prior to entering a loop. This avoids an infinite recursion. Reported by Pascal Cuoq.
* tests: added check on infinite recursionNikos Mavrogiannopoulos2016-04-042-2/+2
|
* Simplify _asn1_append_value() and avoid memcpy's with zero lengthNikos Mavrogiannopoulos2016-04-041-9/+19
| | | | Based on patch of Pascal Cuoq <pascal.cuoq@trust-in-soft.com>
* use a safer variant of reallocNikos Mavrogiannopoulos2016-04-043-4/+20
| | | | | This variant does not create memory leaks if allocation fails. Report and initial patch by Pascal Cuoq.
* decoding: improved tail cache in _asn1_append_sequence_setNikos Mavrogiannopoulos2016-04-043-16/+27
| | | | | We keep the head node in addition to the tail information to allow easier deduction of the validity of the cache.
* fixed incorrect parameter to _asn1_append_sequence_set()Nikos Mavrogiannopoulos2016-04-031-1/+1
| | | | | This was uncovered by the previous revert, and seemed working due to the optimization semantics.
* Revert "optimized _asn1_find_up()."Nikos Mavrogiannopoulos2016-04-037-51/+38
| | | | | | | This reverts commit 4010bb04588fca86a9f6d683b637c05b4cec24e0. This optimization did not offer much benefit and there may be corner cases in the internal structure handling that may not be possibly to handle with this optimization.
* doc updateNikos Mavrogiannopoulos2016-04-031-0/+4
|
* %x expects an unsigned int, but unsigned char is promoted to intPascal Cuoq2016-04-031-5/+5
|
* .gitlab-ci.yml: added libubsan buildsNikos Mavrogiannopoulos2016-02-291-0/+8
|
* coding: Fixes to prevent undefined behavior (found with libubsan)Nikos Mavrogiannopoulos2016-02-291-3/+5
|
* .gitlab-ci.yml: don't build documentationNikos Mavrogiannopoulos2016-02-291-2/+2
|
* configure: added --disable-docNikos Mavrogiannopoulos2016-02-292-1/+10
| | | | This allows to conditionally build the documentation
* Added .gitlab-ci.ymlNikos Mavrogiannopoulos2016-02-291-0/+12
|
* der_coding: always null terminate errorDescriptionNikos Mavrogiannopoulos2016-01-081-0/+3
|
* asn1_array2tree: always null terminate errorDescriptionNikos Mavrogiannopoulos2016-01-081-0/+2
|
* doc enhanced the asn1Coding exampleNikos Mavrogiannopoulos2015-09-181-3/+16
|
* asn1Coding: Allow handling NULL valuesNikos Mavrogiannopoulos2015-09-181-1/+6
|
* libtasn1.h updated versionlibtasn1_4.7Nikos Mavrogiannopoulos2015-09-141-1/+1
|
* bumped versionNikos Mavrogiannopoulos2015-09-141-2/+2
|
* doc updateNikos Mavrogiannopoulos2015-09-141-1/+1
|
* doc updateNikos Mavrogiannopoulos2015-09-141-0/+4
|
* tests: added check for EXPLICIT encoding of tagged valuesNikos Mavrogiannopoulos2015-09-142-0/+9
| | | | This catches the regression introduced by multi-byte tags fix.
* corrected regression in multi-byte tag handlingNikos Mavrogiannopoulos2015-09-141-12/+21
| | | | That is don't treat the explicit tag as part of the inner tag.
* updated for 4.6libtasn1_4_6Nikos Mavrogiannopoulos2015-09-054-6/+8
|
* don't export asn1_get_time_derNikos Mavrogiannopoulos2015-06-204-31/+15
|
* doc updateNikos Mavrogiannopoulos2015-06-081-0/+1
|
* tests: added encoding and decoding check with multi-byte tagsNikos Mavrogiannopoulos2015-06-083-1/+27
|
* Allow decoding octet strings with multi-byte tagsNikos Mavrogiannopoulos2015-06-081-3/+12
| | | | Report and initial patch by Tomas Petrilak.
* simplified asn1_get_time_derNikos Mavrogiannopoulos2015-06-082-18/+31
|
* doc updateNikos Mavrogiannopoulos2015-06-021-0/+1
|
* export asn1_get_time_der()Nikos Mavrogiannopoulos2015-06-023-6/+23
|
* doc updateNikos Mavrogiannopoulos2015-06-021-0/+4
|
* export asn1_get_object_id_derNikos Mavrogiannopoulos2015-06-022-4/+21
|
* enforce type checks in asn1_decode_simple_der and berNikos Mavrogiannopoulos2015-06-022-7/+9
|
* released 4.5libtasn1_4_5Nikos Mavrogiannopoulos2015-04-291-1/+1
|