Searched refs:hkey (Results 1 – 2 of 2) sorted by relevance
/hostap-3.7.0/src/rsn_supp/ |
D | wpa.c | 5075 struct wpabuf *secret, *pub, *hkey; in owe_process_assoc_resp() local 5173 hkey = wpabuf_alloc(wpabuf_len(pub) + elems.owe_dh_len - 2 + 2); in owe_process_assoc_resp() 5174 if (!hkey) { in owe_process_assoc_resp() 5180 wpabuf_put_buf(hkey, pub); /* C */ in owe_process_assoc_resp() 5182 wpabuf_put_data(hkey, elems.owe_dh + 2, elems.owe_dh_len - 2); /* A */ in owe_process_assoc_resp() 5183 wpabuf_put_le16(hkey, sm->owe_group); /* group */ in owe_process_assoc_resp() 5185 res = hmac_sha256(wpabuf_head(hkey), wpabuf_len(hkey), in owe_process_assoc_resp() 5188 res = hmac_sha384(wpabuf_head(hkey), wpabuf_len(hkey), in owe_process_assoc_resp() 5191 res = hmac_sha512(wpabuf_head(hkey), wpabuf_len(hkey), in owe_process_assoc_resp() 5193 wpabuf_clear_free(hkey); in owe_process_assoc_resp()
|
/hostap-3.7.0/src/ap/ |
D | ieee802_11.c | 4188 struct wpabuf *secret, *pub, *hkey; in owe_process_assoc_req() local 4265 hkey = wpabuf_alloc(owe_dh_len - 2 + wpabuf_len(pub) + 2); in owe_process_assoc_req() 4266 if (!hkey) { in owe_process_assoc_req() 4272 wpabuf_put_data(hkey, owe_dh + 2, owe_dh_len - 2); /* C */ in owe_process_assoc_req() 4273 wpabuf_put_buf(hkey, pub); /* A */ in owe_process_assoc_req() 4275 wpabuf_put_le16(hkey, group); /* group */ in owe_process_assoc_req() 4277 res = hmac_sha256(wpabuf_head(hkey), wpabuf_len(hkey), in owe_process_assoc_req() 4280 res = hmac_sha384(wpabuf_head(hkey), wpabuf_len(hkey), in owe_process_assoc_req() 4283 res = hmac_sha512(wpabuf_head(hkey), wpabuf_len(hkey), in owe_process_assoc_req() 4285 wpabuf_clear_free(hkey); in owe_process_assoc_req()
|