Repository navigation
Fix RSA 4096 public area buffer sizing and packet overflow checks - #640
Merged
Merged
Conversation
aidangarske
reviewed
Oct 20, 2026
aidangarske
left a comment
Member
There was a problem hiding this comment.
Skoll Code Review
Scan type: review
Overall recommendation: COMMENT
Findings: 2 total — 2 posted, 0 skipped
2 finding(s) posted as inline comments (see file-level comments below)
Posted findings
- [Medium] RSA-disabled builds still pay the RSA-4096 buffer cost —
wolftpm/fwtpm/fwtpm.h:302-303; wolftpm/fwtpm/fwtpm_nv.h:60-66 - [Medium] Regression test does not exercise the changed failure paths —
tests/fwtpm_unit_tests.c:18176-18219
Review generated by Skoll
dgarske
force-pushed
the
fwtpm_rsa4096
branch
from
October 20, 2026 23:53
77839f5 to
023ca32
Compare
dgarske
force-pushed
the
fwtpm_rsa4096
branch
from
October 21, 2026 17:07
023ca32 to
1976fac
Compare
aidangarske
approved these changes
Oct 21, 2026
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.
Three RSA 4096 issues in fwTPM were fixed (all undetected at RSA 2048):
Verification: Built and tested at RSA 2048, RSA 4096 (--enable-infineon=slb9672), and --disable-rsa (--enable-pqc was skipped; requires ML-DSA wolfSSL). An additional RSA 4096 failure in tests/unit_tests.c (FWTPM_MAX_PRIVKEY_DER) is resolved by #628.