summaryrefslogtreecommitdiff
path: root/openpicc/application/iso14443a_diffmiller.h
blob: 0536312f4aca4e89597c1a867fe670f68175cff5 (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 __ramfunc 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