6static const uint32_t DELTA = 0x9e3779b9;
7#define MX ((((z >> 5) ^ (y << 2)) + ((y >> 3) ^ (z << 4))) ^ ((sum ^ y) + (k[(p ^ e) & 7] ^ z)))
14 size_t q = 6 + 52 / n;
20 for (p = 0; p != n - 1; p++) {
34 size_t q = 6 + 52 / n;
39 for (p = n - 1; p != 0; p--) {
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.
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.
Providing packet encoding functions for exchanging data with a remote host.