2021-12-22 20:04:08 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <furi.h>
|
|
|
|
|
2022-02-07 13:34:09 +00:00
|
|
|
bool u2f_data_check(bool cert_only);
|
2022-02-02 14:27:33 +00:00
|
|
|
|
2021-12-22 20:04:08 +00:00
|
|
|
bool u2f_data_cert_check();
|
|
|
|
|
|
|
|
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
|