initial fido2 port

This commit is contained in:
Conor Patrick
2018-10-25 21:25:49 -04:00
parent 2819c0a215
commit 705ee28860
16 changed files with 659 additions and 124 deletions

View File

@@ -53,6 +53,8 @@ int authenticator_is_backup_initialized();
void authenticator_write_state(AuthenticatorState *, int backup);
// Called each main loop. Doesn't need to do anything.
void device_manage();
// Test for user presence
// Return 1 for user is present, 0 user not present

View File

@@ -85,6 +85,8 @@ int main(int argc, char * argv[])
t1 = millis();
}
device_manage();
if (usbhid_recv(hidmsg) > 0)
{
printf1(TAG_DUMP,"%d>> ",count++); dump_hex1(TAG_DUMP, hidmsg,sizeof(hidmsg));
@@ -110,5 +112,3 @@ int main(int argc, char * argv[])
}
#endif