Lines Matching defs:a_bn
130 mpi_to_bignum64(const mp_int *a, BIGNUM *a_bn)
138 d = &((a_bn->value)[0]);
141 a_bn->len = (useda + 1) / 2;
150 for (i = (useda + 1) / 2; i < a_bn->len; i++) {
154 a_bn->len = useda;
162 bignum64_to_mpi(BIGNUM *a_bn, mp_int *a)
169 d = &((a_bn->value)[0]);
172 useda = USED(a) = a_bn->len * 2;
181 useda = USED(a) = a_bn->len;
208 BIGNUM a_bn, b_bn, c_bn, n_bn;
217 a_bn.malloced = b_bn.malloced = c_bn.malloced = n_bn.malloced = 0;
234 if (big_init1(&a_bn, nsize, a_bnvalue, arraysize(a_bnvalue))
238 mpi_to_bignum64(a, &a_bn);
262 big_mont_mul(&c_bn, &a_bn, &a_bn, &n_bn, n0);
264 big_mont_mul(&c_bn, &a_bn, &b_bn, &n_bn, n0);
275 big_finish(&a_bn);