revert: fix libressl3 aes wrap unwrap length bounds (#23208) #23365
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/23365"
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 oneandonlydean on 2026-11-18T22:50:14Z.
What
Exact inverse revert of #23208 (merge
0083a34a19). Since it merged,guest_libressl3_aesandguest_libressl3_aes_wrapfail on Windows main, on plain main as well:LibreSSL3 AES wrap check failed at line 151andLibreSSL3 AES_unwrap_key check failed at line 171, then exit 0xc0000409. #23208 is the only recent change toAes.cppandAesWrap.cpp, the code both checks run through. The length bounds can come back once both tests pass on Windows with them.Tested
The full Windows suite on this PR must show
guest_libressl3_aesandguest_libressl3_aes_wrappassing.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 PrivacyOnion on 2026-11-18T22:51:26Z.
Review: APPROVED
Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against
b410274d06:tools/check_conventions.pypassed.guest_libressl3_aes_ccm_testsbuilt cleanly.guest_libressl3_aes_ccm):core/libs/prx/libSceLibreSsl3/src/Aes.cpp,core/libs/prx/libSceLibreSsl3/src/AesWrap.cppreverted tomainand the new tests kept, the suite fails: Restoring the change makes it pass again.Looks Good To Me