hf list mf 1st auth works

This commit is contained in:
Oleg Moiseenko 2018-02-10 22:33:32 +02:00
commit 747885a6ed
3 changed files with 44 additions and 12 deletions

View file

@ -14,6 +14,7 @@
#include <stdint.h>
#include <stdbool.h>
#include "data.h"
#include "crapto1/crapto1.h"
// defaults
// timeout in units. (ms * 106)/10 or us*0.0106
@ -62,5 +63,6 @@ extern int tryDecryptWord(uint32_t nt, uint32_t ar_enc, uint32_t at_enc, uint8_t
extern int mfCIdentify();
extern int DetectClassicPrng(void);
extern bool validate_prng_nonce(uint32_t nonce);
extern void mf_crypto1_decrypt(struct Crypto1State *pcs, uint8_t *data, int len, bool isEncrypted);
#endif