feat(libSceLibreSsl3): implement EVP_PKEY_get0_EC_KEY #14499
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/14499"
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 jagrat04 on 2026-11-01T15:18:47Z.
What
Implement EVP_PKEY_get0_EC_KEY in libSceLibreSsl3.
Tested
ctest -R guest_libressl3_pkey_getters -V passed on Linux x86_64 (WSL2).
Checklist
Imported from boykopovar/AnyPS5. Originally posted by CnRJay on 2026-11-01T19:47:07Z.
Review: COMMENTED
Withdrawn. This review applied a title-ID/log requirement that is not in CONTRIBUTING (
Unblocks: noneis allowed), and it contained no code review.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-02T05:00:27Z.
Review: COMMENTED
Reviewed — no blocking findings
EVP_PKEY_get0_EC_KEYreturns the stored key for type 408 (NID_X9_62_id_ecPublicKey) and null for other types, and it throws for a null key. The function is the PR's own short code, and the hosted Windows run passedguest_libressl3_key_referenceandguest_libressl3_pkey_getters. One provenance question is raised below: the new file opens with the OpenBSDp_lib.cbanner and the OpenSSL licence text, while the checklist says new third-party code is a submodule.What I ran
fd2f521cf4d2024573a4de568aec86334c297784; basef2d874c1fdccf781c0fa5d86619bb5dd8894b958. 6 files, +155/-8:libSceLibreSsl3/src/Key.cpp(new, +113),AdditionalExports.cpp(the stub removed),include/Api.hpp(new typed declaration),tests/PkeyGetters.cpp(+7/-?),GuestLibreSsl3KeyReference.cpp(+33, new) anddocs/dev/debt/libSceLibreSsl3.md.Key.cpplines 137-143) and the file header (lines 1-80).evp/p_lib.ccited in the debt entry (LibreSSL atce488b78) and searched it for the function; my search pattern did not match, so the upstream body was not compared line by line.guest_libressl3_key_referenceandguest_libressl3_pkey_getters(both Passed). The new test is registered atlibSceLibreSsl3/CMakeLists.txtline 84.Results
Key.cpplines 137-143)p_lib.ccomparisonguest_libressl3_key_referenceandpkey_getters(hosted)Read-only check output
Precheck was not run: no PR-head code is run here. ABI audit: passed (270 symbols). Hosted:
gh api repos/boykopovar/AnyPS5/commits/fd2f521cf4d2024573a4de568aec86334c297784/check-runs.Negative control
Not run here. A negative control needs a build, and code from this head is not run here.
Findings
Blocking
None.
Non-blocking
Key.cppbegins with the OpenBSDp_lib.cbanner and the OpenSSL/SSLeay licence text, and the PR body ticks "New third-party code is a submodule built from source". If the file is derived fromp_lib.c, please say so and follow the submodule rule for the copied parts; if it is not derived, remove the copied licence blocks, since they claim a provenance the code does not have.Sources
github.com/boykopovar/AnyPS5@fd2f521cf4/core/libs/prx/libSceLibreSsl3/src/Key.cpp (L137-L143)github.com/boykopovar/AnyPS5@fd2f521cf4/core/libs/prx/libSceLibreSsl3/src/Key.cppgithub.com/libressl/openbsd@ce488b78e0/src/lib/libcryptoNot verified
To get this to a good state