Searched refs:carry (Results 1 – 3 of 3) sorted by relevance
225 u64 carry = 0; in vli_lshift() local231 result[i] = (temp << shift) | carry; in vli_lshift()232 carry = temp >> (64 - shift); in vli_lshift()235 return carry; in vli_lshift()242 u64 carry = 0; in vli_rshift1() local248 *vli = (temp >> 1) | carry; in vli_rshift1()249 carry = temp << 63; in vli_rshift1()257 u64 carry = 0; in vli_add() local263 sum = left[i] + right[i] + carry; in vli_add()265 carry = (sum < left[i]); in vli_add()[all …]
1012 u32 b, carry; in wp512_update() local1019 for (i = 31, carry = 0; i >= 0 && (carry != 0 || value != 0ULL); i--) { in wp512_update()1020 carry += bitLength[i] + ((u32)value & 0xff); in wp512_update()1021 bitLength[i] = (u8)carry; in wp512_update()1022 carry >>= 8; in wp512_update()
937 u64 carry = 0; in streebog_add512() local944 sum = left + le64_to_cpu(y->qword[i]) + carry; in streebog_add512()946 carry = (sum < left); in streebog_add512()