Skip to content
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

add configs for more NVM_FLASH_WRITEONCE combinations and fix powerfail problems #348

Merged
merged 5 commits into from
Aug 21, 2023

Conversation

jpbland1
Copy link
Contributor

add configs for FLAGS_HOME and INVERT with encryption
fix powerfail problems exposed by these configs
ZD 15415

FLAGS_HOME, and invert. the powerfail test will fail for these configs to show the problem
simplify the erase address logic within nvm_select_fresh_sector
add several checks to nvm_select_fresh_sector:
    when FLAGS_HOME is enabled, add a check for both the boot and update partition flags
    when EXT_ENCRYPTED is enabled, add a check for the encryption key, always perform this check when FLAGS_HOME is enabled
update aes_init and chacha_init to properly account for NVM_FLASH_WRITEONCE
@jpbland1 jpbland1 requested a review from dgarske August 21, 2023 05:52
@jpbland1 jpbland1 marked this pull request as ready for review August 21, 2023 05:56
@dgarske dgarske merged commit 053b1ba into wolfSSL:master Aug 21, 2023
58 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants