Searched refs:qnr (Results 1 - 4 of 4) sorted by relevance

/freebsd-13-stable/contrib/wpa/src/common/
H A Ddragonfly.h22 struct crypto_bignum **qnr);
24 const u8 *qr, const u8 *qnr,
H A Ddragonfly.c55 struct crypto_bignum **qnr)
57 *qr = *qnr = NULL;
59 while (!(*qr) || !(*qnr)) {
72 else if (res == -1 && !(*qnr))
73 *qnr = tmp;
78 if (*qr && *qnr)
81 crypto_bignum_deinit(*qnr, 0);
82 *qr = *qnr = NULL;
110 const u8 *qr, const u8 *qnr,
150 * num = (num * qnr) modul
53 dragonfly_get_random_qr_qnr(const struct crypto_bignum *prime, struct crypto_bignum **qr, struct crypto_bignum **qnr) argument
109 dragonfly_is_quadratic_residue_blind(struct crypto_ec *ec, const u8 *qr, const u8 *qnr, const struct crypto_bignum *val) argument
[all...]
H A Dsae.c141 const u8 *prime, const u8 *qr, const u8 *qnr,
178 res = dragonfly_is_quadratic_residue_blind(sae->tmp->ec, qr, qnr,
289 struct crypto_bignum *x = NULL, *qr = NULL, *qnr = NULL; local
313 * (qnr) modulo p for blinding purposes during the loop.
315 if (dragonfly_get_random_qr_qnr(sae->tmp->prime, &qr, &qnr) < 0 ||
317 crypto_bignum_to_bin(qnr, qnr_bin, sizeof(qnr_bin), prime_len) < 0)
423 crypto_bignum_deinit(qnr, 0);
140 sae_test_pwd_seed_ecc(struct sae_data *sae, const u8 *pwd_seed, const u8 *prime, const u8 *qr, const u8 *qnr, u8 *pwd_value) argument
/freebsd-13-stable/contrib/wpa/src/eap_common/
H A Deap_pwd_common.c124 struct crypto_bignum *qr = NULL, *qnr = NULL; local
167 if (dragonfly_get_random_qr_qnr(prime, &qr, &qnr) < 0 ||
170 crypto_bignum_to_bin(qnr, qnr_bin, sizeof(qnr_bin),
293 crypto_bignum_deinit(qnr, 1);

Completed in 107 milliseconds