]>
Commit | Line | Data |
---|---|---|
1 | //----------------------------------------------------------------------------- | |
2 | // Copyright (C) 2015 piwi | |
3 | // | |
4 | // This code is licensed to you under the terms of the GNU GPL, version 2 or, | |
5 | // at your option, any later version. See the LICENSE.txt file for the text of | |
6 | // the license. | |
7 | //----------------------------------------------------------------------------- | |
8 | // hf mf hardnested command | |
9 | //----------------------------------------------------------------------------- | |
10 | ||
11 | #ifndef CMDHFMFHARD_H__ | |
12 | #define CMDHFMFHARD_H__ | |
13 | ||
14 | #include <stdlib.h> | |
15 | #include <stdio.h> | |
16 | #include <string.h> | |
17 | #include <pthread.h> | |
18 | #include <locale.h> | |
19 | #include <math.h> | |
20 | #include "proxmark3.h" // time_t , PRIu32 | |
21 | #include "sleep.h" | |
22 | #include "cmdmain.h" | |
23 | #include "ui.h" | |
24 | #include "util.h" | |
25 | #include "nonce2key/crapto1.h" | |
26 | #include "nonce2key/crypto1_bs.h" | |
27 | #include "parity.h" | |
28 | // don't include for APPLE/mac which has malloc stuff elsewhere. | |
29 | #ifndef __APPLE__ | |
30 | #include <malloc.h> | |
31 | #endif | |
32 | #include <assert.h> | |
33 | ||
34 | int mfnestedhard(uint8_t blockNo, uint8_t keyType, uint8_t *key, uint8_t trgBlockNo, uint8_t trgKeyType, uint8_t *trgkey, bool nonce_file_read, bool nonce_file_write, bool slow, int tests, uint64_t *foundkey); | |
35 | ||
36 | #endif |