Home
last modified time | relevance | path

Searched refs:attr_key (Results 1 – 6 of 6) sorted by relevance

/freebsd/tests/atf_python/sys/netlink/
H A Dmessage.py197 def parse_child(self, data: bytes, attr_key, attr_map): argument
199 return NlAttrNested(attr_key, attrs)
201 def parse_child_array(self, data: bytes, attr_key, attr_map): argument
216 return NlAttrNested(attr_key, ret)
/freebsd/contrib/wpa/src/common/
H A Ddpp_pkex.c349 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()
H A Ddpp_tcp.c2325 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()
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_uverbs_ioctl.c353 u32 attr_key) in uapi_get_attr_for_method() argument
356 pbundle->method_key | attr_key); in uapi_get_attr_for_method()
362 u32 attr_key = uapi_key_attr(uattr->attr_id); in uverbs_set_attr() local
363 u32 attr_bkey = uapi_bkey_attr(attr_key); in uverbs_set_attr()
368 slot = uapi_get_attr_for_method(pbundle, attr_key); in uverbs_set_attr()
H A Dib_uverbs_uapi.c370 u32 attr_key = iter.index & UVERBS_API_ATTR_KEY_MASK; in uapi_finalize_ioctl_method() local
371 u32 attr_bkey = uapi_bkey_attr(attr_key); in uapi_finalize_ioctl_method()
/freebsd/sys/ofed/include/rdma/
H A Duverbs_ioctl.h236 uapi_key_attr_to_ioctl_method(u32 attr_key) in uapi_key_attr_to_ioctl_method() argument
238 return attr_key & in uapi_key_attr_to_ioctl_method()
305 static inline __attribute_const__ u32 uapi_bkey_attr(u32 attr_key) in uapi_bkey_attr() argument
307 return attr_key - 1; in uapi_bkey_attr()