#include <stdint.h>
#if HAVE_CONFIG_H
# include "config.h"
#endif
#define PROTO_RETURN size_t
#define PROTO_ARGS \
const uint8_t low[16], \
const uint8_t high[16], \
const uint8_t *restrict const in, \
uint8_t *restrict const out, \
const size_t len
#define PROTO(name) \
PROTO_RETURN \
name (PROTO_ARGS)
PROTO(reedsolomon_gal_mul);
PROTO(reedsolomon_gal_mul_xor);
typedef enum {
REEDSOLOMON_CPU_GENERIC = 0,
REEDSOLOMON_CPU_SSE2 = 1,
REEDSOLOMON_CPU_SSSE3 = 2,
REEDSOLOMON_CPU_AVX = 3,
REEDSOLOMON_CPU_AVX2 = 4,
REEDSOLOMON_CPU_NEON = 5,
REEDSOLOMON_CPU_ALTIVEC = 6,
} reedsolomon_cpu_support;
reedsolomon_cpu_support reedsolomon_determine_cpu_support(void);