summaryrefslogtreecommitdiff
path: root/easytool/mifare_classic.h
blob: c6ba524eb6ca92134a59b8816ef574541c013ffc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef EASY_MFCL_H
#define EASY_MFCL_H

#include <stdint.h>

#define ABP_C1	0x04
#define ABP_C2	0x02
#define ABP_C3	0x01

struct acc_bits_parsed {
	uint8_t block[4];
};

void mfcl_parse_acc_bits(struct acc_bits_parsed *abp, uint8_t *acc_bits);

#endif
personal git repositories of Harald Welte. Your mileage may vary