Home
last modified time | relevance | path

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

/crypto/
Decc.c225 u64 carry = 0; in vli_lshift() local
231 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() local
248 *vli = (temp >> 1) | carry; in vli_rshift1()
249 carry = temp << 63; in vli_rshift1()
257 u64 carry = 0; in vli_add() local
263 sum = left[i] + right[i] + carry; in vli_add()
265 carry = (sum < left[i]); in vli_add()
[all …]
Dwp512.c1012 u32 b, carry; in wp512_update() local
1019 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()
Dstreebog_generic.c937 u64 carry = 0; in streebog_add512() local
944 sum = left + le64_to_cpu(y->qword[i]) + carry; in streebog_add512()
946 carry = (sum < left); in streebog_add512()