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() #2184

Open
Olstyle opened this issue Jan 22, 2025 · 0 comments
Open

boot_nv_security_counter_init() not called through boot_go() #2184

Olstyle opened this issue Jan 22, 2025 · 0 comments

Comments

@Olstyle
Copy link

Olstyle commented Jan 22, 2025

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.

This is a copy of #1872 since it was closed by (silly) automation and I can not reopen it.

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