Home
last modified time | relevance | path

Searched refs:a2 (Results 1 – 4 of 4) sorted by relevance

/lib/
Dbch.c673 unsigned int a, b, c, a2, b2, c2, e3, tmp[4]; in find_poly_deg3_roots() local
680 a2 = gf_div(bch, poly->c[2], e3); in find_poly_deg3_roots()
683 c = gf_mul(bch, a2, c2); /* c = a2c2 */ in find_poly_deg3_roots()
684 b = gf_mul(bch, a2, b2)^c2; /* b = a2b2 + c2 */ in find_poly_deg3_roots()
685 a = gf_sqr(bch, a2)^b2; /* a = a2^2 + b2 */ in find_poly_deg3_roots()
691 if (tmp[i] != a2) in find_poly_deg3_roots()
706 unsigned int a, b, c, d, e = 0, f, a2, b2, c2, e4; in find_poly_deg4_roots() local
744 a2 = gf_div(bch, b, d); in find_poly_deg4_roots()
749 a2 = b; in find_poly_deg4_roots()
752 if (find_affine4_roots(bch, a2, b2, c2, roots) == 4) { in find_poly_deg4_roots()
/lib/crypto/
Dcurve25519-hacl64.c697 u64 a2 = input[2]; in format_fcontract_trim() local
702 u64 mask2 = u64_eq_mask(a2, 0x7ffffffffffffLLU); in format_fcontract_trim()
708 u64 a2_ = a2 - (0x7ffffffffffffLLU & mask); in format_fcontract_trim()
Dcurve25519-fiat32.c35 u32 a2 = get_unaligned_le32(s+8); in fe_frombytes_impl() local
43 h[2] = (a1>>19) | ((a2&((1<<13)-1))<<13); /* (32-19) + 13 = 13+13 = 26 */ in fe_frombytes_impl()
44 h[3] = (a2>>13) | ((a3&((1<< 6)-1))<<19); /* (32-13) + 6 = 19+ 6 = 25 */ in fe_frombytes_impl()
/lib/mpi/
Dec.c351 mpi_limb_t a2[LIMB_SIZE_HALF_448]; in ec_mulm_448() local
373 a2[i] = n[i+wsize]; in ec_mulm_448()
379 a2[LIMB_SIZE_HALF_448-1] &= ((mpi_limb_t)1UL << 32)-1; in ec_mulm_448()
395 cy = mpihelp_add_n(b0, b0, a2, LIMB_SIZE_HALF_448); in ec_mulm_448()
408 cy += mpihelp_add_n(b1, b1, a2, LIMB_SIZE_HALF_448); in ec_mulm_448()