summaryrefslogtreecommitdiff
path: root/openpicc/application/iso14443a_diffmiller.h
blob: c657f1b2ef8078827d8dec08268d26ea1197e0c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef ISO14443A_DIFFMILLER_H_
#define ISO14443A_DIFFMILLER_H_

#include "iso14443.h"

struct diffmiller_state;

extern int iso14443a_decode_diffmiller(struct diffmiller_state *state, iso14443_frame *frame, 
	const u_int32_t buffer[], unsigned int *offset, const unsigned int buflen);
extern int iso14443a_diffmiller_assert_frame_ended(struct diffmiller_state * const state, 
		iso14443_frame * const frame);
extern struct diffmiller_state *iso14443a_init_diffmiller(int pauses_count);

extern void iso14443a_diffmiller_print_performance(struct diffmiller_state * const state);

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