mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-07-27 01:58:09 -07:00
MRTD Move MrtdData to helper .h
This commit is contained in:
@@ -129,6 +129,18 @@ typedef struct {
|
||||
MrtdDate expiry_date;
|
||||
} EF_DG1_contents;
|
||||
|
||||
typedef struct {
|
||||
MrtdAuthData auth;
|
||||
bool auth_success;
|
||||
MrtdAuthMethod auth_method_used;
|
||||
|
||||
struct {
|
||||
EF_DIR_contents EF_DIR;
|
||||
EF_COM_contents EF_COM;
|
||||
EF_DG1_contents DG1;
|
||||
} files;
|
||||
} MrtdData;
|
||||
|
||||
const char* mrtd_auth_method_string(MrtdAuthMethod method);
|
||||
|
||||
bool mrtd_auth_method_parse_string(MrtdAuthMethod* method, const char* str);
|
||||
|
||||
@@ -16,18 +16,6 @@ typedef struct {
|
||||
bool secure_messaging;
|
||||
} MrtdApplication;
|
||||
|
||||
typedef struct {
|
||||
MrtdAuthData auth;
|
||||
bool auth_success;
|
||||
MrtdAuthMethod auth_method_used;
|
||||
|
||||
struct {
|
||||
EF_DIR_contents EF_DIR;
|
||||
EF_COM_contents EF_COM;
|
||||
EF_DG1_contents DG1;
|
||||
} files;
|
||||
} MrtdData;
|
||||
|
||||
//TODO: description
|
||||
MrtdApplication* mrtd_alloc_init(FuriHalNfcTxRxContext* tx_rx);
|
||||
void mrtd_test(MrtdApplication* app, MrtdData* mrtd_data); //TODO: remove
|
||||
|
||||
Reference in New Issue
Block a user