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

boot_nv_security_counter_init() not called through boot_go() #1872

Open
Olstyle opened this issue Dec 5, 2023 · 0 comments
Open

boot_nv_security_counter_init() not called through boot_go() #1872

Olstyle opened this issue Dec 5, 2023 · 0 comments

Comments

@Olstyle
Copy link

Olstyle commented Dec 5, 2023

If MCUBOOT_HW_ROLLBACK_PROT is defined, one is expected to implement the interface from security_cnt.h. This interface also defines the function boot_nv_security_counter_init().
But actually that function is never called from the boot code. I can of course call it myself before boot_go() and have a functioning system, but if it is supposed to be an expected interface I also expect it to be called.

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

No branches or pull requests

1 participant