| lt_ret_t lt_ecc_key_store | ( | lt_handle_t * | h, |
| const lt_ecc_slot_t | slot, | ||
| const lt_ecc_curve_type_t | curve, | ||
| const uint8_t * | key | ||
| ) |
| h | Handle for communication with TROPIC01 |
| slot | Slot number lt_ecc_slot_t |
| curve | Type of ECC curve. Use L3_ECC_KEY_GENERATE_CURVE_ED25519 or L3_ECC_KEY_GENERATE_CURVE_P256 |
| key | Key to store (only the first 32 bytes are stored) |
| LT_OK | Function executed successfully |
| other | Function did not execute successully, you might use lt_ret_verbose() to get verbose encoding of returned value |