1 //-----------------------------------------------------------------------------
2 // Copyright (C) Proxmark3 contributors. See AUTHORS.md for details.
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU General Public License as published by
6 // the Free Software Foundation, either version 3 of the License, or
7 // (at your option) any later version.
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details.
14 // See LICENSE.txt for the text of the license.
15 //-----------------------------------------------------------------------------
17 //-----------------------------------------------------------------------------
24 uint32_t ul_ev1_pwdgen_def(const uint8_t *uid
);
25 uint32_t ul_ev1_pwdgenA(const uint8_t *uid
);
26 uint32_t ul_ev1_pwdgenB(const uint8_t *uid
);
27 uint32_t ul_ev1_pwdgenC(const uint8_t *uid
);
28 uint32_t ul_ev1_pwdgenD(const uint8_t *uid
);
29 uint32_t ul_ev1_pwdgenE(const uint8_t *uid
);
30 uint32_t ul_ev1_pwdgenF(const uint8_t *uid
);
31 uint32_t ul_ev1_pwdgenG(const uint8_t *uid
, const uint8_t *mfg
);
33 uint16_t ul_ev1_packgen_def(const uint8_t *uid
);
34 uint16_t ul_ev1_packgenA(const uint8_t *uid
);
35 uint16_t ul_ev1_packgenB(const uint8_t *uid
);
36 uint16_t ul_ev1_packgenC(const uint8_t *uid
);
37 uint16_t ul_ev1_packgenD(const uint8_t *uid
);
38 uint16_t ul_ev1_packgenE(const uint8_t *uid
);
39 uint16_t ul_ev1_packgenG(const uint8_t *uid
, const uint8_t *mfg
);
41 uint32_t ul_c_otpgenA(const uint8_t *uid
);
43 int mfc_algo_ving_one(uint8_t *uid
, uint8_t sector
, uint8_t keytype
, uint64_t *key
);
44 int mfc_algo_ving_all(uint8_t *uid
, uint8_t *keys
);
46 int mfc_algo_yale_one(uint8_t *uid
, uint8_t sector
, uint8_t keytype
, uint64_t *key
);
47 int mfc_algo_yale_all(uint8_t *uid
, uint8_t *keys
);
49 int mfc_algo_saflok_one(uint8_t *uid
, uint8_t sector
, uint8_t keytype
, uint64_t *key
);
50 int mfc_algo_saflok_all(uint8_t *uid
, uint8_t *keys
);
52 int mfc_algo_mizip_one(const uint8_t *uid
, uint8_t sector
, uint8_t keytype
, uint64_t *key
);
53 int mfc_algo_mizip_all(uint8_t *uid
, uint8_t *keys
);
55 int mfc_algo_di_one(uint8_t *uid
, uint8_t sector
, uint8_t keytype
, uint64_t *key
);
56 int mfc_algo_di_all(uint8_t *uid
, uint8_t *keys
);
58 int mfc_algo_sky_one(uint8_t *uid
, uint8_t sector
, uint8_t keytype
, uint64_t *key
);
59 int mfc_algo_sky_all(uint8_t *uid
, uint8_t *keys
);
61 int mfc_generate4b_nuid(uint8_t *uid
, uint8_t *nuid
);
63 int mfc_algo_touch_one(uint8_t *uid
, uint8_t sector
, uint8_t keytype
, uint64_t *key
);
65 uint32_t lf_t55xx_white_pwdgen(uint32_t id
);
67 int mfdes_kdf_input_gallagher(uint8_t *uid
, uint8_t uidLen
, uint8_t keyNo
, uint32_t aid
, uint8_t *kdfInputOut
, uint8_t *kdfInputLen
);
69 int generator_selftest(void);