ESPHome 2026.5.1
Loading...
Searching...
No Matches
xxtea.h
Go to the documentation of this file.
1#pragma once
2
3#include <cstdint>
4#include <cstddef>
5
6namespace esphome::xxtea {
7
14void encrypt(uint32_t *v, size_t n, const uint32_t *k);
15
22void decrypt(uint32_t *v, size_t n, const uint32_t *k);
23
24} // namespace esphome::xxtea
void encrypt(uint32_t *v, size_t n, const uint32_t *k)
Encrypt a block of data in-place using XXTEA algorithm with 256-bit key.
Definition xxtea.cpp:8
void decrypt(uint32_t *v, size_t n, const uint32_t *k)
Decrypt a block of data in-place using XXTEA algorithm with 256-bit key.
Definition xxtea.cpp:28
static void uint32_t