libtropic
C library for TROPIC01 chip
◆
lt_test_rev_r_mem()
void lt_test_rev_r_mem
(
lt_handle_t
*
h
)
Test steps:
Start Secure Session with pairing key slot 0.
Check if all slots are empty.
Write all slots entirely with random data.
Read all slots and check if they were written.
Write 0x00 to all slots and check if it fails.
Read all slots and check they were not written.
Erase all slots and check that reading fails.
Write all slots partially with random data of random length (0-443).
if the random length is 0, check that write fails.
Read all slots and check if they were written.
if the random length is 0, check that read fails (slot empty).
Erase all slots and check that reading fails.
Parameters
h
Device's handle
libtropic functional tests
Generated by
1.9.1