Home
last modified time | relevance | path

Searched refs:mac2 (Results 1 – 10 of 10) sorted by relevance

/drivers/net/wireguard/
Dcookie.c83 static void compute_mac2(u8 mac2[COOKIE_LEN], const void *message, size_t len, in compute_mac2()
87 offsetof(struct message_macs, mac2); in compute_mac2()
88 blake2s(mac2, message, cookie, COOKIE_LEN, len, COOKIE_LEN); in compute_mac2()
143 if (crypto_memneq(computed_mac, macs->mac2, COOKIE_LEN)) in wg_cookie_validate_packet()
173 compute_mac2(macs->mac2, message, len, in wg_cookie_add_mac_to_packet()
176 memset(macs->mac2, 0, COOKIE_LEN); in wg_cookie_add_mac_to_packet()
Dmessages.h77 u8 mac2[COOKIE_LEN]; member
/drivers/net/ethernet/alacritech/
Dslic.h341 u8 mac2[ETH_ALEN]; member
398 u8 mac2[ETH_ALEN]; member
Dslicoss.c1646 mac[1] = oee->mac2; in slic_read_eeprom()
1653 mac[1] = mee->mac2; in slic_read_eeprom()
/drivers/net/ethernet/alteon/
Dacenic.c868 u32 tig_ver, mac1, mac2, tmp, pci_state; in ace_init() local
975 mac2 = 0; in ace_init()
979 mac2 = mac2 << 8; in ace_init()
985 mac2 |= (t & 0xff); in ace_init()
989 writel(mac2, &regs->MacAddrLo); in ace_init()
993 dev->dev_addr[2] = (mac2 >> 24) & 0xff; in ace_init()
994 dev->dev_addr[3] = (mac2 >> 16) & 0xff; in ace_init()
995 dev->dev_addr[4] = (mac2 >> 8) & 0xff; in ace_init()
996 dev->dev_addr[5] = mac2 & 0xff; in ace_init()
/drivers/scsi/qla4xxx/
Dql4_nvram.h127 u8 mac2[6]; /* x26 */ member
/drivers/net/wireless/ti/wl12xx/
Dmain.c1503 u32 mac1, mac2; in wl12xx_get_fuse_mac() local
1521 ret = wlcore_read32(wl, WL12XX_REG_FUSE_BD_ADDR_2, &mac2); in wl12xx_get_fuse_mac()
1526 wl->fuse_oui_addr = ((mac2 & 0xffff) << 8) + in wl12xx_get_fuse_mac()
/drivers/net/wireless/ti/wl18xx/
Dmain.c1477 u32 mac1, mac2; in wl18xx_get_mac() local
1488 ret = wlcore_read32(wl, WL18XX_REG_FUSE_BD_ADDR_2, &mac2); in wl18xx_get_mac()
1493 wl->fuse_oui_addr = ((mac2 & 0xffff) << 8) + in wl18xx_get_mac()
/drivers/atm/
Diphase.c2275 u16 mac2; local
2280 mac2 = cpu_to_be16(le16_to_cpu(readl(iadev->reg+IPHASE5575_MAC2)));
2281 IF_INIT(printk("ESI: 0x%08x%04x\n", mac1, mac2);)
2286 dev->esi[i+MAC1_LEN] = mac2 >>(8*(MAC2_LEN - 1 -i));
/drivers/net/wireless/intel/ipw2x00/
Dipw2200.h785 u8 mac2[6]; member