Skip to content

feat(libSceLibreSsl): implement EC points, key generation, ECDSA and ECDH - #15827

Merged
oneandonlydean merged 1 commit into
boykopovar:mainfrom
MatteoSid:feat/libressl-ec-points-ecdsa-ecdh
Nov 8, 2026
Merged

oneandonlydean merged 1 commit into
boykopovar:mainfrom
MatteoSid:feat/libressl-ec-points-ecdsa-ecdh

Conversation

@MatteoSid

@MatteoSid MatteoSid commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

What

Implements eleven libSceLibreSsl exports that were throwing NotImplemented: EC_POINT_new, EC_POINT_free, EC_POINT_point2oct, EC_POINT_oct2point, EC_KEY_generate_key, EC_KEY_check_key, EC_KEY_get0_public_key, EC_KEY_set_public_key, ECDSA_sign, ECDSA_verify and ECDH_compute_key.

Replaces #10407, which the open PR limit closed while #10395 was open; GitHub no longer reopens it. MarcZX10's review there asked for this stack to be refreshed onto current main after #10395 and its LibreSSL tests rerun on the composed head; this is that head, with only this commit left on top of main.

  • Signatures and results follow LibreSSL 2.5.4 at 2e2c612: ec/ec_lib.c, ec/ec_key.c, ec/ec_oct.c, ec/ecp_oct.c, ecdsa/ecs_sign.c, ecdsa/ecs_vrf.c, ecdsa/ecs_ossl.c and ecdh/ech_key.c.
  • EC_POINT is a host object holding an mbedtls_ecp_point and its curve; an EC_KEY now also holds its public point and private scalar. Api.hpp declares EcPoint as opaque next to EcGroup and EcKey, with the exports' signatures; the layouts stay in the internal include/Ec.hpp. The three exports that take or return a BIGNUM (EC_POINT_mul, EC_KEY_get0_private_key, EC_KEY_set_private_key) still throw: feat(libSceLibreSsl): implement the BN_ BIGNUM, BN_CTX, conversion, word, BN_mul and BN_mod_inverse functions #9446's BIGNUM landed after this branch was written, so they are left for a follow-up.
  • EC_POINT_point2oct and EC_POINT_oct2point handle the compressed, uncompressed and hybrid forms and the single zero octet for infinity, with LibreSSL's checks: form and y bit, exact length, coordinates below the prime, hybrid parity and the X9.62 on-curve test. A point that fails only the on-curve test keeps the decoded coordinates, as in LibreSSL, so EC_KEY_check_key can reject it later.
  • EC_KEY_generate_key draws the scalar in [1, n-1] from host entropy and reuses the key's existing point object, as LibreSSL does. EC_KEY_check_key checks infinity, the curve equation and, with a private key, that it gives the public key; the order test always passes because all 11 curves have cofactor 1.
  • ECDSA_sign signs through mbedtls with a random nonce and writes LibreSSL's DER (unsigned INTEGERs, 0x00 pad when the top bit is set); a null buffer only returns the length. ECDSA_verify returns -1 unless the signature is canonical DER with nothing after it (what LibreSSL's decode and re-encode comparison accepts), 0 for r or s outside [1, n-1] or a mismatch, and -1 when u1·G + u2·Q is at infinity. Digests longer than the order are truncated to its bit length, like ecdsa_do_sign and ecdsa_do_verify.
  • ECDH_compute_key returns the x coordinate padded to the field size: -1 without a private key, group or peer key, for a peer at infinity, for a length above INT_MAX or a buffer shorter than the secret without a KDF; a larger buffer is zero-filled. A KDF is called through the guest ABI and its output length is returned.
  • Ec.cpp starts with the copyright notices, licence conditions and disclaimers of LibreSSL 2.5.4's ec/ecp_oct.c, ec/ec_key.c, ecdsa/ecs_ossl.c and ecdh/ech_key.c, verbatim from 2e2c612, because EC_POINT_point2oct, EC_POINT_oct2point, EC_KEY_check_key, ECDSA_verify and ECDH_compute_key follow their control flow.

Gaps, in the debt file: no error is queued; a point used with a group of another curve throws, since LibreSSL's result depends on the EC methods its build picks; so does EC_KEY_set_group to another curve on a key that already has a public or private key; compressed points on secp224k1 and secp224r1 throw (mbedtls only decompresses for primes that are 3 mod 4); ECDSA_verify with a public key at infinity or off the curve and ECDH_compute_key with a peer key off the curve throw, where LibreSSL computes with them. The EC debt entry is split in two to stay under 1000 characters. Export.cpp goes from 121 to 110 NotImplemented_nid_no_patch stubs; since #11553 the debt file no longer states that count.

Tested

Linux (Ubuntu 24.04 container, GCC 13.3), full configure with -DBUILD_TESTING=ON, Release: built libSceLibreSsl, libSceLibreSsl3, their patched .prx files and the eighty-eight LibreSSL tests; ctest -R 'libressl|crypto_memcmp|public_headers' passes 153 of 153 (the eighty-eight LibreSSL tests, public_headers and its 64 compile checks) on head 6e04d09675, based on main 06a9092274; the new guest_libressl_ec_keys takes 0.6 s. Built with AddressSanitizer and leak detection, guest_libressl_ec_keys, guest_libressl_ec and guest_libressl3_key_reference are clean. It checks:

  • the P-256 generator in all three forms, its decompression with both parities (the even root is checked against the negated generator), hybrid parity, 11 malformed encodings that leave the point unchanged, a point off the curve that keeps its coordinates, and infinity;
  • on all 11 curves: key generation, EC_KEY_check_key, encoded sizes, sign and verify (another key, a changed signature, another digest, an empty digest), ECDH agreement on both sides and regeneration keeping the point object;
  • the RFC 6979 A.2.5 P-256/SHA-256 "sample" signature, checked independently with OpenSSL through cryptography 46, and a secp224k1 signature from a Python reference implementation whose 225-bit order makes the truncation drop seven bits; ten non-DER signatures return -1 and five out-of-range ones return 0;
  • ECDH with the generator as peer returns the x coordinate of the own public key, plus padding, short buffers, KDF output, failing KDF and a peer at infinity;
  • EC_KEY_set_public_key copies, own key, null, infinity and off-curve points, and EC_KEY_set_group with and without keys; null arguments throw. Unimplemented paths that throw (other curves, 224-bit compressed points, verify and ECDH with an off-curve or infinite key) are in the debt file and not tested.

Windows: JJenkx ran guest_libressl_ec_keys on head 6e04d09675 merged onto main (Windows 11, WinLibs GCC 15.2 UCRT, Release); it passes in 3 of 3 runs (comment).

The test fails when the truncation shift, the hybrid y bit, the DER minimal-integer check or the ECDH zero fill is removed. nm -D on the patched libSceLibreSsl.prx lists the eleven NIDs. tools/check_conventions.py --base origin/main passes; The overlap comment on 6e04d09675 lists no open PR with the same exports. #12729 and #12730, stacked on it, remove neighbouring stubs in Export.cpp and Api.hpp, #16079 edits the EVP debt entry next to the EC entries, and #16719 adds an EVP_DigestVerifyFinal entry at the same place. I proposed this PR first and offered to rebase after theirs instead (comment). For #16079 the order is agreed: this PR first, with no Depends on on either side (reply). #12729, #12730 and #16719 have not answered yet. #14212 adds a blank line between debt entries across the repository; if it lands first, the rebase separates the two EC entries. #11146 depends on this PR and #11466 on #11146. 40 PRs that share these files conflict with main, so they could not be compared. No title tested.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes

🤖 Generated with Claude Code

@MatteoSid

Copy link
Copy Markdown
Contributor Author

Test run on this exact head bc7007673ae172d91673917957f67eb1b6b413b1, based on main 95058163934edcf9c9328f17357ee677b70e95d2 (Linux, Ubuntu 24.04 container, GCC 13.3, Release, BUILD_TESTING=ON). tools/check_conventions.py --base origin/main passes, including this PR body. Built with AddressSanitizer and leak detection, guest_libressl_ec_keys, guest_libressl_ec and guest_libressl3_key_reference are clean. ctest -j8 -R 'libressl|crypto_memcmp|public_headers' output:

100% tests passed, 0 tests failed out of 120
  1/120 Test  #505: public_headers ...............................   Passed   28.33 sec
  2/120 Test  #544: public_headers_compile_38 ....................   Passed    0.67 sec
  3/120 Test  #568: public_headers_compile_62 ....................   Passed    0.88 sec
  4/120 Test  #567: public_headers_compile_61 ....................   Passed    0.88 sec
  5/120 Test  #566: public_headers_compile_60 ....................   Passed    1.05 sec
  6/120 Test  #545: public_headers_compile_39 ....................   Passed    1.11 sec
  7/120 Test  #530: public_headers_compile_24 ....................   Passed    1.41 sec
  8/120 Test  #564: public_headers_compile_58 ....................   Passed    0.62 sec
  9/120 Test  #529: public_headers_compile_23 ....................   Passed    0.63 sec
 10/120 Test  #537: public_headers_compile_31 ....................   Passed    1.11 sec
 11/120 Test  #551: public_headers_compile_45 ....................   Passed    1.04 sec
 12/120 Test  #509: public_headers_compile_3 .....................   Passed    0.68 sec
 13/120 Test  #565: public_headers_compile_59 ....................   Passed    0.63 sec
 14/120 Test  #549: public_headers_compile_43 ....................   Passed    2.22 sec
 15/120 Test  #543: public_headers_compile_37 ....................   Passed    1.05 sec
 16/120 Test  #548: public_headers_compile_42 ....................   Passed    1.62 sec
 17/120 Test  #535: public_headers_compile_29 ....................   Passed    1.71 sec
 18/120 Test  #538: public_headers_compile_32 ....................   Passed    1.67 sec
 19/120 Test  #508: public_headers_compile_2 .....................   Passed    2.34 sec
 20/120 Test  #536: public_headers_compile_30 ....................   Passed    2.93 sec
 21/120 Test  #550: public_headers_compile_44 ....................   Passed    4.21 sec
 22/120 Test  #546: public_headers_compile_40 ....................   Passed    1.08 sec
 23/120 Test  #520: public_headers_compile_14 ....................   Passed    1.27 sec
 24/120 Test  #556: public_headers_compile_50 ....................   Passed    0.67 sec
 25/120 Test  #554: public_headers_compile_48 ....................   Passed    1.54 sec
 26/120 Test  #569: public_headers_compile_63 ....................   Passed    1.04 sec
 27/120 Test  #519: public_headers_compile_13 ....................   Passed    0.70 sec
 28/120 Test  #510: public_headers_compile_4 .....................   Passed    2.88 sec
 29/120 Test  #534: public_headers_compile_28 ....................   Passed    1.04 sec
 30/120 Test  #547: public_headers_compile_41 ....................   Passed    0.94 sec
 31/120 Test  #506: public_headers_compile_0 .....................   Passed    1.02 sec
 32/120 Test  #559: public_headers_compile_53 ....................   Passed    0.62 sec
 33/120 Test  #560: public_headers_compile_54 ....................   Passed    0.68 sec
 34/120 Test  #522: public_headers_compile_16 ....................   Passed    4.80 sec
 35/120 Test  #533: public_headers_compile_27 ....................   Passed    3.14 sec
 36/120 Test  #542: public_headers_compile_36 ....................   Passed    0.97 sec
 37/120 Test  #539: public_headers_compile_33 ....................   Passed    2.00 sec
 38/120 Test  #523: public_headers_compile_17 ....................   Passed    2.67 sec
 39/120 Test  #555: public_headers_compile_49 ....................   Passed    1.82 sec
 40/120 Test  #528: public_headers_compile_22 ....................   Passed    3.79 sec
 41/120 Test  #521: public_headers_compile_15 ....................   Passed    5.98 sec
 42/120 Test  #553: public_headers_compile_47 ....................   Passed    1.49 sec
 43/120 Test  #532: public_headers_compile_26 ....................   Passed    2.43 sec
 44/120 Test  #514: public_headers_compile_8 .....................   Passed    3.49 sec
 45/120 Test  #531: public_headers_compile_25 ....................   Passed    0.90 sec
 46/120 Test  #511: public_headers_compile_5 .....................   Passed    4.18 sec
 47/120 Test  #557: public_headers_compile_51 ....................   Passed    0.59 sec
 48/120 Test  #513: public_headers_compile_7 .....................   Passed    3.42 sec
 49/120 Test  #518: public_headers_compile_12 ....................   Passed    0.69 sec
 50/120 Test  #558: public_headers_compile_52 ....................   Passed    0.65 sec
 51/120 Test  #563: public_headers_compile_57 ....................   Passed    1.82 sec
 52/120 Test  #512: public_headers_compile_6 .....................   Passed    2.03 sec
 53/120 Test  #524: public_headers_compile_18 ....................   Passed    3.17 sec
 54/120 Test  #507: public_headers_compile_1 .....................   Passed    0.98 sec
 55/120 Test  #515: public_headers_compile_9 .....................   Passed    0.65 sec
 56/120 Test  #552: public_headers_compile_46 ....................   Passed    1.04 sec
 57/120 Test  #541: public_headers_compile_35 ....................   Passed    0.61 sec
 58/120 Test  #561: public_headers_compile_55 ....................   Passed    3.11 sec
 59/120 Test #2890: guest_libressl_ec_keys .......................   Passed    0.61 sec
 60/120 Test  #540: public_headers_compile_34 ....................   Passed    1.30 sec
 61/120 Test #2911: guest_libressl3_asn1 .........................   Passed    0.03 sec
 62/120 Test #2909: guest_libressl3_digest .......................   Passed    0.02 sec
 63/120 Test  #466: guest_libressl_cmac ..........................   Passed    0.01 sec
 64/120 Test  #461: guest_libressl_errors ........................   Passed    0.01 sec
 65/120 Test  #516: public_headers_compile_10 ....................   Passed    1.38 sec
 66/120 Test  #469: guest_libressl_protocol_nid ..................   Passed    0.01 sec
 67/120 Test  #517: public_headers_compile_11 ....................   Passed    2.25 sec
 68/120 Test  #462: guest_libressl_free_strings ..................   Passed    0.01 sec
 69/120 Test  #468: guest_libressl_protocol ......................   Passed    0.01 sec
 70/120 Test  #463: guest_libressl_free_strings_first ............   Passed    0.01 sec
 71/120 Test  #467: guest_libressl_cmac_patched ..................   Passed    0.02 sec
 72/120 Test #2905: guest_libressl3_time .........................   Passed    0.01 sec
 73/120 Test #2904: guest_libressl_evp ...........................   Passed    0.01 sec
 74/120 Test #2903: guest_libressl_x509_extension ................   Passed    0.01 sec
 75/120 Test #2873: guest_libressl_digest ........................   Passed    0.19 sec
 76/120 Test  #464: guest_libressl_bio ...........................   Passed    0.01 sec
 77/120 Test #2876: guest_libressl_ex_data .......................   Passed    0.01 sec
 78/120 Test  #465: guest_libressl_bio_patched ...................   Passed    0.01 sec
 79/120 Test #2899: guest_libressl_x509_verify_param .............   Passed    0.01 sec
 80/120 Test #2915: guest_libressl3_key_reference ................   Passed    0.01 sec
 81/120 Test #2913: guest_libressl3_stack ........................   Passed    0.01 sec
 82/120 Test #2897: guest_libressl_x509_store ....................   Passed    0.01 sec
 83/120 Test #2888: guest_libressl_evp_cipher_ctx ................   Passed    0.01 sec
 84/120 Test #2900: guest_libressl_x509_verify_param_allocator ...   Passed    0.01 sec
 85/120 Test #2914: guest_libressl3_cipher .......................   Passed    0.01 sec
 86/120 Test #2896: guest_libressl_object_allocation .............   Passed    0.01 sec
 87/120 Test #2912: guest_libressl3_x509_verify_param ............   Passed    0.01 sec
 88/120 Test #2910: guest_libressl3_digest_context ...............   Passed    0.01 sec
 89/120 Test #2916: guest_libressl3_version ......................   Passed    0.01 sec
 90/120 Test #2874: guest_libressl_asn1 ..........................   Passed    0.01 sec
 91/120 Test #2906: guest_libressl3_pkey_getters .................   Passed    0.01 sec
 92/120 Test #2881: guest_libressl_ocsp ..........................   Passed    0.01 sec
 93/120 Test #2898: guest_libressl_x509_store_allocator ..........   Passed    0.01 sec
 94/120 Test #2883: guest_libressl_general_name ..................   Passed    0.01 sec
 95/120 Test #2882: guest_libressl_stack .........................   Passed    0.01 sec
 96/120 Test #2884: guest_libressl_ui ............................   Passed    0.01 sec
 97/120 Test #2880: guest_libressl_error .........................   Passed    0.01 sec
 98/120 Test #2886: guest_libressl_x509_store_context ............   Passed    0.01 sec
 99/120 Test #2878: guest_libressl_runtime .......................   Passed    0.01 sec
100/120 Test #2902: guest_libressl_x509_lookup_allocator .........   Passed    0.01 sec
101/120 Test #2901: guest_libressl_x509_lookup ...................   Passed    0.01 sec
102/120 Test #2887: guest_libressl_pkey_type .....................   Passed    0.01 sec
103/120 Test #2885: guest_libressl_rsa ...........................   Passed    0.01 sec
104/120 Test  #562: public_headers_compile_56 ....................   Passed    3.11 sec
105/120 Test #2895: guest_libressl_object_text ...................   Passed    0.01 sec
106/120 Test #2894: guest_libressl_crypto_locks ..................   Passed    0.01 sec
107/120 Test #2889: guest_libressl_ec ............................   Passed    0.01 sec
108/120 Test #2879: guest_libressl_aes ...........................   Passed    0.01 sec
109/120 Test #2892: guest_libressl_alert .........................   Passed    0.01 sec
110/120 Test #2893: guest_libressl_version .......................   Passed    0.01 sec
111/120 Test #2891: guest_libressl_cipher ........................   Passed    0.01 sec
112/120 Test #2875: guest_libressl_asn1_allocator ................   Passed    0.01 sec
113/120 Test #2907: guest_crypto_memcmp ..........................   Passed    0.01 sec
114/120 Test #2877: guest_libressl_des ...........................   Passed    0.01 sec
115/120 Test #2872: guest_libressl_x509_errors ...................   Passed    0.01 sec
116/120 Test #2871: guest_libressl_bn ............................   Passed    0.00 sec
117/120 Test #2908: guest_libressl3_x509_pubkey_param ............   Passed    0.00 sec
118/120 Test  #527: public_headers_compile_21 ....................   Passed    2.85 sec
119/120 Test  #525: public_headers_compile_19 ....................   Passed    4.05 sec
120/120 Test  #526: public_headers_compile_20 ....................   Passed    4.34 sec

100% tests passed, 0 tests failed out of 120
Total Test time (real) =  45.66 sec

@github-actions

github-actions Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Progress report (508ec40 → 6e04d09)

📈 System libraries: 29.11% (+0.01%, +6 implemented, -1 reverted functions)

✅ 6 implemented
Library Name
libSceLibreSsl ECDSA_sign_nid_postfix
libSceLibreSsl EC_KEY_check_key_nid_postfix
libSceLibreSsl EC_KEY_generate_key_nid_postfix
libSceLibreSsl EC_KEY_get0_public_key_nid_postfix
libSceLibreSsl EC_POINT_free_nid_postfix
libSceLibreSsl EC_POINT_new_nid_postfix
⚠️ 1 went back to stubs
Library Name
libSceLibreSsl EC_KEY_set_group_nid_postfix

Changed libraries (implemented exports)

Library Before After Change
libSceLibreSsl 265/446 (59.42%) 270/446 (60.54%) +1.12%

@MatteoSid

Copy link
Copy Markdown
Contributor Author

On the progress report: tools/progress.py counts a function as a stub when it can reach NotImplemented_nid_no_patch, and these exports keep that call on their unsupported paths.

  • EC_KEY_set_group is listed as back to stubs because this PR adds the other-curve check for a key that already has a public or private key.
  • EC_POINT_point2oct, EC_POINT_oct2point, EC_KEY_set_public_key, ECDSA_verify and ECDH_compute_key are not counted for the same reason. They reach it on the throwing paths in the debt entry: a point or key of another curve, compressed points on the two 224-bit curves, and verify or ECDH with an off-curve or infinite key.

Their other paths are implemented and tested. EC_GROUP_new_by_curve_name is counted the same way on main, for the curves mbedtls lacks.

@MatteoSid
MatteoSid force-pushed the feat/libressl-ec-points-ecdsa-ecdh branch from bc70076 to 441d06a Compare November 4, 2026 20:08
@MatteoSid

Copy link
Copy Markdown
Contributor Author

Rebased onto current main 9f35c937da06b9e05b994439ad4428c0232f608e as 441d06aeaf5120a80b4fc439dab520b36c632e2e. The only conflict was the pending-export line: #11662's correction put it at 221 on main, matching its 221 stubs, and this tree leaves 210. The rest of the diff is unchanged.

On this exact head (Linux, Ubuntu 24.04 container, GCC 13.3, Release, BUILD_TESTING=ON), tools/check_conventions.py --base origin/main passes, including the updated body. guest_libressl_ec_keys, guest_libressl_ec and guest_libressl3_key_reference are clean under AddressSanitizer with leak detection.

One build note unrelated to this PR: on this main, libSceAgcDriver does not compile here. At Graphics/src/DepthSurface.cpp:1623, OwnedImage::Allocate gets a VkMemoryAllocateInfo where it takes a const VkImageCreateInfo&; this follows the merges of #15300 and #15301. The patched libSceLibreSsl3.prx and guest_libressl_protocol_tests wait for that target, so they are from the previous head; neither changed since. ctest -j8 -R 'libressl|crypto_memcmp|public_headers' output:

100% tests passed, 0 tests failed out of 120
  1/120 Test  #526: public_headers ...............................   Passed   28.20 sec
  2/120 Test  #565: public_headers_compile_38 ....................   Passed    0.71 sec
  3/120 Test  #589: public_headers_compile_62 ....................   Passed    0.83 sec
  4/120 Test  #588: public_headers_compile_61 ....................   Passed    0.91 sec
  5/120 Test  #587: public_headers_compile_60 ....................   Passed    1.03 sec
  6/120 Test  #566: public_headers_compile_39 ....................   Passed    1.06 sec
  7/120 Test  #551: public_headers_compile_24 ....................   Passed    1.41 sec
  8/120 Test  #585: public_headers_compile_58 ....................   Passed    0.61 sec
  9/120 Test  #550: public_headers_compile_23 ....................   Passed    0.60 sec
 10/120 Test  #558: public_headers_compile_31 ....................   Passed    1.03 sec
 11/120 Test  #572: public_headers_compile_45 ....................   Passed    1.10 sec
 12/120 Test  #530: public_headers_compile_3 .....................   Passed    0.62 sec
 13/120 Test  #570: public_headers_compile_43 ....................   Passed    2.21 sec
 14/120 Test  #586: public_headers_compile_59 ....................   Passed    0.65 sec
 15/120 Test  #564: public_headers_compile_37 ....................   Passed    0.98 sec
 16/120 Test  #569: public_headers_compile_42 ....................   Passed    1.69 sec
 17/120 Test  #529: public_headers_compile_2 .....................   Passed    2.31 sec
 18/120 Test  #557: public_headers_compile_30 ....................   Passed    2.81 sec
 19/120 Test  #559: public_headers_compile_32 ....................   Passed    1.56 sec
 20/120 Test  #556: public_headers_compile_29 ....................   Passed    1.89 sec
 21/120 Test  #571: public_headers_compile_44 ....................   Passed    4.10 sec
 22/120 Test  #567: public_headers_compile_40 ....................   Passed    1.13 sec
 23/120 Test  #590: public_headers_compile_63 ....................   Passed    1.08 sec
 24/120 Test  #541: public_headers_compile_14 ....................   Passed    1.35 sec
 25/120 Test  #575: public_headers_compile_48 ....................   Passed    1.51 sec
 26/120 Test  #577: public_headers_compile_50 ....................   Passed    0.60 sec
 27/120 Test  #531: public_headers_compile_4 .....................   Passed    2.78 sec
 28/120 Test  #568: public_headers_compile_41 ....................   Passed    0.84 sec
 29/120 Test  #527: public_headers_compile_0 .....................   Passed    0.99 sec
 30/120 Test  #555: public_headers_compile_28 ....................   Passed    1.18 sec
 31/120 Test  #540: public_headers_compile_13 ....................   Passed    0.66 sec
 32/120 Test  #543: public_headers_compile_16 ....................   Passed    4.91 sec
 33/120 Test  #554: public_headers_compile_27 ....................   Passed    2.99 sec
 34/120 Test  #580: public_headers_compile_53 ....................   Passed    0.64 sec
 35/120 Test  #581: public_headers_compile_54 ....................   Passed    0.68 sec
 36/120 Test  #563: public_headers_compile_36 ....................   Passed    0.94 sec
 37/120 Test  #544: public_headers_compile_17 ....................   Passed    2.43 sec
 38/120 Test  #560: public_headers_compile_33 ....................   Passed    2.02 sec
 39/120 Test  #574: public_headers_compile_47 ....................   Passed    0.61 sec
 40/120 Test  #542: public_headers_compile_15 ....................   Passed    5.54 sec
 41/120 Test  #549: public_headers_compile_22 ....................   Passed    3.07 sec
 42/120 Test  #576: public_headers_compile_49 ....................   Passed    1.48 sec
 43/120 Test  #553: public_headers_compile_26 ....................   Passed    1.76 sec
 44/120 Test  #534: public_headers_compile_7 .....................   Passed    2.64 sec
 45/120 Test  #552: public_headers_compile_25 ....................   Passed    0.70 sec
 46/120 Test  #532: public_headers_compile_5 .....................   Passed    3.76 sec
 47/120 Test  #535: public_headers_compile_8 .....................   Passed    3.26 sec
 48/120 Test  #578: public_headers_compile_51 ....................   Passed    0.62 sec
 49/120 Test  #539: public_headers_compile_12 ....................   Passed    0.67 sec
 50/120 Test  #533: public_headers_compile_6 .....................   Passed    1.95 sec
 51/120 Test  #579: public_headers_compile_52 ....................   Passed    0.63 sec
 52/120 Test  #584: public_headers_compile_57 ....................   Passed    1.98 sec
 53/120 Test  #528: public_headers_compile_1 .....................   Passed    1.01 sec
 54/120 Test  #545: public_headers_compile_18 ....................   Passed    3.22 sec
 55/120 Test  #573: public_headers_compile_46 ....................   Passed    1.06 sec
 56/120 Test  #582: public_headers_compile_55 ....................   Passed    2.94 sec
 57/120 Test  #536: public_headers_compile_9 .....................   Passed    0.68 sec
 58/120 Test  #562: public_headers_compile_35 ....................   Passed    0.69 sec
 59/120 Test  #538: public_headers_compile_11 ....................   Passed    2.34 sec
 60/120 Test  #583: public_headers_compile_56 ....................   Passed    3.06 sec
 61/120 Test #2938: guest_libressl3_asn1 .........................   Passed    0.03 sec
 62/120 Test #2936: guest_libressl3_digest .......................   Passed    0.02 sec
 63/120 Test  #487: guest_libressl_cmac ..........................   Passed    0.02 sec
 64/120 Test  #482: guest_libressl_errors ........................   Passed    0.01 sec
 65/120 Test  #490: guest_libressl_protocol_nid ..................   Passed    0.01 sec
 66/120 Test  #483: guest_libressl_free_strings ..................   Passed    0.01 sec
 67/120 Test #2900: guest_libressl_digest ........................   Passed    0.20 sec
 68/120 Test  #488: guest_libressl_cmac_patched ..................   Passed    0.01 sec
 69/120 Test  #489: guest_libressl_protocol ......................   Passed    0.02 sec
 70/120 Test  #484: guest_libressl_free_strings_first ............   Passed    0.01 sec
 71/120 Test #2932: guest_libressl3_time .........................   Passed    0.01 sec
 72/120 Test #2931: guest_libressl_evp ...........................   Passed    0.01 sec
 73/120 Test  #485: guest_libressl_bio ...........................   Passed    0.01 sec
 74/120 Test  #486: guest_libressl_bio_patched ...................   Passed    0.01 sec
 75/120 Test #2930: guest_libressl_x509_extension ................   Passed    0.01 sec
 76/120 Test #2903: guest_libressl_ex_data .......................   Passed    0.01 sec
 77/120 Test #2942: guest_libressl3_key_reference ................   Passed    0.01 sec
 78/120 Test #2926: guest_libressl_x509_verify_param .............   Passed    0.01 sec
 79/120 Test #2940: guest_libressl3_stack ........................   Passed    0.01 sec
 80/120 Test #2915: guest_libressl_evp_cipher_ctx ................   Passed    0.01 sec
 81/120 Test #2924: guest_libressl_x509_store ....................   Passed    0.01 sec
 82/120 Test #2941: guest_libressl3_cipher .......................   Passed    0.01 sec
 83/120 Test #2927: guest_libressl_x509_verify_param_allocator ...   Passed    0.00 sec
 84/120 Test #2939: guest_libressl3_x509_verify_param ............   Passed    0.01 sec
 85/120 Test #2923: guest_libressl_object_allocation .............   Passed    0.00 sec
 86/120 Test #2943: guest_libressl3_version ......................   Passed    0.01 sec
 87/120 Test #2937: guest_libressl3_digest_context ...............   Passed    0.01 sec
 88/120 Test #2933: guest_libressl3_pkey_getters .................   Passed    0.01 sec
 89/120 Test #2910: guest_libressl_general_name ..................   Passed    0.01 sec
 90/120 Test #2901: guest_libressl_asn1 ..........................   Passed    0.01 sec
 91/120 Test #2925: guest_libressl_x509_store_allocator ..........   Passed    0.01 sec
 92/120 Test #2909: guest_libressl_stack .........................   Passed    0.01 sec
 93/120 Test #2908: guest_libressl_ocsp ..........................   Passed    0.01 sec
 94/120 Test #2913: guest_libressl_x509_store_context ............   Passed    0.01 sec
 95/120 Test #2911: guest_libressl_ui ............................   Passed    0.01 sec
 96/120 Test #2929: guest_libressl_x509_lookup_allocator .........   Passed    0.01 sec
 97/120 Test #2907: guest_libressl_error .........................   Passed    0.01 sec
 98/120 Test #2905: guest_libressl_runtime .......................   Passed    0.01 sec
 99/120 Test #2928: guest_libressl_x509_lookup ...................   Passed    0.01 sec
100/120 Test #2922: guest_libressl_object_text ...................   Passed    0.01 sec
101/120 Test #2914: guest_libressl_pkey_type .....................   Passed    0.01 sec
102/120 Test #2912: guest_libressl_rsa ...........................   Passed    0.00 sec
103/120 Test #2921: guest_libressl_crypto_locks ..................   Passed    0.00 sec
104/120 Test #2906: guest_libressl_aes ...........................   Passed    0.01 sec
105/120 Test #2916: guest_libressl_ec ............................   Passed    0.01 sec
106/120 Test #2919: guest_libressl_alert .........................   Passed    0.01 sec
107/120 Test #2920: guest_libressl_version .......................   Passed    0.01 sec
108/120 Test #2918: guest_libressl_cipher ........................   Passed    0.00 sec
109/120 Test #2902: guest_libressl_asn1_allocator ................   Passed    0.01 sec
110/120 Test #2934: guest_crypto_memcmp ..........................   Passed    0.01 sec
111/120 Test #2904: guest_libressl_des ...........................   Passed    0.01 sec
112/120 Test #2899: guest_libressl_x509_errors ...................   Passed    0.01 sec
113/120 Test #2898: guest_libressl_bn ............................   Passed    0.01 sec
114/120 Test #2935: guest_libressl3_x509_pubkey_param ............   Passed    0.01 sec
115/120 Test #2917: guest_libressl_ec_keys .......................   Passed    0.60 sec
116/120 Test  #537: public_headers_compile_10 ....................   Passed    1.29 sec
117/120 Test  #561: public_headers_compile_34 ....................   Passed    1.34 sec
118/120 Test  #548: public_headers_compile_21 ....................   Passed    2.85 sec
119/120 Test  #546: public_headers_compile_19 ....................   Passed    3.88 sec
120/120 Test  #547: public_headers_compile_20 ....................   Passed    4.29 sec

100% tests passed, 0 tests failed out of 120
Total Test time (real) =  45.13 sec

@MatteoSid
MatteoSid force-pushed the feat/libressl-ec-points-ecdsa-ecdh branch from 441d06a to 81a6e5b Compare November 4, 2026 22:36
@MatteoSid

Copy link
Copy Markdown
Contributor Author

Rebased onto current main d63781e9ce826dd5445b35b91960bb576f4834ae as 81a6e5b32fa98c73c23ce6c5973cebb4e6b1906c after #10450. The conflicts were the usual ones. The test block keeps #10450's guest_libressl_evp_cipher registration next to guest_libressl_ec_keys, and the pending-export line goes from 220 on main (matching its 220 stubs) to 209. The rest of the diff is unchanged.

libSceAgcDriver builds again on this main, so the build note from the previous rebase no longer applies: both patched .prx files and every LibreSSL test are rebuilt on this head. Here (Linux, Ubuntu 24.04 container, GCC 13.3, Release, BUILD_TESTING=ON), tools/check_conventions.py --base origin/main passes, including the updated body. guest_libressl_ec_keys, guest_libressl_ec and guest_libressl3_key_reference are clean under AddressSanitizer with leak detection. ctest -j8 -R 'libressl|crypto_memcmp|public_headers' output:

100% tests passed, 0 tests failed out of 121
  1/121 Test  #526: public_headers ...............................   Passed   27.66 sec
  2/121 Test  #565: public_headers_compile_38 ....................   Passed    0.71 sec
  3/121 Test  #588: public_headers_compile_61 ....................   Passed    0.87 sec
  4/121 Test  #589: public_headers_compile_62 ....................   Passed    0.90 sec
  5/121 Test  #587: public_headers_compile_60 ....................   Passed    1.09 sec
  6/121 Test  #566: public_headers_compile_39 ....................   Passed    1.15 sec
  7/121 Test  #551: public_headers_compile_24 ....................   Passed    1.45 sec
  8/121 Test  #585: public_headers_compile_58 ....................   Passed    0.68 sec
  9/121 Test  #558: public_headers_compile_31 ....................   Passed    1.10 sec
 10/121 Test  #572: public_headers_compile_45 ....................   Passed    1.09 sec
 11/121 Test  #570: public_headers_compile_43 ....................   Passed    2.12 sec
 12/121 Test  #550: public_headers_compile_23 ....................   Passed    0.66 sec
 13/121 Test  #530: public_headers_compile_3 .....................   Passed    0.68 sec
 14/121 Test  #556: public_headers_compile_29 ....................   Passed    1.70 sec
 15/121 Test  #557: public_headers_compile_30 ....................   Passed    3.09 sec
 16/121 Test  #571: public_headers_compile_44 ....................   Passed    4.06 sec
 17/121 Test  #569: public_headers_compile_42 ....................   Passed    1.62 sec
 18/121 Test  #529: public_headers_compile_2 .....................   Passed    2.27 sec
 19/121 Test  #586: public_headers_compile_59 ....................   Passed    0.72 sec
 20/121 Test  #531: public_headers_compile_4 .....................   Passed    2.81 sec
 21/121 Test  #564: public_headers_compile_37 ....................   Passed    1.08 sec
 22/121 Test  #559: public_headers_compile_32 ....................   Passed    1.69 sec
 23/121 Test  #567: public_headers_compile_40 ....................   Passed    1.13 sec
 24/121 Test  #575: public_headers_compile_48 ....................   Passed    1.45 sec
 25/121 Test  #543: public_headers_compile_16 ....................   Passed    4.87 sec
 26/121 Test  #590: public_headers_compile_63 ....................   Passed    1.01 sec
 27/121 Test  #541: public_headers_compile_14 ....................   Passed    1.30 sec
 28/121 Test  #577: public_headers_compile_50 ....................   Passed    0.64 sec
 29/121 Test  #555: public_headers_compile_28 ....................   Passed    1.11 sec
 30/121 Test  #527: public_headers_compile_0 .....................   Passed    0.93 sec
 31/121 Test  #554: public_headers_compile_27 ....................   Passed    2.97 sec
 32/121 Test  #542: public_headers_compile_15 ....................   Passed    5.70 sec
 33/121 Test  #540: public_headers_compile_13 ....................   Passed    0.69 sec
 34/121 Test  #568: public_headers_compile_41 ....................   Passed    0.85 sec
 35/121 Test  #560: public_headers_compile_33 ....................   Passed    1.91 sec
 36/121 Test  #544: public_headers_compile_17 ....................   Passed    2.53 sec
 37/121 Test  #580: public_headers_compile_53 ....................   Passed    0.67 sec
 38/121 Test  #563: public_headers_compile_36 ....................   Passed    0.96 sec
 39/121 Test  #581: public_headers_compile_54 ....................   Passed    0.64 sec
 40/121 Test  #549: public_headers_compile_22 ....................   Passed    3.13 sec
 41/121 Test  #532: public_headers_compile_5 .....................   Passed    3.65 sec
 42/121 Test  #534: public_headers_compile_7 .....................   Passed    2.62 sec
 43/121 Test  #553: public_headers_compile_26 ....................   Passed    1.77 sec
 44/121 Test  #576: public_headers_compile_49 ....................   Passed    1.56 sec
 45/121 Test  #535: public_headers_compile_8 .....................   Passed    3.28 sec
 46/121 Test  #574: public_headers_compile_47 ....................   Passed    0.63 sec
 47/121 Test  #552: public_headers_compile_25 ....................   Passed    0.68 sec
 48/121 Test  #539: public_headers_compile_12 ....................   Passed    0.67 sec
 49/121 Test  #533: public_headers_compile_6 .....................   Passed    1.93 sec
 50/121 Test  #545: public_headers_compile_18 ....................   Passed    3.15 sec
 51/121 Test  #578: public_headers_compile_51 ....................   Passed    0.58 sec
 52/121 Test  #582: public_headers_compile_55 ....................   Passed    2.88 sec
 53/121 Test  #584: public_headers_compile_57 ....................   Passed    1.92 sec
 54/121 Test  #579: public_headers_compile_52 ....................   Passed    0.61 sec
 55/121 Test  #573: public_headers_compile_46 ....................   Passed    1.08 sec
 56/121 Test  #528: public_headers_compile_1 .....................   Passed    1.00 sec
 57/121 Test  #536: public_headers_compile_9 .....................   Passed    0.61 sec
 58/121 Test  #583: public_headers_compile_56 ....................   Passed    3.08 sec
 59/121 Test  #538: public_headers_compile_11 ....................   Passed    2.14 sec
 60/121 Test #2900: guest_libressl_digest ........................   Passed    0.19 sec
 61/121 Test #2939: guest_libressl3_asn1 .........................   Passed    0.03 sec
 62/121 Test #2937: guest_libressl3_digest .......................   Passed    0.02 sec
 63/121 Test  #487: guest_libressl_cmac ..........................   Passed    0.02 sec
 64/121 Test  #488: guest_libressl_cmac_patched ..................   Passed    0.01 sec
 65/121 Test  #482: guest_libressl_errors ........................   Passed    0.01 sec
 66/121 Test  #490: guest_libressl_protocol_nid ..................   Passed    0.01 sec
 67/121 Test  #483: guest_libressl_free_strings ..................   Passed    0.01 sec
 68/121 Test  #489: guest_libressl_protocol ......................   Passed    0.01 sec
 69/121 Test  #484: guest_libressl_free_strings_first ............   Passed    0.01 sec
 70/121 Test #2933: guest_libressl3_time .........................   Passed    0.01 sec
 71/121 Test #2932: guest_libressl_evp ...........................   Passed    0.01 sec
 72/121 Test  #485: guest_libressl_bio ...........................   Passed    0.01 sec
 73/121 Test  #562: public_headers_compile_35 ....................   Passed    0.66 sec
 74/121 Test  #486: guest_libressl_bio_patched ...................   Passed    0.01 sec
 75/121 Test #2931: guest_libressl_x509_extension ................   Passed    0.01 sec
 76/121 Test  #561: public_headers_compile_34 ....................   Passed    1.20 sec
 77/121 Test #2903: guest_libressl_ex_data .......................   Passed    0.01 sec
 78/121 Test #2943: guest_libressl3_key_reference ................   Passed    0.01 sec
 79/121 Test #2927: guest_libressl_x509_verify_param .............   Passed    0.01 sec
 80/121 Test #2941: guest_libressl3_stack ........................   Passed    0.01 sec
 81/121 Test #2915: guest_libressl_evp_cipher_ctx ................   Passed    0.01 sec
 82/121 Test #2942: guest_libressl3_cipher .......................   Passed    0.01 sec
 83/121 Test #2925: guest_libressl_x509_store ....................   Passed    0.01 sec
 84/121 Test #2940: guest_libressl3_x509_verify_param ............   Passed    0.01 sec
 85/121 Test #2928: guest_libressl_x509_verify_param_allocator ...   Passed    0.01 sec
 86/121 Test #2944: guest_libressl3_version ......................   Passed    0.01 sec
 87/121 Test #2924: guest_libressl_object_allocation .............   Passed    0.01 sec
 88/121 Test #2938: guest_libressl3_digest_context ...............   Passed    0.01 sec
 89/121 Test #2934: guest_libressl3_pkey_getters .................   Passed    0.01 sec
 90/121 Test #2901: guest_libressl_asn1 ..........................   Passed    0.01 sec
 91/121 Test #2910: guest_libressl_general_name ..................   Passed    0.01 sec
 92/121 Test #2909: guest_libressl_stack .........................   Passed    0.01 sec
 93/121 Test #2908: guest_libressl_ocsp ..........................   Passed    0.01 sec
 94/121 Test #2913: guest_libressl_x509_store_context ............   Passed    0.01 sec
 95/121 Test #2911: guest_libressl_ui ............................   Passed    0.01 sec
 96/121 Test #2926: guest_libressl_x509_store_allocator ..........   Passed    0.01 sec
 97/121 Test #2930: guest_libressl_x509_lookup_allocator .........   Passed    0.01 sec
 98/121 Test #2929: guest_libressl_x509_lookup ...................   Passed    0.00 sec
 99/121 Test #2907: guest_libressl_error .........................   Passed    0.01 sec
100/121 Test #2905: guest_libressl_runtime .......................   Passed    0.01 sec
101/121 Test #2923: guest_libressl_object_text ...................   Passed    0.01 sec
102/121 Test #2914: guest_libressl_pkey_type .....................   Passed    0.00 sec
103/121 Test #2912: guest_libressl_rsa ...........................   Passed    0.00 sec
104/121 Test #2906: guest_libressl_aes ...........................   Passed    0.01 sec
105/121 Test #2922: guest_libressl_crypto_locks ..................   Passed    0.01 sec
106/121 Test  #537: public_headers_compile_10 ....................   Passed    1.26 sec
107/121 Test #2916: guest_libressl_ec ............................   Passed    0.01 sec
108/121 Test #2920: guest_libressl_alert .........................   Passed    0.01 sec
109/121 Test #2921: guest_libressl_version .......................   Passed    0.01 sec
110/121 Test #2919: guest_libressl_cipher ........................   Passed    0.01 sec
111/121 Test #2902: guest_libressl_asn1_allocator ................   Passed    0.01 sec
112/121 Test #2935: guest_crypto_memcmp ..........................   Passed    0.01 sec
113/121 Test #2904: guest_libressl_des ...........................   Passed    0.01 sec
114/121 Test #2899: guest_libressl_x509_errors ...................   Passed    0.01 sec
115/121 Test #2898: guest_libressl_bn ............................   Passed    0.01 sec
116/121 Test #2936: guest_libressl3_x509_pubkey_param ............   Passed    0.01 sec
117/121 Test #2917: guest_libressl_evp_cipher ....................   Passed    0.00 sec
118/121 Test #2918: guest_libressl_ec_keys .......................   Passed    0.60 sec
119/121 Test  #548: public_headers_compile_21 ....................   Passed    2.72 sec
120/121 Test  #546: public_headers_compile_19 ....................   Passed    3.96 sec
121/121 Test  #547: public_headers_compile_20 ....................   Passed    4.20 sec

100% tests passed, 0 tests failed out of 121
Total Test time (real) =  44.12 sec

@MatteoSid
MatteoSid force-pushed the feat/libressl-ec-points-ecdsa-ecdh branch from 81a6e5b to 107fc6a Compare November 4, 2026 23:14
@MatteoSid

Copy link
Copy Markdown
Contributor Author

Rebased onto current main 12e3b2bb953ffa63827f4e164a11c311b5c04f89 as 107fc6ac624da5824f9413411277b49cd0cb5157 after #10448. Same two conflicts as before: the test block keeps #10448's guest_libressl_ocsp_response registration next to guest_libressl_ec_keys, and the pending-export line goes from 218 on main (matching its 218 stubs) to 207. The rest of the diff is unchanged.

On this exact head (Linux, Ubuntu 24.04 container, GCC 13.3, Release, BUILD_TESTING=ON), with both patched .prx files and every LibreSSL test rebuilt, tools/check_conventions.py --base origin/main passes, including the updated body. guest_libressl_ec_keys, guest_libressl_ec and guest_libressl3_key_reference are clean under AddressSanitizer with leak detection. ctest -j8 -R 'libressl|crypto_memcmp|public_headers' output:

100% tests passed, 0 tests failed out of 122
  1/122 Test  #526: public_headers ...............................   Passed   28.49 sec
  2/122 Test  #565: public_headers_compile_38 ....................   Passed    0.69 sec
  3/122 Test  #589: public_headers_compile_62 ....................   Passed    0.90 sec
  4/122 Test  #588: public_headers_compile_61 ....................   Passed    0.91 sec
  5/122 Test  #587: public_headers_compile_60 ....................   Passed    0.99 sec
  6/122 Test  #566: public_headers_compile_39 ....................   Passed    1.08 sec
  7/122 Test  #551: public_headers_compile_24 ....................   Passed    1.49 sec
  8/122 Test  #558: public_headers_compile_31 ....................   Passed    1.12 sec
  9/122 Test  #570: public_headers_compile_43 ....................   Passed    2.09 sec
 10/122 Test  #585: public_headers_compile_58 ....................   Passed    0.63 sec
 11/122 Test  #572: public_headers_compile_45 ....................   Passed    1.09 sec
 12/122 Test  #550: public_headers_compile_23 ....................   Passed    0.63 sec
 13/122 Test  #530: public_headers_compile_3 .....................   Passed    0.60 sec
 14/122 Test  #557: public_headers_compile_30 ....................   Passed    3.04 sec
 15/122 Test  #571: public_headers_compile_44 ....................   Passed    4.13 sec
 16/122 Test  #529: public_headers_compile_2 .....................   Passed    2.22 sec
 17/122 Test  #569: public_headers_compile_42 ....................   Passed    1.66 sec
 18/122 Test  #556: public_headers_compile_29 ....................   Passed    1.91 sec
 19/122 Test  #531: public_headers_compile_4 .....................   Passed    2.71 sec
 20/122 Test  #586: public_headers_compile_59 ....................   Passed    0.75 sec
 21/122 Test  #564: public_headers_compile_37 ....................   Passed    1.01 sec
 22/122 Test  #559: public_headers_compile_32 ....................   Passed    1.67 sec
 23/122 Test  #543: public_headers_compile_16 ....................   Passed    4.93 sec
 24/122 Test  #575: public_headers_compile_48 ....................   Passed    1.46 sec
 25/122 Test  #567: public_headers_compile_40 ....................   Passed    1.09 sec
 26/122 Test  #541: public_headers_compile_14 ....................   Passed    1.28 sec
 27/122 Test  #542: public_headers_compile_15 ....................   Passed    5.45 sec
 28/122 Test  #554: public_headers_compile_27 ....................   Passed    3.03 sec
 29/122 Test  #577: public_headers_compile_50 ....................   Passed    0.63 sec
 30/122 Test  #590: public_headers_compile_63 ....................   Passed    1.08 sec
 31/122 Test  #555: public_headers_compile_28 ....................   Passed    1.02 sec
 32/122 Test  #568: public_headers_compile_41 ....................   Passed    0.94 sec
 33/122 Test  #527: public_headers_compile_0 .....................   Passed    1.07 sec
 34/122 Test  #540: public_headers_compile_13 ....................   Passed    0.66 sec
 35/122 Test  #560: public_headers_compile_33 ....................   Passed    1.91 sec
 36/122 Test  #544: public_headers_compile_17 ....................   Passed    2.57 sec
 37/122 Test  #580: public_headers_compile_53 ....................   Passed    0.63 sec
 38/122 Test  #549: public_headers_compile_22 ....................   Passed    3.11 sec
 39/122 Test  #532: public_headers_compile_5 .....................   Passed    3.82 sec
 40/122 Test  #563: public_headers_compile_36 ....................   Passed    0.95 sec
 41/122 Test  #553: public_headers_compile_26 ....................   Passed    1.85 sec
 42/122 Test  #581: public_headers_compile_54 ....................   Passed    0.57 sec
 43/122 Test  #535: public_headers_compile_8 .....................   Passed    3.30 sec
 44/122 Test  #534: public_headers_compile_7 .....................   Passed    2.68 sec
 45/122 Test  #576: public_headers_compile_49 ....................   Passed    1.42 sec
 46/122 Test  #574: public_headers_compile_47 ....................   Passed    0.60 sec
 47/122 Test  #545: public_headers_compile_18 ....................   Passed    3.17 sec
 48/122 Test  #552: public_headers_compile_25 ....................   Passed    0.68 sec
 49/122 Test  #533: public_headers_compile_6 .....................   Passed    1.93 sec
 50/122 Test  #584: public_headers_compile_57 ....................   Passed    1.94 sec
 51/122 Test  #539: public_headers_compile_12 ....................   Passed    0.75 sec
 52/122 Test  #582: public_headers_compile_55 ....................   Passed    2.87 sec
 53/122 Test  #578: public_headers_compile_51 ....................   Passed    0.55 sec
 54/122 Test  #583: public_headers_compile_56 ....................   Passed    3.14 sec
 55/122 Test  #538: public_headers_compile_11 ....................   Passed    2.15 sec
 56/122 Test  #579: public_headers_compile_52 ....................   Passed    0.58 sec
 57/122 Test  #528: public_headers_compile_1 .....................   Passed    1.01 sec
 58/122 Test  #573: public_headers_compile_46 ....................   Passed    1.09 sec
 59/122 Test  #536: public_headers_compile_9 .....................   Passed    0.65 sec
 60/122 Test  #537: public_headers_compile_10 ....................   Passed    1.26 sec
 61/122 Test  #562: public_headers_compile_35 ....................   Passed    0.62 sec
 62/122 Test #2940: guest_libressl3_asn1 .........................   Passed    0.03 sec
 63/122 Test #2938: guest_libressl3_digest .......................   Passed    0.02 sec
 64/122 Test  #487: guest_libressl_cmac ..........................   Passed    0.01 sec
 65/122 Test  #490: guest_libressl_protocol_nid ..................   Passed    0.02 sec
 66/122 Test  #482: guest_libressl_errors ........................   Passed    0.01 sec
 67/122 Test  #488: guest_libressl_cmac_patched ..................   Passed    0.01 sec
 68/122 Test  #483: guest_libressl_free_strings ..................   Passed    0.02 sec
 69/122 Test  #489: guest_libressl_protocol ......................   Passed    0.01 sec
 70/122 Test  #484: guest_libressl_free_strings_first ............   Passed    0.01 sec
 71/122 Test #2934: guest_libressl3_time .........................   Passed    0.01 sec
 72/122 Test #2933: guest_libressl_evp ...........................   Passed    0.01 sec
 73/122 Test  #485: guest_libressl_bio ...........................   Passed    0.01 sec
 74/122 Test #2919: guest_libressl_ec_keys .......................   Passed    0.63 sec
 75/122 Test #2900: guest_libressl_digest ........................   Passed    0.20 sec
 76/122 Test  #486: guest_libressl_bio_patched ...................   Passed    0.01 sec
 77/122 Test #2903: guest_libressl_ex_data .......................   Passed    0.01 sec
 78/122 Test #2932: guest_libressl_x509_extension ................   Passed    0.01 sec
 79/122 Test #2944: guest_libressl3_key_reference ................   Passed    0.01 sec
 80/122 Test #2928: guest_libressl_x509_verify_param .............   Passed    0.01 sec
 81/122 Test #2942: guest_libressl3_stack ........................   Passed    0.01 sec
 82/122 Test #2915: guest_libressl_evp_cipher_ctx ................   Passed    0.01 sec
 83/122 Test #2943: guest_libressl3_cipher .......................   Passed    0.01 sec
 84/122 Test #2926: guest_libressl_x509_store ....................   Passed    0.01 sec
 85/122 Test #2945: guest_libressl3_version ......................   Passed    0.01 sec
 86/122 Test #2941: guest_libressl3_x509_verify_param ............   Passed    0.01 sec
 87/122 Test #2929: guest_libressl_x509_verify_param_allocator ...   Passed    0.01 sec
 88/122 Test #2925: guest_libressl_object_allocation .............   Passed    0.01 sec
 89/122 Test #2939: guest_libressl3_digest_context ...............   Passed    0.01 sec
 90/122 Test #2935: guest_libressl3_pkey_getters .................   Passed    0.01 sec
 91/122 Test #2901: guest_libressl_asn1 ..........................   Passed    0.01 sec
 92/122 Test #2909: guest_libressl_stack .........................   Passed    0.01 sec
 93/122 Test #2910: guest_libressl_general_name ..................   Passed    0.01 sec
 94/122 Test #2908: guest_libressl_ocsp ..........................   Passed    0.01 sec
 95/122 Test #2913: guest_libressl_x509_store_context ............   Passed    0.01 sec
 96/122 Test #2911: guest_libressl_ui ............................   Passed    0.01 sec
 97/122 Test #2927: guest_libressl_x509_store_allocator ..........   Passed    0.01 sec
 98/122 Test #2931: guest_libressl_x509_lookup_allocator .........   Passed    0.01 sec
 99/122 Test #2907: guest_libressl_error .........................   Passed    0.01 sec
100/122 Test #2930: guest_libressl_x509_lookup ...................   Passed    0.01 sec
101/122 Test #2905: guest_libressl_runtime .......................   Passed    0.01 sec
102/122 Test #2924: guest_libressl_object_text ...................   Passed    0.01 sec
103/122 Test #2914: guest_libressl_pkey_type .....................   Passed    0.01 sec
104/122 Test #2916: guest_libressl_ec ............................   Passed    0.01 sec
105/122 Test #2923: guest_libressl_crypto_locks ..................   Passed    0.01 sec
106/122 Test #2921: guest_libressl_alert .........................   Passed    0.01 sec
107/122 Test #2912: guest_libressl_rsa ...........................   Passed    0.01 sec
108/122 Test #2906: guest_libressl_aes ...........................   Passed    0.01 sec
109/122 Test #2922: guest_libressl_version .......................   Passed    0.01 sec
110/122 Test #2920: guest_libressl_cipher ........................   Passed    0.01 sec
111/122 Test #2902: guest_libressl_asn1_allocator ................   Passed    0.01 sec
112/122 Test #2936: guest_crypto_memcmp ..........................   Passed    0.01 sec
113/122 Test #2904: guest_libressl_des ...........................   Passed    0.01 sec
114/122 Test #2899: guest_libressl_x509_errors ...................   Passed    0.01 sec
115/122 Test #2918: guest_libressl_ocsp_response .................   Passed    0.01 sec
116/122 Test #2898: guest_libressl_bn ............................   Passed    0.01 sec
117/122 Test #2937: guest_libressl3_x509_pubkey_param ............   Passed    0.01 sec
118/122 Test #2917: guest_libressl_evp_cipher ....................   Passed    0.01 sec
119/122 Test  #561: public_headers_compile_34 ....................   Passed    1.28 sec
120/122 Test  #546: public_headers_compile_19 ....................   Passed    3.93 sec
121/122 Test  #548: public_headers_compile_21 ....................   Passed    2.91 sec
122/122 Test  #547: public_headers_compile_20 ....................   Passed    4.31 sec

100% tests passed, 0 tests failed out of 122
Total Test time (real) =  44.05 sec

@tkcm01

tkcm01 commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Windows data point for 107fc6ac62, merged onto main 0eba5db30 (clean merge). GitHub Actions windows-latest running this repo's Build workflow (full Windows build, WinLibs GCC, Release, BUILD_TESTING=ON) on my fork.

  • With the PR: 2741 tests, all passed, guest_libressl_ec_keys and guest_libressl_ec included (run).
  • Negative control, main plus only this PR's GuestLibreSslEcKeys.cpp and its test registration: fails to build, because the test needs the PR's new EC code ('EcPoint' does not name a type) (run).

Not tested: Linux, macOS, a title.
AI-assisted: yes

@MatteoSid
MatteoSid force-pushed the feat/libressl-ec-points-ecdsa-ecdh branch from 107fc6a to 9de837b Compare November 5, 2026 11:18
@MatteoSid

Copy link
Copy Markdown
Contributor Author

Rebased onto current main e772fb25cc72ee5faf77847f06bbc69533016e82 as 9de837b35d3ba5f3c7e41470eb0fdba3b7e4b95d after #10834, whose EVP cipher exports moved main's pending-export line from 218 to 196 (matching its 196 stubs). That line was the only conflict, and it is 185 here. The rest of the diff is unchanged.

On this exact head (Linux, Ubuntu 24.04 container, GCC 13.3, Release, BUILD_TESTING=ON), with every LibreSSL test target rebuilt (including the new guest_libressl3_mixed_evp consumer and loader), tools/check_conventions.py --base origin/main passes, including the updated body. guest_libressl_ec_keys, guest_libressl_ec and guest_libressl3_key_reference are clean under AddressSanitizer with leak detection. ctest -j8 -R 'libressl|crypto_memcmp|public_headers' output:

100% tests passed, 0 tests failed out of 124
  1/124 Test  #592: public_headers ...............................   Passed   29.02 sec
  2/124 Test  #653: public_headers_compile_60 ....................   Passed    0.66 sec
  3/124 Test  #637: public_headers_compile_44 ....................   Passed    1.09 sec
  4/124 Test  #654: public_headers_compile_61 ....................   Passed    1.42 sec
  5/124 Test  #655: public_headers_compile_62 ....................   Passed    1.46 sec
  6/124 Test  #632: public_headers_compile_39 ....................   Passed    1.74 sec
  7/124 Test  #617: public_headers_compile_24 ....................   Passed    2.20 sec
  8/124 Test  #631: public_headers_compile_38 ....................   Passed    1.20 sec
  9/124 Test  #636: public_headers_compile_43 ....................   Passed    2.88 sec
 10/124 Test  #638: public_headers_compile_45 ....................   Passed    1.33 sec
 11/124 Test  #651: public_headers_compile_58 ....................   Passed    0.99 sec
 12/124 Test  #595: public_headers_compile_2 .....................   Passed    0.67 sec
 13/124 Test  #624: public_headers_compile_31 ....................   Passed    2.63 sec
 14/124 Test  #597: public_headers_compile_4 .....................   Passed    0.96 sec
 15/124 Test  #623: public_headers_compile_30 ....................   Passed    3.82 sec
 16/124 Test  #616: public_headers_compile_23 ....................   Passed    2.81 sec
 17/124 Test  #620: public_headers_compile_27 ....................   Passed    1.47 sec
 18/124 Test  #609: public_headers_compile_16 ....................   Passed    5.59 sec
 19/124 Test  #596: public_headers_compile_3 .....................   Passed    0.78 sec
 20/124 Test  #635: public_headers_compile_42 ....................   Passed    1.96 sec
 21/124 Test  #608: public_headers_compile_15 ....................   Passed    5.06 sec
 22/124 Test  #622: public_headers_compile_29 ....................   Passed    3.17 sec
 23/124 Test  #652: public_headers_compile_59 ....................   Passed    0.61 sec
 24/124 Test  #641: public_headers_compile_48 ....................   Passed    1.13 sec
 25/124 Test  #625: public_headers_compile_32 ....................   Passed    2.30 sec
 26/124 Test  #656: public_headers_compile_63 ....................   Passed    0.93 sec
 27/124 Test  #598: public_headers_compile_5 .....................   Passed    1.25 sec
 28/124 Test  #615: public_headers_compile_22 ....................   Passed    0.62 sec
 29/124 Test  #630: public_headers_compile_37 ....................   Passed    2.75 sec
 30/124 Test  #607: public_headers_compile_14 ....................   Passed    2.33 sec
 31/124 Test  #626: public_headers_compile_33 ....................   Passed    0.63 sec
 32/124 Test  #643: public_headers_compile_50 ....................   Passed    0.89 sec
 33/124 Test  #633: public_headers_compile_40 ....................   Passed    2.62 sec
 34/124 Test  #601: public_headers_compile_8 .....................   Passed    1.02 sec
 35/124 Test  #621: public_headers_compile_28 ....................   Passed    1.77 sec
 36/124 Test  #593: public_headers_compile_0 .....................   Passed    0.97 sec
 37/124 Test  #634: public_headers_compile_41 ....................   Passed    0.66 sec
 38/124 Test  #600: public_headers_compile_7 .....................   Passed    1.11 sec
 39/124 Test  #610: public_headers_compile_17 ....................   Passed    4.55 sec
 40/124 Test  #611: public_headers_compile_18 ....................   Passed    2.33 sec
 41/124 Test  #649: public_headers_compile_56 ....................   Passed    1.91 sec
 42/124 Test  #629: public_headers_compile_36 ....................   Passed    2.06 sec
 43/124 Test  #606: public_headers_compile_13 ....................   Passed    2.78 sec
 44/124 Test  #648: public_headers_compile_55 ....................   Passed    2.30 sec
 45/124 Test  #619: public_headers_compile_26 ....................   Passed    1.02 sec
 46/124 Test  #642: public_headers_compile_49 ....................   Passed    1.15 sec
 47/124 Test  #599: public_headers_compile_6 .....................   Passed    0.88 sec
 48/124 Test  #646: public_headers_compile_53 ....................   Passed    0.97 sec
 49/124 Test  #640: public_headers_compile_47 ....................   Passed    0.72 sec
 50/124 Test  #647: public_headers_compile_54 ....................   Passed    4.01 sec
 51/124 Test  #612: public_headers_compile_19 ....................   Passed    3.51 sec
 52/124 Test  #614: public_headers_compile_21 ....................   Passed    0.67 sec
 53/124 Test  #650: public_headers_compile_57 ....................   Passed    2.35 sec
 54/124 Test  #618: public_headers_compile_25 ....................   Passed    1.54 sec
 55/124 Test  #644: public_headers_compile_51 ....................   Passed    1.71 sec
 56/124 Test  #613: public_headers_compile_20 ....................   Passed    2.62 sec
 57/124 Test  #594: public_headers_compile_1 .....................   Passed    0.67 sec
 58/124 Test  #639: public_headers_compile_46 ....................   Passed    1.08 sec
 59/124 Test  #605: public_headers_compile_12 ....................   Passed    2.12 sec
 60/124 Test  #604: public_headers_compile_11 ....................   Passed    2.35 sec
 61/124 Test #3051: guest_libressl3_mixed_evp ....................   Passed    0.19 sec
 62/124 Test #3044: guest_libressl3_asn1 .........................   Passed    0.03 sec
 63/124 Test #3002: guest_libressl_digest ........................   Passed    0.20 sec
 64/124 Test #3049: guest_libressl3_evp ..........................   Passed    0.02 sec
 65/124 Test  #553: guest_libressl_cmac ..........................   Passed    0.01 sec
 66/124 Test #3042: guest_libressl3_digest .......................   Passed    0.02 sec
 67/124 Test  #549: guest_libressl_free_strings ..................   Passed    0.01 sec
 68/124 Test  #556: guest_libressl_protocol_nid ..................   Passed    0.01 sec
 69/124 Test  #548: guest_libressl_errors ........................   Passed    0.01 sec
 70/124 Test  #554: guest_libressl_cmac_patched ..................   Passed    0.01 sec
 71/124 Test  #550: guest_libressl_free_strings_first ............   Passed    0.01 sec
 72/124 Test  #555: guest_libressl_protocol ......................   Passed    0.01 sec
 73/124 Test #3037: guest_libressl_evp ...........................   Passed    0.01 sec
 74/124 Test #3038: guest_libressl3_time .........................   Passed    0.01 sec
 75/124 Test  #551: guest_libressl_bio ...........................   Passed    0.01 sec
 76/124 Test  #552: guest_libressl_bio_patched ...................   Passed    0.01 sec
 77/124 Test #3021: guest_libressl_ocsp_response .................   Passed    0.00 sec
 78/124 Test #3005: guest_libressl_ex_data .......................   Passed    0.00 sec
 79/124 Test #3036: guest_libressl_x509_extension ................   Passed    0.00 sec
 80/124 Test #3018: guest_libressl_evp_cipher_ctx ................   Passed    0.01 sec
 81/124 Test #3048: guest_libressl3_key_reference ................   Passed    0.01 sec
 82/124 Test #3032: guest_libressl_x509_verify_param .............   Passed    0.01 sec
 83/124 Test #3046: guest_libressl3_stack ........................   Passed    0.01 sec
 84/124 Test #3050: guest_libressl3_version ......................   Passed    0.01 sec
 85/124 Test #3047: guest_libressl3_cipher .......................   Passed    0.01 sec
 86/124 Test #3030: guest_libressl_x509_store ....................   Passed    0.01 sec
 87/124 Test #3045: guest_libressl3_x509_verify_param ............   Passed    0.01 sec
 88/124 Test #3033: guest_libressl_x509_verify_param_allocator ...   Passed    0.01 sec
 89/124 Test  #603: public_headers_compile_10 ....................   Passed    0.67 sec
 90/124 Test #3029: guest_libressl_object_allocation .............   Passed    0.01 sec
 91/124 Test #3039: guest_libressl3_pkey_getters .................   Passed    0.01 sec
 92/124 Test #3043: guest_libressl3_digest_context ...............   Passed    0.01 sec
 93/124 Test #3013: guest_libressl_general_name ..................   Passed    0.01 sec
 94/124 Test #3003: guest_libressl_asn1 ..........................   Passed    0.01 sec
 95/124 Test #3012: guest_libressl_stack .........................   Passed    0.01 sec
 96/124 Test #3016: guest_libressl_x509_store_context ............   Passed    0.01 sec
 97/124 Test #3031: guest_libressl_x509_store_allocator ..........   Passed    0.01 sec
 98/124 Test #3011: guest_libressl_ocsp ..........................   Passed    0.01 sec
 99/124 Test #3035: guest_libressl_x509_lookup_allocator .........   Passed    0.01 sec
100/124 Test #3014: guest_libressl_ui ............................   Passed    0.01 sec
101/124 Test #3034: guest_libressl_x509_lookup ...................   Passed    0.01 sec
102/124 Test #3010: guest_libressl_error .........................   Passed    0.01 sec
103/124 Test #3007: guest_libressl_runtime .......................   Passed    0.01 sec
104/124 Test #3017: guest_libressl_pkey_type .....................   Passed    0.01 sec
105/124 Test #3027: guest_libressl_crypto_locks ..................   Passed    0.01 sec
106/124 Test #3028: guest_libressl_object_text ...................   Passed    0.01 sec
107/124 Test #3015: guest_libressl_rsa ...........................   Passed    0.01 sec
108/124 Test #3008: guest_libressl_aes ...........................   Passed    0.01 sec
109/124 Test #3025: guest_libressl_alert .........................   Passed    0.01 sec
110/124 Test #3019: guest_libressl_ec ............................   Passed    0.01 sec
111/124 Test #3026: guest_libressl_version .......................   Passed    0.01 sec
112/124 Test #3024: guest_libressl_cipher ........................   Passed    0.01 sec
113/124 Test #3004: guest_libressl_asn1_allocator ................   Passed    0.01 sec
114/124 Test #3040: guest_crypto_memcmp ..........................   Passed    0.01 sec
115/124 Test #3006: guest_libressl_des ...........................   Passed    0.01 sec
116/124 Test #3000: guest_libressl_bn ............................   Passed    0.01 sec
117/124 Test #3001: guest_libressl_x509_errors ...................   Passed    0.01 sec
118/124 Test #3041: guest_libressl3_x509_pubkey_param ............   Passed    0.00 sec
119/124 Test #3020: guest_libressl_evp_cipher ....................   Passed    0.01 sec
120/124 Test #3022: guest_libressl_ec_keys .......................   Passed    0.62 sec
121/124 Test  #627: public_headers_compile_34 ....................   Passed    1.39 sec
122/124 Test  #645: public_headers_compile_52 ....................   Passed    1.71 sec
123/124 Test  #602: public_headers_compile_9 .....................   Passed    1.31 sec
124/124 Test  #628: public_headers_compile_35 ....................   Passed    1.68 sec

100% tests passed, 0 tests failed out of 124
Total Test time (real) =  44.73 sec

@github-actions github-actions Bot added the needs rebase Conflicts with main, rebase needed label Nov 5, 2026
@MatteoSid
MatteoSid force-pushed the feat/libressl-ec-points-ecdsa-ecdh branch from 9de837b to 1f8aaef Compare November 5, 2026 15:50
@MatteoSid

Copy link
Copy Markdown
Contributor Author

Rebased onto current main 4741457fed42a887a5b451ff95fd8c006d3097fc as 1f8aaef627057629bddf2b6a09ef65b7bf21b114 after #11174, which moved main's pending-export line to 195 (matching its 195 stubs). That line was the only conflict, and it is 184 here. The rest of the diff is unchanged.

On this exact head (Linux, Ubuntu 24.04 container, GCC 13.3, Release, BUILD_TESTING=ON), with both patched .prx files and every LibreSSL test target rebuilt, tools/check_conventions.py --base origin/main passes, including the updated body. guest_libressl_ec_keys, guest_libressl_ec and guest_libressl3_key_reference are clean under AddressSanitizer with leak detection. ctest -j8 -R 'libressl|crypto_memcmp|public_headers' output:

100% tests passed, 0 tests failed out of 124
  1/124 Test  #592: public_headers ...............................   Passed   29.21 sec
  2/124 Test  #637: public_headers_compile_44 ....................   Passed    1.13 sec
  3/124 Test  #654: public_headers_compile_61 ....................   Passed    1.41 sec
  4/124 Test  #655: public_headers_compile_62 ....................   Passed    1.45 sec
  5/124 Test  #632: public_headers_compile_39 ....................   Passed    1.67 sec
  6/124 Test  #653: public_headers_compile_60 ....................   Passed    0.60 sec
  7/124 Test  #617: public_headers_compile_24 ....................   Passed    2.12 sec
  8/124 Test  #636: public_headers_compile_43 ....................   Passed    2.50 sec
  9/124 Test  #631: public_headers_compile_38 ....................   Passed    1.09 sec
 10/124 Test  #638: public_headers_compile_45 ....................   Passed    1.15 sec
 11/124 Test  #651: public_headers_compile_58 ....................   Passed    1.02 sec
 12/124 Test  #624: public_headers_compile_31 ....................   Passed    2.22 sec
 13/124 Test  #623: public_headers_compile_30 ....................   Passed    3.27 sec
 14/124 Test  #616: public_headers_compile_23 ....................   Passed    2.65 sec
 15/124 Test  #608: public_headers_compile_15 ....................   Passed    5.03 sec
 16/124 Test  #609: public_headers_compile_16 ....................   Passed    5.49 sec
 17/124 Test  #635: public_headers_compile_42 ....................   Passed    2.09 sec
 18/124 Test  #622: public_headers_compile_29 ....................   Passed    3.20 sec
 19/124 Test  #597: public_headers_compile_4 .....................   Passed    1.02 sec
 20/124 Test  #595: public_headers_compile_2 .....................   Passed    0.68 sec
 21/124 Test  #625: public_headers_compile_32 ....................   Passed    2.46 sec
 22/124 Test  #596: public_headers_compile_3 .....................   Passed    0.78 sec
 23/124 Test  #620: public_headers_compile_27 ....................   Passed    1.50 sec
 24/124 Test  #652: public_headers_compile_59 ....................   Passed    0.63 sec
 25/124 Test  #641: public_headers_compile_48 ....................   Passed    1.06 sec
 26/124 Test  #630: public_headers_compile_37 ....................   Passed    2.76 sec
 27/124 Test  #610: public_headers_compile_17 ....................   Passed    4.61 sec
 28/124 Test  #656: public_headers_compile_63 ....................   Passed    0.94 sec
 29/124 Test  #598: public_headers_compile_5 .....................   Passed    1.21 sec
 30/124 Test  #615: public_headers_compile_22 ....................   Passed    0.61 sec
 31/124 Test  #607: public_headers_compile_14 ....................   Passed    2.40 sec
 32/124 Test  #633: public_headers_compile_40 ....................   Passed    2.78 sec
 33/124 Test  #643: public_headers_compile_50 ....................   Passed    0.88 sec
 34/124 Test  #621: public_headers_compile_28 ....................   Passed    1.76 sec
 35/124 Test  #601: public_headers_compile_8 .....................   Passed    0.96 sec
 36/124 Test  #626: public_headers_compile_33 ....................   Passed    0.63 sec
 37/124 Test  #593: public_headers_compile_0 .....................   Passed    1.01 sec
 38/124 Test  #634: public_headers_compile_41 ....................   Passed    0.67 sec
 39/124 Test  #600: public_headers_compile_7 .....................   Passed    1.08 sec
 40/124 Test  #611: public_headers_compile_18 ....................   Passed    2.38 sec
 41/124 Test  #606: public_headers_compile_13 ....................   Passed    2.85 sec
 42/124 Test  #619: public_headers_compile_26 ....................   Passed    0.89 sec
 43/124 Test  #648: public_headers_compile_55 ....................   Passed    2.29 sec
 44/124 Test  #642: public_headers_compile_49 ....................   Passed    1.15 sec
 45/124 Test  #629: public_headers_compile_36 ....................   Passed    2.03 sec
 46/124 Test  #647: public_headers_compile_54 ....................   Passed    3.87 sec
 47/124 Test  #599: public_headers_compile_6 .....................   Passed    0.81 sec
 48/124 Test  #649: public_headers_compile_56 ....................   Passed    1.88 sec
 49/124 Test  #646: public_headers_compile_53 ....................   Passed    0.98 sec
 50/124 Test  #640: public_headers_compile_47 ....................   Passed    0.70 sec
 51/124 Test  #612: public_headers_compile_19 ....................   Passed    3.55 sec
 52/124 Test  #650: public_headers_compile_57 ....................   Passed    2.30 sec
 53/124 Test  #618: public_headers_compile_25 ....................   Passed    1.45 sec
 54/124 Test  #614: public_headers_compile_21 ....................   Passed    0.66 sec
 55/124 Test  #594: public_headers_compile_1 .....................   Passed    0.61 sec
 56/124 Test  #644: public_headers_compile_51 ....................   Passed    1.74 sec
 57/124 Test  #613: public_headers_compile_20 ....................   Passed    2.58 sec
 58/124 Test  #604: public_headers_compile_11 ....................   Passed    2.40 sec
 59/124 Test  #639: public_headers_compile_46 ....................   Passed    1.11 sec
 60/124 Test  #605: public_headers_compile_12 ....................   Passed    2.13 sec
 61/124 Test #3055: guest_libressl3_mixed_evp ....................   Passed    0.18 sec
 62/124 Test #3048: guest_libressl3_asn1 .........................   Passed    0.03 sec
 63/124 Test #3053: guest_libressl3_evp ..........................   Passed    0.02 sec
 64/124 Test #3046: guest_libressl3_digest .......................   Passed    0.02 sec
 65/124 Test  #553: guest_libressl_cmac ..........................   Passed    0.01 sec
 66/124 Test  #549: guest_libressl_free_strings ..................   Passed    0.01 sec
 67/124 Test  #556: guest_libressl_protocol_nid ..................   Passed    0.01 sec
 68/124 Test #3006: guest_libressl_digest ........................   Passed    0.19 sec
 69/124 Test  #554: guest_libressl_cmac_patched ..................   Passed    0.01 sec
 70/124 Test  #548: guest_libressl_errors ........................   Passed    0.01 sec
 71/124 Test  #555: guest_libressl_protocol ......................   Passed    0.01 sec
 72/124 Test  #550: guest_libressl_free_strings_first ............   Passed    0.01 sec
 73/124 Test #3042: guest_libressl3_time .........................   Passed    0.01 sec
 74/124 Test #3041: guest_libressl_evp ...........................   Passed    0.01 sec
 75/124 Test  #551: guest_libressl_bio ...........................   Passed    0.01 sec
 76/124 Test  #552: guest_libressl_bio_patched ...................   Passed    0.01 sec
 77/124 Test #3009: guest_libressl_ex_data .......................   Passed    0.00 sec
 78/124 Test #3022: guest_libressl_evp_cipher_ctx ................   Passed    0.01 sec
 79/124 Test #3040: guest_libressl_x509_extension ................   Passed    0.00 sec
 80/124 Test #3025: guest_libressl_ocsp_response .................   Passed    0.00 sec
 81/124 Test #3052: guest_libressl3_key_reference ................   Passed    0.01 sec
 82/124 Test #3036: guest_libressl_x509_verify_param .............   Passed    0.01 sec
 83/124 Test #3050: guest_libressl3_stack ........................   Passed    0.01 sec
 84/124 Test #3051: guest_libressl3_cipher .......................   Passed    0.01 sec
 85/124 Test #3034: guest_libressl_x509_store ....................   Passed    0.01 sec
 86/124 Test #3054: guest_libressl3_version ......................   Passed    0.01 sec
 87/124 Test  #645: public_headers_compile_52 ....................   Passed    1.70 sec
 88/124 Test #3049: guest_libressl3_x509_verify_param ............   Passed    0.01 sec
 89/124 Test #3033: guest_libressl_object_allocation .............   Passed    0.01 sec
 90/124 Test #3037: guest_libressl_x509_verify_param_allocator ...   Passed    0.01 sec
 91/124 Test #3043: guest_libressl3_pkey_getters .................   Passed    0.01 sec
 92/124 Test #3047: guest_libressl3_digest_context ...............   Passed    0.01 sec
 93/124 Test #3017: guest_libressl_general_name ..................   Passed    0.00 sec
 94/124 Test #3007: guest_libressl_asn1 ..........................   Passed    0.00 sec
 95/124 Test #3016: guest_libressl_stack .........................   Passed    0.01 sec
 96/124 Test #3020: guest_libressl_x509_store_context ............   Passed    0.01 sec
 97/124 Test #3015: guest_libressl_ocsp ..........................   Passed    0.01 sec
 98/124 Test #3035: guest_libressl_x509_store_allocator ..........   Passed    0.01 sec
 99/124 Test #3039: guest_libressl_x509_lookup_allocator .........   Passed    0.01 sec
100/124 Test #3018: guest_libressl_ui ............................   Passed    0.01 sec
101/124 Test #3038: guest_libressl_x509_lookup ...................   Passed    0.01 sec
102/124 Test #3014: guest_libressl_error .........................   Passed    0.00 sec
103/124 Test #3011: guest_libressl_runtime .......................   Passed    0.00 sec
104/124 Test #3021: guest_libressl_pkey_type .....................   Passed    0.01 sec
105/124 Test #3031: guest_libressl_crypto_locks ..................   Passed    0.01 sec
106/124 Test #3032: guest_libressl_object_text ...................   Passed    0.01 sec
107/124 Test #3019: guest_libressl_rsa ...........................   Passed    0.01 sec
108/124 Test #3012: guest_libressl_aes ...........................   Passed    0.01 sec
109/124 Test #3023: guest_libressl_ec ............................   Passed    0.01 sec
110/124 Test #3029: guest_libressl_alert .........................   Passed    0.01 sec
111/124 Test #3030: guest_libressl_version .......................   Passed    0.01 sec
112/124 Test #3008: guest_libressl_asn1_allocator ................   Passed    0.01 sec
113/124 Test #3028: guest_libressl_cipher ........................   Passed    0.01 sec
114/124 Test #3044: guest_crypto_memcmp ..........................   Passed    0.01 sec
115/124 Test #3010: guest_libressl_des ...........................   Passed    0.01 sec
116/124 Test #3004: guest_libressl_bn ............................   Passed    0.01 sec
117/124 Test #3005: guest_libressl_x509_errors ...................   Passed    0.00 sec
118/124 Test #3045: guest_libressl3_x509_pubkey_param ............   Passed    0.00 sec
119/124 Test #3024: guest_libressl_evp_cipher ....................   Passed    0.00 sec
120/124 Test  #603: public_headers_compile_10 ....................   Passed    0.61 sec
121/124 Test #3026: guest_libressl_ec_keys .......................   Passed    0.65 sec
122/124 Test  #627: public_headers_compile_34 ....................   Passed    1.37 sec
123/124 Test  #602: public_headers_compile_9 .....................   Passed    1.34 sec
124/124 Test  #628: public_headers_compile_35 ....................   Passed    1.60 sec

100% tests passed, 0 tests failed out of 124
Total Test time (real) =  44.49 sec

@MatteoSid
MatteoSid force-pushed the feat/libressl-ec-points-ecdsa-ecdh branch from 1f8aaef to 3f044cb Compare November 5, 2026 16:51
@MatteoSid

Copy link
Copy Markdown
Contributor Author

Rebased onto current main a0a8b1b1733cc74fde0f311beeb41b18ddb63a4c as 3f044cbf536395daf965f1c5521d3622d4daeb26 after #11129, which moved main's pending-export line to 191 (matching its 191 stubs). That line was the only conflict, and it is 180 here. The rest of the diff is unchanged.

On this exact head (Linux, Ubuntu 24.04 container, GCC 13.3, Release, BUILD_TESTING=ON), with both patched .prx files and every LibreSSL test target rebuilt, tools/check_conventions.py --base origin/main passes, including the updated body. guest_libressl_ec_keys, guest_libressl_ec and guest_libressl3_key_reference are clean under AddressSanitizer with leak detection. ctest -j8 -R 'libressl|crypto_memcmp|public_headers' output:

100% tests passed, 0 tests failed out of 125
  1/125 Test  #592: public_headers ...............................   Passed   29.69 sec
  2/125 Test  #637: public_headers_compile_44 ....................   Passed    1.19 sec
  3/125 Test  #654: public_headers_compile_61 ....................   Passed    1.35 sec
  4/125 Test  #655: public_headers_compile_62 ....................   Passed    1.41 sec
  5/125 Test  #632: public_headers_compile_39 ....................   Passed    1.94 sec
  6/125 Test  #653: public_headers_compile_60 ....................   Passed    0.59 sec
  7/125 Test  #617: public_headers_compile_24 ....................   Passed    2.03 sec
  8/125 Test  #631: public_headers_compile_38 ....................   Passed    0.99 sec
  9/125 Test  #636: public_headers_compile_43 ....................   Passed    2.58 sec
 10/125 Test  #638: public_headers_compile_45 ....................   Passed    1.03 sec
 11/125 Test  #624: public_headers_compile_31 ....................   Passed    2.38 sec
 12/125 Test  #651: public_headers_compile_58 ....................   Passed    1.09 sec
 13/125 Test  #623: public_headers_compile_30 ....................   Passed    3.42 sec
 14/125 Test  #616: public_headers_compile_23 ....................   Passed    2.69 sec
 15/125 Test  #608: public_headers_compile_15 ....................   Passed    4.88 sec
 16/125 Test  #622: public_headers_compile_29 ....................   Passed    3.14 sec
 17/125 Test  #609: public_headers_compile_16 ....................   Passed    5.41 sec
 18/125 Test  #597: public_headers_compile_4 .....................   Passed    1.08 sec
 19/125 Test  #595: public_headers_compile_2 .....................   Passed    0.72 sec
 20/125 Test  #620: public_headers_compile_27 ....................   Passed    1.59 sec
 21/125 Test  #635: public_headers_compile_42 ....................   Passed    2.17 sec
 22/125 Test  #596: public_headers_compile_3 .....................   Passed    0.74 sec
 23/125 Test  #625: public_headers_compile_32 ....................   Passed    2.36 sec
 24/125 Test  #610: public_headers_compile_17 ....................   Passed    4.55 sec
 25/125 Test  #630: public_headers_compile_37 ....................   Passed    2.84 sec
 26/125 Test  #641: public_headers_compile_48 ....................   Passed    1.10 sec
 27/125 Test  #652: public_headers_compile_59 ....................   Passed    0.71 sec
 28/125 Test  #633: public_headers_compile_40 ....................   Passed    2.61 sec
 29/125 Test  #598: public_headers_compile_5 .....................   Passed    1.27 sec
 30/125 Test  #656: public_headers_compile_63 ....................   Passed    0.93 sec
 31/125 Test  #615: public_headers_compile_22 ....................   Passed    0.64 sec
 32/125 Test  #607: public_headers_compile_14 ....................   Passed    2.63 sec
 33/125 Test  #621: public_headers_compile_28 ....................   Passed    1.78 sec
 34/125 Test  #643: public_headers_compile_50 ....................   Passed    0.93 sec
 35/125 Test  #601: public_headers_compile_8 .....................   Passed    1.05 sec
 36/125 Test  #593: public_headers_compile_0 .....................   Passed    0.99 sec
 37/125 Test  #626: public_headers_compile_33 ....................   Passed    0.58 sec
 38/125 Test  #611: public_headers_compile_18 ....................   Passed    2.31 sec
 39/125 Test  #606: public_headers_compile_13 ....................   Passed    2.83 sec
 40/125 Test  #634: public_headers_compile_41 ....................   Passed    0.64 sec
 41/125 Test  #600: public_headers_compile_7 .....................   Passed    1.16 sec
 42/125 Test  #647: public_headers_compile_54 ....................   Passed    3.87 sec
 43/125 Test  #619: public_headers_compile_26 ....................   Passed    0.88 sec
 44/125 Test  #648: public_headers_compile_55 ....................   Passed    2.28 sec
 45/125 Test  #642: public_headers_compile_49 ....................   Passed    1.09 sec
 46/125 Test  #629: public_headers_compile_36 ....................   Passed    2.00 sec
 47/125 Test  #649: public_headers_compile_56 ....................   Passed    1.88 sec
 48/125 Test  #646: public_headers_compile_53 ....................   Passed    0.95 sec
 49/125 Test  #612: public_headers_compile_19 ....................   Passed    3.63 sec
 50/125 Test  #650: public_headers_compile_57 ....................   Passed    2.41 sec
 51/125 Test  #640: public_headers_compile_47 ....................   Passed    0.69 sec
 52/125 Test  #599: public_headers_compile_6 .....................   Passed    0.85 sec
 53/125 Test  #614: public_headers_compile_21 ....................   Passed    0.62 sec
 54/125 Test  #618: public_headers_compile_25 ....................   Passed    1.51 sec
 55/125 Test  #639: public_headers_compile_46 ....................   Passed    1.13 sec
 56/125 Test  #604: public_headers_compile_11 ....................   Passed    2.41 sec
 57/125 Test  #594: public_headers_compile_1 .....................   Passed    0.62 sec
 58/125 Test  #605: public_headers_compile_12 ....................   Passed    2.09 sec
 59/125 Test  #644: public_headers_compile_51 ....................   Passed    1.79 sec
 60/125 Test  #613: public_headers_compile_20 ....................   Passed    2.68 sec
 61/125 Test #3060: guest_libressl3_mixed_evp ....................   Passed    0.19 sec
 62/125 Test #3053: guest_libressl3_asn1 .........................   Passed    0.03 sec
 63/125 Test #3010: guest_libressl_digest ........................   Passed    0.20 sec
 64/125 Test  #645: public_headers_compile_52 ....................   Passed    1.72 sec
 65/125 Test #3051: guest_libressl3_digest .......................   Passed    0.02 sec
 66/125 Test #3058: guest_libressl3_evp ..........................   Passed    0.03 sec
 67/125 Test  #553: guest_libressl_cmac ..........................   Passed    0.01 sec
 68/125 Test  #556: guest_libressl_protocol_nid ..................   Passed    0.02 sec
 69/125 Test  #549: guest_libressl_free_strings ..................   Passed    0.02 sec
 70/125 Test  #554: guest_libressl_cmac_patched ..................   Passed    0.02 sec
 71/125 Test  #555: guest_libressl_protocol ......................   Passed    0.01 sec
 72/125 Test  #548: guest_libressl_errors ........................   Passed    0.01 sec
 73/125 Test  #550: guest_libressl_free_strings_first ............   Passed    0.01 sec
 74/125 Test #3046: guest_libressl_evp ...........................   Passed    0.01 sec
 75/125 Test #3047: guest_libressl3_time .........................   Passed    0.01 sec
 76/125 Test  #551: guest_libressl_bio ...........................   Passed    0.01 sec
 77/125 Test  #552: guest_libressl_bio_patched ...................   Passed    0.01 sec
 78/125 Test #3013: guest_libressl_ex_data .......................   Passed    0.01 sec
 79/125 Test #3026: guest_libressl_evp_cipher_ctx ................   Passed    0.01 sec
 80/125 Test #3057: guest_libressl3_key_reference ................   Passed    0.01 sec
 81/125 Test #3045: guest_libressl_x509_extension ................   Passed    0.01 sec
 82/125 Test #3041: guest_libressl_x509_verify_param .............   Passed    0.01 sec
 83/125 Test #3030: guest_libressl_ocsp_response .................   Passed    0.01 sec
 84/125 Test #3055: guest_libressl3_stack ........................   Passed    0.01 sec
 85/125 Test #3056: guest_libressl3_cipher .......................   Passed    0.01 sec
 86/125 Test #3039: guest_libressl_x509_store ....................   Passed    0.01 sec
 87/125 Test #3059: guest_libressl3_version ......................   Passed    0.01 sec
 88/125 Test #3054: guest_libressl3_x509_verify_param ............   Passed    0.01 sec
 89/125 Test #3038: guest_libressl_object_allocation .............   Passed    0.01 sec
 90/125 Test #3042: guest_libressl_x509_verify_param_allocator ...   Passed    0.01 sec
 91/125 Test #3048: guest_libressl3_pkey_getters .................   Passed    0.00 sec
 92/125 Test #3052: guest_libressl3_digest_context ...............   Passed    0.00 sec
 93/125 Test #3021: guest_libressl_general_name ..................   Passed    0.00 sec
 94/125 Test #3011: guest_libressl_asn1 ..........................   Passed    0.00 sec
 95/125 Test #3020: guest_libressl_stack .........................   Passed    0.00 sec
 96/125 Test #3024: guest_libressl_x509_store_context ............   Passed    0.00 sec
 97/125 Test #3019: guest_libressl_ocsp ..........................   Passed    0.00 sec
 98/125 Test #3040: guest_libressl_x509_store_allocator ..........   Passed    0.00 sec
 99/125 Test #3022: guest_libressl_ui ............................   Passed    0.00 sec
100/125 Test #3044: guest_libressl_x509_lookup_allocator .........   Passed    0.00 sec
101/125 Test #3043: guest_libressl_x509_lookup ...................   Passed    0.00 sec
102/125 Test #3018: guest_libressl_error .........................   Passed    0.00 sec
103/125 Test #3015: guest_libressl_runtime .......................   Passed    0.00 sec
104/125 Test #3025: guest_libressl_pkey_type .....................   Passed    0.01 sec
105/125 Test #3036: guest_libressl_crypto_locks ..................   Passed    0.01 sec
106/125 Test #3037: guest_libressl_object_text ...................   Passed    0.01 sec
107/125 Test #3023: guest_libressl_rsa ...........................   Passed    0.01 sec
108/125 Test #3016: guest_libressl_aes ...........................   Passed    0.00 sec
109/125 Test #3027: guest_libressl_ec ............................   Passed    0.00 sec
110/125 Test #3034: guest_libressl_alert .........................   Passed    0.01 sec
111/125 Test #3035: guest_libressl_version .......................   Passed    0.01 sec
112/125 Test #3012: guest_libressl_asn1_allocator ................   Passed    0.01 sec
113/125 Test #3033: guest_libressl_cipher ........................   Passed    0.01 sec
114/125 Test #3049: guest_crypto_memcmp ..........................   Passed    0.01 sec
115/125 Test #3014: guest_libressl_des ...........................   Passed    0.01 sec
116/125 Test #3008: guest_libressl_bn ............................   Passed    0.01 sec
117/125 Test #3009: guest_libressl_x509_errors ...................   Passed    0.01 sec
118/125 Test #3050: guest_libressl3_x509_pubkey_param ............   Passed    0.01 sec
119/125 Test #3028: guest_libressl_evp_cipher ....................   Passed    0.01 sec
120/125 Test #3029: guest_libressl_x509_name .....................   Passed    0.00 sec
121/125 Test  #603: public_headers_compile_10 ....................   Passed    0.66 sec
122/125 Test #3031: guest_libressl_ec_keys .......................   Passed    0.64 sec
123/125 Test  #627: public_headers_compile_34 ....................   Passed    1.39 sec
124/125 Test  #602: public_headers_compile_9 .....................   Passed    1.30 sec
125/125 Test  #628: public_headers_compile_35 ....................   Passed    1.59 sec

100% tests passed, 0 tests failed out of 125
Total Test time (real) =  45.06 sec

@github-actions github-actions Bot removed the needs rebase Conflicts with main, rebase needed label Nov 5, 2026
@MatteoSid
MatteoSid force-pushed the feat/libressl-ec-points-ecdsa-ecdh branch from 3f044cb to 94e8bdf Compare November 5, 2026 17:13
@MatteoSid

Copy link
Copy Markdown
Contributor Author

Rebased onto current main dab11d4569e99119a8561457dbb6891c361136ee as 94e8bdfadcd2f6e76d004f356dc8981fbf6085c5 after #11138, which moved main's pending-export line to 181 (matching its 181 stubs). That line was the only conflict, and it is 170 here. The rest of the diff is unchanged.

On this exact head (Linux, Ubuntu 24.04 container, GCC 13.3, Release, BUILD_TESTING=ON), with both patched .prx files and every LibreSSL test target rebuilt, tools/check_conventions.py --base origin/main passes, including the updated body. guest_libressl_ec_keys, guest_libressl_ec and guest_libressl3_key_reference are clean under AddressSanitizer with leak detection. ctest -j8 -R 'libressl|crypto_memcmp|public_headers' output:

100% tests passed, 0 tests failed out of 127
  1/127 Test  #592: public_headers ...............................   Passed   31.31 sec
  2/127 Test  #637: public_headers_compile_44 ....................   Passed    1.10 sec
  3/127 Test  #654: public_headers_compile_61 ....................   Passed    1.28 sec
  4/127 Test  #655: public_headers_compile_62 ....................   Passed    1.37 sec
  5/127 Test  #632: public_headers_compile_39 ....................   Passed    1.71 sec
  6/127 Test  #653: public_headers_compile_60 ....................   Passed    0.58 sec
  7/127 Test  #617: public_headers_compile_24 ....................   Passed    2.07 sec
  8/127 Test  #636: public_headers_compile_43 ....................   Passed    2.57 sec
  9/127 Test  #631: public_headers_compile_38 ....................   Passed    1.18 sec
 10/127 Test  #624: public_headers_compile_31 ....................   Passed    2.29 sec
 11/127 Test  #638: public_headers_compile_45 ....................   Passed    1.02 sec
 12/127 Test  #616: public_headers_compile_23 ....................   Passed    2.71 sec
 13/127 Test  #623: public_headers_compile_30 ....................   Passed    3.61 sec
 14/127 Test  #651: public_headers_compile_58 ....................   Passed    1.03 sec
 15/127 Test  #608: public_headers_compile_15 ....................   Passed    4.98 sec
 16/127 Test  #622: public_headers_compile_29 ....................   Passed    3.07 sec
 17/127 Test  #609: public_headers_compile_16 ....................   Passed    5.43 sec
 18/127 Test  #597: public_headers_compile_4 .....................   Passed    1.00 sec
 19/127 Test  #630: public_headers_compile_37 ....................   Passed    2.82 sec
 20/127 Test  #620: public_headers_compile_27 ....................   Passed    1.59 sec
 21/127 Test  #635: public_headers_compile_42 ....................   Passed    2.00 sec
 22/127 Test  #625: public_headers_compile_32 ....................   Passed    2.37 sec
 23/127 Test  #595: public_headers_compile_2 .....................   Passed    0.67 sec
 24/127 Test  #596: public_headers_compile_3 .....................   Passed    0.76 sec
 25/127 Test  #610: public_headers_compile_17 ....................   Passed    4.76 sec
 26/127 Test  #607: public_headers_compile_14 ....................   Passed    2.39 sec
 27/127 Test  #633: public_headers_compile_40 ....................   Passed    2.73 sec
 28/127 Test  #652: public_headers_compile_59 ....................   Passed    0.62 sec
 29/127 Test  #641: public_headers_compile_48 ....................   Passed    1.07 sec
 30/127 Test  #598: public_headers_compile_5 .....................   Passed    1.24 sec
 31/127 Test  #656: public_headers_compile_63 ....................   Passed    0.96 sec
 32/127 Test  #621: public_headers_compile_28 ....................   Passed    1.71 sec
 33/127 Test  #615: public_headers_compile_22 ....................   Passed    0.60 sec
 34/127 Test  #643: public_headers_compile_50 ....................   Passed    0.91 sec
 35/127 Test  #606: public_headers_compile_13 ....................   Passed    2.88 sec
 36/127 Test  #611: public_headers_compile_18 ....................   Passed    2.32 sec
 37/127 Test  #593: public_headers_compile_0 .....................   Passed    0.96 sec
 38/127 Test  #601: public_headers_compile_8 .....................   Passed    1.04 sec
 39/127 Test  #648: public_headers_compile_55 ....................   Passed    2.32 sec
 40/127 Test  #647: public_headers_compile_54 ....................   Passed    3.80 sec
 41/127 Test  #626: public_headers_compile_33 ....................   Passed    0.62 sec
 42/127 Test  #634: public_headers_compile_41 ....................   Passed    0.65 sec
 43/127 Test  #600: public_headers_compile_7 .....................   Passed    1.07 sec
 44/127 Test  #612: public_headers_compile_19 ....................   Passed    3.64 sec
 45/127 Test  #629: public_headers_compile_36 ....................   Passed    1.94 sec
 46/127 Test  #642: public_headers_compile_49 ....................   Passed    1.14 sec
 47/127 Test  #619: public_headers_compile_26 ....................   Passed    0.86 sec
 48/127 Test  #649: public_headers_compile_56 ....................   Passed    1.84 sec
 49/127 Test  #646: public_headers_compile_53 ....................   Passed    0.94 sec
 50/127 Test  #650: public_headers_compile_57 ....................   Passed    2.26 sec
 51/127 Test  #599: public_headers_compile_6 .....................   Passed    0.90 sec
 52/127 Test  #640: public_headers_compile_47 ....................   Passed    0.72 sec
 53/127 Test  #618: public_headers_compile_25 ....................   Passed    1.50 sec
 54/127 Test  #614: public_headers_compile_21 ....................   Passed    0.67 sec
 55/127 Test  #613: public_headers_compile_20 ....................   Passed    2.83 sec
 56/127 Test  #604: public_headers_compile_11 ....................   Passed    2.32 sec
 57/127 Test  #639: public_headers_compile_46 ....................   Passed    1.11 sec
 58/127 Test  #594: public_headers_compile_1 .....................   Passed    0.64 sec
 59/127 Test  #605: public_headers_compile_12 ....................   Passed    2.14 sec
 60/127 Test #3063: guest_libressl3_mixed_evp ....................   Passed    0.20 sec
 61/127 Test  #644: public_headers_compile_51 ....................   Passed    1.77 sec
 62/127 Test #3056: guest_libressl3_asn1 .........................   Passed    0.03 sec
 63/127 Test #3061: guest_libressl3_evp ..........................   Passed    0.03 sec
 64/127 Test #3054: guest_libressl3_digest .......................   Passed    0.02 sec
 65/127 Test  #645: public_headers_compile_52 ....................   Passed    1.77 sec
 66/127 Test  #553: guest_libressl_cmac ..........................   Passed    0.01 sec
 67/127 Test  #549: guest_libressl_free_strings ..................   Passed    0.01 sec
 68/127 Test  #554: guest_libressl_cmac_patched ..................   Passed    0.02 sec
 69/127 Test  #556: guest_libressl_protocol_nid ..................   Passed    0.01 sec
 70/127 Test  #555: guest_libressl_protocol ......................   Passed    0.01 sec
 71/127 Test  #548: guest_libressl_errors ........................   Passed    0.01 sec
 72/127 Test #3011: guest_libressl_digest ........................   Passed    0.19 sec
 73/127 Test  #550: guest_libressl_free_strings_first ............   Passed    0.01 sec
 74/127 Test #3050: guest_libressl3_time .........................   Passed    0.01 sec
 75/127 Test #3049: guest_libressl_evp ...........................   Passed    0.01 sec
 76/127 Test  #551: guest_libressl_bio ...........................   Passed    0.01 sec
 77/127 Test  #552: guest_libressl_bio_patched ...................   Passed    0.01 sec
 78/127 Test #3029: guest_libressl_evp_cipher_ctx ................   Passed    0.01 sec
 79/127 Test #3028: guest_libressl_ssl_ctx_fields ................   Passed    0.01 sec
 80/127 Test #3014: guest_libressl_ex_data .......................   Passed    0.00 sec
 81/127 Test #3048: guest_libressl_x509_extension ................   Passed    0.01 sec
 82/127 Test #3060: guest_libressl3_key_reference ................   Passed    0.01 sec
 83/127 Test #3044: guest_libressl_x509_verify_param .............   Passed    0.01 sec
 84/127 Test #3058: guest_libressl3_stack ........................   Passed    0.01 sec
 85/127 Test #3059: guest_libressl3_cipher .......................   Passed    0.01 sec
 86/127 Test #3042: guest_libressl_x509_store ....................   Passed    0.01 sec
 87/127 Test #3041: guest_libressl_object_allocation .............   Passed    0.01 sec
 88/127 Test #3062: guest_libressl3_version ......................   Passed    0.01 sec
 89/127 Test #3057: guest_libressl3_x509_verify_param ............   Passed    0.01 sec
 90/127 Test #3033: guest_libressl_ocsp_response .................   Passed    0.01 sec
 91/127 Test #3045: guest_libressl_x509_verify_param_allocator ...   Passed    0.01 sec
 92/127 Test #3051: guest_libressl3_pkey_getters .................   Passed    0.01 sec
 93/127 Test #3055: guest_libressl3_digest_context ...............   Passed    0.01 sec
 94/127 Test #3021: guest_libressl_stack .........................   Passed    0.01 sec
 95/127 Test #3022: guest_libressl_general_name ..................   Passed    0.01 sec
 96/127 Test #3012: guest_libressl_asn1 ..........................   Passed    0.01 sec
 97/127 Test #3025: guest_libressl_x509_store_context ............   Passed    0.01 sec
 98/127 Test #3020: guest_libressl_ocsp ..........................   Passed    0.01 sec
 99/127 Test #3043: guest_libressl_x509_store_allocator ..........   Passed    0.01 sec
100/127 Test #3023: guest_libressl_ui ............................   Passed    0.01 sec
101/127 Test #3047: guest_libressl_x509_lookup_allocator .........   Passed    0.01 sec
102/127 Test #3019: guest_libressl_error .........................   Passed    0.01 sec
103/127 Test #3046: guest_libressl_x509_lookup ...................   Passed    0.01 sec
104/127 Test #3016: guest_libressl_runtime .......................   Passed    0.01 sec
105/127 Test #3039: guest_libressl_crypto_locks ..................   Passed    0.01 sec
106/127 Test #3026: guest_libressl_pkey_type .....................   Passed    0.01 sec
107/127 Test #3040: guest_libressl_object_text ...................   Passed    0.01 sec
108/127 Test #3024: guest_libressl_rsa ...........................   Passed    0.01 sec
109/127 Test #3017: guest_libressl_aes ...........................   Passed    0.01 sec
110/127 Test #3038: guest_libressl_version .......................   Passed    0.01 sec
111/127 Test #3030: guest_libressl_ec ............................   Passed    0.01 sec
112/127 Test #3037: guest_libressl_alert .........................   Passed    0.01 sec
113/127 Test #3013: guest_libressl_asn1_allocator ................   Passed    0.01 sec
114/127 Test #3036: guest_libressl_cipher ........................   Passed    0.01 sec
115/127 Test #3052: guest_crypto_memcmp ..........................   Passed    0.01 sec
116/127 Test #3015: guest_libressl_des ...........................   Passed    0.01 sec
117/127 Test #3009: guest_libressl_bn ............................   Passed    0.01 sec
118/127 Test #3010: guest_libressl_x509_errors ...................   Passed    0.01 sec
119/127 Test #3027: guest_libressl_ssl_ctx .......................   Passed    0.01 sec
120/127 Test #3053: guest_libressl3_x509_pubkey_param ............   Passed    0.01 sec
121/127 Test #3031: guest_libressl_evp_cipher ....................   Passed    0.00 sec
122/127 Test #3032: guest_libressl_x509_name .....................   Passed    0.01 sec
123/127 Test #3034: guest_libressl_ec_keys .......................   Passed    0.61 sec
124/127 Test  #603: public_headers_compile_10 ....................   Passed    0.66 sec
125/127 Test  #627: public_headers_compile_34 ....................   Passed    1.34 sec
126/127 Test  #602: public_headers_compile_9 .....................   Passed    1.30 sec
127/127 Test  #628: public_headers_compile_35 ....................   Passed    1.65 sec

100% tests passed, 0 tests failed out of 127
Total Test time (real) =  46.40 sec

@MatteoSid
MatteoSid force-pushed the feat/libressl-ec-points-ecdsa-ecdh branch from 94e8bdf to ca9ef8a Compare November 5, 2026 17:38
@MatteoSid

Copy link
Copy Markdown
Contributor Author

Rebased onto current main d893997f1a6f7e1733005b2a497e05b4fc57688f as ca9ef8a448a0c714b859e400b1e995ffdefecfe9 after #10481, which moved main's pending-export line to 174 (matching its 174 stubs). That line was the only conflict, and it is 163 here. The rest of the diff is unchanged.

On this exact head (Linux, Ubuntu 24.04 container, GCC 13.3, Release, BUILD_TESTING=ON), with both patched .prx files and every LibreSSL test target rebuilt, tools/check_conventions.py --base origin/main passes, including the updated body. guest_libressl_ec_keys, guest_libressl_ec and guest_libressl3_key_reference are clean under AddressSanitizer with leak detection. ctest -j8 -R 'libressl|crypto_memcmp|public_headers' output:

100% tests passed, 0 tests failed out of 128
  1/128 Test  #592: public_headers ...............................   Passed   29.72 sec
  2/128 Test  #637: public_headers_compile_44 ....................   Passed    1.17 sec
  3/128 Test  #655: public_headers_compile_62 ....................   Passed    1.39 sec
  4/128 Test  #654: public_headers_compile_61 ....................   Passed    1.39 sec
  5/128 Test  #632: public_headers_compile_39 ....................   Passed    1.72 sec
  6/128 Test  #653: public_headers_compile_60 ....................   Passed    0.62 sec
  7/128 Test  #617: public_headers_compile_24 ....................   Passed    2.03 sec
  8/128 Test  #636: public_headers_compile_43 ....................   Passed    2.60 sec
  9/128 Test  #631: public_headers_compile_38 ....................   Passed    1.06 sec
 10/128 Test  #624: public_headers_compile_31 ....................   Passed    2.21 sec
 11/128 Test  #638: public_headers_compile_45 ....................   Passed    1.01 sec
 12/128 Test  #623: public_headers_compile_30 ....................   Passed    3.55 sec
 13/128 Test  #608: public_headers_compile_15 ....................   Passed    4.87 sec
 14/128 Test  #616: public_headers_compile_23 ....................   Passed    2.53 sec
 15/128 Test  #622: public_headers_compile_29 ....................   Passed    3.19 sec
 16/128 Test  #609: public_headers_compile_16 ....................   Passed    5.50 sec
 17/128 Test  #651: public_headers_compile_58 ....................   Passed    1.03 sec
 18/128 Test  #625: public_headers_compile_32 ....................   Passed    2.44 sec
 19/128 Test  #630: public_headers_compile_37 ....................   Passed    2.68 sec
 20/128 Test  #610: public_headers_compile_17 ....................   Passed    4.60 sec
 21/128 Test  #635: public_headers_compile_42 ....................   Passed    2.05 sec
 22/128 Test  #595: public_headers_compile_2 .....................   Passed    0.73 sec
 23/128 Test  #620: public_headers_compile_27 ....................   Passed    1.55 sec
 24/128 Test  #597: public_headers_compile_4 .....................   Passed    1.08 sec
 25/128 Test  #596: public_headers_compile_3 .....................   Passed    0.76 sec
 26/128 Test  #607: public_headers_compile_14 ....................   Passed    2.39 sec
 27/128 Test  #633: public_headers_compile_40 ....................   Passed    2.81 sec
 28/128 Test  #641: public_headers_compile_48 ....................   Passed    1.19 sec
 29/128 Test  #652: public_headers_compile_59 ....................   Passed    0.65 sec
 30/128 Test  #598: public_headers_compile_5 .....................   Passed    1.19 sec
 31/128 Test  #656: public_headers_compile_63 ....................   Passed    0.94 sec
 32/128 Test  #643: public_headers_compile_50 ....................   Passed    0.92 sec
 33/128 Test  #621: public_headers_compile_28 ....................   Passed    1.74 sec
 34/128 Test  #606: public_headers_compile_13 ....................   Passed    2.73 sec
 35/128 Test  #615: public_headers_compile_22 ....................   Passed    0.63 sec
 36/128 Test  #611: public_headers_compile_18 ....................   Passed    2.49 sec
 37/128 Test  #647: public_headers_compile_54 ....................   Passed    3.80 sec
 38/128 Test  #601: public_headers_compile_8 .....................   Passed    1.06 sec
 39/128 Test  #593: public_headers_compile_0 .....................   Passed    1.07 sec
 40/128 Test  #626: public_headers_compile_33 ....................   Passed    0.67 sec
 41/128 Test  #648: public_headers_compile_55 ....................   Passed    2.33 sec
 42/128 Test  #612: public_headers_compile_19 ....................   Passed    3.65 sec
 43/128 Test  #634: public_headers_compile_41 ....................   Passed    0.66 sec
 44/128 Test  #600: public_headers_compile_7 .....................   Passed    1.18 sec
 45/128 Test  #629: public_headers_compile_36 ....................   Passed    1.99 sec
 46/128 Test  #649: public_headers_compile_56 ....................   Passed    1.99 sec
 47/128 Test  #642: public_headers_compile_49 ....................   Passed    1.15 sec
 48/128 Test  #619: public_headers_compile_26 ....................   Passed    0.91 sec
 49/128 Test  #646: public_headers_compile_53 ....................   Passed    1.08 sec
 50/128 Test  #599: public_headers_compile_6 .....................   Passed    0.90 sec
 51/128 Test  #650: public_headers_compile_57 ....................   Passed    2.36 sec
 52/128 Test  #604: public_headers_compile_11 ....................   Passed    2.34 sec
 53/128 Test  #640: public_headers_compile_47 ....................   Passed    0.71 sec
 54/128 Test  #613: public_headers_compile_20 ....................   Passed    2.58 sec
 55/128 Test  #618: public_headers_compile_25 ....................   Passed    1.49 sec
 56/128 Test  #614: public_headers_compile_21 ....................   Passed    0.65 sec
 57/128 Test  #605: public_headers_compile_12 ....................   Passed    2.13 sec
 58/128 Test  #644: public_headers_compile_51 ....................   Passed    1.76 sec
 59/128 Test  #639: public_headers_compile_46 ....................   Passed    1.06 sec
 60/128 Test  #594: public_headers_compile_1 .....................   Passed    0.60 sec
 61/128 Test  #645: public_headers_compile_52 ....................   Passed    1.74 sec
 62/128 Test #3058: guest_libressl3_asn1 .........................   Passed    0.03 sec
 63/128 Test #3063: guest_libressl3_evp ..........................   Passed    0.02 sec
 64/128 Test #3056: guest_libressl3_digest .......................   Passed    0.02 sec
 65/128 Test #3065: guest_libressl3_mixed_evp ....................   Passed    0.20 sec
 66/128 Test #3012: guest_libressl_digest ........................   Passed    0.19 sec
 67/128 Test  #553: guest_libressl_cmac ..........................   Passed    0.02 sec
 68/128 Test  #549: guest_libressl_free_strings ..................   Passed    0.01 sec
 69/128 Test  #554: guest_libressl_cmac_patched ..................   Passed    0.01 sec
 70/128 Test  #556: guest_libressl_protocol_nid ..................   Passed    0.01 sec
 71/128 Test  #548: guest_libressl_errors ........................   Passed    0.01 sec
 72/128 Test  #555: guest_libressl_protocol ......................   Passed    0.01 sec
 73/128 Test  #550: guest_libressl_free_strings_first ............   Passed    0.01 sec
 74/128 Test #3052: guest_libressl3_time .........................   Passed    0.01 sec
 75/128 Test #3029: guest_libressl_ssl_ctx_fields ................   Passed    0.01 sec
 76/128 Test #3028: guest_libressl_ssl_ctx .......................   Passed    0.01 sec
 77/128 Test #3051: guest_libressl_evp ...........................   Passed    0.01 sec
 78/128 Test  #551: guest_libressl_bio ...........................   Passed    0.01 sec
 79/128 Test  #552: guest_libressl_bio_patched ...................   Passed    0.01 sec
 80/128 Test #3030: guest_libressl_evp_cipher_ctx ................   Passed    0.01 sec
 81/128 Test #3062: guest_libressl3_key_reference ................   Passed    0.01 sec
 82/128 Test #3015: guest_libressl_ex_data .......................   Passed    0.00 sec
 83/128 Test #3050: guest_libressl_x509_extension ................   Passed    0.01 sec
 84/128 Test #3035: guest_libressl_ocsp_response .................   Passed    0.01 sec
 85/128 Test #3046: guest_libressl_x509_verify_param .............   Passed    0.01 sec
 86/128 Test #3060: guest_libressl3_stack ........................   Passed    0.01 sec
 87/128 Test #3064: guest_libressl3_version ......................   Passed    0.01 sec
 88/128 Test #3061: guest_libressl3_cipher .......................   Passed    0.01 sec
 89/128 Test #3044: guest_libressl_x509_store ....................   Passed    0.01 sec
 90/128 Test #3053: guest_libressl3_pkey_getters .................   Passed    0.01 sec
 91/128 Test #3059: guest_libressl3_x509_verify_param ............   Passed    0.01 sec
 92/128 Test #3043: guest_libressl_object_allocation .............   Passed    0.01 sec
 93/128 Test #3047: guest_libressl_x509_verify_param_allocator ...   Passed    0.01 sec
 94/128 Test #3057: guest_libressl3_digest_context ...............   Passed    0.01 sec
 95/128 Test #3023: guest_libressl_general_name ..................   Passed    0.01 sec
 96/128 Test #3010: guest_libressl_bn ............................   Passed    0.01 sec
 97/128 Test #3022: guest_libressl_stack .........................   Passed    0.01 sec
 98/128 Test #3013: guest_libressl_asn1 ..........................   Passed    0.01 sec
 99/128 Test #3026: guest_libressl_x509_store_context ............   Passed    0.01 sec
100/128 Test #3045: guest_libressl_x509_store_allocator ..........   Passed    0.01 sec
101/128 Test #3021: guest_libressl_ocsp ..........................   Passed    0.01 sec
102/128 Test #3049: guest_libressl_x509_lookup_allocator .........   Passed    0.01 sec
103/128 Test #3024: guest_libressl_ui ............................   Passed    0.01 sec
104/128 Test #3048: guest_libressl_x509_lookup ...................   Passed    0.01 sec
105/128 Test #3020: guest_libressl_error .........................   Passed    0.01 sec
106/128 Test #3042: guest_libressl_object_text ...................   Passed    0.01 sec
107/128 Test #3027: guest_libressl_pkey_type .....................   Passed    0.00 sec
108/128 Test #3041: guest_libressl_crypto_locks ..................   Passed    0.00 sec
109/128 Test #3025: guest_libressl_rsa ...........................   Passed    0.00 sec
110/128 Test #3017: guest_libressl_runtime .......................   Passed    0.00 sec
111/128 Test #3034: guest_libressl_x509_name .....................   Passed    0.00 sec
112/128 Test #3040: guest_libressl_version .......................   Passed    0.00 sec
113/128 Test #3039: guest_libressl_alert .........................   Passed    0.00 sec
114/128 Test #3018: guest_libressl_aes ...........................   Passed    0.00 sec
115/128 Test #3031: guest_libressl_ec ............................   Passed    0.00 sec
116/128 Test #3014: guest_libressl_asn1_allocator ................   Passed    0.00 sec
117/128 Test #3038: guest_libressl_cipher ........................   Passed    0.01 sec
118/128 Test #3054: guest_crypto_memcmp ..........................   Passed    0.01 sec
119/128 Test #3016: guest_libressl_des ...........................   Passed    0.01 sec
120/128 Test #3055: guest_libressl3_x509_pubkey_param ............   Passed    0.01 sec
121/128 Test #3011: guest_libressl_x509_errors ...................   Passed    0.01 sec
122/128 Test #3033: guest_libressl_ssl ...........................   Passed    0.00 sec
123/128 Test #3032: guest_libressl_evp_cipher ....................   Passed    0.00 sec
124/128 Test  #627: public_headers_compile_34 ....................   Passed    1.35 sec
125/128 Test #3036: guest_libressl_ec_keys .......................   Passed    0.62 sec
126/128 Test  #603: public_headers_compile_10 ....................   Passed    0.66 sec
127/128 Test  #602: public_headers_compile_9 .....................   Passed    1.29 sec
128/128 Test  #628: public_headers_compile_35 ....................   Passed    1.66 sec

100% tests passed, 0 tests failed out of 128
Total Test time (real) =  44.70 sec

@MatteoSid
MatteoSid force-pushed the feat/libressl-ec-points-ecdsa-ecdh branch from ca9ef8a to f7c08cf Compare November 5, 2026 18:08
@MatteoSid
MatteoSid force-pushed the feat/libressl-ec-points-ecdsa-ecdh branch 3 times, most recently from d565a5d to ef179ba Compare November 5, 2026 21:25
@github-actions github-actions Bot added the needs rebase Conflicts with main, rebase needed label Nov 6, 2026
@MatteoSid
MatteoSid force-pushed the feat/libressl-ec-points-ecdsa-ecdh branch from ef179ba to 646599b Compare November 6, 2026 05:04
@github-actions github-actions Bot added needs rebase Conflicts with main, rebase needed and removed needs rebase Conflicts with main, rebase needed labels Nov 6, 2026
@MatteoSid
MatteoSid force-pushed the feat/libressl-ec-points-ecdsa-ecdh branch from 646599b to 56b994c Compare November 6, 2026 08:03
@github-actions github-actions Bot removed the needs rebase Conflicts with main, rebase needed label Nov 6, 2026
…ECDH

EC_POINT_new, EC_POINT_free, EC_POINT_point2oct, EC_POINT_oct2point,
EC_KEY_generate_key, EC_KEY_check_key, EC_KEY_get0_public_key,
EC_KEY_set_public_key, ECDSA_sign, ECDSA_verify and ECDH_compute_key
follow LibreSSL 2.5.4 on top of mbedtls's named curves.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MatteoSid
MatteoSid force-pushed the feat/libressl-ec-points-ecdsa-ecdh branch from 56b994c to 6e04d09 Compare November 6, 2026 09:35
@github-actions

github-actions Bot commented Nov 7, 2026 •

Copy link
Copy Markdown

Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.

Pull request Conflicting files (lines on main) Same exports Same new files
PR 12729 core/libs/prx/libSceLibreSsl/Export.cpp L115-149
core/libs/prx/libSceLibreSsl/include/Api.hpp L616-619
PR 12730 core/libs/prx/libSceLibreSsl/Export.cpp L115-149
core/libs/prx/libSceLibreSsl/include/Api.hpp L616-619
PR 16079 docs/dev/debt/libSceLibreSsl.md L32-34
PR 16719 docs/dev/debt/libSceLibreSsl.md L33-34

Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 11176 core/libs/prx/libSceLibreSsl/CMakeLists.txt
core/libs/prx/libSceLibreSsl/Export.cpp
core/libs/prx/libSceLibreSsl/include/Api.hpp
docs/dev/debt/libSceLibreSsl.md
PR 13266 core/libs/prx/libSceLibreSsl/CMakeLists.txt
core/libs/prx/libSceLibreSsl/Export.cpp
core/libs/prx/libSceLibreSsl/include/Api.hpp
docs/dev/debt/libSceLibreSsl.md
PR 13285 core/libs/prx/libSceLibreSsl/CMakeLists.txt
core/libs/prx/libSceLibreSsl/Export.cpp
core/libs/prx/libSceLibreSsl/include/Api.hpp
docs/dev/debt/libSceLibreSsl.md
PR 13546 core/libs/prx/libSceLibreSsl/CMakeLists.txt
core/libs/prx/libSceLibreSsl/Export.cpp
core/libs/prx/libSceLibreSsl/include/Api.hpp
docs/dev/debt/libSceLibreSsl.md
PR 13547 core/libs/prx/libSceLibreSsl/CMakeLists.txt
core/libs/prx/libSceLibreSsl/Export.cpp
core/libs/prx/libSceLibreSsl/include/Api.hpp
docs/dev/debt/libSceLibreSsl.md
PR 13877 core/libs/prx/libSceLibreSsl/CMakeLists.txt
core/libs/prx/libSceLibreSsl/Export.cpp
core/libs/prx/libSceLibreSsl/include/Api.hpp
docs/dev/debt/libSceLibreSsl.md
PR 14115 core/libs/prx/libSceLibreSsl/Export.cpp
core/libs/prx/libSceLibreSsl/include/Api.hpp
docs/dev/debt/libSceLibreSsl.md
PR 14212 docs/dev/debt/libSceLibreSsl.md
PR 15480 core/libs/prx/libSceLibreSsl/Export.cpp
core/libs/prx/libSceLibreSsl/include/Api.hpp
docs/dev/debt/libSceLibreSsl.md
PR 15994 core/libs/prx/libSceLibreSsl/CMakeLists.txt
core/libs/prx/libSceLibreSsl/Export.cpp
core/libs/prx/libSceLibreSsl/include/Api.hpp
docs/dev/debt/libSceLibreSsl.md
PR 16241 core/libs/prx/libSceLibreSsl/Export.cpp
core/libs/prx/libSceLibreSsl/include/Api.hpp
docs/dev/debt/libSceLibreSsl.md
PR 16249 docs/dev/debt/libSceLibreSsl.md
PR 16255 docs/dev/debt/libSceLibreSsl.md
PR 16543 core/libs/prx/libSceLibreSsl/CMakeLists.txt
core/libs/prx/libSceLibreSsl/include/Api.hpp
docs/dev/debt/libSceLibreSsl.md

@MatteoSid

Copy link
Copy Markdown
Contributor Author

@AdnanKhan-ak47, @puridanish284: the overlap comment lists #12729, #12730 and #16079 against this PR. None of them adds the same exports. The shared lines are neighbouring stub removals in Export.cpp and Api.hpp (#12729, and #12730 stacked on it) and the EVP entry next to the EC entries in docs/dev/debt/libSceLibreSsl.md (#16079).

I propose #15827 first: it is one commit, merges cleanly into main and its checks pass on 6e04d09675. The PR that lands second keeps both sides of each conflicting hunk when it rebases. If you'd rather land yours first, say so and I'll set Depends on here and rebase after it. Either way I'll record the agreed order in the description.

@MatteoSid

Copy link
Copy Markdown
Contributor Author

@MarrasFederico: the overlap comment now also lists #16389, which adds the EVP_DigestVerifyFinal debt entry next to where this PR adds the EC entries in docs/dev/debt/libSceLibreSsl.md. Neither PR adds the other's exports. Same proposal as in my comment above: #15827 first, and the PR that lands second keeps both entries when it rebases. If you'd rather land #16389 first, say so and I'll set Depends on: #16389 here and rebase after it.

@MatteoSid

Copy link
Copy Markdown
Contributor Author

@janzezno: the overlap comment now lists #14212 here, for the place in docs/dev/debt/libSceLibreSsl.md where this PR adds the two EC entries; #16389 is closed. No coordination is needed from you: if #14212 lands first, I'll rebase this PR and separate the two EC entries with a blank line, as tools/debt_format.py requires.

@MatteoSid

Copy link
Copy Markdown
Contributor Author

@MarrasFederico: #16719 supersedes #16389 and the overlap comment now lists it at the same debt-file lines, so my proposal above stands: #15827 first, or Depends on: #16719 here if you'd rather land yours first.

@oneandonlydean oneandonlydean self-assigned this Nov 7, 2026
@puridanish284

Copy link
Copy Markdown
Contributor

No objection to #15827 going first. The PRs share no exports, and merging both into main conflicts only in docs/dev/debt/libSceLibreSsl.md, where your EC entries sit next to my EVP entry, so neither needs Depends on. If #15827 lands first, I'll merge main into #16079 and keep both entries.


Generated by Claude Code

@JJenkx

JJenkx commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

Windows check of head 6e04d09675, merged onto main 4ab649f4d8 (09e3a2535e, clean merge).

Setup: Windows 11 Enterprise 22621, WinLibs GCC 15.2 UCRT, Release. The hosted Windows check does not run these tests on pull requests.

  • guest_libressl_ec_keys passes in 3 of 3 runs, none skipped.

AI-assisted: yes.

@oneandonlydean
oneandonlydean merged commit 27555b3 into boykopovar:main Nov 8, 2026
25 of 26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants