summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/malloc.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-07-22Tweak previous. Should have been 60 instead of 64tb1-3/+3
2023-07-22Align argument names of OBJ_add_sigid() with the other functions.tb1-2/+2
2023-07-22Rewrite obj_xref.ctb4-419/+291
Instead of having two unreadable tables placed in a header generated by a janky perl script from an ugly text file, use a single table inlined in the C file. This table is used to translate between signature algorithm OIDs and pairs of OIDs of a message digest and a cipher. The table has fewer than fifty entries and isn't used in a hot path. Using binary search is overkill. Just do two linear searches, one for each translation. None of the original code remains apart from the API. ok jsing
2023-07-22No need to call OBJ_sigid_free() in EVP_cleanup() anymore.tb1-2/+1
ok jsing
2023-07-22Neuter OBJ_add_sigid() and OBJ_sigid_free()tb1-93/+11
These functions will be removed in the upcoming bump. Nothing uses them, so it won't hurt if they become noops. This allows us to garbage collect the sig_app and sigx_app stacks and make a first step towards simplifying the OBJ_bsearch_() dances. Also sprinkle some const correctness... because we can. intermediate step towards a diff that is ok jsing
2023-07-22Adapt bn_print() for EdDSA key printingtb1-7/+40
This is essentially a reimplementation of ASN1_buf_print(). The latter was only added for these printing purposes and it will be removed again since nothing uses it. We can then simply remove t_pkey.c in the upcoming bump. ok jsing
2023-07-22Simplify indent handling in bn_print()tb1-6/+3
variant of a suggestion by jsing
2023-07-22Fix #includes in ct_sct.ctb1-5/+7
This does not need tls1.h (upstream used TLSEXT constants we don't have) nor does it need evp.h. But it does need asn1.h, objects.h for STACK_OF and NID_*, among other things and it also uses uint64_t and allocates, so it needs stdint.h and stdlib.h.