Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions boot/zephyr/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1123,6 +1123,16 @@ config MCUBOOT_DOWNGRADE_PREVENTION
only protects against some attacks against version downgrades (for
example, a JTAG could be used to write an older version).

config MCUBOOT_HW_DOWNGRADE_PREVENTION
bool "HW based downgrade prevention"
help
Prevent undesirable/malicious software downgrades. When this option is
set, any upgrade must have greater or equal security counter value.
Because of the acceptance of equal values it allows for software
downgrade to some extent.

endchoice

config MCUBOOT_DOWNGRADE_PREVENTION_SECURITY_COUNTER
bool "Use image security counter instead of version number"
depends on MCUBOOT_DOWNGRADE_PREVENTION
Expand All @@ -1134,14 +1144,6 @@ config MCUBOOT_DOWNGRADE_PREVENTION_SECURITY_COUNTER
Because of the acceptance of equal values it allows for software
downgrades to some extent.

config MCUBOOT_HW_DOWNGRADE_PREVENTION
bool "HW based downgrade prevention"
help
Prevent undesirable/malicious software downgrades. When this option is
set, any upgrade must have greater or equal security counter value.
Because of the acceptance of equal values it allows for software
downgrade to some extent.

config MCUBOOT_HW_DOWNGRADE_PREVENTION_COUNTER_LIMITED
bool "HW based downgrade prevention counter has limited number of updates"
depends on MCUBOOT_HW_DOWNGRADE_PREVENTION
Expand All @@ -1165,8 +1167,6 @@ config MCUBOOT_HW_DOWNGRADE_PREVENTION_LOCK
This prevents the application from accidental updates of the counter,
that may invalidate the currently running image.

endchoice

config MCUBOOT_UUID_VID
bool "Expect vendor unique identifier in image's TLV"
help
Expand Down