summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/objects/obj_dat.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-07-12Reenable clienttest and servertesttb1-3/+3
2023-07-11Fix last bit of the clienttest, needs ssl_pkt.c r1.66tb1-2/+2
2023-07-11Remove old workaround for F5tb1-13/+2
F5 is well-known for needing workaround (go read RFC 8446). In this particular case, it required implementation sending CHs larger than 255 bytes to 0x0300 otherwise their server would hang. This is the same hang that required the CH padding extension which broke other implementations. The CH padding extension was removed ~6 years ago, so hopefully this kludge will no longer needed either. ok jsing
2023-07-11Keep servertest silent and align with clienttesttb1-2/+3
2023-07-11Neuter expected server test failures with SSLv2tb1-1/+6
This test should either be extended or retired. As it is it is useless.
2023-07-11Fix most of the clienttest. With this only test cases 9 and 13 fail.tb1-23/+39
2023-07-10Add test case for negative number with highest bit of top octet settb1-1/+13
This currently adds an incorrect 00: padding, consistent with OpenSSL's behavior.
2023-07-10Rename EC_KEY from r to key like in the rest of the filetb1-4/+4
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