libtropic
C library for TROPIC01 chip
◆
lt_test_rev_eddsa_sign()
void lt_test_rev_eddsa_sign
(
lt_handle_t
*
h
)
Test steps:
Start Secure Session with pairing key slot 0.
Generate random message with random size for signing.
Sign message with each empty slot and check for fail.
Store pre-generated private key to each slot.
Read the public key from each slot.
Sign the message with each slot.
Verify the signature.
Erase each slot.
Sign message with each erased slot and check for fail.
Do steps 2-9, but instead of storing the key, generate it.
Parameters
h
Device's handle
libtropic functional tests
Generated by
1.9.1