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: Move encryption context invalidation to boot_enc_drop. #2010

Merged
merged 1 commit into from
Jul 24, 2024

Commits on Jul 17, 2024

  1. boot: Move encryption context invalidation to boot_enc_drop.

    The enc_key_data.valid had been set to true when key has been added
    to the encryption context, but in case when boot_enc_drop was called,
    on the same context, the flag remained true, even though the context
    may no longer hold any valid context nor key.
    The commit moves the enc_key_data invalidation to enc_key_drop.
    
    Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
    de-nordic committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    d6f8e04 View commit details
    Browse the repository at this point in the history