![]() |
nRF Connect SDK API 3.3.99
|
| int is_monotonic_counter_update_possible | ( | uint16_t | counter_desc | ) |
#include <include/bl_storage.h>
Checks whether it is possible to update the monotonic counter to a new value.
| [in] | counter_desc | Counter description. |
| 0 | The counter was updated successfully. |
| -EINVAL | counter_desc is invalid. |
| -ENOMEM | There are no more free counter slots (see SB_CONFIG_SECURE_BOOT_NUM_VER_COUNTER_SLOTS). |