-
Notifications
You must be signed in to change notification settings - Fork 91
Harden crypto callback, ASN.1 parsing, param-enc and marshalling; add negative tests #551
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
c63386b
F-6847 - Bound ECDSA verify R/S to key size in crypto callback
aidangarske 71d0b3d
F-6839 - Fix dead error handling in TPM2_ASN_DecodeX509Cert
aidangarske 46c906e
F-6840 - Report tag mismatch from TPM2_ASN_DecodeTag
aidangarske 7a6519b
F-6848 - Scrub hash context in TPM2_CalcCpHash and TPM2_CalcRpHash
aidangarske 378c181
F-6844 - Clamp TPM2B sizes in TPM2_Packet_AppendPublicArea
aidangarske 2b68fa9
F-6842 - Add XOR param-enc mask-size boundary test
aidangarske c9ec803
F-6843 - Add AES-CFB param-enc key-size boundary test
aidangarske a78f99f
F-6849 - Document 32-byte ML-KEM K in fwTPM seed KDF
aidangarske e770f3b
F-6845 - Add field-level roundtrip test for RSA and ECC TPMT_PUBLIC
aidangarske 212f425
F-6841 - Add response HMAC verification test for TPM2_ResponseProcess
aidangarske 2bdbf66
F-6841 - Expose TPM2_CalcRpHash to tests via WOLFTPM_TEST_API
aidangarske 5aa84dd
F-6841 - Exercise response nonceTPM update in HMAC verify test
aidangarske 3964e7f
F-6844 - Clamp ECC point sizes in TPM2_Packet_AppendEccPoint
aidangarske 9188fcd
F-6845 - Run RSA/ECC public roundtrip test in non-PQC builds
aidangarske b7241a7
F-6844 - Cover keyedHash/sym/mldsa/mlkem clamp arms in append test
aidangarske 45369f5
F-6847 - Guard ECC verify test on curve size and add oversized-S case
aidangarske ce96373
F-6839 - Add valid-certificate happy-path test for DecodeX509Cert
aidangarske 2ef42a0
F-6840 - Use fixed pass print in DecodeTag error test
aidangarske 14d02a3
F-6842 - Share TPM2_XOR_MASK_MAX via header so test matches impl
aidangarske 5c682e1
F-6839 - Cover truncated-buffer error path in DecodeX509Cert test
aidangarske 213bfaa
F-6840 - Bound RsaDecodeSignature size check against TPM_RC error codes
aidangarske 7028c98
F-6839 - Revert DecodeX509Cert guard changes; ASN errors are negative
aidangarske 129191b
F-6840 - Revert DecodeTag change and EK cert bound; ASN errors are ne…
aidangarske c76dbe6
F-6847 - Cover keySz==0 fallback in ECC verify crypto callback test
aidangarske 5fdaa79
F-6847 - Add ChangeLog entry for crypto callback and marshaling harde…
aidangarske 6ce2ed1
F-6847 - Remove ChangeLog entry
aidangarske fac885a
F-6847 - Drop keySz==0 ECC verify test; old wolfSSL wc_ecc_size deref…
aidangarske File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.