]> cvs.zerfleddert.de Git - proxmark3-svn/blame_incremental - common/bucketsort.h
FIX: 'hf 14a reader' - when card SAK was 0x00, it calls GetHF14AMfU_Type() to try...
[proxmark3-svn] / common / bucketsort.h
... / ...
CommitLineData
1#ifndef BUCKETSORT_H__
2#define BUCKETSORT_H__
3
4#include <stdint.h>
5#include <stdlib.h>
6
7typedef struct bucket {
8 uint32_t *head;
9 uint32_t *bp;
10} bucket_t;
11
12typedef bucket_t bucket_array_t[2][0x100];
13
14typedef struct bucket_info {
15 struct {
16 uint32_t *head, *tail;
17 } bucket_info[2][0x100];
18 uint32_t numbuckets;
19} bucket_info_t;
20
21void bucket_sort_intersect(uint32_t* const estart, uint32_t* const estop,
22 uint32_t* const ostart, uint32_t* const ostop,
23 bucket_info_t *bucket_info, bucket_array_t bucket);
24#endif
Impressum, Datenschutz