Searched refs:mac (Results 151 - 175 of 646) sorted by relevance

1234567891011>>

/freebsd-11-stable/tools/tools/net80211/wlanwatch/
H A Dwlanwatch.c277 ether_sprintf(const uint8_t mac[6]) argument
282 mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]);
/freebsd-11-stable/sbin/ifconfig/
H A Diflagg.c172 lacp_format_mac(const uint8_t *mac, char *buf, size_t buflen) argument
175 (int)mac[0], (int)mac[1], (int)mac[2], (int)mac[3],
176 (int)mac[4], (int)mac[5]);
/freebsd-11-stable/sys/dev/cesa/
H A Dcesa.c1410 struct cryptoini *mac; local
1415 mac = NULL;
1420 mac = cri;
1430 if (!mac && cesa_is_hash(cri->cri_alg))
1431 mac = cri;
1433 if (cri->cri_next || !(enc && mac))
1438 (mac && (mac->cri_klen / 8) > CESA_MAX_MKEY_LEN))
1472 if (!error && mac) {
1473 switch (mac
1561 struct cryptodesc *mac; local
[all...]
/freebsd-11-stable/crypto/openssh/
H A Dkex.c47 #include "mac.h"
576 mac_clear(&newkeys->mac);
577 if (newkeys->mac.key) {
578 explicit_bzero(newkeys->mac.key, newkeys->mac.key_len);
579 free(newkeys->mac.key);
580 newkeys->mac.key = NULL;
582 free(newkeys->mac.name);
583 explicit_bzero(&newkeys->mac, sizeof(newkeys->mac));
672 choose_mac(struct ssh *ssh, struct sshmac *mac, char *client, char *server) argument
[all...]
/freebsd-11-stable/crypto/openssl/crypto/evp/
H A De_rc4_hmac_md5.c175 unsigned char mac[MD5_DIGEST_LENGTH]; local
209 MD5_Final(mac, &key->md);
211 MD5_Update(&key->md, mac, MD5_DIGEST_LENGTH);
212 MD5_Final(mac, &key->md);
214 if (CRYPTO_memcmp(out + plen, mac, MD5_DIGEST_LENGTH))
/freebsd-11-stable/sys/security/mac/
H A Dmac_inet6.c59 #include <security/mac/mac_framework.h>
60 #include <security/mac/mac_internal.h>
61 #include <security/mac/mac_policy.h>
H A Dmac_posix_sem.c54 #include <security/mac/mac_framework.h>
55 #include <security/mac/mac_internal.h>
56 #include <security/mac/mac_policy.h>
H A Dmac_system.c69 #include <security/mac/mac_framework.h>
70 #include <security/mac/mac_internal.h>
71 #include <security/mac/mac_policy.h>
/freebsd-11-stable/sys/dev/ixgbe/
H A Dixgbe_dcb.c178 && (hw->mac.type == ixgbe_mac_82598EB))
396 switch (hw->mac.type) {
427 switch (hw->mac.type) {
469 switch (hw->mac.type) {
510 switch (hw->mac.type) {
554 switch (hw->mac.type) {
593 switch (hw->mac.type) {
622 switch (hw->mac.type) {
666 hw->mac.ops.setup_rxpba(hw, dcb_config->num_tcs.pg_tcs,
669 switch (hw->mac
[all...]
H A Dif_ix.c392 switch (adapter->hw.mac.type) {
508 if (adapter->hw.mac.type == ixgbe_mac_82598EB) {
577 if (adapter->hw.mac.type != ixgbe_mac_82598EB) {
640 switch (hw->mac.type) {
649 switch (hw->mac.type) {
660 if (hw->mac.type != ixgbe_mac_82598EB) {
750 if (hw->mac.type != ixgbe_mac_82598EB) {
792 hw->mac.ops.setup_eee(hw, TRUE);
1038 ether_ifattach(ifp, adapter->hw.mac.addr);
1224 switch (hw->mac
[all...]
H A Dif_ixv.c329 hw->mac.type = ixgbe_mac_82599_vf;
332 hw->mac.type = ixgbe_mac_X540_vf;
335 hw->mac.type = ixgbe_mac_X550_vf;
338 hw->mac.type = ixgbe_mac_X550EM_x_vf;
341 hw->mac.type = ixgbe_mac_X550EM_a_vf;
367 error = hw->mac.ops.reset_hw(hw);
378 error = hw->mac.ops.init_hw(hw);
395 /* If no mac address was assigned, make a random one */
396 if (!ixv_check_ether_addr(hw->mac.addr)) {
401 bcopy(addr, hw->mac
[all...]
/freebsd-11-stable/contrib/netbsd-tests/crypto/opencrypto/
H A Dh_md5hmac.c48 unsigned char mac[16]; member in struct:__anon4681
155 cs.mac = CRYPTO_MD5_HMAC;
168 co.mac = buf;
173 if (memcmp(co.mac, tests[i].mac, sizeof(tests[i].mac)))
H A Dh_sha1hmac.c48 unsigned char mac[20]; member in struct:__anon4682
165 cs.mac = CRYPTO_SHA1_HMAC;
178 co.mac = buf;
183 if (memcmp(co.mac, &tests[i].mac, sizeof(tests[i].mac)))
/freebsd-11-stable/contrib/wpa/src/crypto/
H A Dcrypto.h29 * @mac: Buffer for the hash
32 int md4_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac);
39 * @mac: Buffer for the hash
42 int md5_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac);
50 * @mac: Buffer for the hash
54 u8 *mac);
76 * @mac: Buffer for the hash
80 u8 *mac);
87 * @mac: Buffer for the hash
91 u8 *mac);
[all...]
H A Dcrypto_openssl.c148 const u8 *addr[], const size_t *len, u8 *mac)
175 if (!EVP_DigestFinal(ctx, mac, &mac_len)) {
188 int md4_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument
190 return openssl_digest_vector(EVP_md4(), num_elem, addr, len, mac);
259 int md5_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument
261 return openssl_digest_vector(EVP_md5(), num_elem, addr, len, mac);
266 int sha1_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument
268 return openssl_digest_vector(EVP_sha1(), num_elem, addr, len, mac);
274 u8 *mac)
276 return openssl_digest_vector(EVP_sha256(), num_elem, addr, len, mac);
147 openssl_digest_vector(const EVP_MD *type, size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument
273 sha256_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument
282 sha384_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument
291 sha512_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument
1038 crypto_hash_finish(struct crypto_hash *ctx, u8 *mac, size_t *len) argument
1069 openssl_hmac_vector(const EVP_MD *type, const u8 *key, size_t key_len, size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac, unsigned int mdlen) argument
1101 hmac_md5_vector(const u8 *key, size_t key_len, size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument
1109 hmac_md5(const u8 *key, size_t key_len, const u8 *data, size_t data_len, u8 *mac) argument
1128 hmac_sha1_vector(const u8 *key, size_t key_len, size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument
1136 hmac_sha1(const u8 *key, size_t key_len, const u8 *data, size_t data_len, u8 *mac) argument
1145 hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument
1153 hmac_sha256(const u8 *key, size_t key_len, const u8 *data, size_t data_len, u8 *mac) argument
1164 hmac_sha384_vector(const u8 *key, size_t key_len, size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument
1172 hmac_sha384(const u8 *key, size_t key_len, const u8 *data, size_t data_len, u8 *mac) argument
1183 hmac_sha512_vector(const u8 *key, size_t key_len, size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument
1191 hmac_sha512(const u8 *key, size_t key_len, const u8 *data, size_t data_len, u8 *mac) argument
1209 omac1_aes_vector(const u8 *key, size_t key_len, size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument
1246 omac1_aes_128_vector(const u8 *key, size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument
1253 omac1_aes_128(const u8 *key, const u8 *data, size_t data_len, u8 *mac) argument
1259 omac1_aes_256(const u8 *key, const u8 *data, size_t data_len, u8 *mac) argument
[all...]
H A Dcrypto_libtomcrypt.c25 int md4_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument
33 md4_done(&md, mac);
60 int md5_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument
68 md5_done(&md, mac);
73 int sha1_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument
81 sha1_done(&md, mac);
215 int crypto_hash_finish(struct crypto_hash *ctx, u8 *mac, size_t *len) argument
223 if (mac == NULL || len == NULL) {
241 if (md5_done(&ctx->u.md, mac) != CRYPT_OK)
251 if (sha1_done(&ctx->u.md, mac) !
[all...]
/freebsd-11-stable/contrib/groff/src/roff/troff/
H A Dcharinfo.h29 macro *mac; member in class:charinfo
198 return mac;
H A Ddiv.cpp211 if (!rm || (mac = rm->to_macro()) == 0)
212 mac = new macro;
215 mac = new macro;
220 mac = new macro(1);
227 *mac = *m;
237 *m = *mac;
238 delete mac;
241 request_dictionary.define(nm, mac);
242 mac = 0;
258 mac
[all...]
/freebsd-11-stable/contrib/wpa/src/eap_common/
H A Deap_eke_common.h66 u8 mac; member in struct:eap_eke_session
82 u8 prf, u8 mac);
/freebsd-11-stable/sys/dev/mlx5/mlx5_core/
H A Dmlx5_mpfs.c42 mlx5_mpfs_add_mac(struct mlx5_core_dev *dev, u32 *p_index, const u8 *mac, argument
73 ether_addr_copy(&in_mac_addr[2], mac);
/freebsd-11-stable/sys/dev/e1000/
H A Dif_em.c565 /* Determine hardware and mac info */
581 if ((hw->mac.type == e1000_ich8lan) ||
582 (hw->mac.type == e1000_ich9lan) ||
583 (hw->mac.type == e1000_ich10lan) ||
584 (hw->mac.type == e1000_pchlan) ||
585 (hw->mac.type == e1000_pch2lan) ||
586 (hw->mac.type == e1000_pch_lpt)) {
608 else if (hw->mac.type >= e1000_pch_spt) {
681 hw->mac.autoneg = DO_AUTO_NEG;
696 adapter->hw.mac
[all...]
/freebsd-11-stable/sys/dev/cxgb/common/
H A Dcxgb_common.h712 int t3_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc);
729 void mac_prep(struct cmac *mac, adapter_t *adapter, int index);
753 int t3_mac_init(struct cmac *mac);
754 void t3b_pcs_reset(struct cmac *mac);
755 void t3c_pcs_force_los(struct cmac *mac);
756 void t3_mac_disable_exact_filters(struct cmac *mac);
757 void t3_mac_enable_exact_filters(struct cmac *mac);
758 int t3_mac_enable(struct cmac *mac, int which);
759 int t3_mac_disable(struct cmac *mac, int which);
760 int t3_mac_set_mtu(struct cmac *mac, unsigne
[all...]
/freebsd-11-stable/tools/tools/net80211/stumbler/
H A Dstumbler.c80 unsigned char mac[6]; member in struct:node_info
111 char* mac2str(unsigned char* mac) { argument
115 mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]);
224 mac2str(node->mac), wep2str(node->wep),
408 mvaddstr(y, x, mac2str(node->mac));
[all...]
/freebsd-11-stable/sys/dev/bwi/
H A Dif_bwi.c359 struct bwi_mac *mac; local
422 mac = &sc->sc_mac[i];
423 error = bwi_regwin_switch(sc, &mac->mac_regwin, &old);
427 error = bwi_mac_lateattach(mac);
440 mac = &sc->sc_mac[0];
441 phy = &mac->mac_phy;
449 error = bwi_mac_fw_alloc(mac);
586 const uint8_t mac[IEEE80211_ADDR_LEN])
609 mac);
888 KASSERT(sc->sc_nmac > 0, ("no mac'
583 bwi_vap_create(struct ieee80211com *ic, const char name[IFNAMSIZ], int unit, enum ieee80211_opmode opmode, int flags, const uint8_t bssid[IEEE80211_ADDR_LEN], const uint8_t mac[IEEE80211_ADDR_LEN]) argument
905 bwi_bus_init(struct bwi_softc *sc, struct bwi_mac *mac) argument
1211 struct bwi_mac *mac; local
1293 struct bwi_mac *mac; local
1459 struct bwi_mac *mac; local
1508 struct bwi_mac *mac; local
1685 struct bwi_mac *mac; local
1721 struct bwi_mac *mac; local
1750 struct bwi_mac *mac; local
2920 struct bwi_mac *mac; local
3112 struct bwi_mac *mac; local
3665 struct bwi_mac *mac; local
3697 struct bwi_mac *mac; local
3716 struct bwi_mac *mac; local
3737 struct bwi_mac *mac; local
3749 struct bwi_mac *mac; local
[all...]
/freebsd-11-stable/crypto/openssh/regress/
H A Dcipher-speed.sh14 for c in `${SSH} -Q cipher`; do n=0; for m in `${SSH} -Q mac`; do
15 trace "proto 2 cipher $c mac $m"
24 fail "ssh -2 failed with mac $m cipher $c"

Completed in 209 milliseconds

1234567891011>>