]>
git.zerfleddert.de Git - proxmark3-svn/blob - client/cmdhfmfhard.h
1 //-----------------------------------------------------------------------------
2 // Copyright (C) 2015 piwi
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
7 //-----------------------------------------------------------------------------
8 // hf mf hardnested command
9 //-----------------------------------------------------------------------------
11 #ifndef CMDHFMFHARD_H__
12 #define CMDHFMFHARD_H__
20 #include "proxmark3.h" // time_t , PRIu32
25 #include "nonce2key/crapto1.h"
26 #include "nonce2key/crypto1_bs.h"
28 // don't include for APPLE/mac which has malloc stuff elsewhere.
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
);