Lines Matching refs:prod

2052 	uint32_t	*nint, *prod;  in big_modexp_ncp_float()  local
2084 nint = prod = NULL; in big_modexp_ncp_float()
2101 if ((prod = big_malloc((nlen + 1) * sizeof (uint32_t))) == NULL) { in big_modexp_ncp_float()
2157 mont_mulf_noconv(prod, d32r, apowers[0], dt, dn, nint, nlen, dn0); in big_modexp_ncp_float()
2158 conv_i32_to_d32(d32r, prod, nlen); in big_modexp_ncp_float()
2160 mont_mulf_noconv(prod, d32r, apowers[i - 1], in big_modexp_ncp_float()
2162 conv_i32_to_d16(apowers[i], prod, nlen); in big_modexp_ncp_float()
2167 prod[i] = tmp->value[i]; in big_modexp_ncp_float()
2170 prod[i] = 0; in big_modexp_ncp_float()
2174 prod[2 * i] = (uint32_t)(tmp->value[i] & 0xffffffffULL); in big_modexp_ncp_float()
2175 prod[2 * i + 1] = (uint32_t)(tmp->value[i] >> 32); in big_modexp_ncp_float()
2178 prod[i] = 0; in big_modexp_ncp_float()
2192 prod, nlen); in big_modexp_ncp_float()
2193 mont_mulf_noconv(prod, d32r, d16r, in big_modexp_ncp_float()
2207 d16r, prod, nlen); in big_modexp_ncp_float()
2208 mont_mulf_noconv(prod, d32r, in big_modexp_ncp_float()
2212 conv_i32_to_d32(d32r, prod, nlen); in big_modexp_ncp_float()
2213 mont_mulf_noconv(prod, d32r, in big_modexp_ncp_float()
2218 d16r, prod, nlen); in big_modexp_ncp_float()
2219 mont_mulf_noconv(prod, d32r, in big_modexp_ncp_float()
2234 conv_i32_to_d32_and_d16(d32r, d16r, prod, nlen); in big_modexp_ncp_float()
2235 mont_mulf_noconv(prod, d32r, d16r, dt, dn, nint, nlen, dn0); in big_modexp_ncp_float()
2238 conv_i32_to_d32(d32r, prod, nlen); in big_modexp_ncp_float()
2239 mont_mulf_noconv(prod, d32r, apowers[p >> (l + 1)], in big_modexp_ncp_float()
2243 conv_i32_to_d32_and_d16(d32r, d16r, prod, nlen); in big_modexp_ncp_float()
2244 mont_mulf_noconv(prod, d32r, d16r, dt, dn, nint, nlen, dn0); in big_modexp_ncp_float()
2249 result->value[i] = prod[i]; in big_modexp_ncp_float()
2251 for (i = nlen - 1; (i > 0) && (prod[i] == 0); i--) in big_modexp_ncp_float()
2255 result->value[i] = (uint64_t)(prod[2 * i]) + in big_modexp_ncp_float()
2256 (((uint64_t)(prod[2 * i + 1])) << 32); in big_modexp_ncp_float()
2274 if (prod != NULL) { in big_modexp_ncp_float()
2275 big_free(prod, (nlen + 1) * sizeof (uint32_t)); in big_modexp_ncp_float()
2518 BIGNUM t1, t2, t3, prod; in big_sqrt_pos() local
2538 if ((err = big_init1(&prod, n->len + 1, in big_sqrt_pos()
2561 if ((err = big_mul(&prod, high, high)) != BIG_OK) { in big_sqrt_pos()
2564 diff = big_cmp_abs(&prod, n); in big_sqrt_pos()
2574 if ((err = big_mul(&prod, mid, mid)) != BIG_OK) in big_sqrt_pos()
2576 diff = big_cmp_abs(&prod, n); in big_sqrt_pos()
2594 if (prod.malloced) big_finish(&prod); in big_sqrt_pos()