Lines Matching refs:C
224 uint32_t C; in multiprecision_fast_mod_P256() local
240 C = a[13]; in multiprecision_fast_mod_P256()
241 C += a[14]; in multiprecision_fast_mod_P256()
242 UC = (C < a[14]); in multiprecision_fast_mod_P256()
243 C += a[15]; in multiprecision_fast_mod_P256()
244 UC += (C < a[15]); in multiprecision_fast_mod_P256()
262 B = C; in multiprecision_fast_mod_P256()
321 U -= (c[2] < C); in multiprecision_fast_mod_P256()
323 c[2] -= C; in multiprecision_fast_mod_P256()
383 c[5] += C; in multiprecision_fast_mod_P256()
384 U += (c[5] < C); in multiprecision_fast_mod_P256()
404 c[6] += C; in multiprecision_fast_mod_P256()
405 U += (c[6] < C); in multiprecision_fast_mod_P256()
457 uint32_t C[KEY_LENGTH_DWORDS_P256 + 1]; in multiprecision_inv_mod() local
462 multiprecision_init(C); in multiprecision_inv_mod()
481 if (!(C[0] & 0x01)) // C is even in multiprecision_inv_mod()
483 multiprecision_rshift(C, C); in multiprecision_inv_mod()
485 C[KEY_LENGTH_DWORDS_P256] = multiprecision_add(C, C, modp); // C =C+p in multiprecision_inv_mod()
486 multiprecision_rshift(C, C); in multiprecision_inv_mod()
487 C[KEY_LENGTH_DWORDS_P256 - 1] |= (C[KEY_LENGTH_DWORDS_P256] << 31); in multiprecision_inv_mod()
493 multiprecision_sub_mod(A, A, C); in multiprecision_inv_mod()
496 multiprecision_sub_mod(C, C, A); in multiprecision_inv_mod()
500 if (multiprecision_compare(C, modp) >= 0) in multiprecision_inv_mod()
501 multiprecision_sub(aminus, C, modp); in multiprecision_inv_mod()
503 multiprecision_copy(aminus, C); in multiprecision_inv_mod()