8 #ifndef __TEST_PS_NV_COUNTERS_H__
9 #define __TEST_PS_NV_COUNTERS_H__
13 #include "tfm_plat_nv_counters.h"
psa_status_t test_ps_set_nv_counter(enum tfm_nv_counter_t counter_id, uint32_t value)
Sets a new value into the given non-volatile (NV) counter.
psa_status_t test_ps_increment_nv_counter(enum tfm_nv_counter_t counter_id)
Increments the given non-volatile (NV) counter.
psa_status_t test_ps_decrement_nv_counter(enum tfm_nv_counter_t counter_id)
Decrements the given non-volatile (NV) counter.
void test_ps_disable_increment_nv_counter(void)
Disables PS increment nv counter function to force PSA_ERROR_GENERIC_ERROR return value as an indicat...
psa_status_t test_ps_read_nv_counter(enum tfm_nv_counter_t counter_id, uint32_t *val)
Reads the given non-volatile (NV) counter.
void test_ps_enable_increment_nv_counter(void)
Enables PS increment nv counter function to work normally.
int32_t psa_status_t
Function return status.