summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-05-30Added test for asn1_copy_node()Nikos Mavrogiannopoulos2-2/+192
2014-05-30simplified and optimized asn1_der_decoding_startEnd().Nikos Mavrogiannopoulos2-372/+32
The second pass decoding is now avoided as the start and end values are cached during decoding.
2014-05-30Added check for decoding_startEnd().Nikos Mavrogiannopoulos1-0/+40
2014-05-30Simplify temporary value storage during coding.Nikos Mavrogiannopoulos1-13/+7
2014-05-30Simplify temporary value storage during decoding.Nikos Mavrogiannopoulos2-20/+16
2014-05-27doc updateNikos Mavrogiannopoulos1-0/+4
2014-05-27safe_memset: allow memset of zero bytes.Nikos Mavrogiannopoulos1-1/+1
2014-05-26removed unnecessary and wrong test.Nikos Mavrogiannopoulos1-3/+0
2014-05-26fixes in length calculation in _asn1_extract_der_octet().Nikos Mavrogiannopoulos1-2/+2
2014-05-26asn1_der_decoding_element() is no more; it is simply an alias to ↵Nikos Mavrogiannopoulos1-751/+1
asn1_der_decoding().
2014-05-25released 3.6Nikos Mavrogiannopoulos1-1/+1
2014-05-25doc updateNikos Mavrogiannopoulos1-2/+2
2014-05-22Allow a NULL value in asn1_read_value() for all types.Nikos Mavrogiannopoulos2-21/+31
2014-05-22updated TODONikos Mavrogiannopoulos1-0/+2
2014-05-22bumped versionNikos Mavrogiannopoulos2-3/+3
2014-05-22doc updateNikos Mavrogiannopoulos1-3/+2
2014-05-22doc updateNikos Mavrogiannopoulos1-1/+2
2014-05-17Reverted ltostr() changes as the cause a significant delay to the library.Nikos Mavrogiannopoulos5-7/+8
The best approach would be to eliminate the need for ltostr() completely. Added LTOSTR_MAX_SIZE, to avoid overflows.
2014-05-17Revert "simplify ltostr()"Nikos Mavrogiannopoulos2-8/+35
This reverts commit f93acf7f0a3f19692c71fc9022981b6f64ffdbc1.
2014-05-17Revert "made _asn1_ltostr() safer."Nikos Mavrogiannopoulos4-11/+13
This reverts commit 07a5adb87880f3fce80aa12121409bbf652f1b6d.
2014-05-17doc updateNikos Mavrogiannopoulos2-2/+5
2014-05-17Marked asn1_der_decoding_element() as deprecated.Nikos Mavrogiannopoulos4-2/+18
2014-05-17Use the new functions in asn1_decoding_element()Nikos Mavrogiannopoulos1-7/+5
2014-05-17Revert "asn1_der_decoding_element is just an alias of asn1_der_decoding()."Nikos Mavrogiannopoulos1-6/+761
This reverts commit a8866ebf9a62386bd24f107e8384bbbf032baa52.
2014-05-17made _asn1_ltostr() safer.Nikos Mavrogiannopoulos4-13/+11
2014-05-17safer usage of memcpy().Nikos Mavrogiannopoulos1-4/+7
2014-05-17check for zero size in time and object ids.Nikos Mavrogiannopoulos1-2/+4
2014-05-17Allow for zero strings.Nikos Mavrogiannopoulos1-4/+10
2014-05-16simplify ltostr()Nikos Mavrogiannopoulos2-35/+8
2014-05-16doc updateNikos Mavrogiannopoulos1-0/+1
2014-05-16Do not return illegal values in asn1_get_bit_der().Nikos Mavrogiannopoulos1-2/+5
2014-05-16return the correct error code in asn1_read_value_type()Nikos Mavrogiannopoulos1-16/+21
2014-05-16removed debug definitionNikos Mavrogiannopoulos1-2/+0
2014-05-16doc updateNikos Mavrogiannopoulos1-0/+1
2014-05-16use DECR_LEN() in _asn1_get_indefinite_length_string().Nikos Mavrogiannopoulos1-11/+17
2014-05-16use DECR_LEN in _asn1_get_octet_string()Nikos Mavrogiannopoulos1-2/+12
2014-05-16Fixes in _asn1_extract_der_octet() and usage of DECR_LEN().Nikos Mavrogiannopoulos1-12/+19
2014-05-16use DECR_LEN() in _asn1_extract_tag_der()Nikos Mavrogiannopoulos1-14/+14
2014-05-16simplified check for indefinite.Nikos Mavrogiannopoulos1-27/+24
2014-05-16expanded usage of DECR_LEN().Nikos Mavrogiannopoulos1-38/+131
2014-05-16simplified _asn1_get_octet_string().Nikos Mavrogiannopoulos1-10/+8
2014-05-16simplified _asn1_get_indefinite_length_string()Nikos Mavrogiannopoulos1-12/+10
2014-05-16More precise tracking of data.Nikos Mavrogiannopoulos1-48/+124
2014-05-16asn1_der_decoding_element is just an alias of asn1_der_decoding().Nikos Mavrogiannopoulos1-761/+6
This eliminates the need of massive code duplication.
2014-05-16More precise length check in _asn1_get_indefinite_length_string().Nikos Mavrogiannopoulos1-1/+1
2014-05-16Use the correct max length definition.Nikos Mavrogiannopoulos2-3/+1
2014-05-10cleaned up a bit _asn1_remove_node().Nikos Mavrogiannopoulos1-5/+9
2014-05-10prevent memset() from being optimized out.Nikos Mavrogiannopoulos2-2/+18
2014-05-05doc updateNikos Mavrogiannopoulos1-0/+3
2014-05-04Corrected an off-by-one error.Nikos Mavrogiannopoulos1-1/+1
The issue was discovered using the codenomicon TLS suite.