Lines Matching refs:q
24 BIGNUM *A, *b, *q, *t, *x, *y; in BN_mod_sqrt() local
65 q = BN_CTX_get(ctx); in BN_mod_sqrt()
96 if (!BN_rshift(q, p, 2)) in BN_mod_sqrt()
98 q->neg = 0; in BN_mod_sqrt()
99 if (!BN_add_word(q, 1)) in BN_mod_sqrt()
101 if (!BN_mod_exp(ret, A, q, p, ctx)) in BN_mod_sqrt()
141 if (!BN_rshift(q, p, 3)) in BN_mod_sqrt()
143 q->neg = 0; in BN_mod_sqrt()
144 if (!BN_mod_exp(b, t, q, p, ctx)) in BN_mod_sqrt()
173 if (!BN_copy(q, p)) in BN_mod_sqrt()
175 q->neg = 0; in BN_mod_sqrt()
198 r = BN_kronecker(y, q, ctx); /* here 'q' is |p| */ in BN_mod_sqrt()
220 if (!BN_rshift(q, q, e)) in BN_mod_sqrt()
227 if (!BN_mod_exp(y, y, q, p, ctx)) in BN_mod_sqrt()
254 if (!BN_rshift1(t, q)) in BN_mod_sqrt()