unleashed-firmware/applications/external/mifare_nested/lib/parity/parity.h

10 lines
231 B
C
Raw Normal View History

#include "stdint.h"
uint8_t oddparity8(const uint8_t x);
uint8_t evenparity8(const uint8_t x);
uint8_t evenparity16(uint16_t x);
uint8_t oddparity16(uint16_t x);
uint8_t evenparity32(uint32_t x);
uint8_t oddparity32(uint32_t x);