Commit Graph
76 Commits
Author SHA1 Message Date
Dean f95b794ff1 Merge pull request #9785 from santhoshkumar-dev/codex/libressl-protocol-selection
feat(libSceLibreSsl): select advertised application protocols
2026-10-27 21:06:22 +13:00
Dean cf652ca76e Merge pull request #10398 from alvaroelpob/feat/libscelibressl-evp-pkey-type
feat(libSceLibreSsl): implement EVP_PKEY_type
2026-10-27 20:52:31 +13:00
Adrià dd6d71ba13 Merge pull request #11050 from harisibrar1/feat/libressl-asn1-string-to-utf8
feat(libSceLibreSsl): report ASN1_STRING_to_UTF8 errors through the ASN.1 error queue
2026-10-27 08:38:38 +01:00
Alvaro 1e88908181 fix(libSceLibreSsl): resolve the DH, DSA and GOST types in EVP_PKEY_type 2026-10-26 22:16:15 +01:00
Alvaro 5ecedd2d01 refactor(libSceLibreSsl): declare the EVP_PKEY_type exports in the public header 2026-10-26 22:16:14 +01:00
Alvaro 93738dfbe9 feat(libSceLibreSsl): implement EVP_PKEY_type 2026-10-26 22:16:14 +01:00
Alvaro 7477b90ecb refactor(libSceLibreSsl): declare the RSA exports in the public header 2026-10-26 20:17:48 +01:00
Alvaro ddb51767c0 feat(libSceLibreSsl): implement RSA_size 2026-10-26 20:17:36 +01:00
Alvaro d7928af60f feat(libSceLibreSsl): implement RSA_flags 2026-10-26 20:17:27 +01:00
Alvaro 515c0f56ba refactor(libSceLibreSsl): declare the UI_METHOD exports in the public header 2026-10-26 19:23:56 +01:00
Alvaro 36a766229b feat(libSceLibreSsl): implement UI_method_get_closer 2026-10-26 19:23:44 +01:00
Alvaro 3ac4a78a0f feat(libSceLibreSsl): implement UI_method_set_closer 2026-10-26 19:23:43 +01:00
Alvaro 9802f33370 feat(libSceLibreSsl): implement UI_method_get_reader 2026-10-26 19:23:43 +01:00
Alvaro 13e48800eb feat(libSceLibreSsl): implement UI_method_set_reader 2026-10-26 19:23:42 +01:00
Alvaro aa5c431bb0 feat(libSceLibreSsl): implement UI_method_get_writer 2026-10-26 19:23:42 +01:00
Alvaro bf6c1458f3 feat(libSceLibreSsl): implement UI_method_set_writer 2026-10-26 19:23:41 +01:00
Alvaro 18a1ec5ca0 feat(libSceLibreSsl): implement UI_method_get_opener 2026-10-26 19:23:41 +01:00
Alvaro a35721aae7 feat(libSceLibreSsl): implement UI_method_set_opener 2026-10-26 19:23:40 +01:00
Alvaro 80104778fe feat(libSceLibreSsl): implement UI_destroy_method 2026-10-26 19:23:39 +01:00
Alvaro 8736ee5a82 feat(libSceLibreSsl): implement UI_create_method 2026-10-26 19:23:36 +01:00
Santhosh Kumar 809350e09c chore: sync current main for PR 9785 2026-10-26 22:34:44 +05:30
Alvaro 353463adc0 refactor(libSceLibreSsl): declare the stack exports in the public header 2026-10-26 18:02:20 +01:00
Alvaro 649c7f97fc feat(libSceLibreSsl): implement sk_pop_free 2026-10-26 18:02:19 +01:00
Alvaro 836b583e90 feat(libSceLibreSsl): implement sk_pop 2026-10-26 18:02:19 +01:00
Alvaro 5efedeeeb3 feat(libSceLibreSsl): implement sk_value 2026-10-26 18:02:18 +01:00
Alvaro 30cdaa7085 feat(libSceLibreSsl): implement sk_num 2026-10-26 18:02:17 +01:00
mantavisual ad31835a6e Merge remote-tracking branch 'upstream/main' into feat/libressl-crypto-locking-callbacks
# Conflicts:
#	core/libs/prx/libSceLibreSsl/CMakeLists.txt
#	docs/dev/debt/libSceLibreSsl.md
2026-10-26 17:52:59 +02:00
harisibrar1 c51456ab71 Merge remote-tracking branch 'origin/main' into feat/libressl-asn1-string-to-utf8
# Conflicts:
#	docs/dev/debt/libSceLibreSsl.md
2026-10-26 09:53:00 -04:00
KernelPanicNT 601226da9c feat(libSceLibreSsl): return the measured version from SSLeay
SSLeay() returns 0x20000000, the value measured on a PS5 with firmware
13.40 and the SSLEAY_VERSION_NUMBER of LibreSSL 2.5.4, which the module
is. The guest_libressl_version test checks it.
2026-10-26 14:46:30 +01:00
Adrià 9b520147fb Merge pull request #9870 from lost9409/feat/libressl-alert-description
feat(libSceLibreSsl): implement TLS alert descriptions
2026-10-26 13:00:23 +01:00
Dean 71d0507780 Merge pull request #11111 from mantavisual/fix/libressl-asn1-null-accessors
fix(libSceLibreSsl): reject null strings in the ASN.1 accessors as invalid arguments
2026-10-26 22:09:21 +13:00
Santhosh Kumar 1e03c7c5f2 fix(libSceLibreSsl): address public API and test review feedback 2026-10-26 14:34:31 +05:30
lost9409 9a848d0b99 feat(libSceLibreSsl): implement TLS alert descriptions 2026-10-26 09:31:37 +01:00
harisibrar1andClaude Opus 5.5 d2bb979ffc fix(libSceLibreSsl): convert ASN1_STRING_to_UTF8 in two passes
Validate the string and count its UTF-8 size first, then make the one
guest allocation and write into it, so no std::vector can throw
std::bad_alloc past the guest. Approach from @thepoppfish's review.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-25 19:33:36 -04:00
mantavisualandClaude Opus 5.5 d003153f53 fix(libSceLibreSsl): reject null strings in the ASN.1 accessors as invalid arguments
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-25 19:52:58 +02:00
Dean Galvin 00843ba7d2 Merge branch 'main' into pr9949 2026-10-26 05:48:30 +13:00
harisibrar1andClaude Opus 5.5 42a02f54f0 feat(libSceLibreSsl): report ASN1_STRING_to_UTF8 errors through the ASN.1 error queue as LibreSSL 2.5.4 does
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-25 10:58:50 -04:00
mantavisualandClaude Opus 5.5 c15dce440a feat(libSceLibreSsl): implement the CRYPTO locking and thread id callbacks
CRYPTO_num_locks, CRYPTO_set_locking_callback, CRYPTO_set_add_lock_callback,
CRYPTO_THREADID_set_callback and CRYPTO_THREADID_set_numeric threw. They
now follow LibreSSL 2.5.4's cryptlib.c, the version identified in the
firmware 13.40 measurements: CRYPTO_num_locks returns 41, the setters
store their callbacks, CRYPTO_THREADID_set_callback keeps the first
non-null one and returns 0 once one is set, and
CRYPTO_THREADID_set_numeric clears the {ptr, val} structure and stores a
64-bit value. The callbacks are never called, because the module exports
none of CRYPTO_lock, CRYPTO_add_lock or CRYPTO_THREADID_current; the debt
entry records it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-25 15:03:25 +02:00
jacob6769 69405e15f9 Merge remote-tracking branch 'origin/main' into fix/libressl-digest-version-paths
# Conflicts:
#	docs/dev/debt/libSceLibreSsl.md
2026-10-25 21:11:02 +09:00
wrocketdevandClaude Opus 5.5 41eb9b983c refactor(libSceLibreSsl): declare the OCSP string functions in the public header
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-25 12:08:49 +01:00
wrocketdevandClaude Opus 5.5 7f295d046b feat(libSceLibreSsl): implement the OCSP status and reason strings
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-25 12:08:49 +01:00
atharvjairath 0390178ba0 feat(libressl): implement cipher metadata queries 2026-10-25 15:41:30 +05:30
Dean 451e21f4ae Merge pull request #10005 from AZLisme/feat/libressl-asn1-helpers
feat(libSceLibreSsl): implement ASN.1 integer and string helpers
2026-10-25 23:08:21 +13:00
Dean fccc63319d Merge pull request #10562 from krishalivaibhav/fix/macos-libressl-aes-constexpr
fix(libSceLibreSsl): build the AES substitution table within the constexpr step limit
2026-10-25 19:15:01 +13:00
jacob6769 e56245a42c Merge remote-tracking branch 'origin/main' into fix/libressl-digest-version-paths
# Conflicts:
#	core/libs/prx/libSceLibreSsl3/src/Digest.cpp
#	core/libs/tests/GuestLibreSslDigest.cpp
#	docs/dev/debt/libSceLibreSsl.md
2026-10-25 15:13:36 +09:00
AZLisme 6098cf2e64 fix(libSceLibreSsl): share public ASN.1 declarations 2026-10-25 10:19:22 +08:00
AZLisme 931efc838c fix(libSceLibreSsl): handle minimum signed ASN.1 integer 2026-10-25 10:19:22 +08:00
AZLisme 2174031ae5 test(libSceLibreSsl): avoid pinning unfinished error reporting 2026-10-25 10:19:15 +08:00
AZLisme caa81ac8e7 test(libSceLibreSsl): pin legacy integer length behavior 2026-10-25 10:19:15 +08:00
AZLisme abd16e771d feat(libSceLibreSsl): implement ASN.1 integer and string helpers 2026-10-25 10:19:06 +08:00