proxmark3/armsrc/radixsort.h

23 lines
433 B
C
Raw Normal View History

#ifndef RADIXSORT_H__
#define RADIXSORT_H__
#include "common.h"
typedef union {
struct {
uint32_t c8[256];
uint32_t c7[256];
uint32_t c6[256];
uint32_t c5[256];
uint32_t c4[256];
uint32_t c3[256];
uint32_t c2[256];
uint32_t c1[256];
};
uint32_t counts[256 * 8];
} rscounts_t;
2019-03-10 07:00:59 +08:00
uint64_t *radixSort(uint64_t *array, uint32_t size);
2019-03-12 07:12:26 +08:00
#endif // RADIXSORT_H__