Libtropic API
SDK for the TROPIC01 secure element
Version: master (latest)
Loading...
Searching...
No Matches
◆
lt_test_rev_mcounter()
void lt_test_rev_mcounter
(
lt_handle_t
*
h
)
Test steps:
Try to init each counter with random value twice, then try a few decrements.
Set each of the counters to random small value, then decrement to zero. Try decrement one more time after reaching 0 – should fail with UPDATE_ERROR.
Try to set all counters with known value and check that no counter was assigned wrong value.
Parameters
h
Handle for communication with TROPIC01
3. Functional Tests
Generated by
1.9.8