Searched refs:mac (Results 76 - 100 of 900) sorted by relevance

1234567891011>>

/freebsd-current/crypto/openssl/test/recipes/
H A D20-test_mac.t20 { cmd => [qw{openssl mac -digest SHA1 -macopt hexkey:000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F202122232425262728292A2B2C2D2E2F303132333435363738393A3B3C3D3E3F}],
25 { cmd => [qw{openssl mac -macopt digest:SHA1 -macopt hexkey:000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F202122232425262728292A2B2C2D2E2F303132333435363738393A3B3C3D3E3F}],
30 { cmd => [qw{openssl mac -cipher AES-256-GCM -macopt hexkey:4C973DBC7364621674F8B5B89E5C15511FCED9216490FB1C1A2CAA0FFE0407E5 -macopt hexiv:7AE8E2CA4EC500012E58495C}],
35 { cmd => [qw{openssl mac -macopt cipher:AES-256-GCM -macopt hexkey:4C973DBC7364621674F8B5B89E5C15511FCED9216490FB1C1A2CAA0FFE0407E5 -macopt hexiv:7AE8E2CA4EC500012E58495C}],
40 { cmd => [qw{openssl mac -macopt hexkey:404142434445464748494A4B4C4D4E4F505152535455565758595A5B5C5D5E5F -macopt xof:0}],
45 { cmd => [qw{openssl mac -macopt hexkey:404142434445464748494A4B4C4D4E4F505152535455565758595A5B5C5D5E5F -macopt }, 'custom:My Tagged Application'],
50 { cmd => [qw{openssl mac -macopt hexkey:404142434445464748494A4B4C4D4E4F505152535455565758595A5B5C5D5E5F -macopt xof:1 -macopt}, 'custom:My Tagged Application'],
58 { cmd => [qw{openssl mac -macopt hexkey:000102030405060708090A0B0C0D0E0F}],
66 { cmd => [qw{openssl mac -cipher AES-256-CBC -macopt hexkey:0B122AC8F34ED1FE082A3625D157561454167AC145A10BBF77C6A70596D574F1}],
71 { cmd => [qw{openssl mac
[all...]
/freebsd-current/sys/dev/mlx4/
H A Ddriver.h94 u64 mac = 0; local
98 mac <<= 8;
99 mac |= addr[i];
101 return mac;
/freebsd-current/sys/dev/mlx5/
H A Dmpfs.h30 int mlx5_mpfs_add_mac(struct mlx5_core_dev *dev, u32 *p_index, const u8 *mac,
/freebsd-current/sys/gnu/dev/bwn/phy_n/
H A Dif_bwn_phy_n_sprom.h51 int bwn_nphy_get_core_power_info(struct bwn_mac *mac, int core,
/freebsd-current/tools/tools/net80211/wlanstats/
H A Dwlanstats.h49 /* set the mac address of the associated station/ap */
50 void (*setstamac)(struct wlanstatfoo *, const uint8_t mac[]);
/freebsd-current/tools/tools/net80211/w00t/libw00t/
H A Dw00t.h32 int str2mac(char *mac, char *str);
33 void mac2str(char *str, char *mac);
43 int send_ack(int fd, char *mac);
46 int set_iface_mac(char *iface, char *mac);
/freebsd-current/tests/sys/mac/bsdextended/
H A DMakefile2 TESTSDIR= ${TESTSBASE}/sys/mac/bsdextended
/freebsd-current/tools/tools/ath/athstats/
H A Dathstats.h45 /* set the mac address of the associated station/ap */
46 void (*setstamac)(struct athstatfoo *, const uint8_t mac[]);
/freebsd-current/tests/sys/mac/portacl/
H A DMakefile4 TESTSDIR= ${TESTSBASE}/sys/mac/portacl
/freebsd-current/sys/contrib/dev/mediatek/mt76/mt7996/
H A DMakefile5 mt7996e-y := pci.o init.o dma.o eeprom.o main.o mcu.o mac.o \
/freebsd-current/share/doc/usd/22.trofftut/
H A DMakefile39 SRCS= tt.mac tt00 tt01 tt02 tt03 tt04 tt05 tt06 tt07 tt08 tt09 tt10 \
/freebsd-current/share/doc/psd/04.uprog/
H A DMakefile3 SRCS= p.mac p0 p1 p2 p3 p4 p5 p6 p8 p9
/freebsd-current/sys/security/mac/
H A Dmac_socket.c53 #include <sys/mac.h>
73 #include <security/mac/mac_framework.h>
74 #include <security/mac/mac_internal.h>
75 #include <security/mac/mac_policy.h>
525 const struct mac *mac)
534 error = mac_check_structmac_consistent(mac);
538 buffer = malloc(mac->m_buflen, M_MACTEMP, M_WAITOK);
539 error = copyinstr(mac->m_string, buffer, mac
524 mac_setsockopt_label(struct ucred *cred, struct socket *so, const struct mac *mac) argument
558 mac_getsockopt_label(struct ucred *cred, struct socket *so, const struct mac *mac) argument
597 mac_getsockopt_peerlabel(struct ucred *cred, struct socket *so, const struct mac *mac) argument
[all...]
/freebsd-current/sys/dev/ath/ath_hal/ar5211/
H A Dar5211_keycache.c78 * Sets the mac part of the specified key cache entry and mark it valid.
81 ar5211SetKeyCacheEntryMac(struct ath_hal *ah, uint16_t entry, const uint8_t *mac) argument
95 if (mac != AH_NULL) {
96 macHi = (mac[5] << 8) | mac[4];
97 macLo = (mac[3] << 24)| (mac[2] << 16)
98 | (mac[1] << 8) | mac[0];
116 const HAL_KEYVAL *k, const uint8_t *mac,
115 ar5211SetKeyCacheEntry(struct ath_hal *ah, uint16_t entry, const HAL_KEYVAL *k, const uint8_t *mac, int xorKey) argument
[all...]
/freebsd-current/sys/dev/ath/ath_hal/ar5210/
H A Dar5210_keycache.c74 * Sets the mac part of the specified key cache entry and mark it valid.
77 ar5210SetKeyCacheEntryMac(struct ath_hal *ah, uint16_t entry, const uint8_t *mac) argument
86 if (mac != AH_NULL) {
87 macHi = (mac[5] << 8) | mac[4];
88 macLo = (mac[3] << 24)| (mac[2] << 16)
89 | (mac[1] << 8) | mac[0];
110 const HAL_KEYVAL *k, const uint8_t *mac, in
109 ar5210SetKeyCacheEntry(struct ath_hal *ah, uint16_t entry, const HAL_KEYVAL *k, const uint8_t *mac, int xorKey) argument
[all...]
/freebsd-current/sys/dev/e1000/
H A De1000_82541.c221 struct e1000_mac_info *mac = &hw->mac; local
228 mac->mta_reg_count = 128;
230 mac->rar_entry_count = E1000_RAR_ENTRIES;
232 mac->asf_firmware_present = true;
237 mac->ops.get_bus_info = e1000_get_bus_info_pci_generic;
239 mac->ops.set_lan_id = e1000_set_lan_id_single_port;
241 mac->ops.reset_hw = e1000_reset_hw_82541;
243 mac->ops.init_hw = e1000_init_hw_82541;
245 mac
376 struct e1000_mac_info *mac = &hw->mac; local
586 struct e1000_mac_info *mac = &hw->mac; local
[all...]
H A De1000_manage.c79 if (!hw->mac.arc_subsystem_valid) {
141 hw->mac.tx_pkt_filtering = true;
144 if (!hw->mac.ops.check_mng_mode(hw)) {
145 hw->mac.tx_pkt_filtering = false;
146 return hw->mac.tx_pkt_filtering;
154 hw->mac.tx_pkt_filtering = false;
155 return hw->mac.tx_pkt_filtering;
173 hw->mac.tx_pkt_filtering = true;
174 return hw->mac.tx_pkt_filtering;
179 hw->mac
[all...]
/freebsd-current/contrib/wpa/src/crypto/
H A Dcrypto_gnutls.c21 const u8 *addr[], const size_t *len, u8 *mac)
36 memcpy(mac, p, gcry_md_get_algo_dlen(algo));
42 int md4_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument
44 return gnutls_digest_vector(GCRY_MD_MD4, num_elem, addr, len, mac);
71 int md5_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument
73 return gnutls_digest_vector(GCRY_MD_MD5, num_elem, addr, len, mac);
77 int sha1_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument
79 return gnutls_digest_vector(GCRY_MD_SHA1, num_elem, addr, len, mac);
83 int sha256_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument
85 return gnutls_digest_vector(GCRY_MD_SHA256, num_elem, addr, len, mac);
20 gnutls_digest_vector(int algo, size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument
89 sha384_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument
95 sha512_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument
101 gnutls_hmac_vector(int algo, const u8 *key, size_t key_len, size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument
128 hmac_md5_vector(const u8 *key, size_t key_len, size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument
136 hmac_md5(const u8 *key, size_t key_len, const u8 *data, size_t data_len, u8 *mac) argument
143 hmac_sha1_vector(const u8 *key, size_t key_len, size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument
151 hmac_sha1(const u8 *key, size_t key_len, const u8 *data, size_t data_len, u8 *mac) argument
160 hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument
168 hmac_sha256(const u8 *key, size_t key_len, const u8 *data, size_t data_len, u8 *mac) argument
179 hmac_sha384_vector(const u8 *key, size_t key_len, size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument
187 hmac_sha384(const u8 *key, size_t key_len, const u8 *data, size_t data_len, u8 *mac) argument
198 hmac_sha512_vector(const u8 *key, size_t key_len, size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument
206 hmac_sha512(const u8 *key, size_t key_len, const u8 *data, size_t data_len, u8 *mac) argument
[all...]
H A Dsha512.h15 const u8 *addr[], const size_t *len, u8 *mac);
17 size_t data_len, u8 *mac);
H A Dsha1.h15 const u8 *addr[], const size_t *len, u8 *mac);
17 u8 *mac);
/freebsd-current/tools/test/stress2/misc/
H A Dmac_chkexec.sh36 sysctl -a | ! grep -q security.mac.chkexec && echo "chkexec.ko must be loaded" && exit 1
49 sysctl security.mac.chkexec.enforce=1
53 sysctl security.mac.chkexec.enforce=0
/freebsd-current/sys/dev/usb/
H A Dusb_fdt_support.c102 uint8_t mac[sizeof(ue->ue_eaddr)]; local
104 "mac-address",
105 "local-mac-address"
111 proplen = OF_getprop(node, properties[i], mac, sizeof(mac));
112 if (proplen == sizeof(mac) && is_valid_mac_addr(mac)) {
113 memcpy(ue->ue_eaddr, mac, sizeof(ue->ue_eaddr));
/freebsd-current/sys/dev/ixgbe/
H A Dixgbe_x550.c55 struct ixgbe_mac_info *mac = &hw->mac; local
62 mac->ops.dmac_config = ixgbe_dmac_config_X550;
63 mac->ops.dmac_config_tcs = ixgbe_dmac_config_tcs_X550;
64 mac->ops.dmac_update_tcs = ixgbe_dmac_update_tcs_X550;
65 mac->ops.setup_eee = NULL;
66 mac->ops.set_source_address_pruning =
68 mac->ops.set_ethertype_anti_spoofing =
71 mac->ops.get_rtrup2tc = ixgbe_dcb_get_rtrup2tc_generic;
81 mac
606 struct ixgbe_mac_info *mac = &hw->mac; local
794 struct ixgbe_mac_info *mac = &hw->mac; local
852 struct ixgbe_mac_info *mac = &hw->mac; local
1687 struct ixgbe_mac_info *mac = &hw->mac; local
1756 struct ixgbe_mac_info *mac = &hw->mac; local
1826 struct ixgbe_mac_info *mac = &hw->mac; local
2677 struct ixgbe_mac_info *mac = &hw->mac; local
2829 struct ixgbe_mac_info *mac = &hw->mac; local
2900 struct ixgbe_mac_info *mac = &hw->mac; local
[all...]
/freebsd-current/crypto/openssl/ssl/record/
H A Dtls_pad.c27 unsigned char **mac,
37 unsigned char **mac,
45 unsigned char **mac,
54 * the MAC from the underlying record and places a pointer to it in |mac|. The
71 unsigned char **mac,
92 return ssl3_cbc_copy_mac(reclen, origreclen, recdata, mac, alloced,
99 * the MAC from the underlying record and places a pointer to it in |mac|. The
116 unsigned char **mac,
176 return ssl3_cbc_copy_mac(reclen, origreclen, recdata, mac, alloced,
182 * |recdata| to |*mac| i
68 ssl3_cbc_remove_padding_and_mac(size_t *reclen, size_t origreclen, unsigned char *recdata, unsigned char **mac, int *alloced, size_t block_size, size_t mac_size, OSSL_LIB_CTX *libctx) argument
113 tls1_cbc_remove_padding_and_mac(size_t *reclen, size_t origreclen, unsigned char *recdata, unsigned char **mac, int *alloced, size_t block_size, size_t mac_size, int aead, OSSL_LIB_CTX *libctx) argument
197 ssl3_cbc_copy_mac(size_t *reclen, size_t origreclen, unsigned char *recdata, unsigned char **mac, int *alloced, size_t block_size, size_t mac_size, size_t good, OSSL_LIB_CTX *libctx) argument
[all...]
/freebsd-current/contrib/ldns/ldns/
H A Dtsig.h44 * \param[in] wire needed to verify the mac
48 * \param[in] mac original mac
51 bool ldns_pkt_tsig_verify(ldns_pkt *pkt, const uint8_t *wire, size_t wire_size, const char *key_name, const char *key_data, const ldns_rdf *mac);
57 * \param[in] wire needed to verify the mac
61 * \param[in] mac original mac
63 components are used to verify the _mac. If non-zero, only the TSIG timers are used to verify the mac.
66 bool ldns_pkt_tsig_verify_next(ldns_pkt *pkt, const uint8_t *wire, size_t wire_size, const char *key_name, const char *key_data, const ldns_rdf *mac,

Completed in 308 milliseconds

1234567891011>>