Home
last modified time | relevance | path

Searched refs:macbuf (Results 1 – 13 of 13) sorted by relevance

/freebsd-13.1/contrib/netbsd-tests/crypto/opencrypto/
H A Dh_gcm.c58 unsigned char macbuf[16]; in main() local
77 memset(macbuf, 0, sizeof(macbuf)); in main()
83 co.mac = macbuf; in main()
91 if (memcmp(macbuf, hash, sizeof(hash))) in main()
102 for (i = 0; i < sizeof(macbuf); i++) in main()
103 printf("%02x ", macbuf[i]); in main()
108 memset(macbuf, 0, sizeof(macbuf)); in main()
114 co.mac = macbuf; in main()
122 if (memcmp(macbuf, hash, sizeof(hash))) in main()
/freebsd-13.1/lib/libcompat/4.3/
H A Drexec.c68 char macbuf[4096]; variable
254 macros[macnum].mac_start = macbuf;
260 while (tmp != macbuf + 4096) {
275 if (tmp == macbuf + 4096) {
/freebsd-13.1/contrib/tnftp/src/
H A Druserpass.c228 macros[macnum].mac_start = macbuf; in ruserpass()
235 while (tmp != macbuf + 4096) { in ruserpass()
256 if (tmp == macbuf + 4096) { in ruserpass()
H A Dftp_var.h306 GLOBAL char macbuf[4096]; variable
H A Dcmds.c2448 macros[macnum].mac_start = macbuf; in macdef()
2452 while (tmp != macbuf+4096) { in macdef()
/freebsd-13.1/crypto/heimdal/appl/ftp/ftp/
H A Druserpass.c231 macros[macnum].mac_start = macbuf; in ruserpassword()
237 while (tmp != macbuf + 4096) { in ruserpassword()
252 if (tmp == macbuf + 4096) { in ruserpassword()
H A Dglobals.c73 char macbuf[4096]; variable
H A Dftp_var.h128 extern char macbuf[4096];
H A Dcmds.c2033 macros[macnum].mac_start = macbuf; in macdef()
2039 while (tmp != macbuf+4096) { in macdef()
/freebsd-13.1/sys/dev/hifn/
H A Dhifn7751.c2196 u_int8_t *macbuf = NULL; in hifn_intr() local
2205 macbuf = dma->result_bufs[i]; in hifn_intr()
2206 macbuf += 12; in hifn_intr()
2209 hifn_callback(sc, cmd, macbuf); in hifn_intr()
2540 u_int8_t *macbuf; in hifn_abort() local
2543 macbuf = dma->result_bufs[i]; in hifn_abort()
2544 macbuf += 12; in hifn_abort()
2546 macbuf = NULL; in hifn_abort()
2548 hifn_callback(sc, cmd, macbuf); in hifn_abort()
2653 if (macbuf != NULL) { in hifn_callback()
[all …]
/freebsd-13.1/sys/dev/tsec/
H A Dif_tsec.c572 uint32_t macbuf[2] = { 0, 0 }; in tsec_set_mac_address() local
578 KASSERT((ETHER_ADDR_LEN <= sizeof(macbuf)), in tsec_set_mac_address()
580 sizeof(macbuf))); in tsec_set_mac_address()
582 macbufp = (char *)macbuf; in tsec_set_mac_address()
590 TSEC_WRITE(sc, TSEC_REG_MACSTNADDR2, macbuf[1]); in tsec_set_mac_address()
591 TSEC_WRITE(sc, TSEC_REG_MACSTNADDR1, macbuf[0]); in tsec_set_mac_address()
/freebsd-13.1/crypto/openssh/
H A Dpacket.c1075 u_char type, *cp, macbuf[SSH_DIGEST_MAX_LENGTH]; in ssh_packet_send2_wrapped() local
1180 macbuf, sizeof(macbuf))) != 0) in ssh_packet_send2_wrapped()
1197 cp, len, macbuf, sizeof(macbuf))) != 0) in ssh_packet_send2_wrapped()
1202 if ((r = sshbuf_put(state->output, macbuf, mac->mac_len)) != 0) in ssh_packet_send2_wrapped()
/freebsd-13.1/sys/net/
H A Dieee8023ad_lacp.c2096 char macbuf[LACP_MACSTR_MAX+1]; in lacp_format_systemid() local
2100 lacp_format_mac(sysid->lsi_mac, macbuf, sizeof(macbuf))); in lacp_format_systemid()