Searched refs:qnr (Results 1 – 4 of 4) sorted by relevance
/freebsd/contrib/wpa/src/common/ |
H A D | dragonfly.c | 55 struct crypto_bignum **qnr) in dragonfly_get_random_qr_qnr() argument 57 *qr = *qnr = NULL; in dragonfly_get_random_qr_qnr() 59 while (!(*qr) || !(*qnr)) { in dragonfly_get_random_qr_qnr() 72 } else if (res == -1 && !(*qnr)) { in dragonfly_get_random_qr_qnr() 73 *qnr = tmp; in dragonfly_get_random_qr_qnr() 81 if (*qr && *qnr) in dragonfly_get_random_qr_qnr() 84 crypto_bignum_deinit(*qnr, 0); in dragonfly_get_random_qr_qnr() 85 *qr = *qnr = NULL; in dragonfly_get_random_qr_qnr() 113 const u8 *qr, const u8 *qnr, in dragonfly_is_quadratic_residue_blind() argument 159 const_time_select_bin(mask, qnr, qr, prime_len, qr_or_qnr_bin); in dragonfly_is_quadratic_residue_blind()
|
H A D | dragonfly.h | 22 struct crypto_bignum **qnr); 24 const u8 *qr, const u8 *qnr,
|
H A D | sae.c | 148 const u8 *prime, const u8 *qr, const u8 *qnr, in sae_test_pwd_seed_ecc() argument 185 res = dragonfly_is_quadratic_residue_blind(sae->tmp->ec, qr, qnr, in sae_test_pwd_seed_ecc() 295 struct crypto_bignum *x = NULL, *y = NULL, *qr = NULL, *qnr = NULL; in sae_derive_pwe_ecc() local 323 if (dragonfly_get_random_qr_qnr(sae->tmp->prime, &qr, &qnr) < 0 || in sae_derive_pwe_ecc() 325 crypto_bignum_to_bin(qnr, qnr_bin, sizeof(qnr_bin), prime_len) < 0) in sae_derive_pwe_ecc() 437 crypto_bignum_deinit(qnr, 0); in sae_derive_pwe_ecc()
|
/freebsd/contrib/wpa/src/eap_common/ |
H A D | eap_pwd_common.c | 124 struct crypto_bignum *qr = NULL, *qnr = NULL; in compute_password_element() local 164 if (dragonfly_get_random_qr_qnr(prime, &qr, &qnr) < 0 || in compute_password_element() 167 crypto_bignum_to_bin(qnr, qnr_bin, sizeof(qnr_bin), in compute_password_element() 318 crypto_bignum_deinit(qnr, 1); in compute_password_element()
|