Lines Matching refs:top
459 } else if (D->top == 1) { in int_bn_mod_inverse()
585 int i, j, top, rlen, glen, m, delta = 1, cond = 0, pow2_shifts, ret = 0; in BN_gcd() local
641 top = 1 + ((r->top >= g->top) ? r->top : g->top); in BN_gcd()
642 if (bn_wexpand(r, top) == NULL in BN_gcd()
643 || bn_wexpand(g, top) == NULL in BN_gcd()
644 || bn_wexpand(temp, top) == NULL) in BN_gcd()
648 BN_consttime_swap((~r->d[0]) & 1, r, g, top); in BN_gcd()
659 & (~((unsigned int)(g->top - 1) >> (sizeof(g->top) * 8 - 1))); in BN_gcd()
663 BN_consttime_swap(cond, r, g, top); in BN_gcd()
671 & (~((unsigned int)(g->top - 1) >> (sizeof(g->top) * 8 - 1))), in BN_gcd()
672 g, temp, top); in BN_gcd()