added a fingerprint test for OTP algos
This commit is contained in:
1 parent
19dd580b3b
commit
df05e28923
3 files changed
+77
-5
No files matched your search
@@ -240,6 +240,12 @@ uint16_t ul_ev1_packgen_def(const uint8_t *uid) {
|
||||
return 0x0000;
|
||||
}
|
||||
|
||||
// MIFARE ULTRALIGHT OTP generators
|
||||
uint32_t ul_c_otpgenA(const uint8_t *uid) {
|
||||
return 0x534C544F;
|
||||
}
|
||||
|
||||
|
||||
//------------------------------------
|
||||
// MFC key generation stuff
|
||||
// Each algo implementation should offer two key generation functions.
|
||||
|
||||
@@ -36,6 +36,8 @@ uint16_t ul_ev1_packgenC(const uint8_t *uid);
|
||||
uint16_t ul_ev1_packgenD(const uint8_t *uid);
|
||||
uint16_t ul_ev1_packgenE(const uint8_t *uid);
|
||||
|
||||
uint32_t ul_c_otpgenA(const uint8_t *uid);
|
||||
|
||||
int mfc_algo_ving_one(uint8_t *uid, uint8_t sector, uint8_t keytype, uint64_t *key);
|
||||
int mfc_algo_ving_all(uint8_t *uid, uint8_t *keys);
|
||||
|
||||
|
||||
Reference in new issue
Block a user