libtropic
C library for TROPIC01 chip
◆
lt_test_rev_ecc_key_store()
void lt_test_rev_ecc_key_store
(
lt_handle_t
*
h
)
Test steps:
Start Secure Session with pairing key slot 0.
Check if all slots are empty.
In each slot, store invalid private key using P256 curve and check for error.
In each slot, store pre-generated private key using P256 curve.
Try storing again, also using Ed25519 curve and check for errors.
Read the stored public key and check curve and origin.
Erase the key slot.
Repeat steps 2-6 for the Ed25519 curve with pre-generated keys (without storing invalid private key - that cannot be checked in the case of Ed25519).
Parameters
h
Device's handle
libtropic functional tests
Generated by
1.9.1