Lines Matching refs:n0
48 if (bn_mul_mont(r->d, a->d, b->d, mont->N.d, mont->n0, num)) { in bn_mul_mont_fixed_top()
91 BN_ULONG *ap, *np, *rp, n0, v, carry; in bn_from_montgomery_word() local
118 n0 = mont->n0[0]; in bn_from_montgomery_word()
126 v = bn_mul_add_words(rp, np, nl, (rp[0] * n0) & BN_MASK2); in bn_from_montgomery_word()
248 ctx->n0[0] = ctx->n0[1] = 0; in BN_MONT_CTX_init()
338 mont->n0[0] = (Ri->top > 0) ? Ri->d[0] : 0; in BN_MONT_CTX_set()
339 mont->n0[1] = (Ri->top > 1) ? Ri->d[1] : 0; in BN_MONT_CTX_set()
368 mont->n0[0] = (Ri->top > 0) ? Ri->d[0] : 0; in BN_MONT_CTX_set()
369 mont->n0[1] = 0; in BN_MONT_CTX_set()
423 to->n0[0] = from->n0[0]; in BN_MONT_CTX_copy()
424 to->n0[1] = from->n0[1]; in BN_MONT_CTX_copy()