Commit 0647de87 authored by Jonas Hundseder's avatar Jonas Hundseder
Browse files

Final version with documentation PDF

parent 26ac2620
......@@ -45,12 +45,12 @@ int main(void)
nfc_init();
connect_wifi();
wait_for_tag();
get_UID();
connect_wifi();
nfc_read_hash_table();
get_solve_snippets();
......@@ -69,6 +69,14 @@ int main(void)
test_aesKey(aes_key);
printf("Start CMAC session:");
get_solve_snippets_aesctr_cmac(aes_key);
//If you want to decide AES CTR session or AES CTR CMAC session
//decommend next section
/*
printf("Press 1 for AES CTR session, press 2 for AES CTR CMAC session \n");
scanf("%d", &decision);
......@@ -83,6 +91,7 @@ int main(void)
get_solve_snippets_aesctr_cmac(aes_key);
break;
}
*/
free(index_hash);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment