]>
cvs.zerfleddert.de Git - proxmark3-svn/blob - client/cmdhflist.h
6ec2f6fc273e85bacdad0bf6a29bba013e62cfdf
   1 //----------------------------------------------------------------------------- 
   2 // Copyright (C) Merlok - 2017 
   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 // Command: hf mf list. It shows data from arm buffer. 
   9 //----------------------------------------------------------------------------- 
  19         uint32_t nt
;        // tag challenge 
  20         uint32_t nt_enc
;    // encrypted tag challenge 
  21         uint8_t nt_enc_par
; // encrypted tag challenge parity 
  22         uint32_t nr_enc
;    // encrypted reader challenge 
  23         uint32_t ar_enc
;    // encrypted reader response 
  24         uint8_t ar_enc_par
; // encrypted reader response parity 
  25         uint32_t at_enc
;    // encrypted tag response 
  26         uint8_t at_enc_par
; // encrypted tag response parity 
  27         bool first_auth
;    // is first authentication 
  29 extern void ClearAuthData(); 
  31 extern uint8_t iso14443A_CRC_check(bool isResponse
, uint8_t* data
, uint8_t len
); 
  32 extern uint8_t mifare_CRC_check(bool isResponse
, uint8_t* data
, uint8_t len
); 
  33 extern void annotateIso14443a(char *exp
, size_t size
, uint8_t* cmd
, uint8_t cmdsize
); 
  34 extern void annotateMifare(char *exp
, size_t size
, uint8_t* cmd
, uint8_t cmdsize
, bool isResponse
);