feat(libSceLibreSsl3): implement EVP_PKEY_base_id #15616
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/15616"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by alvaroelpob on 2026-11-03T22:03:52Z.
What
Implements
EVP_PKEY_base_idin libSceLibreSsl3 with the LibreSSL 4.0.0asn1_methodstable: aliases map to their base method (RSA2 to RSA, DSA1-4 to DSA), other listed types return themselves and unknown types returnNID_undef.Tested
Linux x86-64 (WSL2), Release: the full build passes and
ctest --test-dir build -j16passes 3829 of 3829 tests, including the newguest_libressl3_pkey_base_id.python3 tools/check_conventions.py --base upstream/mainpasses. Not run on a console or in a title.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by BunnyFl on 2026-11-04T02:18:04Z.
Review: APPROVED
@alvaroelpob thanks. I checked the mapping against the LibreSSL 4.0.0 sources at the commit you cite. The
asn1_methodstable inp_lib.chas the same 14 methods asBaseType(cmac, dh, dsa, dsa1 to dsa4, eckey, ed25519, hmac, rsa, rsa2, rsa_pss, x25519). The NID values you use (6, 19, 28, 66, 67, 70, 113, 116, 408, 855, 894, 912, 950, 952) matchobjects/obj_mac.numthere.What I ran: head
64d0f2a539merged ontomain1c8c0efc8c, Windows 11, WinLibs GCC, Release:guest_libressl3_pkey_base_idandpublic_headerspass (2 of 2);case NidRsa:changed tocase 99999:inPkeyBaseId.cpp:guest_libressl3_pkey_base_idfails;tools/check_conventions.py --base upstream/mainon the head: all checks passed;tools/pr_overlap.py --branch: no shared exports. None of the 10 PRs it couldn't compare addsEVP_PKEY_base_id.As on #15618: your open LibreSsl3 PRs conflict with one another on the export count line and adjacent lines in
CMakeLists.txtand the debt file, so each needs a small rebase after the previous one merges.Approving.