Searched refs:attr_key (Results 1 – 2 of 2) sorted by relevance
/hostap-latest/src/common/ |
D | dpp_pkex.c | 349 const u8 *attr_group, *attr_id, *attr_key; in dpp_pkex_rx_exchange_req() local 433 attr_key = dpp_get_attr(buf, len, DPP_ATTR_ENCRYPTED_KEY, in dpp_pkex_rx_exchange_req() 435 if (!attr_key || attr_key_len & 0x01 || attr_key_len < 2 || in dpp_pkex_rx_exchange_req() 450 M = crypto_ec_point_from_bin(ec, attr_key); in dpp_pkex_rx_exchange_req() 488 os_memcpy(pkex->Mx, attr_key, attr_key_len / 2); in dpp_pkex_rx_exchange_req() 701 const u8 *attr_status, *attr_id, *attr_key, *attr_group; in dpp_pkex_rx_exchange_resp() local 790 attr_key = dpp_get_attr(buf, buflen, DPP_ATTR_ENCRYPTED_KEY, in dpp_pkex_rx_exchange_resp() 792 if (!attr_key || attr_key_len & 0x01 || attr_key_len < 2) { in dpp_pkex_rx_exchange_resp() 806 N = crypto_ec_point_from_bin(ec, attr_key); in dpp_pkex_rx_exchange_resp() 877 attr_key /* N.x */, attr_key_len / 2, in dpp_pkex_rx_exchange_resp()
|
D | dpp_tcp.c | 2325 const u8 *attr_key = NULL; in dpp_controller_is_own_pkex_req() local 2332 if (!attr_key) { in dpp_controller_is_own_pkex_req() 2333 attr_key = dpp_get_attr(buf, len, in dpp_controller_is_own_pkex_req() 2336 if (!attr_key) in dpp_controller_is_own_pkex_req() 2341 os_memcmp(attr_key, wpabuf_head(conn->pkex->enc_key), in dpp_controller_is_own_pkex_req()
|