summaryrefslogtreecommitdiff
path: root/lib/decoding.c
AgeCommit message (Expand)AuthorFilesLines
2014-03-14Handle recursive CHOICEs.Nikos Mavrogiannopoulos1-3/+8
2014-03-14Use special function for common usage of _asn1_extract_tag_der().Nikos Mavrogiannopoulos1-56/+41
2013-03-24Fix syntax-check warnings.Simon Josefsson1-1/+1
2013-03-24Indent code.Simon Josefsson1-72/+75
2013-03-24Silence warnings.Simon Josefsson1-5/+3
2013-01-01More precise overflow checks using gnulib's intprops module.Nikos Mavrogiannopoulos1-34/+44
2012-11-24some simplifications in time handlingNikos Mavrogiannopoulos1-1/+1
2012-11-24Introduced ASN1_ETYPE_UTC_TIME and ASN1_ETYPE_GENERALIZED_TIMENikos Mavrogiannopoulos1-18/+12
2012-11-23simplified and renamed asn1_encode_string_der() and asn1_decode_string_der()Nikos Mavrogiannopoulos1-16/+14
2012-11-23renamed typesNikos Mavrogiannopoulos1-32/+32
2012-11-23Added asn1_decode_string_der() and asn1_encode_string_der().Nikos Mavrogiannopoulos1-4/+59
2012-11-22small simplificationsNikos Mavrogiannopoulos1-1/+2
2012-11-22Added more ASN.1 string types and several simplifications.Nikos Mavrogiannopoulos1-176/+123
2012-10-11Renamed structures.Nikos Mavrogiannopoulos1-19/+19
2012-10-06asn_ -> asn1_Nikos Mavrogiannopoulos1-19/+19
2012-10-06Set the error description to null initialy.Nikos Mavrogiannopoulos1-0/+3
2012-10-01Renamed types.Nikos Mavrogiannopoulos1-32/+32
2012-10-01asn1_retCode -> intNikos Mavrogiannopoulos1-11/+11
2012-09-23small optimizations to avoid recalculation of hashes when copying nodes.Nikos Mavrogiannopoulos1-2/+2
2012-09-20Some small optimizations and better checking of tree accesses.Nikos Mavrogiannopoulos1-4/+17
2012-09-12name is now a statically allocated string and other optimizations.Nikos Mavrogiannopoulos1-3/+3
2012-05-31Fix syntax-check warnings.Simon Josefsson1-2/+2
2012-05-31Silence compiler warnings about unsigned vs signed comparisons.Simon Josefsson1-6/+7
2012-04-06long is always signed.Nikos Mavrogiannopoulos1-2/+2
2012-04-01Simplified the overflow tests by using unsigned int numbers, suggested by Nie...Nikos Mavrogiannopoulos1-49/+31
2012-03-31Added overflow detection that does not depend on specific compiler, and asn1_...Nikos Mavrogiannopoulos1-13/+44
2012-03-19Indent code.Simon Josefsson1-46/+46
2012-03-14Simplify overflow check.Simon Josefsson1-72/+34
2012-03-13for some reason the tot < 0 test wasn't successful on negative results. Repla...Nikos Mavrogiannopoulos1-2/+2
2012-03-13reverted to the old ABI.Nikos Mavrogiannopoulos1-56/+69
2012-03-13check for overflowsNikos Mavrogiannopoulos1-4/+6
2012-03-13int is signed.Nikos Mavrogiannopoulos1-5/+5
2012-03-13Added asn1_get_length_der_checked() to put some of the common checks in a sin...Nikos Mavrogiannopoulos1-51/+54
2012-03-13cleanups in asn1_der_decoding_element().Nikos Mavrogiannopoulos1-66/+111
2012-03-13API is based on integers instead of long to prevent errors in systems where s...Nikos Mavrogiannopoulos1-3/+3
2012-03-13asn1_get_length_der() may handle up to signed long values.Nikos Mavrogiannopoulos1-1/+1
2012-03-13better cleanup in decoding.Nikos Mavrogiannopoulos1-58/+104
2012-01-23Bump copyright years.Simon Josefsson1-2/+1
2011-11-20Silence warnings.Simon Josefsson1-13/+13
2011-10-25Remove unused variable.Simon Josefsson1-2/+1
2011-01-08Update copyright years.Simon Josefsson1-1/+1
2010-04-13Indent code.Simon Josefsson1-10/+14
2010-04-13Indent examples. Fix syntax-check warnings.Simon Josefsson1-2/+2
2010-03-16Doc fixes.Simon Josefsson1-51/+28
2010-03-16Doc fixes.Simon Josefsson1-41/+22
2010-02-17Improve GTK-DOC comments.Simon Josefsson1-125/+120
2010-01-11Merge Fabio and Nikos copyrights to the FSF, both have signed papers.Simon Josefsson1-3/+2
2010-01-11Update copyright notices.Simon Josefsson1-2/+3
2010-01-10Typos: sructure, stucture. There is no function named create_stucture, but on...Andreas Metzler1-4/+4
2009-07-26more careful decoding of OID.Nikos Mavrogiannopoulos1-6/+37