Searched refs:qnr (Results 1 – 4 of 4) sorted by relevance
/external/wpa_supplicant_8/src/common/ |
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() 78 if (*qr && *qnr) in dragonfly_get_random_qr_qnr() 81 crypto_bignum_deinit(*qnr, 0); in dragonfly_get_random_qr_qnr() 82 *qr = *qnr = NULL; in dragonfly_get_random_qr_qnr() 110 const u8 *qr, const u8 *qnr, in dragonfly_is_quadratic_residue_blind() argument 156 const_time_select_bin(mask, qnr, qr, prime_len, qr_or_qnr_bin); in dragonfly_is_quadratic_residue_blind()
|
D | dragonfly.h | 22 struct crypto_bignum **qnr); 24 const u8 *qr, const u8 *qnr,
|
D | sae.c | 146 const u8 *prime, const u8 *qr, const u8 *qnr, in sae_test_pwd_seed_ecc() argument 183 res = dragonfly_is_quadratic_residue_blind(sae->tmp->ec, qr, qnr, in sae_test_pwd_seed_ecc() 294 struct crypto_bignum *x = NULL, *qr = NULL, *qnr = NULL; in sae_derive_pwe_ecc() local 320 if (dragonfly_get_random_qr_qnr(sae->tmp->prime, &qr, &qnr) < 0 || in sae_derive_pwe_ecc() 322 crypto_bignum_to_bin(qnr, qnr_bin, sizeof(qnr_bin), prime_len) < 0) in sae_derive_pwe_ecc() 428 crypto_bignum_deinit(qnr, 0); in sae_derive_pwe_ecc()
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_pwd_common.c | 124 struct crypto_bignum *qr = NULL, *qnr = NULL; in compute_password_element() local 167 if (dragonfly_get_random_qr_qnr(prime, &qr, &qnr) < 0 || in compute_password_element() 170 crypto_bignum_to_bin(qnr, qnr_bin, sizeof(qnr_bin), in compute_password_element() 293 crypto_bignum_deinit(qnr, 1); in compute_password_element()
|