Lines Matching refs:C

222   uint32_t C;  in multiprecision_fast_mod_P256()  local
237 C = a[13]; in multiprecision_fast_mod_P256()
238 C += a[14]; in multiprecision_fast_mod_P256()
239 UC = (C < a[14]); in multiprecision_fast_mod_P256()
240 C += a[15]; in multiprecision_fast_mod_P256()
241 UC += (C < a[15]); in multiprecision_fast_mod_P256()
259 B = C; in multiprecision_fast_mod_P256()
318 U -= (c[2] < C); in multiprecision_fast_mod_P256()
320 c[2] -= C; in multiprecision_fast_mod_P256()
380 c[5] += C; in multiprecision_fast_mod_P256()
381 U += (c[5] < C); in multiprecision_fast_mod_P256()
401 c[6] += C; in multiprecision_fast_mod_P256()
402 U += (c[6] < C); in multiprecision_fast_mod_P256()
454 uint32_t C[KEY_LENGTH_DWORDS_P256 + 1]; in multiprecision_inv_mod() local
458 multiprecision_init(C); in multiprecision_inv_mod()
477 if (!(C[0] & 0x01)) // C is even in multiprecision_inv_mod()
479 multiprecision_rshift(C, C); in multiprecision_inv_mod()
481 C[KEY_LENGTH_DWORDS_P256] = multiprecision_add(C, C, modp); // C =C+p in multiprecision_inv_mod()
482 multiprecision_rshift(C, C); in multiprecision_inv_mod()
483 C[KEY_LENGTH_DWORDS_P256 - 1] |= (C[KEY_LENGTH_DWORDS_P256] << 31); in multiprecision_inv_mod()
489 multiprecision_sub_mod(A, A, C, modp); in multiprecision_inv_mod()
492 multiprecision_sub_mod(C, C, A, modp); in multiprecision_inv_mod()
496 if (multiprecision_compare(C, modp) >= 0) in multiprecision_inv_mod()
497 multiprecision_sub(aminus, C, modp); in multiprecision_inv_mod()
499 multiprecision_copy(aminus, C); in multiprecision_inv_mod()