summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/asn1_old_lib.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use size_t for ASN.1 lengths.jsing2022-05-051-3/+4
| | | | | | | | Change asn1_get_length_cbs() and asn1_get_object_cbs() to handle and return a length as a size_t rather than a uint32_t. This makes it simpler and less error prone in the callers. Suggested by and ok tb@
* Remove ASN1{_const,}_check_infinite_endtb2022-01-141-27/+1
| | | | | | Suggested by schwarze ok inoguchi jsing
* Rewrite ASN.1 identifier/length parsing in CBS.jsing2021-12-251-89/+40
| | | | | | | | | Provide internal asn1_get_identifier_cbs() and asn1_get_length_cbs() functions that are called from asn1_get_object_cbs(). Convert the existing ASN1_get_object() function so that it calls asn1_get_object_cbs(), before mapping the result into the API that it implements. ok tb@
* Rename asn1_lib.c to asn1_old_lib.cjsing2021-12-151-0/+286
This will allow us to add a new asn1_lib.c while replacing the code that is in currently in asn1_old_lib.c. Discussed with tb@