summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/dsa/dsa_lib.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-07-10Pull BIGNUM constants out of get_* function bodiestb1-315/+331
The get_rfc*_prime_* functions will be removed. The constants will remain for the BN_get_rfc*_prime_* functions. Make the latter call BN_bin2bn() directly on these constants rather than going through get_*. This avoids some overlong lines. Also KNF for some comments. Reduces the diff I currently carry by quite a bit.
2023-07-10BIO_indent: use %*s rather than puts in a looptb1-6/+5
ok beck jsing millert
2023-07-10bn_print: string.h is no longer neededtb1-2/+1
2023-07-09Fix ndef_{prefix,suffix}()tb1-11/+12
These functions inline a poor version of asn1_item_flags_i2d() without error checks. This can be replaced with a single correct call to ASN1_item_ndef_i2d(). Mechanically adding malloc checks and checks for negative did not really improve things all that much in a related project. ok beck jsing
2023-07-09Reimplement BN_print() and BN_print_fp()tb2-47/+45
These can now use the internal version of BN_bn2hex() and be direct wrappers of BIO_printf() and fprintf() as they should have been all along. ok jsing
2023-07-09Simplify bn_print()tb1-5/+3
We no longer need to do weird things as taking the length of the hex string and jumping over a sign we didn't need. ok jsing
2023-07-09Refactor BN_bn2hex()tb2-8/+57
Various outputting functions are variants of BN_bn2hex(). They do not want a sign or they display the BIGNUM at nibble granularity instead of byte granularity. So add this functionality to an internal variant of BN_bn2hex(). with/ok jsing
2023-07-09Provide optimised bn_subw() for riscv64.jsing1-1/+18
2023-07-09Provide optimised bn_addw() for riscv64.jsing1-1/+18
2023-07-09Add Xr to EVP_MD_meth_new to top level librarytb1-2/+3
2023-07-09Fix OpenBSD releasetb1-3/+3
2023-07-09ASN1_bn_print() will be removed soon. Remove docs.tb5-130/+7
2023-07-08fix comment to unbreak things that care about warningsbeck1-2/+2
ok tb@ krw@
2023-07-08link EVP_MD_meth_new.3 to buildtb1-1/+2