Home
last modified time | relevance | path

Searched refs:keyid (Results 1 – 25 of 61) sorted by relevance

123

/hostap-3.7.0/wlantest/
Drx_data.c193 const struct ieee80211_hdr *hdr, int keyid, in try_all_ptk() argument
209 ptk->ptk.tk_len, keyid); in try_all_ptk()
243 int keyid; in rx_data_bss_prot_group() local
287 keyid = data[3] >> 6; in rx_data_bss_prot_group()
288 if (bss->gtk_len[keyid] == 0 && in rx_data_bss_prot_group()
291 decrypted = try_all_ptk(wt, bss->group_cipher, hdr, keyid, in rx_data_bss_prot_group()
298 MAC2STR(hdr->addr2), keyid); in rx_data_bss_prot_group()
308 if (os_memcmp(pn, bss->rsc[keyid], 6) <= 0) { in rx_data_bss_prot_group()
313 wpa_snprintf_hex(rsc_hex, sizeof(rsc_hex), bss->rsc[keyid], 6); in rx_data_bss_prot_group()
323 keyid, wt->frame_num, pn_hex, rsc_hex); in rx_data_bss_prot_group()
[all …]
Dwlantest.h247 const u8 *tk, size_t tk_len, int keyid);
306 u8 *pn, int keyid, size_t *encrypted_len);
309 size_t hdrlen, const u8 *pn, int keyid,
315 u8 *qos, u8 *pn, int keyid, size_t *encrypted_len);
326 u8 *pn, int keyid, size_t *encrypted_len);
333 u8 *ipn, int keyid, size_t *prot_len);
335 u8 *ipn, int keyid, size_t *prot_len);
341 const u8 *pn, int keyid, size_t *encrypted_len);
Dbip.c18 u8 *ipn, int keyid, size_t *prot_len) in bip_protect() argument
34 WPA_PUT_LE16(pos, keyid); in bip_protect()
71 u8 *ipn, int keyid, size_t *prot_len) in bip_gmac_protect() argument
87 WPA_PUT_LE16(pos, keyid); in bip_gmac_protect()
Drx_mgmt.c69 u16 keyid; in rx_mgmt_beacon() local
114 keyid = WPA_GET_LE16(mme); in rx_mgmt_beacon()
115 if (keyid < 6 || keyid > 7) { in rx_mgmt_beacon()
117 keyid, MAC2STR(mgmt->sa)); in rx_mgmt_beacon()
122 wpa_printf(MSG_DEBUG, "Beacon frame MME KeyID %u", keyid); in rx_mgmt_beacon()
126 if (!bss->igtk_len[keyid]) { in rx_mgmt_beacon()
131 if (os_memcmp(mme + 2, bss->ipn[keyid], 6) <= 0) { in rx_mgmt_beacon()
135 wpa_hexdump(MSG_INFO, "Last RX IPN", bss->ipn[keyid], 6); in rx_mgmt_beacon()
138 if (check_mmie_mic(bss->mgmt_group_cipher, bss->igtk[keyid], in rx_mgmt_beacon()
139 bss->igtk_len[keyid], data, len) < 0) { in rx_mgmt_beacon()
[all …]
Dccmp.c191 u8 *pn, int keyid, size_t *encrypted_len) in ccmp_encrypt() argument
213 *pos++ = 0x20 | (keyid << 6); in ccmp_encrypt()
240 size_t hdrlen, const u8 *pn, int keyid, in ccmp_encrypt_pv1() argument
322 u8 *qos, u8 *pn, int keyid, size_t *encrypted_len) in ccmp_256_encrypt() argument
344 *pos++ = 0x20 | (keyid << 6); in ccmp_256_encrypt()
Dgcmp.c117 const u8 *pn, int keyid, size_t *encrypted_len) in gcmp_encrypt() argument
137 *pos++ = 0x20 | (keyid << 6); in gcmp_encrypt()
Dwlantest.c336 const u8 *tk, size_t tk_len, int keyid) in write_decrypted_note() argument
344 add_note(wt, MSG_EXCESSIVE, "TK[%d] %s", keyid, tk_hex); in write_decrypted_note()
/hostap-3.7.0/tests/hwsim/auth_serv/
Dopenssl2.cnf91 authorityKeyIdentifier=keyid,issuer
105 authorityKeyIdentifier=keyid:always,issuer
111 authorityKeyIdentifier=keyid:always
122 authorityKeyIdentifier=keyid,issuer
132 authorityKeyIdentifier=keyid,issuer
143 authorityKeyIdentifier=keyid,issuer
Dec-ca-openssl.cnf86 authorityKeyIdentifier=keyid:always,issuer
93 authorityKeyIdentifier=keyid:always
99 authorityKeyIdentifier=keyid,issuer
108 authorityKeyIdentifier=keyid,issuer
Dec-user.pem27 keyid:73:2A:DC:08:8C:66:E6:05:53:B2:29:92:1C:DD:8A:9B:C0:26:CB:F8
Dec-server.pem27 keyid:73:2A:DC:08:8C:66:E6:05:53:B2:29:92:1C:DD:8A:9B:C0:26:CB:F8
Dec2-user-p256.pem28 keyid:B8:97:C9:BE:63:12:AB:F6:A0:8C:B6:5E:FB:97:6E:10:8E:DC:48:F5
Dec2-user.pem29 keyid:B8:97:C9:BE:63:12:AB:F6:A0:8C:B6:5E:FB:97:6E:10:8E:DC:48:F5
Dec2-server.pem29 keyid:B8:97:C9:BE:63:12:AB:F6:A0:8C:B6:5E:FB:97:6E:10:8E:DC:48:F5
/hostap-3.7.0/hostapd/
Dhostapd.wpa_psk7 # keyid=<keyid_string>
17 keyid=example_id 00:11:22:33:44:77 passphrase with keyid
/hostap-3.7.0/hs20/server/ca/
Dopenssl.cnf117 authorityKeyIdentifier=keyid:always,issuer
174 authorityKeyIdentifier=keyid:always
186 authorityKeyIdentifier=keyid,issuer
196 authorityKeyIdentifier=keyid,issuer
/hostap-3.7.0/tests/hwsim/
Dtest_ap_ciphers.py524 keyid = int(f.read())
525 if keytype in (KT_PTK, KT_GTK) and keyid not in (0, 1, 2, 3):
527 if keytype == KT_IGTK and keyid not in (4, 5):
529 if keytype == KT_BIGTK and keyid not in (6, 7):
548 keyid = int(f.read())
549 if keytype in (KT_PTK, KT_GTK) and keyid not in (0, 1, 2, 3):
551 if keytype == KT_IGTK and keyid not in (4, 5):
553 if keytype == KT_BIGTK and keyid not in (6, 7):
/hostap-3.7.0/src/ap/
Dap_config.c314 const char *keyid; in hostapd_config_read_wpa_psk() local
353 keyid = NULL; in hostapd_config_read_wpa_psk()
365 keyid = value; in hostapd_config_read_wpa_psk()
431 if (keyid) { in hostapd_config_read_wpa_psk()
432 len = os_strlcpy(psk->keyid, keyid, sizeof(psk->keyid)); in hostapd_config_read_wpa_psk()
433 if ((size_t) len >= sizeof(psk->keyid)) { in hostapd_config_read_wpa_psk()
Dsta_info.c1259 if (!psk || !psk->keyid[0]) in ap_sta_wpa_get_keyid()
1262 return psk->keyid; in ap_sta_wpa_get_keyid()
1309 const char *keyid; in ap_sta_set_authorized() local
1324 keyid = ap_sta_wpa_get_keyid(hapd, sta); in ap_sta_set_authorized()
1325 if (keyid) { in ap_sta_set_authorized()
1327 " keyid=%s", keyid); in ap_sta_set_authorized()
Dctrl_iface_ap.c219 const char *keyid; in hostapd_ctrl_iface_sta_mib() local
381 keyid = ap_sta_wpa_get_keyid(hapd, sta); in hostapd_ctrl_iface_sta_mib()
382 if (keyid) { in hostapd_ctrl_iface_sta_mib()
383 ret = os_snprintf(buf + len, buflen - len, "keyid=%s\n", keyid); in hostapd_ctrl_iface_sta_mib()
/hostap-3.7.0/eap_example/
Dca.pem29 keyid:B8:92:DE:FD:8A:18:B3:30:C3:9F:55:F3:33:5D:B4:C8:29:8A:41:14
Dserver.pem31 keyid:B8:92:DE:FD:8A:18:B3:30:C3:9F:55:F3:33:5D:B4:C8:29:8A:41:14
/hostap-3.7.0/tests/hwsim/auth_serv/iCA-server/
Dca-and-root.pem39 keyid:A4:FD:B9:39:1B:81:B3:AA:EB:88:1D:D4:81:A9:B5:11:70:CC:A7:E1
120 keyid:A4:FD:B9:39:1B:81:B3:AA:EB:88:1D:D4:81:A9:B5:11:70:CC:A7:E1
Dserver-revoked_and_ica.pem39 keyid:A4:FD:B9:39:1B:81:B3:AA:EB:88:1D:D4:81:A9:B5:11:70:CC:A7:E1
122 keyid:EB:DC:8D:38:75:10:2F:E6:82:8E:FE:43:EC:9F:7E:63:22:BD:51:55
/hostap-3.7.0/tests/hwsim/auth_serv/iCA-user/
Dca-and-root.pem39 keyid:A4:FD:B9:39:1B:81:B3:AA:EB:88:1D:D4:81:A9:B5:11:70:CC:A7:E1
120 keyid:A4:FD:B9:39:1B:81:B3:AA:EB:88:1D:D4:81:A9:B5:11:70:CC:A7:E1

123