Repository navigation
Conversation
|
retest this please |
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: 3 total — 3 posted, 0 skipped
3 finding(s) posted as inline comments (see file-level comments below)
Posted findings
- [High] PSoC Edge FIFO accesses omit required D-cache maintenance —
wolfcrypt/src/port/cypress/psoc6_crypto.c:852-1052,1403-1484 - [High] Use the verification-specific digest-length minimum —
wolfcrypt/src/ecc.c:10141 - [Medium] Enable the existing wipe-on-auth-failure test for PSoC —
wolfcrypt/src/port/cypress/psoc6_crypto.c:2058-2061
Review generated by Skoll
dgarske
force-pushed
the
psoc_e8_crypto
branch
from
October 26, 2026 23:17
d342001 to
a9a2d23
Compare
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: 1 total — 1 posted, 0 skipped
1 finding(s) posted as inline comments (see file-level comments below)
Posted findings
- [High] Keep the legacy PSoC6 PDL buildable —
wolfcrypt/src/port/cypress/psoc6_crypto.c:51
Review generated by Skoll
mattia-moffa
requested changes
Oct 27, 2026
mattia-moffa
left a comment
Member
There was a problem hiding this comment.
Looks good to me apart from the comment above by Aidan.
dgarske
force-pushed
the
psoc_e8_crypto
branch
from
October 27, 2026 17:13
a9a2d23 to
f308a30
Compare
mattia-moffa
approved these changes
Oct 28, 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.
Extends the
WOLFSSL_PSOC6_CRYPTOport to Infineon PSOC Edge E8 (CAT1D), whose MXCRYPTO v2 engine runs the same PDL crypto core drivers, and fixes issues found bringing it up on KIT_PSE84_AI.PSOC Edge support
psoc6_crypto.hincludes the PDL crypto core headers rather thancy_pdl.h, so a build needs only the crypto drivers.CY_REMAP_ADDRESS_FOR_CRYPTO, so data in XIP flash (a code-bus alias) is reachable; AES-ECB on a constant input previously hung. This is the identity on PSoC6.NO_PSOC6_CRYPTO_ECCkeeps ECDSA verify in software, for targets where the SP math assembly is faster.Fixes (all PSoC6 targets)
wc_Sha256Copyleft the copy'shash_statepointing into the source'ssha_buffers, so updating one context corrupted the other. It now re-initializes the copy withwc_Psoc6_Sha1_Sha2_Init(dst, ..., 0), as the other SHA-1/SHA-2 copy functions already do.wc_Psoc6_Aes_GcmDecryptleft the decrypted data inouton an authentication failure; it is now zeroed.Testing
wolfCrypt test passes on KIT_PSE84_AI with the engine enabled, including AES-ECB with input in XIP flash. The touched files build against the PSoC6 PDL as before. Bare-metal example: wolfssl-examples
embedded/infineon_psoc_e8.