Home
last modified time | relevance | path

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

/crypto/
Decc.c204 int vli_cmp(const u64 *left, const u64 *right, unsigned int ndigits) in vli_cmp() argument
209 if (left[i] > right[i]) in vli_cmp()
211 else if (left[i] < right[i]) in vli_cmp()
254 static u64 vli_add(u64 *result, const u64 *left, const u64 *right, in vli_add() argument
263 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()
274 static u64 vli_uadd(u64 *result, const u64 *left, u64 right, in vli_uadd() argument
283 sum = left[i] + carry; in vli_uadd()
284 if (sum != left[i]) in vli_uadd()
[all …]
Decc.h168 int vli_cmp(const u64 *left, const u64 *right, unsigned int ndigits);
182 u64 vli_sub(u64 *result, const u64 *left, const u64 *right,
225 void vli_mod_mult_slow(u64 *result, const u64 *left, const u64 *right,
Daegis128-core.c292 unsigned int left = size; in crypto_aegis128_process_ad() local
302 left -= fill; in crypto_aegis128_process_ad()
306 crypto_aegis128_ad(state, src, left); in crypto_aegis128_process_ad()
307 src += left & ~(AEGIS_BLOCK_SIZE - 1); in crypto_aegis128_process_ad()
308 left &= AEGIS_BLOCK_SIZE - 1; in crypto_aegis128_process_ad()
311 memcpy(buf.bytes + pos, src, left); in crypto_aegis128_process_ad()
313 pos += left; in crypto_aegis128_process_ad()
Dstreebog_generic.c941 const u64 left = le64_to_cpu(x->qword[i]); in streebog_add512() local
944 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()