Lines Matching refs:tmp
31 BIGNUM *tmp, *rr; in bn_sqr_fixed_top() local
44 tmp = BN_CTX_get(ctx); in bn_sqr_fixed_top()
45 if (rr == NULL || tmp == NULL) in bn_sqr_fixed_top()
78 if (bn_wexpand(tmp, k * 2) == NULL) in bn_sqr_fixed_top()
80 bn_sqr_recursive(rr->d, a->d, al, tmp->d); in bn_sqr_fixed_top()
82 if (bn_wexpand(tmp, max) == NULL) in bn_sqr_fixed_top()
84 bn_sqr_normal(rr->d, a->d, al, tmp->d); in bn_sqr_fixed_top()
88 if (bn_wexpand(tmp, max) == NULL) in bn_sqr_fixed_top()
90 bn_sqr_normal(rr->d, a->d, al, tmp->d); in bn_sqr_fixed_top()
103 bn_check_top(tmp); in bn_sqr_fixed_top()
109 void bn_sqr_normal(BN_ULONG *r, const BN_ULONG *a, int n, BN_ULONG *tmp) in bn_sqr_normal() argument
139 bn_sqr_words(tmp, a, n); in bn_sqr_normal()
141 bn_add_words(r, r, tmp, max); in bn_sqr_normal()