Lines Matching refs:rr
31 BIGNUM *tmp, *rr; in bn_sqr_fixed_top() local
43 rr = (a != r) ? r : BN_CTX_get(ctx); in bn_sqr_fixed_top()
45 if (rr == NULL || tmp == NULL) in bn_sqr_fixed_top()
49 if (bn_wexpand(rr, max) == NULL) in bn_sqr_fixed_top()
55 bn_sqr_normal(rr->d, a->d, 4, t); in bn_sqr_fixed_top()
57 bn_sqr_comba4(rr->d, a->d); in bn_sqr_fixed_top()
62 bn_sqr_normal(rr->d, a->d, 8, t); in bn_sqr_fixed_top()
64 bn_sqr_comba8(rr->d, a->d); in bn_sqr_fixed_top()
70 bn_sqr_normal(rr->d, a->d, al, t); in bn_sqr_fixed_top()
80 bn_sqr_recursive(rr->d, a->d, al, tmp->d); in bn_sqr_fixed_top()
84 bn_sqr_normal(rr->d, a->d, al, tmp->d); in bn_sqr_fixed_top()
90 bn_sqr_normal(rr->d, a->d, al, tmp->d); in bn_sqr_fixed_top()
94 rr->neg = 0; in bn_sqr_fixed_top()
95 rr->top = max; in bn_sqr_fixed_top()
96 rr->flags |= BN_FLG_FIXED_TOP; in bn_sqr_fixed_top()
97 if (r != rr && BN_copy(r, rr) == NULL) in bn_sqr_fixed_top()
102 bn_check_top(rr); in bn_sqr_fixed_top()