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