#ifndef __MIFAREUTIL_H\r
#define __MIFAREUTIL_H\r
\r
+#include <stdint.h>\r
+#include <stdbool.h>\r
+\r
#include "crapto1/crapto1.h"\r
#include "usb_cdc.h"\r
\r
// Mifare memory structure\r
uint8_t NumBlocksPerSector(uint8_t sectorNo);\r
uint8_t FirstBlockOfSector(uint8_t sectorNo);\r
+bool IsSectorTrailer(uint8_t blockNo);\r
+uint8_t SectorTrailer(uint8_t blockNo);\r
\r
// emulator functions\r
void emlClearMem(void);\r