Home
last modified time | relevance | path

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

/freebsd/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/lib/libcompat/4.3/
H A Drexec.c64 char macbuf[4096]; variable
249 macros[macnum].mac_start = macbuf; in ruserpass()
255 while (tmp != macbuf + 4096) { in ruserpass()
270 if (tmp == macbuf + 4096) { in ruserpass()
/freebsd/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/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/sys/dev/hifn/
H A Dhifn7751.c2192 u_int8_t *macbuf = NULL; in hifn_intr() local
2201 macbuf = dma->result_bufs[i]; in hifn_intr()
2202 macbuf += 12; in hifn_intr()
2205 hifn_callback(sc, cmd, macbuf); in hifn_intr()
2536 u_int8_t *macbuf; in hifn_abort() local
2539 macbuf = dma->result_bufs[i]; in hifn_abort()
2540 macbuf += 12; in hifn_abort()
2542 macbuf = NULL; in hifn_abort()
2544 hifn_callback(sc, cmd, macbuf); in hifn_abort()
2592 hifn_callback(struct hifn_softc *sc, struct hifn_command *cmd, u_int8_t *macbuf) in hifn_callback() argument
[all …]
/freebsd/crypto/openssl/ssl/record/
H A Dssl3_record.c1538 SSL_MAC_BUF macbuf = { NULL, 0 }; in dtls1_process_record() local
1613 enc_err = s->method->ssl3_enc->enc(s, rr, 1, 0, &macbuf, mac_size); in dtls1_process_record()
1646 if (i == 0 || macbuf.mac == NULL in dtls1_process_record()
1647 || CRYPTO_memcmp(md, macbuf.mac, mac_size) != 0) in dtls1_process_record()
1701 if (macbuf.alloced) in dtls1_process_record()
1702 OPENSSL_free(macbuf.mac); in dtls1_process_record()
/freebsd/sys/dev/tsec/
H A Dif_tsec.c562 uint32_t macbuf[2] = { 0, 0 }; in tsec_set_mac_address() local
568 KASSERT((ETHER_ADDR_LEN <= sizeof(macbuf)), in tsec_set_mac_address()
570 sizeof(macbuf))); in tsec_set_mac_address()
572 macbufp = (char *)macbuf; in tsec_set_mac_address()
580 TSEC_WRITE(sc, TSEC_REG_MACSTNADDR2, macbuf[1]); in tsec_set_mac_address()
581 TSEC_WRITE(sc, TSEC_REG_MACSTNADDR1, macbuf[0]); in tsec_set_mac_address()
/freebsd/crypto/openssh/
H A Dpacket.c1167 u_char type, *cp, macbuf[SSH_DIGEST_MAX_LENGTH]; in ssh_packet_send2_wrapped() local
1272 macbuf, sizeof(macbuf))) != 0) in ssh_packet_send2_wrapped()
1289 cp, len, macbuf, sizeof(macbuf))) != 0) in ssh_packet_send2_wrapped()
1294 if ((r = sshbuf_put(state->output, macbuf, mac->mac_len)) != 0) in ssh_packet_send2_wrapped()
/freebsd/sys/net/
H A Dieee8023ad_lacp.c2107 char macbuf[LACP_MACSTR_MAX+1]; in lacp_format_systemid() local
2111 lacp_format_mac(sysid->lsi_mac, macbuf, sizeof(macbuf))); in lacp_format_systemid()