]> cvs.zerfleddert.de Git - proxmark3-svn/blame - client/cmdhfmfhard.h
CHG: added a check if err variable is NIL.
[proxmark3-svn] / client / cmdhfmfhard.h
CommitLineData
8ce3e4b4 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
2dcf60f3 11#ifndef CMDHFMFHARD_H__
12#define CMDHFMFHARD_H__
13
2dcf60f3 14#include <stdlib.h>
15#include <stdio.h>
16#include <string.h>
17#include <pthread.h>
18#include <locale.h>
19#include <math.h>
b403c300 20#include "proxmark3.h" // time_t , PRIu32
21#include "sleep.h"
2dcf60f3 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"
2dcf60f3 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
e108a48a 34int 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);
2dcf60f3 35
36#endif
Impressum, Datenschutz