| /subsys/usb/device/class/netusb/ |
| A D | netusb.c | 126 static uint8_t mac[6] = { 0x00, 0x00, 0x5E, 0x00, 0x53, 0x00 }; in netusb_init() local 135 net_if_set_link_addr(iface, mac, sizeof(mac), NET_LINK_ETHERNET); in netusb_init()
|
| A D | function_rndis.c | 153 uint8_t mac[6]; member 156 .mac = { 0x00, 0x00, 0x5E, 0x00, 0x53, 0x01 }, 579 memcpy(net_buf_add(buf, sizeof(rndis.mac)), rndis.mac, in rndis_query_handle() 580 sizeof(rndis.mac)); in rndis_query_handle() 584 memcpy(net_buf_add(buf, sizeof(rndis.mac)), rndis.mac, in rndis_query_handle() 585 sizeof(rndis.mac)); in rndis_query_handle()
|
| /subsys/bluetooth/mesh/ |
| A D | dfu_metadata.c | 76 uint8_t mac[16]; in bt_mesh_dfu_metadata_comp_hash_get() local 80 err = bt_mesh_aes_cmac_raw_key(key, &sg, 1, mac); in bt_mesh_dfu_metadata_comp_hash_get() 85 *hash = sys_get_le32(mac); in bt_mesh_dfu_metadata_comp_hash_get()
|
| A D | crypto_psa.c | 127 size_t sg_len, uint8_t mac[16]) in bt_mesh_aes_cmac_mesh_key() 148 status = psa_mac_sign_finish(&operation, mac, 16, &mac_len); in bt_mesh_aes_cmac_mesh_key() 161 size_t sg_len, uint8_t mac[16]) in bt_mesh_aes_cmac_raw_key() 171 err = bt_mesh_aes_cmac_mesh_key(&key_id, sg, sg_len, mac); in bt_mesh_aes_cmac_raw_key() 179 uint8_t mac[32]) in bt_mesh_sha256_hmac_raw_key() 222 status = psa_mac_sign_finish(&operation, mac, 32, &mac_len); in bt_mesh_sha256_hmac_raw_key()
|
| A D | crypto.h | 35 uint8_t mac[16]); 38 uint8_t mac[16]); 41 uint8_t mac[32]);
|
| A D | crypto.c | 27 size_t len, uint8_t mac[16]) in bt_mesh_aes_cmac_one_raw_key() 31 return bt_mesh_aes_cmac_raw_key(key, &sg, 1, mac); in bt_mesh_aes_cmac_one_raw_key() 35 size_t len, uint8_t mac[16]) in bt_mesh_aes_cmac_one_mesh_key() 39 return bt_mesh_aes_cmac_mesh_key(key, &sg, 1, mac); in bt_mesh_aes_cmac_one_mesh_key() 43 uint8_t mac[32]) in bt_mesh_sha256_hmac_one_raw_key() 47 return bt_mesh_sha256_hmac_raw_key(key, &sg, 1, mac); in bt_mesh_sha256_hmac_one_raw_key()
|
| /subsys/net/lib/lwm2m/ |
| A D | ucifi_lpwan.c | 94 static char mac[MAX_INSTANCE_COUNT][MAC_ADDRESS_SIZE]; variable 121 mac[index][0] = '\0'; in lpwan_create() 136 mac[index], MAC_ADDRESS_SIZE, 0); in lpwan_create()
|
| /subsys/net/l2/ethernet/dsa/ |
| A D | dsa.c | 238 const uint8_t *mac, in dsa_switch_set_mac_table_entry() argument 248 return api->switch_set_mac_table_entry(dev, mac, fw_port, in dsa_switch_set_mac_table_entry()
|
| /subsys/mgmt/osdp/src/ |
| A D | osdp_phy.c | 410 uint8_t *mac; in osdp_phy_decode_packet() local 476 mac = is_cmd ? pd->sc.c_mac : pd->sc.r_mac; in osdp_phy_decode_packet() 477 if (memcmp(buf + mac_offset, mac, 4) != 0) { in osdp_phy_decode_packet()
|
| /subsys/net/ip/ |
| A D | ipv6_pe.c | 236 uint8_t mac[6]; in gen_temporary_iid() member 250 memcpy(buf.mac, net_if_get_link_addr(iface)->addr, in gen_temporary_iid() 251 MIN(sizeof(buf.mac), net_if_get_link_addr(iface)->len)); in gen_temporary_iid()
|
| /subsys/net/l2/wifi/ |
| A D | wifi_shell.c | 203 net_sprint_ll_addr_buf(entry->mac, WIFI_MAC_ADDR_LEN, in handle_wifi_scan_result() 447 net_sprint_ll_addr_buf(sta_info->mac, WIFI_MAC_ADDR_LEN, in handle_wifi_ap_sta_connected() 473 net_sprint_ll_addr_buf(sta_info->mac, WIFI_MAC_ADDR_LEN, in handle_wifi_ap_sta_disconnected() 482 if (!memcmp(sta_list[i].sta_info.mac, sta_info->mac, in handle_wifi_ap_sta_disconnected() 2095 net_sprint_ll_addr_buf(sta->mac, in cmd_wifi_ap_stations() 2117 uint8_t mac[6]; in cmd_wifi_ap_sta_disconnect() local 2120 if (net_bytes_from_str(mac, sizeof(mac), argv[1]) < 0) { in cmd_wifi_ap_sta_disconnect() 2125 ret = net_mgmt(NET_REQUEST_WIFI_AP_STA_DISCONNECT, iface, mac, sizeof(mac)); in cmd_wifi_ap_sta_disconnect() 3118 ret = net_bytes_from_str(params->bootstrap_gen.mac, in parse_dpp_args_btstrap_gen()
|
| A D | wifi_mgmt.c | 730 uint8_t *mac = data; in wifi_ap_sta_disconnect() local 748 return wifi_mgmt_api->ap_sta_disconnect(dev, mac); in wifi_ap_sta_disconnect()
|
| /subsys/net/l2/ethernet/ |
| A D | ethernet.c | 1060 int net_eth_mac_filter(struct net_if *iface, struct net_eth_addr *mac, in net_eth_mac_filter() argument 1070 memcpy(¶ms.filter.mac_address, mac, sizeof(struct net_eth_addr)); in net_eth_mac_filter() 1078 ARG_UNUSED(mac); in net_eth_mac_filter()
|
| /subsys/bluetooth/host/ |
| A D | smp.c | 5264 uint16_t len, const uint8_t *mac) in aes_test() argument 5271 if (!memcmp(out, mac, 16)) { in aes_test()
|