#define PS_NV_COUNTER_SIZE
psa_status_t ps_increment_nv_counter(enum tfm_nv_counter_t counter_id)
Increments the given non-volatile (NV) counter.
psa_status_t ps_read_nv_counter(enum tfm_nv_counter_t counter_id, uint32_t *val)
Reads the given non-volatile (NV) counter.
#define PSA_ERROR_GENERIC_ERROR
int32_t psa_status_t
Function return status.