REM: removed an unused method MifareCollectNonces
ADD: added some set_tracing(FALSE) calls for consistency. and.. syntax suger
This commit is contained in:
@@ -147,7 +147,6 @@ void MifareCIdent(); // is "magic chinese" card?
|
|||||||
void MifareUSetPwd(uint8_t arg0, uint8_t *datain);
|
void MifareUSetPwd(uint8_t arg0, uint8_t *datain);
|
||||||
void OnSuccessMagic();
|
void OnSuccessMagic();
|
||||||
void OnErrorMagic(uint8_t reason);
|
void OnErrorMagic(uint8_t reason);
|
||||||
void MifareCollectNonces(uint32_t arg0, uint32_t arg1);
|
|
||||||
|
|
||||||
//desfire
|
//desfire
|
||||||
void Mifare_DES_Auth1(uint8_t arg0,uint8_t *datain);
|
void Mifare_DES_Auth1(uint8_t arg0,uint8_t *datain);
|
||||||
|
|||||||
@@ -179,7 +179,7 @@ int mifare_classic_authex(struct Crypto1State *pcs, uint32_t uid, uint8_t blockN
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Skip 32 bits in pseudo random generator
|
// Skip 32 bits in pseudo random generator
|
||||||
nt = prng_successor(nt,32);
|
nt = prng_successor(nt, 32);
|
||||||
|
|
||||||
// ar+parity
|
// ar+parity
|
||||||
for (pos = 4; pos < 8; pos++) {
|
for (pos = 4; pos < 8; pos++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user