5static const uint32_t DELTA = 0x9e3779b9;
6#define MX ((((z >> 5) ^ (y << 2)) + ((y >> 3) ^ (z << 4))) ^ ((sum ^ y) + (k[(p ^ e) & 7] ^ z)))
13 size_t q = 6 + 52 / n;
19 for (p = 0; p != n - 1; p++) {
33 size_t q = 6 + 52 / n;
38 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.