Add desfire reading

This commit is contained in:
Edith Boles
2026-03-05 02:29:39 -08:00
parent cce87178ca
commit 3b8e70c524
5 changed files with 227 additions and 47 deletions

8
inc/crc32.h Normal file
View File

@@ -0,0 +1,8 @@
#ifndef CRC32_H_I5S4G2OH
#define CRC32_H_I5S4G2OH
#include <stdint.h>
uint32_t crc32(uint8_t *buffer, uint16_t len);
#endif /* end of include guard: CRC32_H_I5S4G2OH */

6
inc/crc8.h Normal file
View File

@@ -0,0 +1,6 @@
#ifndef CRC8_H_2PZB4QST
#define CRC8_H_2PZB4QST
unsigned char crc8(const unsigned char * data, const unsigned int size);
#endif /* end of include guard: CRC8_H_2PZB4QST */