chg: hf 14a info - dont print some hints if magic
This commit is contained in:
@@ -1117,7 +1117,7 @@ int detect_classic_static_nonce(void) {
|
||||
}
|
||||
|
||||
/* try to see if card responses to "chinese magic backdoor" commands. */
|
||||
void detect_classic_magic(void) {
|
||||
int detect_classic_magic(void) {
|
||||
|
||||
uint8_t isGeneration = 0;
|
||||
PacketResponseNG resp;
|
||||
@@ -1144,4 +1144,5 @@ void detect_classic_magic(void) {
|
||||
default:
|
||||
break;
|
||||
}
|
||||
return isGeneration;
|
||||
}
|
||||
|
||||
@@ -84,7 +84,7 @@ int tryDecryptWord(uint32_t nt, uint32_t ar_enc, uint32_t at_enc, uint8_t *data,
|
||||
|
||||
int detect_classic_prng(void);
|
||||
int detect_classic_nackbug(bool verbose);
|
||||
void detect_classic_magic(void);
|
||||
int detect_classic_magic(void);
|
||||
int detect_classic_static_nonce(void);
|
||||
void mf_crypto1_decrypt(struct Crypto1State *pcs, uint8_t *data, int len, bool isEncrypted);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user