Lines Matching refs:top
77 for (i=a->top-1; i>=0; i--) in BN_mod_word()
101 if (a->top == 0) in BN_div_word()
110 for (i=a->top-1; i>=0; i--) in BN_div_word()
119 if ((a->top > 0) && (a->d[a->top-1] == 0)) in BN_div_word()
120 a->top--; in BN_div_word()
148 if (((BN_ULONG)(a->d[a->top - 1] + 1) == 0) && in BN_add_word()
149 (bn_wexpand(a,a->top+1) == NULL)) in BN_add_word()
154 if (i >= a->top) in BN_add_word()
165 if (i >= a->top) in BN_add_word()
166 a->top++; in BN_add_word()
197 if ((a->top == 1) && (a->d[0] < w)) in BN_sub_word()
218 if ((a->d[i] == 0) && (i == (a->top-1))) in BN_sub_word()
219 a->top--; in BN_sub_word()
230 if (a->top) in BN_mul_word()
236 ll=bn_mul_words(a->d,a->d,a->top,w); in BN_mul_word()
239 if (bn_wexpand(a,a->top+1) == NULL) return(0); in BN_mul_word()
240 a->d[a->top++]=ll; in BN_mul_word()