mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 21:22:37 +01:00
pwd/sae/owe: update to use l_ecc_curve_get_ike_group
This commit is contained in:
parent
04225757d6
commit
55a7e9d82a
@ -256,7 +256,7 @@ static void eap_pwd_handle_id(struct eap_state *eap,
|
||||
if (group != EAP_PWD_GROUP_DESC)
|
||||
goto error;
|
||||
|
||||
pwd->curve = l_ecc_curve_get(group);
|
||||
pwd->curve = l_ecc_curve_get_ike_group(group);
|
||||
if (!pwd->curve) {
|
||||
l_error("group %d not supported", group);
|
||||
goto error;
|
||||
|
@ -59,7 +59,7 @@ struct owe_sm *owe_sm_new(struct handshake_state *hs,
|
||||
owe->assoc_tx = assoc;
|
||||
owe->user_data = user_data;
|
||||
owe->complete = complete;
|
||||
owe->curve = l_ecc_curve_get(OWE_DEFAULT_GROUP);
|
||||
owe->curve = l_ecc_curve_get_ike_group(OWE_DEFAULT_GROUP);
|
||||
|
||||
if (!l_ecdh_generate_key_pair(owe->curve, &owe->private,
|
||||
&owe->public_key)) {
|
||||
|
Loading…
Reference in New Issue
Block a user