Lines Matching defs:m_ctx
24 BN_MONT_CTX *m_ctx;
26 const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx);
111 if (b->m_ctx != NULL) {
112 if (!bn_mul_mont_fixed_top(b->Ai, b->Ai, b->Ai, b->m_ctx, ctx)
113 || !bn_mul_mont_fixed_top(b->A, b->A, b->A, b->m_ctx, ctx))
154 if (b->m_ctx != NULL)
155 ret = BN_mod_mul_montgomery(n, n, b->A, b->m_ctx, ctx);
179 if (b->m_ctx != NULL) {
194 ret = bn_mul_mont_fixed_top(n, n, r, b->m_ctx, ctx);
241 BN_MONT_CTX *m_ctx),
242 BN_MONT_CTX *m_ctx)
269 if (m_ctx != NULL)
270 ret->m_ctx = m_ctx;
291 if (ret->bn_mod_exp != NULL && ret->m_ctx != NULL) {
292 if (!ret->bn_mod_exp(ret->A, ret->A, ret->e, ret->mod, ctx, ret->m_ctx))
299 if (ret->m_ctx != NULL) {
300 if (!bn_to_mont_fixed_top(ret->Ai, ret->Ai, ret->m_ctx, ctx)
301 || !bn_to_mont_fixed_top(ret->A, ret->A, ret->m_ctx, ctx))