Lines Matching refs:top
78 if (bn_wexpand(r, a->top + nw + 1) == NULL) { in BN_lshift()
85 t[a->top + nw] = 0; in BN_lshift()
87 for (i = a->top - 1; i >= 0; i--) { in BN_lshift()
91 for (i = a->top - 1; i >= 0; i--) { in BN_lshift()
98 r->top = a->top + nw + 1; in BN_lshift()
110 if (bn_wexpand(r, a->top + 1) == NULL) { in BN_lshift1()
113 r->top = a->top; in BN_lshift1()
115 if (bn_wexpand(r, a->top + 1) == NULL) { in BN_lshift1()
122 for (i = 0; i < a->top; i++) { in BN_lshift1()
129 r->top++; in BN_lshift1()
148 if (nw >= a->top || a->top == 0) { in BN_rshift()
166 j = a->top - nw; in BN_rshift()
167 r->top = i; in BN_rshift()
185 if (r->top == 0) { in BN_rshift()
200 i = a->top; in BN_rshift1()
220 r->top = j; in BN_rshift1()
222 if (r->top == 0) { in BN_rshift1()
238 if (a->top <= i) { in BN_set_bit()
242 for (k = a->top; k < i + 1; k++) { in BN_set_bit()
245 a->top = i + 1; in BN_set_bit()
262 if (a->top <= i) { in BN_clear_bit()
279 if (a->top <= i) { in BN_is_bit_set()
295 if (w >= a->top) { in BN_mask_bits()
299 a->top = w; in BN_mask_bits()
301 a->top = w + 1; in BN_mask_bits()