Libtropic API
SDK for the TROPIC01 secure element
Version: master (latest)
Loading...
Searching...
No Matches

◆ lt_mcounter_get()

lt_ret_t lt_mcounter_get ( lt_handle_t h,
const enum lt_mcounter_index_t  mcounter_index,
uint32_t *  mcounter_value 
)
Parameters
hHandle for communication with TROPIC01
mcounter_indexIndex of monotonic counter
mcounter_valueValue of monotonic counter (from range 0-TR01_MCOUNTER_VALUE_MAX)
Return values
LT_OKFunction executed successfully
otherFunction did not execute successully, you might use lt_ret_verbose() to get verbose encoding of returned value