summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/asn1_old_lib.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Hide symbols in asn1 and biobeck2023-07-051-1/+5
| | | | ok jsing@
* Make internal header file names consistenttb2022-11-261-2/+2
| | | | | | | | | | | | | | | | Libcrypto currently has a mess of *_lcl.h, *_locl.h, and *_local.h names used for internal headers. Move all these headers we inherited from OpenSSL to *_local.h, reserving the name *_internal.h for our own code. Similarly, move dtls_locl.h and ssl_locl.h to dtls_local and ssl_local.h. constant_time_locl.h is moved to constant_time.h since it's special. Adjust all .c files in libcrypto, libssl and regress. The diff is mechanical with the exception of tls13_quic.c, where #include <ssl_locl.h> was fixed manually. discussed with jsing, no objection bcook
* 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@