Lines Matching refs:A
220 uint32_t A; in multiprecision_fast_mod_P256() local
265 A = B; in multiprecision_fast_mod_P256()
267 A += a[11]; in multiprecision_fast_mod_P256()
268 UA += (A < a[11]); in multiprecision_fast_mod_P256()
269 UA -= (A < a[15]); in multiprecision_fast_mod_P256()
270 A -= a[15]; in multiprecision_fast_mod_P256()
273 D = A; in multiprecision_fast_mod_P256()
284 U -= (c[0] < A); in multiprecision_fast_mod_P256()
286 c[0] -= A; in multiprecision_fast_mod_P256()
332 c[3] += A; in multiprecision_fast_mod_P256()
333 U += (c[3] < A); in multiprecision_fast_mod_P256()
453 uint32_t A[KEY_LENGTH_DWORDS_P256 + 1]; in multiprecision_inv_mod() local
457 multiprecision_init(A); in multiprecision_inv_mod()
459 A[0] = 1; in multiprecision_inv_mod()
465 if (!(A[0] & 0x01)) // A is even in multiprecision_inv_mod()
466 multiprecision_rshift(A, A); in multiprecision_inv_mod()
468 A[KEY_LENGTH_DWORDS_P256] = multiprecision_add(A, A, modp); // A =A+p in multiprecision_inv_mod()
469 multiprecision_rshift(A, A); in multiprecision_inv_mod()
470 A[KEY_LENGTH_DWORDS_P256 - 1] |= (A[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()