Home
last modified time | relevance | path

Searched refs:kay (Results 1 – 12 of 12) sorted by relevance

/hostap-latest/src/pae/
Dieee802_1x_secy_ops.c20 int secy_cp_control_validate_frames(struct ieee802_1x_kay *kay, in secy_cp_control_validate_frames() argument
23 kay->vf = vf; in secy_cp_control_validate_frames()
28 int secy_cp_control_protect_frames(struct ieee802_1x_kay *kay, bool enabled) in secy_cp_control_protect_frames() argument
32 if (!kay) { in secy_cp_control_protect_frames()
37 ops = kay->ctx; in secy_cp_control_protect_frames()
48 int secy_cp_control_encrypt(struct ieee802_1x_kay *kay, bool enabled) in secy_cp_control_encrypt() argument
52 if (!kay) { in secy_cp_control_encrypt()
57 ops = kay->ctx; in secy_cp_control_encrypt()
68 int secy_cp_control_replay(struct ieee802_1x_kay *kay, bool enabled, u32 win) in secy_cp_control_replay() argument
72 if (!kay) { in secy_cp_control_replay()
[all …]
Dieee802_1x_kay.c288 ieee802_1x_kay_get_participant(struct ieee802_1x_kay *kay, const u8 *ckn, in ieee802_1x_kay_get_participant() argument
293 dl_list_for_each(participant, &kay->participant_list, in ieee802_1x_kay_get_participant()
311 ieee802_1x_kay_get_principal_participant(struct ieee802_1x_kay *kay) in ieee802_1x_kay_get_principal_participant() argument
315 dl_list_for_each(participant, &kay->participant_list, in ieee802_1x_kay_get_principal_participant()
555 static void ieee802_1x_delete_receive_sa(struct ieee802_1x_kay *kay, in ieee802_1x_delete_receive_sa() argument
558 secy_disable_receive_sa(kay, sa); in ieee802_1x_delete_receive_sa()
559 secy_delete_receive_sa(kay, sa); in ieee802_1x_delete_receive_sa()
576 ieee802_1x_delete_receive_sa(participant->kay, psa); in ieee802_1x_kay_deinit_receive_sc()
579 secy_delete_receive_sc(participant->kay, psc); in ieee802_1x_kay_deinit_receive_sc()
635 if (secy_create_receive_sc(participant->kay, rxsc)) { in ieee802_1x_kay_create_live_peer()
[all …]
Dieee802_1x_secy_ops.h17 int secy_init_macsec(struct ieee802_1x_kay *kay);
18 int secy_deinit_macsec(struct ieee802_1x_kay *kay);
21 int secy_cp_control_validate_frames(struct ieee802_1x_kay *kay,
23 int secy_cp_control_protect_frames(struct ieee802_1x_kay *kay, bool flag);
24 int secy_cp_control_encrypt(struct ieee802_1x_kay *kay, bool enabled);
25 int secy_cp_control_replay(struct ieee802_1x_kay *kay, bool flag, u32 win);
26 int secy_cp_control_offload(struct ieee802_1x_kay *kay, u8 offload);
27 int secy_cp_control_current_cipher_suite(struct ieee802_1x_kay *kay, u64 cs);
28 int secy_cp_control_confidentiality_offset(struct ieee802_1x_kay *kay,
30 int secy_cp_control_enable_port(struct ieee802_1x_kay *kay, bool flag);
[all …]
Dieee802_1x_cp.c86 struct ieee802_1x_kay *kay; member
114 secy_cp_control_enable_port(sm->kay, sm->controlled_port_enabled); in SM_STATE()
139 secy_cp_control_enable_port(sm->kay, sm->controlled_port_enabled); in SM_STATE()
142 ieee802_1x_kay_delete_sas(sm->kay, sm->lki); in SM_STATE()
144 ieee802_1x_kay_delete_sas(sm->kay, sm->oki); in SM_STATE()
154 ieee802_1x_kay_set_old_sa_attr(sm->kay, sm->oki, sm->oan, in SM_STATE()
161 ieee802_1x_kay_set_latest_sa_attr(sm->kay, sm->lki, sm->lan, in SM_STATE()
177 secy_cp_control_enable_port(sm->kay, sm->controlled_port_enabled); in SM_STATE()
178 secy_cp_control_protect_frames(sm->kay, sm->protect_frames); in SM_STATE()
179 secy_cp_control_encrypt(sm->kay, sm->kay->macsec_encrypt); in SM_STATE()
[all …]
Dieee802_1x_kay.h247 void ieee802_1x_kay_deinit(struct ieee802_1x_kay *kay);
250 ieee802_1x_kay_create_mka(struct ieee802_1x_kay *kay,
255 void ieee802_1x_kay_delete_mka(struct ieee802_1x_kay *kay,
257 void ieee802_1x_kay_mka_participate(struct ieee802_1x_kay *kay,
260 int ieee802_1x_kay_new_sak(struct ieee802_1x_kay *kay);
261 int ieee802_1x_kay_change_cipher_suite(struct ieee802_1x_kay *kay,
264 int ieee802_1x_kay_set_latest_sa_attr(struct ieee802_1x_kay *kay,
267 int ieee802_1x_kay_set_old_sa_attr(struct ieee802_1x_kay *kay,
270 int ieee802_1x_kay_create_sas(struct ieee802_1x_kay *kay,
272 int ieee802_1x_kay_delete_sas(struct ieee802_1x_kay *kay,
[all …]
Dieee802_1x_cp.h19 struct ieee802_1x_cp_sm * ieee802_1x_cp_sm_init(struct ieee802_1x_kay *kay);
Dieee802_1x_kay_i.h150 struct ieee802_1x_kay *kay; member
/hostap-latest/wpa_supplicant/
Dwpas_kay.c257 wpa_s->kay = res; in ieee802_1x_alloc_kay_sm()
265 if (!wpa_s->kay) in ieee802_1x_dealloc_kay_sm()
268 ieee802_1x_kay_deinit(wpa_s->kay); in ieee802_1x_dealloc_kay_sm()
269 wpa_s->kay = NULL; in ieee802_1x_dealloc_kay_sm()
312 if (!wpa_s->kay || wpa_s->kay->policy == DO_NOT_SECURE) in ieee802_1x_notify_create_actor()
358 res = ieee802_1x_kay_create_mka(wpa_s->kay, ckn, cak, 0, in ieee802_1x_notify_create_actor()
394 if (ieee802_1x_alloc_kay_sm(wpa_s, ssid) < 0 || !wpa_s->kay) in ieee802_1x_create_preshared_mka()
397 if (wpa_s->kay->policy == DO_NOT_SECURE) in ieee802_1x_create_preshared_mka()
406 res = ieee802_1x_kay_create_mka(wpa_s->kay, ckn, cak, 0, PSK, false); in ieee802_1x_create_preshared_mka()
Dwpa_supplicant_i.h1268 struct ieee802_1x_kay *kay; member
Dctrl_iface.c2515 res = ieee802_1x_kay_get_status(wpa_s->kay, pos, end - pos); in wpa_supplicant_ctrl_iface_status()
12571 wpa_s->kay, reply + reply_len, in wpa_supplicant_ctrl_iface_process()
/hostap-latest/src/ap/
Dwpa_auth_kay.c340 hapd->kay = res; in ieee802_1x_alloc_kay_sm_hapd()
348 if (!hapd->kay) in ieee802_1x_dealloc_kay_sm_hapd()
351 ieee802_1x_kay_deinit(hapd->kay); in ieee802_1x_dealloc_kay_sm_hapd()
352 hapd->kay = NULL; in ieee802_1x_dealloc_kay_sm_hapd()
394 if (!hapd->kay || hapd->kay->policy == DO_NOT_SECURE) in ieee802_1x_notify_create_actor_hapd()
441 res = ieee802_1x_kay_create_mka(hapd->kay, ckn, cak, 0, EAP_EXCHANGE, in ieee802_1x_notify_create_actor_hapd()
471 if (ieee802_1x_alloc_kay_sm_hapd(hapd, sta) < 0 || !hapd->kay) in ieee802_1x_create_preshared_mka_hapd()
474 if (hapd->kay->policy == DO_NOT_SECURE) in ieee802_1x_create_preshared_mka_hapd()
483 res = ieee802_1x_kay_create_mka(hapd->kay, ckn, cak, 0, PSK, true); in ieee802_1x_create_preshared_mka_hapd()
Dhostapd.h276 struct ieee802_1x_kay *kay; member