feat(libSceSsl): implement full-buffer send and receive #9407
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/9407"
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 MarcZX10 on 2026-10-21T21:00:39Z.
What
Implements
sceSslSendandsceSslRecvas the documented no-flags, full-buffer counterparts ofsceSslWriteandsceSslRead. Extends the local TLS transport test to send the request throughsceSslSendand verifysceSslRecvfills a partial remainder and returns 0 at end of stream. LeavessceSslReuseConnectionunimplemented because its session-resumption behavior still lacks a reliable contract.Tested
Linux:
cmake --build /tmp/AnyPS5-ssl-send-recv-build --target guest_ssl_tests guest_ssl_transport_tests --parallel 4passed.ctest --test-dir /tmp/AnyPS5-ssl-send-recv-build -R '^guest_ssl($|_transport_)' --output-on-failurecould not execute the tests: this host's Intel Xeon E5-1620 v2 lacks AVX2, FMA, BMI1, BMI2, LZCNT and MOVBE required by AnyPS5.python3 tools/check_conventions.py --base upstream/main,python3 tools/pr_overlap.py --branch feat/ssl-send-recv, andgit diff --checkpassed. No PS5 hardware run.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 github-actions[bot] on 2026-10-21T21:01:21Z.
Progress report (
8b3e398→26ea36f)📈 System libraries: 43.25% (+0.02%, +2 implemented functions)
✅ 2 implemented
sceSslRecvsceSslSendImported from boykopovar/AnyPS5. Originally posted by jotitadev on 2026-10-21T23:34:07Z.
Review: COMMENTED
First execution of the libSceSsl transport tests. The description notes the host lacks AVX2, so
ctestcould not run there.Machine: Linux x86_64, i7-8700 (6 cores / 12 threads), Ubuntu 26.04, GCC 15.2, Release,
BUILD_TESTING=ON, full build. Head7116859d0(a rebase of the validated28b231b08, same diff). Validated at28b231b08on its own base.guest_ssl,guest_ssl_load,guest_ssl_transport_kernel,guest_ssl_transport_netandguest_ssl_ps5_readers(the TLS 1.2 client path over Mbed TLS executes end to end).libSceSsl/Export.cppto the base and keeping the tests leaves all five green, so the transport tests do not isolate the newsceSslSend/sceSslRecv(they drivesceSslRead/sceSslWrite). So this confirms the suite executes and passes, not a red/green for the two new exports.Written with AI assistance (Claude Code). I ran the builds and tests above on my machine.