REM: removed an unused method MifareCollectNonces

ADD:  added some set_tracing(FALSE) calls for consistency.
and.. syntax suger
This commit is contained in:
iceman1001 2016-04-12 11:29:40 +02:00
parent 01c78dabc3
commit 46f983fe9e
2 changed files with 1 additions and 2 deletions

View file

@ -147,7 +147,6 @@ void MifareCIdent(); // is "magic chinese" card?
void MifareUSetPwd(uint8_t arg0, uint8_t *datain);
void OnSuccessMagic();
void OnErrorMagic(uint8_t reason);
void MifareCollectNonces(uint32_t arg0, uint32_t arg1);
//desfire
void Mifare_DES_Auth1(uint8_t arg0,uint8_t *datain);

View file

@ -179,7 +179,7 @@ int mifare_classic_authex(struct Crypto1State *pcs, uint32_t uid, uint8_t blockN
}
// Skip 32 bits in pseudo random generator
nt = prng_successor(nt,32);
nt = prng_successor(nt, 32);
// ar+parity
for (pos = 4; pos < 8; pos++) {