#pragma once #ifdef __cplusplus extern "C" { #endif #include bool u2f_data_check(bool cert_only); bool u2f_data_cert_check(void); uint32_t u2f_data_cert_load(uint8_t* cert); bool u2f_data_cert_key_load(uint8_t* cert_key); bool u2f_data_key_load(uint8_t* device_key); bool u2f_data_key_generate(uint8_t* device_key); bool u2f_data_cnt_read(uint32_t* cnt); bool u2f_data_cnt_write(uint32_t cnt); #ifdef __cplusplus } #endif