feat(libSceLibreSsl3): implement key size, security and comparison queries #15031

Merged
atharvjairath merged 3 commits from upstream-pr/15031 into main 2026-11-06 01:05:44 +00:00
atharvjairath commented 2026-11-02 11:07:54 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by atharvjairath on 2026-11-02T11:07:54Z.


What

EVP_PKEY_size and EVP_PKEY_security_bits now call the matching key-method slot and preserve its signed result. EVP_PKEY_cmp compares parameters first, stops when that comparison fails, and reads the current method again before the public-key comparison. The three calls use the existing 32-byte guest key and SysV callback ABI. LibreSSL 4.0.0 dispatch · Method layout

A missing key, method or size callback gives a size of zero. Security bits returns zero for a null key and −2 for an unsupported method. Comparison rejects mismatched key types and throws for null operands. The fixture covers signed boundaries, callback exceptions, self-comparison and method replacement. Real constructor and algorithm interoperation remain open.

The source scanner classifies 23/276 bodies as implemented on main and 26/276 on this branch. The difference is the 3 exports above. The scanner classifies source bodies and does not measure firmware compatibility. The additional export inventory has 173 pending entries (163 named, 10 known only by NID). The separate Export.cpp inventory falls from 68 throwing bodies to 67. The main-branch digest, error-string and X509 work is accounted for in that baseline.

Integration order is #14992 → #15031 → #15045 → #15119 → #15406. This branch is based directly on main 6d173c1a1978. Each branch keeps its own changes. The order allows the shared CMake registrations and debt counts to be reconciled after each merge.

Tested

Validated head 8964fc297b33 against main 6d173c1a1978.

  • Linux: GCC 13.3 x86-64 under QEMU 11.0.3, 15 passed, 0 failed, 0 skipped. The upstream mixed-EVP fixture patched and loaded real modules in both library orders.
  • Windows PE: WinLibs 15.2 UCRT under Wine 9 and QEMU 11.0.3, 14 passed, 0 failed, 0 skipped. Both platforms ran the module’s registered direct tests and the owned fixture. The owned fixture completed in 0.0598029 s on Linux and 1.1347 s under Wine. Loader traces identified this branch’s module.
  • Rebuilt LibreSSL3 independently per branch. The common libc, kernel and parent LibreSSL binaries were rebuilt once per platform from sources identical across the five branches. A translation unit including the public LibreSSL3 umbrella twice compiled with warnings treated as errors on both platforms. The focused selection uses the registered timeouts and leaves the optional oracle and separate parent error-string and packaged-NID groups outside this run. Full-product, native Windows and console testing remain outside this run.
  • The first external Windows harness omitted the repository’s libc unwind post-build step. It built liblibc.dll with the .eh_frame section and exception fixtures failed. The corrected harness uses configure_windows_unwind(libc), which produces .ehfram. Windows counts above are from the corrected build.
  • Integration previews on later main 7ad9749ed0 preserved the exact branch and upstream diffs. Runtime results above are pinned to the tested base.
  • Conventions and diff checks passed. The repository-wide public-header audit exited 1 with the same five WebKit declarations reported on a separate snapshot of the tested main commit.
  • The overlap tool exited 2 and reported 55 PRs, including 31 it could not compare cleanly with main. Manual comparison of shared registrations, APIs, debt and export changes found no competing implementation of these exports.

On the earlier 7c36a78d1321 build against acf7ac208a, Linux ran 48/48 and Windows PE under Wine ran 16/18. The parent BIO test timed out and the parent BN test hit an illegal instruction. Both reproduced with the same binaries and no LibreSSL3 module loaded. The current selection leaves those two historical failures open, as well as the earlier parent-cipher Wine failure.

Both loader runs printed PKEY queries: 1980 matrix cases, 10391 checks.

Earlier validation on 7c36a78d1321 and the historical commits cited below

Current refreshed head 7c36a78d13210071593f2b8355cf0498811cf351 on frozen main acf7ac208a0a7c6df5e4253a22fda322760016c2. Only debt documentation conflicted. Every original owned production/API/CMake/fixture addition and deletion is preserved; upstream X509_PUBKEY_get0_param and every main union remain intact. Both rewritten commits were followed by validation at this final head. Main subsequently advanced to b8efa6292ae69dfdebbeffcc869b66ddbb8739fc; its 74-commit/69-path API delta contains no LibreSSL/LibreSSL3 change. Fresh libc production/API/build deltas were read for scope, but were not integrated or runtime-tested here. Results below remain pinned to acf7ac2.

  • Linux GCC 13.3, x86-64 through native ARM QEMU 11.0.3: all three real modules (libc, parent LibreSSL and LibreSSL3), dependencies and registered fixture executables rebuilt afresh; 48/48 passed in 3.24s.
  • Windows PE WinLibs GCC 15.2 UCRT/Wine 9 through native ARM QEMU 11.0.3: all three real modules and fixture executables rebuilt serially (-j1); 16 passed / 2 failed in 87.36s (18 tests; no skips).
  • The PR's fixture reports 1,980 cases / 10,391 checks on both platforms (0.0443767s Linux / 3.33689s Windows PE). Loader traces verify it loads this refreshed module. All 12 current LibreSSL3 registrations, including upstream X509 public-key metadata, and crypto_memcmp are included on both platforms. Windows additionally runs parent key-type, EVP, BIGNUM, memory BIO and CMAC tests. Actual registered 20/30-second limits are preserved.
  • These are focused module suites. Separate error-string tests and packaged protocol/BIO/CMAC NID groups are excluded; the default-off oracle is not enabled. Linux includes the remaining directly registered parent tests. Upstream common-source changes are present in the rebuilt modules; this does not validate every new libc/kernel fixture or the full build graph.
  • After-commit conventions, diff check, public-header audit (406 libraries / 28,317 exports) and actual twice-included standalone Linux C++20/-Werror umbrella pass. Exact overlap CLI exits 2, not an automated pass: 1,820 open PRs scanned, 50 shared candidates and 46 reported PRs. All 48 shared merge-base payloads were manually covered, including both bases of #12928 and #13486 and all base-conflicted entries. The report includes this same PR's old published head, not a competing implementation. No duplicate selected export, runtime prerequisite or peer import was found. Full patches being retained does not imply independent validation of peers' nonshared code or firmware/runtime claims.

The two Windows failures are in upstream parent fixtures: memory BIO times out at its unchanged 30-second limit after an undeliverable std::system_error/missing-unwind-data diagnostic; BIGNUM reports 0xc000001d at liblibc.dll+0xe0049. Both reproduce using the identical hashed parent/libc/executable binaries in an isolated directory without loading LibreSSL3. Their source/build inputs are unchanged from acf7ac2. This control is not a separately rebuilt complete main or proof of a Wine-only cause. Both failures remain unresolved; the 18-test Windows suite is not an all-pass result. All 12 modern tests, crypto_memcmp, parent key-type, parent EVP and parent CMAC pass.

These are not independent native Windows, full-product, packaged-module/NID, title/homebrew or physical-console tests. Warnings remain. No production assertion, timeout or gate was weakened. The first Windows harness run failed all 18 launches because its DLL search path pointed to a libc subdirectory instead of the build root. A loader diagnostic confirmed missing liblibc.dll (0xc0000135). The failed run and diagnostic are retained; only the harness search path was corrected before repeating the same built executables, with no rebuild or relaxed test limits. No new native CI result or current approval is inferred from older heads.

Historical native Windows CI job125249454156/run41434311430 timed out at 45 minutes on main 98346b748caaf5e8e533540f3bb9e4ceacf3d7ab plus OLD head 0743ac9ca7463eae4ee47957e6b0ec86903ef238. Real modules and the key-query executable linked, but CTest never started: zero result rows and no runtime coverage from that attempt. Original local Linux 41/41 and Windows PE 11/12 remain archived at 0743/3c3b. The old parent cipher-context case failed with 0xc000001d/liblibc.dll+0xda4c9 and a 30-second timeout; an isolation control using the same hashed parent/libc/executable and no LibreSSL3 DLL reproduced it. That control was not a separate main rebuild or proof of a Wine-only cause. The new Windows selection does not rerun that parent fixture or claim to fix it. Other historical Wine limitations likewise remain unresolved. No empty commit or denied CI rerun was used to trigger checks.

Current receipts: /private/tmp/anyps5-monitor-20261104-0943, including validation-evidence.tar.gz, reproducible harness/scripts, JUnit/manifests/loader traces, source/artifact hashes, own-preservation.json, manual-shared-review.txt, peer-payload-comparison.json and every peer head/merge-base snapshot. Prior d403/d1ae runtime evidence remains in /private/tmp/anyps5-advance-20261103-0127/conflict-refresh/15031 with its exact original pins; it is not extended to this base.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: #14992
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes
Overlap report before the branch refresh was pushed

Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.

Pull request Conflicting files (lines on main) Same exports Same new files
PR 12945 docs/dev/debt/libSceLibreSsl3.md L12
PR 14366 docs/dev/debt/libSceLibreSsl3.md L35, L215
PR 14465 docs/dev/debt/libSceLibreSsl3.md L35
PR 14483 docs/dev/debt/libSceLibreSsl3.md L35
PR 14889 docs/dev/debt/libSceLibreSsl3.md L35, L215
PR 14890 docs/dev/debt/libSceLibreSsl3.md L32, L35, L215
PR 15031 CompareParameters
ComparePublic
EVP_PKEY_cmp
EVP_PKEY_security_bits
EVP_PKEY_size
Query
ThrowComparison
ThrowQuery
WrongComparison
WrongQuery
core/libs/prx/libSceLibreSsl3/src/PkeyQueries.cpp
core/libs/prx/libSceLibreSsl3/tests/PkeyQueries.cpp
PR 15289 docs/dev/debt/libSceLibreSsl3.md L35
PR 15303 core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp L652-659
core/libs/prx/libSceLibreSsl3/include/Api.hpp L289-290
docs/dev/debt/libSceLibreSsl3.md L35, L195-197
PR 15449 docs/dev/debt/libSceLibreSsl3.md L35, L215
PR 15472 docs/dev/debt/libSceLibreSsl3.md L31-32, L35
PR 15514 docs/dev/debt/libSceLibreSsl3.md L35
PR 15591 docs/dev/debt/libSceLibreSsl3.md L35
PR 15616 docs/dev/debt/libSceLibreSsl3.md L31-32, L35
PR 15618 docs/dev/debt/libSceLibreSsl3.md L31-32, L35
PR 15620 docs/dev/debt/libSceLibreSsl3.md L31-32, L35
PR 15622 docs/dev/debt/libSceLibreSsl3.md L31-32, L35
PR 15623 docs/dev/debt/libSceLibreSsl3.md L31-32, L35
PR 15625 docs/dev/debt/libSceLibreSsl3.md L31-32, L35
PR 15627 docs/dev/debt/libSceLibreSsl3.md L31-32, L35
PR 15628 docs/dev/debt/libSceLibreSsl3.md L31-32, L35
PR 15629 docs/dev/debt/libSceLibreSsl3.md L31-32, L35
PR 15826 docs/dev/debt/libSceLibreSsl3.md L35
PR 15831 docs/dev/debt/libSceLibreSsl3.md L35
PR 15854 docs/dev/debt/libSceLibreSsl3.md L35

Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 10452 core/libs/prx/libSceLibreSsl3/CMakeLists.txt
core/libs/prx/libSceLibreSsl3/Export.cpp
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 10461 core/libs/prx/libSceLibreSsl3/CMakeLists.txt
core/libs/prx/libSceLibreSsl3/Export.cpp
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 10490 core/libs/prx/libSceLibreSsl3/CMakeLists.txt
core/libs/prx/libSceLibreSsl3/Export.cpp
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 10491 core/libs/prx/libSceLibreSsl3/CMakeLists.txt
core/libs/prx/libSceLibreSsl3/Export.cpp
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 10493 core/libs/prx/libSceLibreSsl3/CMakeLists.txt
core/libs/prx/libSceLibreSsl3/Export.cpp
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 10631 core/libs/prx/libSceLibreSsl3/CMakeLists.txt
core/libs/prx/libSceLibreSsl3/Export.cpp
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 11146 core/libs/prx/libSceLibreSsl3/CMakeLists.txt
docs/dev/debt/libSceLibreSsl3.md
PR 12315 core/libs/prx/libSceLibreSsl3/CMakeLists.txt
core/libs/prx/libSceLibreSsl3/Export.cpp
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 12754 core/libs/prx/libSceLibreSsl3/CMakeLists.txt
core/libs/prx/libSceLibreSsl3/Export.cpp
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 12928 core/libs/prx/libSceLibreSsl3/Export.cpp
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 13486 core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp
core/libs/prx/libSceLibreSsl3/CMakeLists.txt
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 14212 docs/dev/debt/libSceLibreSsl3.md
PR 14499 core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 14612 core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp
core/libs/prx/libSceLibreSsl3/CMakeLists.txt
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 14992 core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp
core/libs/prx/libSceLibreSsl3/CMakeLists.txt
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 15031 core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp
core/libs/prx/libSceLibreSsl3/CMakeLists.txt
core/libs/prx/libSceLibreSsl3/Export.cpp
core/libs/prx/libSceLibreSsl3/include/Api.hpp
core/libs/prx/libSceLibreSsl3/src/PkeyQueries.cpp
core/libs/prx/libSceLibreSsl3/tests/PkeyQueries.cpp
docs/dev/debt/libSceLibreSsl3.md
PR 15045 core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp
core/libs/prx/libSceLibreSsl3/CMakeLists.txt
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 15119 core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp
core/libs/prx/libSceLibreSsl3/CMakeLists.txt
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 15163 core/libs/prx/libSceLibreSsl3/Export.cpp
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 15406 core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp
core/libs/prx/libSceLibreSsl3/CMakeLists.txt
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 15544 core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp
core/libs/prx/libSceLibreSsl3/CMakeLists.txt
core/libs/prx/libSceLibreSsl3/Export.cpp
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 15599 core/libs/prx/libSceLibreSsl3/CMakeLists.txt
core/libs/prx/libSceLibreSsl3/Export.cpp
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 15601 core/libs/prx/libSceLibreSsl3/CMakeLists.txt
docs/dev/debt/libSceLibreSsl3.md
PR 15631 core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp
core/libs/prx/libSceLibreSsl3/CMakeLists.txt
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 15737 core/libs/prx/libSceLibreSsl3/CMakeLists.txt
core/libs/prx/libSceLibreSsl3/Export.cpp
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 15758 core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp
core/libs/prx/libSceLibreSsl3/CMakeLists.txt
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 15760 core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp
core/libs/prx/libSceLibreSsl3/CMakeLists.txt
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 15761 core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp
core/libs/prx/libSceLibreSsl3/CMakeLists.txt
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 15765 core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp
core/libs/prx/libSceLibreSsl3/CMakeLists.txt
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 15770 core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp
core/libs/prx/libSceLibreSsl3/CMakeLists.txt
core/libs/prx/libSceLibreSsl3/include/Api.hpp
docs/dev/debt/libSceLibreSsl3.md
PR 15899 core/libs/prx/libSceLibreSsl3/CMakeLists.txt
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5119293793 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/15031). Originally posted by [atharvjairath](https://github.com/atharvjairath) on 2026-11-02T11:07:54Z. --- ### What `EVP_PKEY_size` and `EVP_PKEY_security_bits` now call the matching key-method slot and preserve its signed result. `EVP_PKEY_cmp` compares parameters first, stops when that comparison fails, and reads the current method again before the public-key comparison. The three calls use the existing 32-byte guest key and SysV callback ABI. [LibreSSL 4.0.0 dispatch](https://github.com/libressl/openbsd/blob/ce488b78e0bd994780569df718596b9776ff681a/src/lib/libcrypto/evp/p_lib.c) · [Method layout](https://github.com/libressl/openbsd/blob/ce488b78e0bd994780569df718596b9776ff681a/src/lib/libcrypto/evp/evp_local.h) A missing key, method or size callback gives a size of zero. Security bits returns zero for a null key and −2 for an unsupported method. Comparison rejects mismatched key types and throws for null operands. The fixture covers signed boundaries, callback exceptions, self-comparison and method replacement. Real constructor and algorithm interoperation remain open. The source scanner classifies 23/276 bodies as implemented on main and 26/276 on this branch. The difference is the 3 exports above. The scanner classifies source bodies and does not measure firmware compatibility. The additional export inventory has 173 pending entries (163 named, 10 known only by NID). The separate Export.cpp inventory falls from 68 throwing bodies to 67. The main-branch digest, error-string and X509 work is accounted for in that baseline. Integration order is #14992 → #15031 → #15045 → #15119 → #15406. This branch is based directly on main `6d173c1a1978`. Each branch keeps its own changes. The order allows the shared CMake registrations and debt counts to be reconciled after each merge. ### Tested <!-- OS, title or homebrew, what was checked. "Not tested" is a valid answer. A performance change: the summary lines of main and of this PR from the same machine and scene, with the traces attached, captured as the Performance report issue form describes. --> Validated head `8964fc297b33` against main `6d173c1a1978`. - **Linux:** GCC 13.3 x86-64 under QEMU 11.0.3, 15 passed, 0 failed, 0 skipped. The upstream mixed-EVP fixture patched and loaded real modules in both library orders. - **Windows PE:** WinLibs 15.2 UCRT under Wine 9 and QEMU 11.0.3, 14 passed, 0 failed, 0 skipped. Both platforms ran the module’s registered direct tests and the owned fixture. The owned fixture completed in 0.0598029 s on Linux and 1.1347 s under Wine. Loader traces identified this branch’s module. - Rebuilt LibreSSL3 independently per branch. The common libc, kernel and parent LibreSSL binaries were rebuilt once per platform from sources identical across the five branches. A translation unit including the public LibreSSL3 umbrella twice compiled with warnings treated as errors on both platforms. The focused selection uses the registered timeouts and leaves the optional oracle and separate parent error-string and packaged-NID groups outside this run. Full-product, native Windows and console testing remain outside this run. - The first external Windows harness omitted the repository’s libc unwind post-build step. It built liblibc.dll with the .eh_frame section and exception fixtures failed. The corrected harness uses configure_windows_unwind(libc), which produces .ehfram. Windows counts above are from the corrected build. - Integration previews on later main 7ad9749ed031 preserved the exact branch and upstream diffs. Runtime results above are pinned to the tested base. - Conventions and diff checks passed. The repository-wide public-header audit exited 1 with the same five WebKit declarations reported on a separate snapshot of the tested main commit. - The overlap tool exited 2 and reported 55 PRs, including 31 it could not compare cleanly with main. Manual comparison of shared registrations, APIs, debt and export changes found no competing implementation of these exports. On the earlier 7c36a78d1321 build against acf7ac208a0a, Linux ran 48/48 and Windows PE under Wine ran 16/18. The parent BIO test timed out and the parent BN test hit an illegal instruction. Both reproduced with the same binaries and no LibreSSL3 module loaded. The current selection leaves those two historical failures open, as well as the earlier parent-cipher Wine failure. Both loader runs printed `PKEY queries: 1980 matrix cases, 10391 checks`. <details> <summary>Earlier validation on 7c36a78d1321 and the historical commits cited below</summary> Current refreshed head `7c36a78d13210071593f2b8355cf0498811cf351` on frozen main `acf7ac208a0a7c6df5e4253a22fda322760016c2`. Only debt documentation conflicted. Every original owned production/API/CMake/fixture addition and deletion is preserved; upstream `X509_PUBKEY_get0_param` and every main union remain intact. Both rewritten commits were followed by validation at this final head. Main subsequently advanced to `b8efa6292ae69dfdebbeffcc869b66ddbb8739fc`; its 74-commit/69-path API delta contains no LibreSSL/LibreSSL3 change. Fresh libc production/API/build deltas were read for scope, but were not integrated or runtime-tested here. Results below remain pinned to `acf7ac2`. - Linux GCC 13.3, x86-64 through native ARM QEMU 11.0.3: all three real modules (libc, parent LibreSSL and LibreSSL3), dependencies and registered fixture executables rebuilt afresh; **48/48 passed in 3.24s**. - Windows PE WinLibs GCC 15.2 UCRT/Wine 9 through native ARM QEMU 11.0.3: all three real modules and fixture executables rebuilt serially (`-j1`); **16 passed / 2 failed in 87.36s (18 tests; no skips)**. - The PR's fixture reports **1,980 cases / 10,391 checks** on both platforms (**0.0443767s Linux / 3.33689s Windows PE**). Loader traces verify it loads this refreshed module. All 12 current LibreSSL3 registrations, including upstream X509 public-key metadata, and `crypto_memcmp` are included on both platforms. Windows additionally runs parent key-type, EVP, BIGNUM, memory BIO and CMAC tests. Actual registered 20/30-second limits are preserved. - These are focused module suites. Separate error-string tests and packaged protocol/BIO/CMAC NID groups are excluded; the default-off oracle is not enabled. Linux includes the remaining directly registered parent tests. Upstream common-source changes are present in the rebuilt modules; this does not validate every new libc/kernel fixture or the full build graph. - After-commit conventions, diff check, public-header audit (**406 libraries / 28,317 exports**) and actual twice-included standalone Linux C++20/-Werror umbrella pass. Exact overlap CLI exits **2**, not an automated pass: 1,820 open PRs scanned, 50 shared candidates and 46 reported PRs. All 48 shared merge-base payloads were manually covered, including both bases of #12928 and #13486 and all base-conflicted entries. The report includes this same PR's old published head, not a competing implementation. No duplicate selected export, runtime prerequisite or peer import was found. Full patches being retained does not imply independent validation of peers' nonshared code or firmware/runtime claims. The two Windows failures are in upstream parent fixtures: memory BIO times out at its unchanged 30-second limit after an undeliverable `std::system_error`/missing-unwind-data diagnostic; BIGNUM reports 0xc000001d at `liblibc.dll+0xe0049`. Both reproduce using the identical hashed parent/libc/executable binaries in an isolated directory without loading LibreSSL3. Their source/build inputs are unchanged from `acf7ac2`. This control is not a separately rebuilt complete main or proof of a Wine-only cause. Both failures remain unresolved; the 18-test Windows suite is not an all-pass result. All 12 modern tests, crypto_memcmp, parent key-type, parent EVP and parent CMAC pass. These are not independent native Windows, full-product, packaged-module/NID, title/homebrew or physical-console tests. Warnings remain. No production assertion, timeout or gate was weakened. The first Windows harness run failed all 18 launches because its DLL search path pointed to a libc subdirectory instead of the build root. A loader diagnostic confirmed missing `liblibc.dll` (0xc0000135). The failed run and diagnostic are retained; only the harness search path was corrected before repeating the same built executables, with no rebuild or relaxed test limits. No new native CI result or current approval is inferred from older heads. Historical native Windows CI [job125249454156/run41434311430](https://github.com/boykopovar/AnyPS5/actions/runs/41434311430/job/125249454156) timed out at 45 minutes on main `98346b748caaf5e8e533540f3bb9e4ceacf3d7ab` plus OLD head `0743ac9ca7463eae4ee47957e6b0ec86903ef238`. Real modules and the key-query executable linked, but CTest never started: zero result rows and no runtime coverage from that attempt. Original local Linux 41/41 and Windows PE 11/12 remain archived at 0743/3c3b. The old parent cipher-context case failed with 0xc000001d/liblibc.dll+0xda4c9 and a 30-second timeout; an isolation control using the same hashed parent/libc/executable and no LibreSSL3 DLL reproduced it. That control was not a separate main rebuild or proof of a Wine-only cause. The new Windows selection does not rerun that parent fixture or claim to fix it. Other historical Wine limitations likewise remain unresolved. No empty commit or denied CI rerun was used to trigger checks. Current receipts: `/private/tmp/anyps5-monitor-20261104-0943`, including `validation-evidence.tar.gz`, reproducible harness/scripts, JUnit/manifests/loader traces, source/artifact hashes, `own-preservation.json`, `manual-shared-review.txt`, `peer-payload-comparison.json` and every peer head/merge-base snapshot. Prior d403/d1ae runtime evidence remains in `/private/tmp/anyps5-advance-20261103-0127/conflict-refresh/15031` with its exact original pins; it is not extended to this base. </details> ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: #14992 <!-- #PR, or none --> - [x] Fixes: <!-- issue it closes as Fixes #N, or none --> none - [x] Unblocks: <!-- title ID and Game bring-up discussion, e.g. PPSA01325 #3232, or none --> none - [x] GPUs tested: <!-- for AGC, shader recompiler or VideoOut changes: vendor, model, driver and OS of each GPU the GPU tests ran on; otherwise n/a --> n/a - [x] AI-assisted: <!-- yes / no --> yes <details> <summary>Overlap report before the branch refresh was pushed</summary> Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in **Depends on**. | Pull request | Conflicting files (lines on `main`) | Same exports | Same new files | |---|---|---|---| | [PR 12945](https://www.github.com/boykopovar/AnyPS5/pull/12945) | `docs/dev/debt/libSceLibreSsl3.md` [L12](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L12) | | | | [PR 14366](https://www.github.com/boykopovar/AnyPS5/pull/14366) | `docs/dev/debt/libSceLibreSsl3.md` [L35](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L35), [L215](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L215) | | | | [PR 14465](https://www.github.com/boykopovar/AnyPS5/pull/14465) | `docs/dev/debt/libSceLibreSsl3.md` [L35](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L35) | | | | [PR 14483](https://www.github.com/boykopovar/AnyPS5/pull/14483) | `docs/dev/debt/libSceLibreSsl3.md` [L35](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L35) | | | | [PR 14889](https://www.github.com/boykopovar/AnyPS5/pull/14889) | `docs/dev/debt/libSceLibreSsl3.md` [L35](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L35), [L215](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L215) | | | | [PR 14890](https://www.github.com/boykopovar/AnyPS5/pull/14890) | `docs/dev/debt/libSceLibreSsl3.md` [L32](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L32), [L35](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L35), [L215](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L215) | | | | [PR 15031](https://www.github.com/boykopovar/AnyPS5/pull/15031) | | `CompareParameters`<br>`ComparePublic`<br>`EVP_PKEY_cmp`<br>`EVP_PKEY_security_bits`<br>`EVP_PKEY_size`<br>`Query`<br>`ThrowComparison`<br>`ThrowQuery`<br>`WrongComparison`<br>`WrongQuery` | `core/libs/prx/libSceLibreSsl3/src/PkeyQueries.cpp`<br>`core/libs/prx/libSceLibreSsl3/tests/PkeyQueries.cpp` | | [PR 15289](https://www.github.com/boykopovar/AnyPS5/pull/15289) | `docs/dev/debt/libSceLibreSsl3.md` [L35](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L35) | | | | [PR 15303](https://www.github.com/boykopovar/AnyPS5/pull/15303) | `core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp` [L652-659](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp#L652-L659)<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp` [L289-290](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/core/libs/prx/libSceLibreSsl3/include/Api.hpp#L289-L290)<br>`docs/dev/debt/libSceLibreSsl3.md` [L35](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L35), [L195-197](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L195-L197) | | | | [PR 15449](https://www.github.com/boykopovar/AnyPS5/pull/15449) | `docs/dev/debt/libSceLibreSsl3.md` [L35](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L35), [L215](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L215) | | | | [PR 15472](https://www.github.com/boykopovar/AnyPS5/pull/15472) | `docs/dev/debt/libSceLibreSsl3.md` [L31-32](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L31-L32), [L35](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L35) | | | | [PR 15514](https://www.github.com/boykopovar/AnyPS5/pull/15514) | `docs/dev/debt/libSceLibreSsl3.md` [L35](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L35) | | | | [PR 15591](https://www.github.com/boykopovar/AnyPS5/pull/15591) | `docs/dev/debt/libSceLibreSsl3.md` [L35](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L35) | | | | [PR 15616](https://www.github.com/boykopovar/AnyPS5/pull/15616) | `docs/dev/debt/libSceLibreSsl3.md` [L31-32](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L31-L32), [L35](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L35) | | | | [PR 15618](https://www.github.com/boykopovar/AnyPS5/pull/15618) | `docs/dev/debt/libSceLibreSsl3.md` [L31-32](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L31-L32), [L35](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L35) | | | | [PR 15620](https://www.github.com/boykopovar/AnyPS5/pull/15620) | `docs/dev/debt/libSceLibreSsl3.md` [L31-32](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L31-L32), [L35](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L35) | | | | [PR 15622](https://www.github.com/boykopovar/AnyPS5/pull/15622) | `docs/dev/debt/libSceLibreSsl3.md` [L31-32](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L31-L32), [L35](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L35) | | | | [PR 15623](https://www.github.com/boykopovar/AnyPS5/pull/15623) | `docs/dev/debt/libSceLibreSsl3.md` [L31-32](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L31-L32), [L35](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L35) | | | | [PR 15625](https://www.github.com/boykopovar/AnyPS5/pull/15625) | `docs/dev/debt/libSceLibreSsl3.md` [L31-32](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L31-L32), [L35](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L35) | | | | [PR 15627](https://www.github.com/boykopovar/AnyPS5/pull/15627) | `docs/dev/debt/libSceLibreSsl3.md` [L31-32](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L31-L32), [L35](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L35) | | | | [PR 15628](https://www.github.com/boykopovar/AnyPS5/pull/15628) | `docs/dev/debt/libSceLibreSsl3.md` [L31-32](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L31-L32), [L35](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L35) | | | | [PR 15629](https://www.github.com/boykopovar/AnyPS5/pull/15629) | `docs/dev/debt/libSceLibreSsl3.md` [L31-32](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L31-L32), [L35](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L35) | | | | [PR 15826](https://www.github.com/boykopovar/AnyPS5/pull/15826) | `docs/dev/debt/libSceLibreSsl3.md` [L35](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L35) | | | | [PR 15831](https://www.github.com/boykopovar/AnyPS5/pull/15831) | `docs/dev/debt/libSceLibreSsl3.md` [L35](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L35) | | | | [PR 15854](https://www.github.com/boykopovar/AnyPS5/pull/15854) | `docs/dev/debt/libSceLibreSsl3.md` [L35](https://github.com/boykopovar/AnyPS5/blob/7ad9749ed0311cc91d69bc7c690d09c92b9d42d0/docs/dev/debt/libSceLibreSsl3.md#L35) | | | Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap. | Pull request | Shared files not compared | |---|---| | [PR 10452](https://www.github.com/boykopovar/AnyPS5/pull/10452) | `core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`core/libs/prx/libSceLibreSsl3/Export.cpp`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 10461](https://www.github.com/boykopovar/AnyPS5/pull/10461) | `core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`core/libs/prx/libSceLibreSsl3/Export.cpp`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 10490](https://www.github.com/boykopovar/AnyPS5/pull/10490) | `core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`core/libs/prx/libSceLibreSsl3/Export.cpp`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 10491](https://www.github.com/boykopovar/AnyPS5/pull/10491) | `core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`core/libs/prx/libSceLibreSsl3/Export.cpp`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 10493](https://www.github.com/boykopovar/AnyPS5/pull/10493) | `core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`core/libs/prx/libSceLibreSsl3/Export.cpp`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 10631](https://www.github.com/boykopovar/AnyPS5/pull/10631) | `core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`core/libs/prx/libSceLibreSsl3/Export.cpp`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 11146](https://www.github.com/boykopovar/AnyPS5/pull/11146) | `core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 12315](https://www.github.com/boykopovar/AnyPS5/pull/12315) | `core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`core/libs/prx/libSceLibreSsl3/Export.cpp`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 12754](https://www.github.com/boykopovar/AnyPS5/pull/12754) | `core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`core/libs/prx/libSceLibreSsl3/Export.cpp`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 12928](https://www.github.com/boykopovar/AnyPS5/pull/12928) | `core/libs/prx/libSceLibreSsl3/Export.cpp`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 13486](https://www.github.com/boykopovar/AnyPS5/pull/13486) | `core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp`<br>`core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 14212](https://www.github.com/boykopovar/AnyPS5/pull/14212) | `docs/dev/debt/libSceLibreSsl3.md` | | [PR 14499](https://www.github.com/boykopovar/AnyPS5/pull/14499) | `core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 14612](https://www.github.com/boykopovar/AnyPS5/pull/14612) | `core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp`<br>`core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 14992](https://www.github.com/boykopovar/AnyPS5/pull/14992) | `core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp`<br>`core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 15031](https://www.github.com/boykopovar/AnyPS5/pull/15031) | `core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp`<br>`core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`core/libs/prx/libSceLibreSsl3/Export.cpp`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`core/libs/prx/libSceLibreSsl3/src/PkeyQueries.cpp`<br>`core/libs/prx/libSceLibreSsl3/tests/PkeyQueries.cpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 15045](https://www.github.com/boykopovar/AnyPS5/pull/15045) | `core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp`<br>`core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 15119](https://www.github.com/boykopovar/AnyPS5/pull/15119) | `core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp`<br>`core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 15163](https://www.github.com/boykopovar/AnyPS5/pull/15163) | `core/libs/prx/libSceLibreSsl3/Export.cpp`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 15406](https://www.github.com/boykopovar/AnyPS5/pull/15406) | `core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp`<br>`core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 15544](https://www.github.com/boykopovar/AnyPS5/pull/15544) | `core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp`<br>`core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`core/libs/prx/libSceLibreSsl3/Export.cpp`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 15599](https://www.github.com/boykopovar/AnyPS5/pull/15599) | `core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`core/libs/prx/libSceLibreSsl3/Export.cpp`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 15601](https://www.github.com/boykopovar/AnyPS5/pull/15601) | `core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 15631](https://www.github.com/boykopovar/AnyPS5/pull/15631) | `core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp`<br>`core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 15737](https://www.github.com/boykopovar/AnyPS5/pull/15737) | `core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`core/libs/prx/libSceLibreSsl3/Export.cpp`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 15758](https://www.github.com/boykopovar/AnyPS5/pull/15758) | `core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp`<br>`core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 15760](https://www.github.com/boykopovar/AnyPS5/pull/15760) | `core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp`<br>`core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 15761](https://www.github.com/boykopovar/AnyPS5/pull/15761) | `core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp`<br>`core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 15765](https://www.github.com/boykopovar/AnyPS5/pull/15765) | `core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp`<br>`core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 15770](https://www.github.com/boykopovar/AnyPS5/pull/15770) | `core/libs/prx/libSceLibreSsl3/AdditionalExports.cpp`<br>`core/libs/prx/libSceLibreSsl3/CMakeLists.txt`<br>`core/libs/prx/libSceLibreSsl3/include/Api.hpp`<br>`docs/dev/debt/libSceLibreSsl3.md` | | [PR 15899](https://www.github.com/boykopovar/AnyPS5/pull/15899) | `core/libs/prx/libSceLibreSsl3/CMakeLists.txt` | </details>
MarcZX10 commented 2026-11-02 11:20:20 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-02T11:20:20Z.

Review: COMMENTED


Reviewed — no blocking findings

I reviewed all seven changed files at head 0743ac9ca7463eae4ee47957e6b0ec86903ef238; I found no blocking source issue, but the hosted checks were still queued.

What I ran

Reviewed head 0743ac9ca7463eae4ee47957e6b0ec86903ef238 against base 3c3b3cda739f9eb00a07fae50d94a3af5f6fb8f2. The exact head previews cleanly against current main. Environment: Debian 12 Linux, Python 3.11.2, GCC 12.2.0. I did not configure or build.

python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 15031 --output-dir /tmp/review-15031
git diff --check 3c3b3cda739f9eb00a07fae50d94a3af5f6fb8f2...0743ac9ca7463eae4ee47957e6b0ec86903ef238
python3 tools/check_conventions.py --base 3c3b3cda739f9eb00a07fae50d94a3af5f6fb8f2 --head 0743ac9ca7463eae4ee47957e6b0ec86903ef238 --title 'feat(libSceLibreSsl3): implement key size, security and comparison queries' --body /tmp/review-15031/pr-body.md
python3 tools/pr_abi_audit.py --base 3c3b3cda739f9eb00a07fae50d94a3af5f6fb8f2 --head 0743ac9ca7463eae4e4f6b0ec86903ef238 --json
python3 tools/pr_test_quality.py --root /tmp/review-15031/test-quality --json core/libs/prx/libSceLibreSsl3/tests/PkeyQueries.cpp
grep -n 'PkeyQueries.cpp\|guest_libressl3_pkey_queries' <(git show refs/review/session-20261102/15031:core/libs/prx/libSceLibreSsl3/CMakeLists.txt)
python3 tools/pr_stack_check.py 15031 --repo boykopovar/AnyPS5 --output-dir /tmp/review-15031/stack
gh pr checks 15031 --repo boykopovar/AnyPS5

The precheck's isolated checkout lacked the local ABI and test-quality helper scripts. I ran those helpers separately and inspected their findings against the exact-head source and CMake registration.

Results

Check Result Note
Patch whitespace passed No diagnostics.
Conventions and PR template passed No findings.
ABI lexical audit passed Seven warnings are private helpers inside an unnamed namespace, not exported ABI declarations.
Test-quality heuristic failed It flags the test path as possibly unregistered; exact-head CMake does register it.
Merge preview passed Clean against current base; no declared dependency.
Hosted checks not run Conventions, eligibility, intake, labels, portability and report were queued.
Precheck helper availability failed The isolated snapshot lacked the two local helper scripts; both were run separately.
Check output and report excerpts
Conventions:
All conventions checks passed.

ABI audit summary:
{
  "status": "passed_with_warnings",
  "symbol_count": 277,
  "findings": [
    {"symbol": "CompareParameters", "kind": "public-declaration-not-found"},
    {"symbol": "ComparePublic", "kind": "public-declaration-not-found"},
    {"symbol": "Query", "kind": "public-declaration-not-found"},
    {"symbol": "ThrowComparison", "kind": "public-declaration-not-found"},
    {"symbol": "ThrowQuery", "kind": "public-declaration-not-found"},
    {"symbol": "WrongComparison", "kind": "public-declaration-not-found"},
    {"symbol": "WrongQuery", "kind": "public-declaration-not-found"}
  ]
}

Test-quality heuristic:
{
  "findings": [
    {
      "path": "core/libs/prx/libSceLibreSsl3/tests/PkeyQueries.cpp",
      "line": 1,
      "kind": "possible-unregistered-cpp-test",
      "message": "Changed C++ test source path was not found literally in CMake files; inspect registration, generated source lists, and workflow coverage."
    }
  ],
  "negative_control_candidates": []
}

Exact-head registration:
96:target_sources(libSceLibreSsl3 PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/src/PkeyQueries.cpp)
98:    add_test_executable(guest_libressl3_pkey_queries_tests ${CMAKE_CURRENT_SOURCE_DIR}/tests/PkeyQueries.cpp)
102:    add_test(NAME guest_libressl3_pkey_queries COMMAND guest_libressl3_pkey_queries_tests)

Hosted checks at final refresh:
conventions	pending	0	https://github.com/boykopovar/AnyPS5/actions/runs/41434311239/job/125240249847
eligibility	pending	0	https://github.com/boykopovar/AnyPS5/actions/runs/41434311430/job/125240248703
intake	pending	0	https://github.com/boykopovar/AnyPS5/actions/runs/41434311147/job/125240249490
labels	pending	0	https://github.com/boykopovar/AnyPS5/actions/runs/41434311316/job/125240250952
library-portability	pending	0	https://github.com/boykopovar/AnyPS5/actions/runs/41434311488/job/125240248111
report	pending	0	https://github.com/boykopovar/AnyPS5/actions/runs/41434311477/job/125240248445

Negative control

Assertion Change to code under test Did the new test fail?
Size/security queries preserve null and missing-callback results; comparison short-circuits parameter results and dispatches public comparison correctly. Not changed. Not run; the tests require the exact-head C++ binary, which I did not build.

Findings

Blocking

None found in the complete source review.

Non-blocking

None. The test-registration heuristic warning is disproved by the exact-head CMake entries above.

Sources

Not verified

  • No local build, CTest or negative control was run. The PR description reports Linux and Windows test results; those are author-reported and were not independently verified here.
  • All six hosted checks were queued at the final refresh.
  • Console ABI, actual console behavior and real key-constructor/algorithm-method interoperability remain unverified, as the PR documents.

To get this to a good state

No code change is requested from this review. Once the hosted checks finish, I will re-check this exact head and its results, then approve if required checks pass; if the head changes, I will review the new diff and rerun affected checks.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5735762152 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/15031#pullrequestreview-5735762152). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-02T11:20:20Z. **Review:** COMMENTED --- # Reviewed — no blocking findings I reviewed all seven changed files at head `0743ac9ca7463eae4ee47957e6b0ec86903ef238`; I found no blocking source issue, but the hosted checks were still queued. ## What I ran Reviewed head `0743ac9ca7463eae4ee47957e6b0ec86903ef238` against base `3c3b3cda739f9eb00a07fae50d94a3af5f6fb8f2`. The exact head previews cleanly against current `main`. Environment: Debian 12 Linux, Python 3.11.2, GCC 12.2.0. I did not configure or build. ```sh python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 15031 --output-dir /tmp/review-15031 git diff --check 3c3b3cda739f9eb00a07fae50d94a3af5f6fb8f2...0743ac9ca7463eae4ee47957e6b0ec86903ef238 python3 tools/check_conventions.py --base 3c3b3cda739f9eb00a07fae50d94a3af5f6fb8f2 --head 0743ac9ca7463eae4ee47957e6b0ec86903ef238 --title 'feat(libSceLibreSsl3): implement key size, security and comparison queries' --body /tmp/review-15031/pr-body.md python3 tools/pr_abi_audit.py --base 3c3b3cda739f9eb00a07fae50d94a3af5f6fb8f2 --head 0743ac9ca7463eae4e4f6b0ec86903ef238 --json python3 tools/pr_test_quality.py --root /tmp/review-15031/test-quality --json core/libs/prx/libSceLibreSsl3/tests/PkeyQueries.cpp grep -n 'PkeyQueries.cpp\|guest_libressl3_pkey_queries' <(git show refs/review/session-20261102/15031:core/libs/prx/libSceLibreSsl3/CMakeLists.txt) python3 tools/pr_stack_check.py 15031 --repo boykopovar/AnyPS5 --output-dir /tmp/review-15031/stack gh pr checks 15031 --repo boykopovar/AnyPS5 ``` The precheck's isolated checkout lacked the local ABI and test-quality helper scripts. I ran those helpers separately and inspected their findings against the exact-head source and CMake registration. ## Results | Check | Result | Note | |---|---|---| | Patch whitespace | passed | No diagnostics. | | Conventions and PR template | passed | No findings. | | ABI lexical audit | passed | Seven warnings are private helpers inside an unnamed namespace, not exported ABI declarations. | | Test-quality heuristic | failed | It flags the test path as possibly unregistered; exact-head CMake does register it. | | Merge preview | passed | Clean against current base; no declared dependency. | | Hosted checks | not run | Conventions, eligibility, intake, labels, portability and report were queued. | | Precheck helper availability | failed | The isolated snapshot lacked the two local helper scripts; both were run separately. | <details><summary>Check output and report excerpts</summary> ```text Conventions: All conventions checks passed. ABI audit summary: { "status": "passed_with_warnings", "symbol_count": 277, "findings": [ {"symbol": "CompareParameters", "kind": "public-declaration-not-found"}, {"symbol": "ComparePublic", "kind": "public-declaration-not-found"}, {"symbol": "Query", "kind": "public-declaration-not-found"}, {"symbol": "ThrowComparison", "kind": "public-declaration-not-found"}, {"symbol": "ThrowQuery", "kind": "public-declaration-not-found"}, {"symbol": "WrongComparison", "kind": "public-declaration-not-found"}, {"symbol": "WrongQuery", "kind": "public-declaration-not-found"} ] } Test-quality heuristic: { "findings": [ { "path": "core/libs/prx/libSceLibreSsl3/tests/PkeyQueries.cpp", "line": 1, "kind": "possible-unregistered-cpp-test", "message": "Changed C++ test source path was not found literally in CMake files; inspect registration, generated source lists, and workflow coverage." } ], "negative_control_candidates": [] } Exact-head registration: 96:target_sources(libSceLibreSsl3 PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/src/PkeyQueries.cpp) 98: add_test_executable(guest_libressl3_pkey_queries_tests ${CMAKE_CURRENT_SOURCE_DIR}/tests/PkeyQueries.cpp) 102: add_test(NAME guest_libressl3_pkey_queries COMMAND guest_libressl3_pkey_queries_tests) Hosted checks at final refresh: conventions pending 0 https://github.com/boykopovar/AnyPS5/actions/runs/41434311239/job/125240249847 eligibility pending 0 https://github.com/boykopovar/AnyPS5/actions/runs/41434311430/job/125240248703 intake pending 0 https://github.com/boykopovar/AnyPS5/actions/runs/41434311147/job/125240249490 labels pending 0 https://github.com/boykopovar/AnyPS5/actions/runs/41434311316/job/125240250952 library-portability pending 0 https://github.com/boykopovar/AnyPS5/actions/runs/41434311488/job/125240248111 report pending 0 https://github.com/boykopovar/AnyPS5/actions/runs/41434311477/job/125240248445 ``` </details> ## Negative control | Assertion | Change to code under test | Did the new test fail? | |---|---|---| | Size/security queries preserve null and missing-callback results; comparison short-circuits parameter results and dispatches public comparison correctly. | Not changed. | Not run; the tests require the exact-head C++ binary, which I did not build. | ## Findings ### Blocking None found in the complete source review. ### Non-blocking None. The test-registration heuristic warning is disproved by the exact-head CMake entries above. ## Sources - [The PR implementation and callback offsets](https://github.com/boykopovar/AnyPS5/blob/0743ac9ca7463eae4ee47957e6b0ec86903ef238/core/libs/prx/libSceLibreSsl3/src/PkeyQueries.cpp) - [The PR test target registration](https://github.com/boykopovar/AnyPS5/blob/0743ac9ca7463eae4ee47957e6b0ec86903ef238/core/libs/prx/libSceLibreSsl3/CMakeLists.txt#L96-L105) - [LibreSSL 4.0.0 query and comparison behavior](https://github.com/libressl/openbsd/blob/ce488b78e0bd994780569df718596b9776ff681a/src/lib/libcrypto/evp/p_lib.c) - [LibreSSL 4.0.0 method layout](https://github.com/libressl/openbsd/blob/ce488b78e0bd994780569df718596b9776ff681a/src/lib/libcrypto/evp/evp_local.h) ## Not verified - No local build, CTest or negative control was run. The PR description reports Linux and Windows test results; those are author-reported and were not independently verified here. - All six hosted checks were queued at the final refresh. - Console ABI, actual console behavior and real key-constructor/algorithm-method interoperability remain unverified, as the PR documents. ## To get this to a good state No code change is requested from this review. Once the hosted checks finish, I will re-check this exact head and its results, then approve if required checks pass; if the head changes, I will review the new diff and rerun affected checks.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!15031
No description provided.