Lines Matching refs:q
23 BIGNUM *A, *b, *q, *t, *x, *y; in BN_mod_sqrt() local
64 q = BN_CTX_get(ctx); in BN_mod_sqrt()
95 if (!BN_rshift(q, p, 2)) in BN_mod_sqrt()
97 q->neg = 0; in BN_mod_sqrt()
98 if (!BN_add_word(q, 1)) in BN_mod_sqrt()
100 if (!BN_mod_exp(ret, A, q, p, ctx)) in BN_mod_sqrt()
140 if (!BN_rshift(q, p, 3)) in BN_mod_sqrt()
142 q->neg = 0; in BN_mod_sqrt()
143 if (!BN_mod_exp(b, t, q, p, ctx)) in BN_mod_sqrt()
172 if (!BN_copy(q, p)) in BN_mod_sqrt()
174 q->neg = 0; in BN_mod_sqrt()
197 r = BN_kronecker(y, q, ctx); /* here 'q' is |p| */ in BN_mod_sqrt()
219 if (!BN_rshift(q, q, e)) in BN_mod_sqrt()
226 if (!BN_mod_exp(y, y, q, p, ctx)) in BN_mod_sqrt()
253 if (!BN_rshift1(t, q)) in BN_mod_sqrt()