feat(libSceLibreSsl3): implement SSL_CIPHER_get_id #14483
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/14483"
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:11:48Z.
What
Implement SSL_CIPHER_get_id in libSceLibreSsl3.
Tested
ctest -R guest_libressl3_cipher -V passed on Linux x86_64 (WSL2).
Checklist
Imported from boykopovar/AnyPS5. Originally posted by CnRJay on 2026-11-01T19:47:06Z.
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:17:32Z.
Review: COMMENTED
Reviewed — no blocking findings
SSL_CIPHER_get_idreturns theidfield of the cipher and 0 for a null pointer, and it does not modify the cipher. The newLibreSsl3Cipherlayout is pinned bystatic_asserts (size 88,nameat 8,idat 16,strengthBitsat 80,algorithmBitsat 84), which match a 64-bit build of the upstreamSSL_CIPHERfields. The hosted Windows CTest run passedguest_libressl3_cipher(2594 of 2594 cases).What I ran
c0b2da25b2570a4646c4a79cac895791b8b8caea; basee0caf1360035286bd22b9f2a3030e97b880ffb28. 6 files, +57/-6:AdditionalExports.cpp(the stub removed),include/Api.hpp(typed declaration),include/Cipher.hpp(new struct, +22),src/Cipher.cpp(+6),tests/Cipher.cpp(+26) anddocs/dev/debt/libSceLibreSsl3.md(two lines).static_asserts, and the test (the id round trip with a memory-invariance check, the null case, and the full-field case).guest_libressl3_cipher.Results
Cipher.cpp(the function) and the teststatic_asserts; consistent with a 64-bit upstream layoutguest_libressl3_cipher(hosted)Read-only check output
Precheck was not run: no PR-head code is run here. Conventions: passed. ABI audit: passed (270 symbols). Hosted:
gh api repos/boykopovar/AnyPS5/commits/c0b2da25b2570a4646c4a79cac895791b8b8caea/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
None.
Sources
github.com/boykopovar/AnyPS5@c0b2da25b2/core/libs/prx/libSceLibreSsl3/src/Cipher.cppgithub.com/boykopovar/AnyPS5@c0b2da25b2/core/libs/prx/libSceLibreSsl3/include/Cipher.hppgithub.com/boykopovar/AnyPS5@c0b2da25b2/core/libs/prx/libSceLibreSsl3/tests/Cipher.cppNot verified
SSL_CIPHERfield layout was not re-read against the LibreSSL source cited in the debt entry.To get this to a good state