Lines Matching defs:ma
1891 big_modexp_ncp_int(BIGNUM *result, BIGNUM *ma, BIGNUM *e, BIGNUM *n,
1930 (void) big_copy(&(apowers[0]), ma);
1932 if ((err = big_mont_mul(&tmp1, ma, ma, n, n0)) != BIG_OK) {
1935 (void) big_copy(ma, &tmp1);
1938 if ((err = big_mont_mul(&tmp1, ma,
2044 big_modexp_ncp_float(BIGNUM *result, BIGNUM *ma, BIGNUM *e, BIGNUM *n,
2122 for (i = 0; i < ma->len; i++) {
2123 nint[i] = ma->value[i];
2129 for (i = 0; i < ma->len; i++) {
2130 nint[2 * i] = (uint32_t)(ma->value[i] & 0xffffffffULL);
2131 nint[2 * i + 1] = (uint32_t)(ma->value[i] >> 32);
2133 for (i = ma->len * 2; i < nlen; i++) {
2301 BIGNUM ma, tmp, rr;
2308 if ((err = big_init1(&ma, n->len, mavalue, arraysize(mavalue))) !=
2312 ma.len = 1;
2313 ma.value[0] = 0;
2337 if ((err = big_div_pos(NULL, &ma, a, n)) != BIG_OK) {
2340 err = big_mont_conv(&ma, &ma, n, n0, n_rr);
2342 err = big_mont_conv(&ma, a, n, n0, n_rr);
2355 err = (*(info->func))(&tmp, &ma, e, n, &tmp, n0,
2358 err = big_modexp_ncp_sw(&tmp, &ma, e, n, &tmp, n0);
2364 ma.value[0] = 1;
2365 ma.len = 1;
2366 if ((err = big_mont_mul(&tmp, &tmp, &ma, n, n0)) != BIG_OK) {
2378 big_finish(&ma);