ESPHome 2025.5.0
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 {
7namespace xxtea {
8
15void encrypt(uint32_t *v, size_t n, const uint32_t *k);
16
23void decrypt(uint32_t *v, size_t n, const uint32_t *k);
24
25} // namespace xxtea
26} // namespace esphome
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:9
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:27
Providing packet encoding functions for exchanging data with a remote host.
Definition a01nyub.cpp:7