Lines Matching defs:qnr
235 const u8 *qr, const u8 *qnr,
271 * num = (num * qnr) module p
275 const_time_select_bin(mask, qnr, qr, prime_len, qr_or_qnr_bin);
301 const u8 *prime, const u8 *qr, const u8 *qnr,
331 res = is_quadratic_residue_blind(sae, prime, bits, qr, qnr, y_sqr);
429 struct crypto_bignum **qnr)
432 *qnr = NULL;
434 while (!(*qr) || !(*qnr)) {
452 else if (res == -1 && !(*qnr))
453 *qnr = q;
458 return (*qr && *qnr) ? 0 : -1;
475 struct crypto_bignum *x = NULL, *qr = NULL, *qnr = NULL;
501 * (qnr) modulo p for blinding purposes during the loop.
504 &qr, &qnr) < 0 ||
506 crypto_bignum_to_bin(qnr, qnr_bin, sizeof(qnr_bin), prime_len) < 0)
610 crypto_bignum_deinit(qnr, 0);