HomeSort by relevance Sort by last modified time
    Searched refs:pwe (Results 1 - 5 of 5) sorted by null

  /external/wpa_supplicant_8/src/eap_common/
eap_pwd_common.c 159 if (grp->pwe)
170 grp->pwe = crypto_ec_point_init(grp->group);
174 if (!grp->pwe || !tmp1 || !pm1 || !one) {
213 * necessary to find PWE. The odds of PWE not being found in 40 loops is
324 crypto_ec_point_solve_y_coord(grp->group, grp->pwe, x_candidate,
335 if (!crypto_ec_point_is_on_curve(grp->group, grp->pwe)) {
340 wpa_printf(MSG_DEBUG, "EAP-pwd: found a PWE in %02d tries", found_ctr);
344 crypto_ec_point_deinit(grp->pwe, 1);
345 grp->pwe = NULL
    [all...]
eap_pwd_common.h 19 struct crypto_ec_point *pwe; member in struct:group_definition_
  /external/wpa_supplicant_8/src/common/
sae.c 191 wpa_printf(MSG_DEBUG, "SAE: PWE derivation - addr1=" MACSTR
337 /* Returns -1 on fatal failure, 0 if PWE cannot be derived from the provided
338 * pwd-seed, or 1 if a valid PWE was derived from pwd-seed. */
340 struct crypto_bignum *pwe)
368 * calculations anyway to hide timing difference. The derived PWE will
372 /* PWE = pwd-value^((p-1)/r) modulo p */
385 * PWE = pwd-value^2 modulo p
402 res = crypto_bignum_exptmod(a, b, sae->tmp->prime, pwe);
409 * computation. PWE is valid if pwd-value was less than prime and
410 * PWE > 1. Start with pwd-value check first and then use constant tim
640 struct crypto_bignum *pwe; local
    [all...]
  /external/wpa_supplicant_8/src/eap_peer/
eap_pwd.c 161 crypto_ec_point_deinit(data->grp->pwe, 1);
511 /* compute PWE */
520 wpa_printf(MSG_INFO, "EAP-PWD (peer): unable to compute PWE");
525 wpa_printf(MSG_DEBUG, "EAP-PWD (peer): computed %d bit PWE...",
542 if (crypto_ec_point_mul(data->grp->group, data->grp->pwe, mask,
580 if (crypto_ec_point_mul(data->grp->group, data->grp->pwe,
  /external/wpa_supplicant_8/src/eap_server/
eap_server_pwd.c 159 crypto_ec_point_deinit(data->grp->pwe, 1);
268 if (crypto_ec_point_mul(data->grp->group, data->grp->pwe, mask,
638 "PWE");
641 wpa_printf(MSG_DEBUG, "EAP-PWD (server): computed %d bit PWE...",
704 if ((crypto_ec_point_mul(data->grp->group, data->grp->pwe,

Completed in 235 milliseconds