]> git.zerfleddert.de Git - proxmark3-svn/blame_incremental - common/radixsort.h
FIX: looks like "hf legic write" works again!
[proxmark3-svn] / common / radixsort.h
... / ...
CommitLineData
1#ifndef RADIXSORT_H__
2#define RADIXSORT_H__
3
4#include <string.h>
5#include <stdint.h>
6#include <stdlib.h>
7
8typedef union {
9 struct {
10 uint32_t c8[256];
11 uint32_t c7[256];
12 uint32_t c6[256];
13 uint32_t c5[256];
14 uint32_t c4[256];
15 uint32_t c3[256];
16 uint32_t c2[256];
17 uint32_t c1[256];
18 };
19 uint32_t counts[256 * 8];
20} rscounts_t;
21
22uint64_t * radixSort(uint64_t * array, uint32_t size);
23#endif // RADIXSORT_H__
Impressum, Datenschutz