Lines Matching refs:tmp_nn
115 nn q, s, one_nn, two_nn, m, i, tmp_nn; in fp_sqrt() local
119 i.magic = tmp_nn.magic = z.magic = t.magic = b.magic = WORD(0); in fp_sqrt()
124 ret = nn_init(&tmp_nn, 0); EG(ret, err); in fp_sqrt()
180 ret = nn_divrem(&tmp_nn, &i, &q, &two_nn); EG(ret, err); in fp_sqrt()
182 ret = nn_copy(&q, &tmp_nn); EG(ret, err); in fp_sqrt()
192 ret = nn_inc(&tmp_nn, &(_n->ctx->p)); EG(ret, err); in fp_sqrt()
193 ret = nn_rshift(&tmp_nn, &tmp_nn, 2); EG(ret, err); in fp_sqrt()
194 ret = fp_pow(sqrt1, _n, &tmp_nn); EG(ret, err); in fp_sqrt()
206 ret = nn_inc(&tmp_nn, &q); EG(ret, err); in fp_sqrt()
207 ret = nn_rshift(&tmp_nn, &tmp_nn, 1); EG(ret, err); in fp_sqrt()
208 ret = fp_pow(&r, _n, &tmp_nn); EG(ret, err); in fp_sqrt()
241 ret = nn_sub(&tmp_nn, &m, &i); EG(ret, err); in fp_sqrt()
242 ret = nn_dec(&tmp_nn, &tmp_nn); EG(ret, err); in fp_sqrt()
244 ret = nn_iszero(&tmp_nn, &iszero); EG(ret, err); in fp_sqrt()
247 ret = nn_dec(&tmp_nn, &tmp_nn); EG(ret, err); in fp_sqrt()
248 ret = nn_iszero(&tmp_nn, &iszero); EG(ret, err); in fp_sqrt()
264 nn_uninit(&tmp_nn); in fp_sqrt()