Lines Matching refs:A
219 uint32_t A; in multiprecision_fast_mod_P256() local
264 A = B; in multiprecision_fast_mod_P256()
266 A += a[11]; in multiprecision_fast_mod_P256()
267 UA += (A < a[11]); in multiprecision_fast_mod_P256()
268 UA -= (A < a[15]); in multiprecision_fast_mod_P256()
269 A -= a[15]; in multiprecision_fast_mod_P256()
272 D = A; in multiprecision_fast_mod_P256()
283 U -= (c[0] < A); in multiprecision_fast_mod_P256()
285 c[0] -= A; in multiprecision_fast_mod_P256()
331 c[3] += A; in multiprecision_fast_mod_P256()
332 U += (c[3] < A); in multiprecision_fast_mod_P256()
452 uint32_t A[KEY_LENGTH_DWORDS_P256 + 1]; in multiprecision_inv_mod() local
456 multiprecision_init(A); in multiprecision_inv_mod()
458 A[0] = 1; in multiprecision_inv_mod()
464 if (!(A[0] & 0x01)) // A is even in multiprecision_inv_mod()
465 multiprecision_rshift(A, A); in multiprecision_inv_mod()
467 A[KEY_LENGTH_DWORDS_P256] = multiprecision_add(A, A, modp); // A =A+p in multiprecision_inv_mod()
468 multiprecision_rshift(A, A); in multiprecision_inv_mod()
469 A[KEY_LENGTH_DWORDS_P256 - 1] |= (A[KEY_LENGTH_DWORDS_P256] << 31); in multiprecision_inv_mod()
488 multiprecision_sub_mod(A, A, C, modp); in multiprecision_inv_mod()
491 multiprecision_sub_mod(C, C, A, modp); in multiprecision_inv_mod()