diff --git a/client/src/loclass/elite_crack.h b/client/src/loclass/elite_crack.h index 8f48dac8a..2ee34a399 100644 --- a/client/src/loclass/elite_crack.h +++ b/client/src/loclass/elite_crack.h @@ -121,7 +121,7 @@ void hash2(uint8_t *key64, uint8_t *outp_keytable); * @param master_key where to put the master key * @return 0 for ok, 1 for failz */ -int calculateMasterKey(uint8_t first16bytes[], uint8_t master_key[]); +int calculateMasterKey(uint8_t first16bytes[], uint8_t kcus[]); /** * @brief Test function diff --git a/client/src/mifare/mad.h b/client/src/mifare/mad.h index 5500a5459..822314281 100644 --- a/client/src/mifare/mad.h +++ b/client/src/mifare/mad.h @@ -18,6 +18,6 @@ int MADDecode(uint8_t *sector0, uint8_t *sector10, uint16_t *mad, size_t *madlen int MAD1DecodeAndPrint(uint8_t *sector, bool swapmad, bool verbose, bool *haveMAD2); int MAD2DecodeAndPrint(uint8_t *sector, bool swapmad, bool verbose); int MADDFDecodeAndPrint(uint32_t short_aid); -int MADCardHolderInfoDecode(uint8_t *data, size_t dataLen, bool verbose); +int MADCardHolderInfoDecode(uint8_t *data, size_t datalen, bool verbose); #endif // _MAD_H_