Repository navigation
Conversation
aidangarske
requested changes
Oct 26, 2026
aidangarske
left a comment
Member
There was a problem hiding this comment.
Skoll Code Review
Scan type: review
Overall recommendation: REQUEST_CHANGES
Findings: 2 total — 2 posted, 0 skipped
2 finding(s) posted as inline comments (see file-level comments below)
Posted findings
- [High] TLS setup failures can exit with success status —
pq/tls_cryptocb/client-tls13-mlkem.c:107-207; pq/tls_cryptocb/server-tls13-mlkem.c:108-189 - [Medium] Feature guards do not cover all APIs used —
pq/tls_cryptocb/client-tls13-mlkem.c:51; pq/tls_cryptocb/server-tls13-mlkem.c:50; pq/tls_cryptocb/mlkem-cryptocb.c:34
Review generated by Skoll
dgarske
force-pushed
the
mlkem_cryptocb
branch
from
October 26, 2026 23:23
5c2d87e to
f7dd12f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Examples showing how to offload post-quantum operations to a device through the wolfCrypt crypto callback (cryptocb) interface - the path a secure element uses for ML-KEM key exchange and ML-DSA signatures.
pq/ml_kem_cryptocb/- ML-KEM keygen, encapsulate and decapsulate through a registered callback.pq/ml_dsa_cryptocb/- ML-DSA keygen, sign and verify through a callback.pq/tls_cryptocb/- a TLS 1.3 client and server that offload the ML-KEM key_share using theSecP256r1MLKEM768hybrid group.Each callback delegates to the wolfCrypt software implementation so the examples run without hardware; a real device replaces each case body with its own calls. Built and run with
--enable-cryptocb --enable-mlkem --enable-dilithium; the TLS pair is exercised in CI via the examples manifest. A pure, non-hybrid ML-KEM group needs wolfSSL built with--enable-tls-mlkem-standalone.