2017-11-25 10:29:26 +08:00
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// Copyright (C) 2017 Merlok
|
2017-12-06 04:07:03 +08:00
|
|
|
// modified 2017 iceman
|
2017-11-25 10:29:26 +08:00
|
|
|
// This code is licensed to you under the terms of the GNU GPL, version 2 or,
|
|
|
|
// at your option, any later version. See the LICENSE.txt file for the text of
|
|
|
|
// the license.
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// EMV commands
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#ifndef CMDEMV_H__
|
|
|
|
#define CMDEMV_H__
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <inttypes.h>
|
|
|
|
#include <string.h>
|
2017-12-05 04:18:08 +08:00
|
|
|
#include <ctype.h>
|
2017-11-25 10:29:26 +08:00
|
|
|
#include "proxmark3.h"
|
|
|
|
#include "ui.h"
|
|
|
|
#include "cmdparser.h"
|
|
|
|
#include "common.h"
|
|
|
|
#include "util.h"
|
|
|
|
#include "util_posix.h"
|
|
|
|
#include "cmdmain.h"
|
|
|
|
#include "emvcore.h"
|
|
|
|
#include "apduinfo.h"
|
2018-12-28 22:40:53 +08:00
|
|
|
#include "emv_roca.h"
|
2017-11-25 10:29:26 +08:00
|
|
|
|
2018-12-04 00:16:25 +08:00
|
|
|
int CmdEMV(const char *Cmd);
|
2017-11-25 10:29:26 +08:00
|
|
|
|
2018-12-04 00:16:25 +08:00
|
|
|
extern int CmdEMVSelect(const char *cmd);
|
|
|
|
extern int CmdEMVSearch(const char *cmd);
|
|
|
|
extern int CmdEMVPPSE(const char *cmd);
|
|
|
|
extern int CmdEMVExec(const char *cmd);
|
|
|
|
extern int CmdEMVGetrng(const char *Cmd);
|
|
|
|
extern int CmdEMVList(const char *Cmd);
|
2018-12-26 18:02:00 +08:00
|
|
|
extern int CmdEMVRoca(const char *Cmd);
|
2017-11-25 10:29:26 +08:00
|
|
|
|
2018-12-04 00:16:25 +08:00
|
|
|
#endif
|