Fixes 2 bugs in mifare simulate (#380)

- Check button press when there is NOFIELD, so we can exit also without FIELD
- struct nonces_t is moved to include/mifare.h so client and arm has the same definition
This commit is contained in:
etmatrix 2017-08-17 16:59:48 +02:00 committed by pwpiwi
commit 4efdfbe638
4 changed files with 18 additions and 26 deletions

View file

@ -10,6 +10,7 @@
// MIFARE Darkside hack
//-----------------------------------------------------------------------------
#include "mifare.h"
#include "mfkey.h"
#include "crapto1/crapto1.h"