Home
last modified time | relevance | path

Searched refs:mac_buf (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/common/crypto/modes/
H A Dccm.c65 uint8_t *mac_buf; in ccm_mode_encrypt_contiguous_blocks() local
105 xor_block(blockp, mac_buf); in ccm_mode_encrypt_contiguous_blocks()
106 encrypt_block(ctx->ccm_keysched, mac_buf, mac_buf); in ccm_mode_encrypt_contiguous_blocks()
246 xor_block(macp, mac_buf); in ccm_encrypt_final()
247 encrypt_block(ctx->ccm_keysched, mac_buf, mac_buf); in ccm_encrypt_final()
562 xor_block(macp, mac_buf); in ccm_decrypt_final()
563 encrypt_block(ctx->ccm_keysched, mac_buf, mac_buf); in ccm_decrypt_final()
796 xor_block(ivp, mac_buf); in ccm_init()
799 encrypt_block(ctx->ccm_keysched, mac_buf, mac_buf); in ccm_init()
822 encrypt_block(ctx->ccm_keysched, mac_buf, mac_buf); in ccm_init()
[all …]
/illumos-gate/usr/src/stand/lib/inet/
H A Dibd.c135 struct arp_packet *in = (struct arp_packet *)mac_state.mac_buf; in ibd_comarp()
177 len = prom_read(mac_state.mac_dev, mac_state.mac_buf, in ibd_comarp()
330 bzero(mac_state.mac_buf, sizeof (ipoib_ptxhdr_t)); in ibd_input()
341 len = prom_read(mac_state.mac_dev, mac_state.mac_buf, in ibd_input()
353 bkmem_free(mac_state.mac_buf, mac_state.mac_mtu); in ibd_input()
355 mac_state.mac_buf = bkmem_alloc(mac_state.mac_mtu); in ibd_input()
356 if (mac_state.mac_buf == NULL) { in ibd_input()
378 eh = (ipoib_ptxhdr_t *)mac_state.mac_buf; in ibd_input()
402 bcopy((caddr_t)(mac_state.mac_buf + offset), in ibd_input()
426 ea = (struct ibd_arp *)(mac_state.mac_buf + in ibd_input()
[all …]
H A Dethernet.c95 struct arp_packet *in = (struct arp_packet *)mac_state.mac_buf; in ether_comarp()
141 len = prom_read(mac_state.mac_dev, mac_state.mac_buf, in ether_comarp()
330 bzero(mac_state.mac_buf, sizeof (struct ether_header)); in ether_input()
341 len = prom_read(mac_state.mac_dev, mac_state.mac_buf, in ether_input()
353 bkmem_free(mac_state.mac_buf, mac_state.mac_mtu); in ether_input()
355 mac_state.mac_buf = bkmem_alloc(mac_state.mac_mtu); in ether_input()
356 if (mac_state.mac_buf == NULL) { in ether_input()
378 eh = (struct ether_header *)mac_state.mac_buf; in ether_input()
403 bcopy((caddr_t)(mac_state.mac_buf + offset), in ether_input()
428 ea = (struct ether_arp *)(mac_state.mac_buf + in ether_input()
[all …]
H A Dmac.c261 mac_state.mac_buf = bkmem_alloc(mac_state.mac_mtu); in mac_init()
262 if (mac_state.mac_buf == NULL) in mac_init()
276 if (mac_state.mac_buf != NULL) { in mac_fini()
277 bkmem_free(mac_state.mac_buf, mac_state.mac_mtu); in mac_fini()
278 mac_state.mac_buf = NULL; in mac_fini()
H A Dmac_impl.h45 caddr_t mac_buf; /* MTU sized buffer */ member