Home
last modified time | relevance | path

Searched refs:sum (Results 1 – 1 of 1) sorted by relevance

/crypto/
Dtea.c64 u32 y, z, n, sum = 0; in tea_encrypt() local
81 sum += TEA_DELTA; in tea_encrypt()
82 y += ((z << 4) + k0) ^ (z + sum) ^ ((z >> 5) + k1); in tea_encrypt()
83 z += ((y << 4) + k2) ^ (y + sum) ^ ((y >> 5) + k3); in tea_encrypt()
92 u32 y, z, n, sum; in tea_decrypt() local
106 sum = TEA_DELTA << 5; in tea_decrypt()
111 z -= ((y << 4) + k2) ^ (y + sum) ^ ((y >> 5) + k3); in tea_decrypt()
112 y -= ((z << 4) + k0) ^ (z + sum) ^ ((z >> 5) + k1); in tea_decrypt()
113 sum -= TEA_DELTA; in tea_decrypt()
137 u32 y, z, sum = 0; in xtea_encrypt() local
[all …]