Searched refs:sum (Results 1 – 4 of 4) sorted by relevance
59 u32 y, z, n, sum = 0; in tea_encrypt() local76 sum += TEA_DELTA; in tea_encrypt()77 y += ((z << 4) + k0) ^ (z + sum) ^ ((z >> 5) + k1); in tea_encrypt()78 z += ((y << 4) + k2) ^ (y + sum) ^ ((y >> 5) + k3); in tea_encrypt()87 u32 y, z, n, sum; in tea_decrypt() local101 sum = TEA_DELTA << 5; in tea_decrypt()106 z -= ((y << 4) + k2) ^ (y + sum) ^ ((y >> 5) + k3); in tea_decrypt()107 y -= ((z << 4) + k0) ^ (z + sum) ^ ((z >> 5) + k1); in tea_decrypt()108 sum -= TEA_DELTA; in tea_decrypt()132 u32 y, z, sum = 0; in xtea_encrypt() local[all …]
942 u64 sum; in streebog_add512() local944 sum = left + le64_to_cpu(y->qword[i]) + carry; in streebog_add512()945 if (sum != left) in streebog_add512()946 carry = (sum < left); in streebog_add512()947 r->qword[i] = cpu_to_le64(sum); in streebog_add512()
261 u64 sum; in vli_add() local263 sum = left[i] + right[i] + carry; in vli_add()264 if (sum != left[i]) in vli_add()265 carry = (sum < left[i]); in vli_add()267 result[i] = sum; in vli_add()281 u64 sum; in vli_uadd() local283 sum = left[i] + carry; in vli_uadd()284 if (sum != left[i]) in vli_uadd()285 carry = (sum < left[i]); in vli_uadd()289 result[i] = sum; in vli_uadd()[all …]
590 CRC32c algorithm implemented using vector polynomial multiply-sum667 multiply-sum (vpmsum) instructions, introduced in POWER8. Enable on