Home | History | Annotate | Download | only in common

Lines Matching defs:qnr

205 				      const struct crypto_bignum *qnr,
240 * num = (num * qnr) module p
243 if (crypto_bignum_mulmod(num, qnr, sae->tmp->prime, num) < 0)
264 const struct crypto_bignum *qnr,
298 res = is_quadratic_residue_blind(sae, prime, bits, qr, qnr, y_sqr);
385 struct crypto_bignum **qnr)
388 *qnr = NULL;
390 while (!(*qr) || !(*qnr)) {
408 else if (res == -1 && !(*qnr))
409 *qnr = q;
414 return (*qr && *qnr) ? 0 : -1;
431 struct crypto_bignum *x = NULL, *qr, *qnr;
449 * (qnr) modulo p for blinding purposes during the loop.
452 &qr, &qnr) < 0)
492 prime, qr, qnr, &x_cand);
539 crypto_bignum_deinit(qnr, 0);