]> git.zerfleddert.de Git - proxmark3-svn/blame - client/cmdhf14a.h
Add ROCA vulnerability test (RRG repository PR 76 by @merlokk) (#762)
[proxmark3-svn] / client / cmdhf14a.h
CommitLineData
a553f267 1//-----------------------------------------------------------------------------
50193c1e 2// 2011, Merlok
a553f267 3// Copyright (C) 2010 iZsh <izsh at fail0verflow.com>
4//
5// This code is licensed to you under the terms of the GNU GPL, version 2 or,
6// at your option, any later version. See the LICENSE.txt file for the text of
7// the license.
8//-----------------------------------------------------------------------------
9// High frequency ISO14443A commands
10//-----------------------------------------------------------------------------
11
7fe9b0b7 12#ifndef CMDHF14A_H__
13#define CMDHF14A_H__
14
acf0582d 15#include <stdint.h>
eb6e8de4 16#include <stdbool.h>
95b697f0 17#include "mifare.h"
7fe9b0b7 18
acf0582d 19int CmdHF14A(const char *Cmd);
7fe9b0b7 20int CmdHF14AList(const char *Cmd);
21int CmdHF14AMifare(const char *Cmd);
22int CmdHF14AReader(const char *Cmd);
fe842bed 23extern int CmdHF14AInfo(const char *Cmd);
7fe9b0b7 24int CmdHF14ASim(const char *Cmd);
25int CmdHF14ASnoop(const char *Cmd);
b915fda3 26char* getTagInfo(uint8_t uid);
acf0582d 27
b7d3e899 28extern void DropField();
95b697f0
OM
29
30extern int Hf14443_4aGetCardData(iso14a_card_select_t * card);
7dadcc95 31extern int ExchangeRAW14a(uint8_t *datain, int datainlen, bool activateField, bool leaveSignalON, uint8_t *dataout, int maxdataoutlen, int *dataoutlen);
3c5fce2b 32extern int ExchangeAPDU14a(uint8_t *datain, int datainlen, bool activateField, bool leaveSignalON, uint8_t *dataout, int maxdataoutlen, int *dataoutlen);
6fc6cd0f 33
7fe9b0b7 34#endif
Impressum, Datenschutz