Repository navigation
Support for PUF in LPC55S69 #787
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
25 commits
Select commit
Hold shift + click to select a range
b65752a
Initial implementation
twcook86 d569f68
fixes
twcook86 057ea0e
default HWPUF off
twcook86 8fb226d
Add psa attestation support for lpc55s69
twcook86 2dc0488
Update docs, tweak configs
twcook86 85d056d
update configs
twcook86 e5a44f0
fenrir fixes
twcook86 d551ad9
fix the fix
twcook86 a9b7448
fix for DEBUG_UART=0
twcook86 3dccfd5
Remove PUF provisioning debug markers and trace messages
danielinux a8a95dd
Add CI job for lpc55s69 DICE + HW PUF under m33mu
danielinux 60705a9
Remove hwpuf module
twcook86 154bb2f
CI: fix lpc55s69 HWPUF jobs (Copilot review)
danielinux e076292
lpc55s69: drop empty if/else leftover from PUF provisioning
danielinux f8275f3
Update wolfssl submodule to latest master
danielinux af488f0
lpc55s69: port HWPUF HAL to the simplified wolfSSL API
danielinux 4981713
lpc55s69: hand SRAM2 to the NS world via AHBSC before the jump
danielinux e45ded9
lpc55s69: limit PUF provision page check to the pages it occupies
danielinux 1ea208c
lpc55s69: implement hal_attestation_get_ueid for the HWPUF path
danielinux b3be55d
CI: run the lpc55s69 SDK setup step under bash
danielinux 68a5549
raise footprint limits: ML_DSA (+40B, wolfSSL bump to bc9c07902 ML-DS…
danielinux b8e4213
lpc55s69: don't zeroize the PUF after use; end the HWPUF CI run on bkpt
danielinux 38d7655
address pr comments
twcook86 11a08cc
fix tz emulator test
twcook86 28d7171
address pr comments
twcook86 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
Some comments aren't visible on the classic Files Changed page.
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| ARCH?=ARM | ||
| TZEN?=1 | ||
| TARGET?=lpc55s69 | ||
| SIGN?=ECC384 | ||
| HASH?=SHA256 | ||
| MCUXSDK?=1 | ||
| MCUXPRESSO?=$(PWD)/../NXP/mcuxpresso-sdk/mcuxsdk | ||
| MCUXPRESSO_CMSIS?=$(PWD)/../NXP/CMSIS_5/CMSIS | ||
| MCUXPRESSO_CPU?=LPC55S69JBD100_cm33_core0 | ||
| MCUXPRESSO_DRIVERS?=$(MCUXPRESSO)/devices/LPC/LPC5500/LPC55S69 | ||
| MCUXPRESSO_PROJECT_TEMPLATE?=$(MCUXPRESSO)/examples/_boards/lpcxpresso55s69/project_template | ||
| DEBUG?=0 | ||
| DEBUG_UART?=1 | ||
| VTOR?=1 | ||
| CORTEX_M0?=0 | ||
| CORTEX_M33?=1 | ||
| NO_ASM?=0 | ||
| NO_MPU=1 | ||
| EXT_FLASH?=0 | ||
| SPI_FLASH?=0 | ||
| ALLOW_DOWNGRADE?=0 | ||
| NVM_FLASH_WRITEONCE?=1 | ||
| NO_ARM_ASM=1 | ||
| WOLFBOOT_VERSION?=0 | ||
| V?=0 | ||
| SPMATH?=1 | ||
| RAM_CODE?=1 | ||
| DUALBANK_SWAP?=0 | ||
| FLASH_MULTI_SECTOR_ERASE?=1 | ||
| WOLFCRYPT_TZ?=1 | ||
| WOLFCRYPT_TZ_PSA?=1 | ||
|
|
||
| WOLFBOOT_ATTESTATION_TEST?=1 | ||
|
twcook86 marked this conversation as resolved.
|
||
| WOLFBOOT_UDS_UID_FALLBACK_FORTEST?=1 | ||
|
|
||
| # Turn on or off hw acceleration of crypto algs in the lpc55s69 | ||
| PKA?=0 | ||
| # Turn on or off hw puf | ||
| HWPUF?=0 | ||
| WOLFBOOT_HWPUF_PROVISION?=0 | ||
|
|
||
| WOLFBOOT_SECTOR_SIZE?=0x200 | ||
|
|
||
| # 200KB boot, 80KB keyvault, 8KB NSC, 56KB partitions, 512 swap | ||
| WOLFBOOT_KEYVAULT_ADDRESS?=0x10032000 | ||
| WOLFBOOT_KEYVAULT_SIZE?=0x14000 | ||
| WOLFBOOT_NSC_ADDRESS?=0x10046000 | ||
| WOLFBOOT_NSC_SIZE?=0x2000 | ||
| WOLFBOOT_PARTITION_SIZE?=0xE000 | ||
| WOLFBOOT_PARTITION_BOOT_ADDRESS?=0x00048000 | ||
| WOLFBOOT_PARTITION_UPDATE_ADDRESS?=0x00056000 | ||
| WOLFBOOT_PARTITION_SWAP_ADDRESS?=0x00064000 | ||
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.