Lines Matching refs:A
222 uint32_t A; in multiprecision_fast_mod_P256() local
268 A = B; in multiprecision_fast_mod_P256()
270 A += a[11]; in multiprecision_fast_mod_P256()
271 UA += (A < a[11]); in multiprecision_fast_mod_P256()
272 UA -= (A < a[15]); in multiprecision_fast_mod_P256()
273 A -= a[15]; in multiprecision_fast_mod_P256()
276 D = A; in multiprecision_fast_mod_P256()
287 U -= (c[0] < A); in multiprecision_fast_mod_P256()
289 c[0] -= A; in multiprecision_fast_mod_P256()
335 c[3] += A; in multiprecision_fast_mod_P256()
336 U += (c[3] < A); in multiprecision_fast_mod_P256()
456 uint32_t A[KEY_LENGTH_DWORDS_P256 + 1]; in multiprecision_inv_mod() local
461 multiprecision_init(A); in multiprecision_inv_mod()
463 A[0] = 1; in multiprecision_inv_mod()
469 if (!(A[0] & 0x01)) // A is even in multiprecision_inv_mod()
470 multiprecision_rshift(A, A); in multiprecision_inv_mod()
472 A[KEY_LENGTH_DWORDS_P256] = multiprecision_add(A, A, modp); // A =A+p in multiprecision_inv_mod()
473 multiprecision_rshift(A, A); in multiprecision_inv_mod()
474 A[KEY_LENGTH_DWORDS_P256 - 1] |= (A[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()