feat(libSceLibreSsl3): implement DES_set_key_unchecked #15623
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/15623"
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 alvaroelpob on 2026-11-03T22:14:06Z.
What
Implements
DES_set_key_uncheckedin libSceLibreSsl3. LibreSSL 4.0.0DES_set_keyisDES_set_key_uncheckedwhileDES_check_keyis 0, its default, so it fills the schedule through the forwarded libSceLibreSslDES_set_key, in the format the forwardedDES_ecb_encryptreads.Tested
Linux x86-64 (WSL2), Release: the full build passes and
ctest --test-dir build -j16passes 3829 of 3829 tests, including the newguest_libressl3_des_key.python3 tools/check_conventions.py --base upstream/mainpasses. Not run on a console or in a title.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 BunnyFl on 2026-11-04T02:31:40Z.
Review: APPROVED
@alvaroelpob thanks. In LibreSSL 4.0.0 (
des/set_key.catce488b78e0, line 65) and in the 2.5.4 copy the forwarded export comes from (2e2c612066, line 69),DES_check_keydefaults to 0, andDES_set_keythen callsDES_set_key_unchecked. So forwarding to libSceLibreSsl'sDES_set_keygives the unchecked schedule in the format the forwardedDES_ecb_encryptreads.What I ran: head
61017fb78dmerged ontomain1c8c0efc8c, Windows 11, WinLibs GCC, Release:guest_libressl3_des_keyandpublic_headerspass (2 of 2);guest_libressl3_des_keyfails;tools/check_conventions.py --base upstream/mainon the head: all checks passed;tools/pr_overlap.py --branch: no shared exports. None of the 10 PRs it couldn't compare addsDES_set_key_unchecked.As on #15618, your open LibreSsl3 PRs conflict with one another on the export count line and adjacent lines.
Approving.