aboutsummaryrefslogtreecommitdiff
path: root/crypto/asn1
AgeCommit message (Expand)AuthorFilesLines
2022-09-23Add int64 ASN1_INTEGER setters too.David Benjamin2-3/+16
2022-09-06Add ASN1_INTEGER_get_int64 and ASN1_ENUMERATED_get_int64.David Benjamin2-23/+54
2022-08-02Remove stale comment.David Benjamin1-2/+0
2022-07-30Replace OPENSSL_STATIC_ASSERT with static_assert.David Benjamin1-2/+2
2022-07-29Make time_t conversions. Give up on the OS provided ones.Bob Beck6-230/+351
2022-07-07Tidy up ASN1_GENERALIZEDTIME_adj and ASN1_UTCTIME_adj.David Benjamin2-77/+46
2022-07-07Check for invalid UCS-2 and UTF-32 in ASN1_STRING_print_ex.David Benjamin4-178/+44
2022-07-07Check Unicode string encodings in crypto/asn1.David Benjamin2-11/+101
2022-06-25Remove some unnecessary NULL checks.David Benjamin3-5/+3
2022-06-25Reimplement ASN1_TIME_print with the new parser.David Benjamin2-136/+57
2022-06-23Set is_first and is_last correctly with ASN1_STRFLGS_UTF8_CONVERT.David Benjamin2-5/+4
2022-06-22Remove unnecessary parens on return.David Benjamin11-41/+41
2022-06-22Run convert_comments.go on the recently-converted filesDavid Benjamin21-622/+522
2022-06-22Re-run clang-format with InsertBraces.David Benjamin20-266/+500
2022-06-22clang-format remaining directories.David Benjamin30-3902/+3686
2022-06-16Fix duplicate declarationsDavid Benjamin1-5/+3
2022-06-16Validate ASN.1 times according to RFC 5280Bob Beck5-212/+77
2022-05-30Manually fix a few tables in advance of clang-format.David Benjamin2-28/+64
2022-05-30Rewrite ASN1_STRING_print_ex escaping.David Benjamin3-245/+61
2022-05-20limit the feature macro stuff to __linux__Bob Beck1-1/+1
2022-04-29Tidy up how ASN1_STRING_print_ex figures out the type.David Benjamin2-114/+119
2022-04-29Remove the ASN1_TLC cache. It appears to not help performance.Bob Beck1-85/+37
2022-04-19Reject [UNIVERSAL 0] in DER/BER element parsers.David Benjamin2-31/+41
2022-03-08Remove ASN1_ADB_INTEGER.David Benjamin1-7/+3
2022-03-08Correctly handle LONG_MIN in ASN1_INTEGER_get.David Benjamin2-32/+77
2022-03-08Implement ASN1_INTEGER_set_uint64 with ASN1_STRING_set.David Benjamin1-18/+9
2022-03-08Rewrite and tighten ASN1_INTEGER encoding and decoding.David Benjamin2-193/+198
2022-03-08Deduplicate the rest of ASN1_INTEGER and ASN1_ENUMERATED.David Benjamin2-208/+72
2022-03-08Fix theoretical overflow in ASN1_INTEGER_cmp.David Benjamin1-12/+16
2022-03-07Rewrite ASN1_INTEGER tests.David Benjamin1-28/+325
2022-03-07Reimplement ASN1_get_object with CBS.David Benjamin1-86/+39
2022-03-07Use ctype(3) in a more standards-conformant way.Thomas Klausner1-1/+2
2021-11-04Add missing assert.h include.David Benjamin1-0/+1
2021-11-01Check tag class and constructed bit in d2i_ASN1_OBJECT.David Benjamin2-17/+49
2021-11-01Enforce DER rules for BIT STRING values.David Benjamin2-10/+16
2021-11-01Remove support for indefinite lengths in crypto/asn1.David Benjamin3-163/+59
2021-11-01Remove support for constructed strings in crypto/asn1.David Benjamin1-141/+14
2021-10-21Trim some undocumented symbols from asn1.h.David Benjamin1-0/+18
2021-10-21Document and const-correct multi-string types.David Benjamin1-3/+5
2021-10-20Unexport ASN1_OBJECT_new.David Benjamin1-0/+2
2021-10-20Return 0x80 in all ASN1_get_object error paths.David Benjamin2-6/+13
2021-10-19Document and const-correct ASN1_TYPE functions.David Benjamin1-1/+1
2021-10-18Fix error-handling for i2a_ASN1_OBJECT.David Benjamin2-15/+108
2021-10-18Fold i2a_ASN1_ENUMERATED into i2a_ASN1_INTEGER.David Benjamin2-93/+5
2021-10-18Fix BIT STRING comparison in ASN1_STRING_cmp.David Benjamin4-14/+160
2021-10-18Rewrite ASN1_item_pack and ASN1_item_unpack.David Benjamin2-29/+84
2021-10-18Document some more ASN1_ITEM-associated functions.David Benjamin1-0/+1
2021-10-15Const-correct the low-level ASN1 i2d functions.David Benjamin3-5/+11
2021-10-12Check tag class and constructed bit in d2i_ASN1_BOOLEAN.David Benjamin2-3/+42
2021-10-12Use typedefs in i2d and d2i_ASN1_BOOLEAN.David Benjamin1-20/+14