Home
last modified time | relevance | path

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

/hostap-latest/src/drivers/
Ddriver_macsec_qca.c545 struct receive_sc *sc, in macsec_qca_lookup_receive_channel() argument
548 return macsec_qca_lookup_channel(drv->receive_channel_map, &sc->sci, in macsec_qca_lookup_receive_channel()
554 struct receive_sc *sc, in macsec_qca_register_receive_channel() argument
557 macsec_qca_register_channel(drv->receive_channel_map, &sc->sci, in macsec_qca_register_receive_channel()
563 struct transmit_sc *sc, in macsec_qca_lookup_transmit_channel() argument
566 return macsec_qca_lookup_channel(drv->transmit_channel_map, &sc->sci, in macsec_qca_lookup_transmit_channel()
572 struct transmit_sc *sc, in macsec_qca_register_transmit_channel() argument
575 macsec_qca_register_channel(drv->transmit_channel_map, &sc->sci, in macsec_qca_register_transmit_channel()
589 ret = macsec_qca_lookup_receive_channel(priv, sa->sc, &channel); in macsec_qca_get_receive_lowest_pn()
617 ret = macsec_qca_lookup_transmit_channel(priv, sa->sc, &channel); in macsec_qca_get_transmit_next_pn()
[all …]
Ddriver_macsec_linux.c741 err = do_dump(drv, 0xff, mka_sci_u64(&sa->sc->sci), sa->an, in macsec_drv_get_receive_lowest_pn()
772 if (nla_put_rxsc_config(msg, mka_sci_u64(&sa->sc->sci))) in macsec_drv_set_receive_lowest_pn()
873 static int macsec_drv_create_receive_sc(void *priv, struct receive_sc *sc, in macsec_drv_create_receive_sc() argument
884 drv->ifname, SCI2STR(sc->sci.addr, sc->sci.port), in macsec_drv_create_receive_sc()
891 if (nla_put_rxsc_config(msg, mka_sci_u64(&sc->sci))) in macsec_drv_create_receive_sc()
913 static int macsec_drv_delete_receive_sc(void *priv, struct receive_sc *sc) in macsec_drv_delete_receive_sc() argument
921 drv->ifname, SCI2STR(sc->sci.addr, sc->sci.port)); in macsec_drv_delete_receive_sc()
927 if (nla_put_rxsc_config(msg, mka_sci_u64(&sc->sci))) in macsec_drv_delete_receive_sc()
961 SCI2STR(sa->sc->sci.addr, sa->sc->sci.port), in macsec_drv_create_receive_sa()
973 if (nla_put_rxsc_config(msg, mka_sci_u64(&sa->sc->sci))) in macsec_drv_create_receive_sa()
[all …]
Ddriver.h4806 int (*create_receive_sc)(void *priv, struct receive_sc *sc,
4816 int (*delete_receive_sc)(void *priv, struct receive_sc *sc);
4857 int (*create_transmit_sc)(void *priv, struct transmit_sc *sc,
4866 int (*delete_transmit_sc)(void *priv, struct transmit_sc *sc);
/hostap-latest/wpa_supplicant/
Dwpas_kay.c120 static int wpas_create_receive_sc(void *wpa_s, struct receive_sc *sc, in wpas_create_receive_sc() argument
124 return wpa_drv_create_receive_sc(wpa_s, sc, conf_offset_val(co), vf); in wpas_create_receive_sc()
128 static int wpas_delete_receive_sc(void *wpa_s, struct receive_sc *sc) in wpas_delete_receive_sc() argument
130 return wpa_drv_delete_receive_sc(wpa_s, sc); in wpas_delete_receive_sc()
159 wpas_create_transmit_sc(void *wpa_s, struct transmit_sc *sc, in wpas_create_transmit_sc() argument
162 return wpa_drv_create_transmit_sc(wpa_s, sc, conf_offset_val(co)); in wpas_create_transmit_sc()
166 static int wpas_delete_transmit_sc(void *wpa_s, struct transmit_sc *sc) in wpas_delete_transmit_sc() argument
168 return wpa_drv_delete_transmit_sc(wpa_s, sc); in wpas_delete_transmit_sc()
Ddriver_i.h866 wpa_drv_create_receive_sc(struct wpa_supplicant *wpa_s, struct receive_sc *sc, in wpa_drv_create_receive_sc() argument
871 return wpa_s->driver->create_receive_sc(wpa_s->drv_priv, sc, in wpa_drv_create_receive_sc()
876 struct receive_sc *sc) in wpa_drv_delete_receive_sc() argument
880 return wpa_s->driver->delete_receive_sc(wpa_s->drv_priv, sc); in wpa_drv_delete_receive_sc()
916 wpa_drv_create_transmit_sc(struct wpa_supplicant *wpa_s, struct transmit_sc *sc, in wpa_drv_create_transmit_sc() argument
921 return wpa_s->driver->create_transmit_sc(wpa_s->drv_priv, sc, in wpa_drv_create_transmit_sc()
926 struct transmit_sc *sc) in wpa_drv_delete_transmit_sc() argument
930 return wpa_s->driver->delete_transmit_sc(wpa_s->drv_priv, sc); in wpa_drv_delete_transmit_sc()
/hostap-latest/src/pae/
Dieee802_1x_kay.h106 struct transmit_sc *sc; member
132 struct receive_sc *sc; /* list entry in struct receive_sc::sa_list */ member
154 int (*create_receive_sc)(void *ctx, struct receive_sc *sc,
157 int (*delete_receive_sc)(void *ctx, struct receive_sc *sc);
162 int (*create_transmit_sc)(void *ctx, struct transmit_sc *sc,
164 int (*delete_transmit_sc)(void *ctx, struct transmit_sc *sc);
Dieee802_1x_kay.c494 psa->sc = psc; in ieee802_1x_kay_init_receive_sa()
2732 psa->sc = psc; in ieee802_1x_kay_init_transmit_sa()
/hostap-latest/src/ap/
Dwpa_auth_kay.c149 static int hapd_create_receive_sc(void *priv, struct receive_sc *sc, in hapd_create_receive_sc() argument
157 return hapd->driver->create_receive_sc(hapd->drv_priv, sc, in hapd_create_receive_sc()
162 static int hapd_delete_receive_sc(void *priv, struct receive_sc *sc) in hapd_delete_receive_sc() argument
168 return hapd->driver->delete_receive_sc(hapd->drv_priv, sc); in hapd_delete_receive_sc()
213 hapd_create_transmit_sc(void *priv, struct transmit_sc *sc, in hapd_create_transmit_sc() argument
220 return hapd->driver->create_transmit_sc(hapd->drv_priv, sc, in hapd_create_transmit_sc()
225 static int hapd_delete_transmit_sc(void *priv, struct transmit_sc *sc) in hapd_delete_transmit_sc() argument
231 return hapd->driver->delete_transmit_sc(hapd->drv_priv, sc); in hapd_delete_transmit_sc()
/hostap-latest/wlantest/
Dtest_vectors.c178 u16 sc = 0x3380; in test_vector_ccmp_pv1() local
193 sc, WLAN_GET_SEQ_FRAG(sc), WLAN_GET_SEQ_SEQ(sc)); in test_vector_ccmp_pv1()
198 WPA_PUT_LE16(&pn[0], sc); in test_vector_ccmp_pv1()
228 sc = WPA_GET_LE16(&frame1[10]); in test_vector_ccmp_pv1()
231 WLAN_GET_SEQ_FRAG(sc), WLAN_GET_SEQ_SEQ(sc)); in test_vector_ccmp_pv1()
277 sc = WPA_GET_LE16(&frame2[10]); in test_vector_ccmp_pv1()
280 WLAN_GET_SEQ_FRAG(sc), WLAN_GET_SEQ_SEQ(sc)); in test_vector_ccmp_pv1()
320 sc = WPA_GET_LE16(&frame3[14]); in test_vector_ccmp_pv1()
323 WLAN_GET_SEQ_FRAG(sc), WLAN_GET_SEQ_SEQ(sc)); in test_vector_ccmp_pv1()
Dccmp.c116 const u8 *sc; in ccmp_aad_nonce_pv1() local
125 sc = hdr + 2 + 2 + ETH_ALEN; in ccmp_aad_nonce_pv1()
128 sc = hdr + 2 + 2 * ETH_ALEN; in ccmp_aad_nonce_pv1()
132 *pos++ = *sc & 0x0f; in ccmp_aad_nonce_pv1()
Dtkip.c309 u16 sc = le_to_host16(hdr->seq_ctrl); in tkip_decrypt() local
347 sn = WLAN_GET_SEQ_SEQ(sc); in tkip_decrypt()
348 fn = WLAN_GET_SEQ_FRAG(sc); in tkip_decrypt()
/hostap-latest/src/common/
Dsae.c2276 static int sae_cn_confirm(struct sae_data *sae, const u8 *sc, in sae_cn_confirm() argument
2300 addr[0] = sc; in sae_cn_confirm()
2315 static int sae_cn_confirm_ecc(struct sae_data *sae, const u8 *sc, in sae_cn_confirm_ecc() argument
2329 sae_cn_confirm(sae, sc, scalar1, element_b1, in sae_cn_confirm_ecc()
2338 static int sae_cn_confirm_ffc(struct sae_data *sae, const u8 *sc, in sae_cn_confirm_ffc() argument
2352 sae_cn_confirm(sae, sc, scalar1, element_b1, sae->tmp->prime_len, in sae_cn_confirm_ffc()
2362 const u8 *sc; in sae_write_confirm() local
2374 sc = wpabuf_put(buf, 0); in sae_write_confirm()
2378 res = sae_cn_confirm_ecc(sae, sc, sae->tmp->own_commit_scalar, in sae_write_confirm()
2384 res = sae_cn_confirm_ffc(sae, sc, sae->tmp->own_commit_scalar, in sae_write_confirm()