Lines Matching refs:y
24 BIGNUM *A, *b, *q, *t, *x, *y; in BN_mod_sqrt() local
68 y = BN_CTX_get(ctx); in BN_mod_sqrt()
69 if (y == NULL) in BN_mod_sqrt()
148 if (!BN_mod_sqr(y, b, p, ctx)) in BN_mod_sqrt()
152 if (!BN_mod_mul(t, t, y, p, ctx)) in BN_mod_sqrt()
183 if (!BN_set_word(y, i)) in BN_mod_sqrt()
186 if (!BN_priv_rand_ex(y, BN_num_bits(p), 0, 0, 0, ctx)) in BN_mod_sqrt()
188 if (BN_ucmp(y, p) >= 0) { in BN_mod_sqrt()
189 if (!(p->neg ? BN_add : BN_sub) (y, y, p)) in BN_mod_sqrt()
193 if (BN_is_zero(y)) in BN_mod_sqrt()
194 if (!BN_set_word(y, i)) in BN_mod_sqrt()
198 r = BN_kronecker(y, q, ctx); /* here 'q' is |p| */ in BN_mod_sqrt()
227 if (!BN_mod_exp(y, y, q, p, ctx)) in BN_mod_sqrt()
229 if (BN_is_one(y)) { in BN_mod_sqrt()
327 if (!BN_copy(t, y)) in BN_mod_sqrt()
333 if (!BN_mod_mul(y, t, t, p, ctx)) in BN_mod_sqrt()
337 if (!BN_mod_mul(b, b, y, p, ctx)) in BN_mod_sqrt()