EdSaGfmvA/include/lora/encryption.h
2025-10-08 23:19:31 +02:00

12 lines
281 B
C

#ifndef ENCRYPTION_H
#define ENCRYPTION_H
#include <stddef.h>
#include <stdint.h>
#include <stdbool.h>
extern const uint8_t XOR_KEY;
size_t xorCryptBytes(const uint8_t *in, uint8_t *out, size_t len, uint8_t key);
uint16_t computeCRC16(const uint8_t *data, size_t len);
#endif