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

1234567891011>>

/freebsd-current/sys/dev/bwn/
H A Dif_bwn_util.h62 extern unsigned int bwn_sqrt(struct bwn_mac *mac, unsigned int x);
/freebsd-current/sys/contrib/dev/athk/ath12k/
H A DMakefile8 mac.o \
/freebsd-current/sys/contrib/dev/mediatek/mt76/mt7921/
H A DMakefile8 mt7921-common-y := mac.o mcu.o main.o init.o debugfs.o
/freebsd-current/sys/modules/mt76/mt7921/
H A DMakefile9 SRCS= init.c main.c mac.c mcu.c
/freebsd-current/libexec/rc/rc.d/
H A Dugidfw42 rulecount=$(sysctl -in security.mac.bsdextended.rule_count)
/freebsd-current/tools/tools/net80211/w00t/assoc/
H A Dassoc.c53 char *mac; member in struct:params
72 "-m\t<source mac>\n"
91 memcpy(wh->i_addr2, p->mac, 6);
234 int for_me(struct ieee80211_frame *wh, char *mac) argument
236 return memcmp(wh->i_addr1, mac, 6) == 0;
239 int from_ap(struct ieee80211_frame *wh, char *mac) argument
241 return memcmp(wh->i_addr2, mac, 6) == 0;
246 if (memcmp(wh->i_addr1, p->mac, 6) != 0)
265 if (!for_me(wh, p->mac))
269 if (memcmp(wh->i_addr2, p->mac,
652 char mac[6]; local
708 char mac[] = { 0x00, 0x00, 0xde, 0xfa, 0xce, 0xd }; local
[all...]
/freebsd-current/sys/contrib/openzfs/module/icp/io/
H A Dsha2_mod.c118 .mac = NULL,
604 * KCF software provider mac entry points.
788 sha2_mac_final(crypto_ctx_t *ctx, crypto_data_t *mac) argument
824 if ((mac->cd_length == 0) || (mac->cd_length < digest_len)) {
825 mac->cd_length = digest_len;
845 switch (mac->cd_format) {
855 memcpy((unsigned char *)mac->cd_raw.iov_base +
856 mac->cd_offset, digest, digest_len);
858 SHA2Final((unsigned char *)mac
900 sha2_mac_atomic(crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *data, crypto_data_t *mac, crypto_spi_ctx_template_t ctx_template) argument
1032 sha2_mac_verify_atomic(crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *data, crypto_data_t *mac, crypto_spi_ctx_template_t ctx_template) argument
[all...]
/freebsd-current/contrib/wpa/src/eap_common/
H A Deap_eke_common.c91 static int eap_eke_pnonce_len(u8 mac) argument
95 if (mac == EAP_EKE_MAC_HMAC_SHA1)
97 else if (mac == EAP_EKE_MAC_HMAC_SHA2_256)
106 static int eap_eke_pnonce_ps_len(u8 mac) argument
110 if (mac == EAP_EKE_MAC_HMAC_SHA1)
112 else if (mac == EAP_EKE_MAC_HMAC_SHA2_256)
445 if (sess->mac == EAP_EKE_PRF_HMAC_SHA1)
447 else if (sess->mac == EAP_EKE_PRF_HMAC_SHA2_256)
572 static int eap_eke_mac(u8 mac, const u8 *key, const u8 *data, size_t data_len, argument
575 if (mac
699 eap_eke_session_init(struct eap_eke_session *sess, u8 dhgroup, u8 encr, u8 prf, u8 mac) argument
[all...]
/freebsd-current/sys/contrib/dev/iwlwifi/mvm/
H A Dutils.c418 static void iwl_mvm_diversity_iter(void *_data, u8 *mac, argument
523 static void iwl_mvm_ll_iter(void *_data, u8 *mac, struct ieee80211_vif *vif) argument
567 static void iwl_mvm_bss_iface_iterator(void *_data, u8 *mac, argument
604 static void iwl_mvm_bss_find_iface_iterator(void *_data, u8 *mac, argument
633 static void iwl_mvm_sta_iface_iterator(void *_data, u8 *mac, argument
780 static void iwl_mvm_tcm_iter(void *_data, u8 *mac, struct ieee80211_vif *vif) argument
874 int mac)
876 u64 bytes = mvm->tcm.data[mac].uapsd_nonagg_detect.rx_bytes;
881 rate = ewma_rate_read(&mvm->tcm.data[mac].uapsd_nonagg_detect.rate);
883 if (!rate || mvm->tcm.data[mac]
872 iwl_mvm_check_uapsd_agg_expected_tpt(struct iwl_mvm *mvm, unsigned int elapsed, int mac) argument
915 iwl_mvm_tcm_iterator(void *_data, u8 *mac, struct ieee80211_vif *vif) argument
937 int ac, mac, i; local
1090 int mac; local
[all...]
/freebsd-current/sys/dev/e1000/
H A De1000_ich8lan.c236 if (hw->mac.type < e1000_pch_lpt) {
247 if (hw->mac.type >= e1000_pch_lpt) {
296 if (hw->mac.type < e1000_pch_lpt) {
347 switch (hw->mac.type) {
378 if ((hw->mac.type == e1000_pchlan) &&
390 if (hw->mac.type >= e1000_pch_lpt) {
442 if ((hw->mac.type == e1000_pch2lan) &&
492 switch (hw->mac.type) {
656 if (hw->mac.type >= e1000_pch_spt) {
713 if (hw->mac
736 struct e1000_mac_info *mac = &hw->mac; local
1562 struct e1000_mac_info *mac = &hw->mac; local
2762 e1000_calc_rx_da_crc(u8 mac[]) argument
4882 struct e1000_mac_info *mac = &hw->mac; local
5114 struct e1000_mac_info *mac = &hw->mac; local
[all...]
/freebsd-current/crypto/openssh/regress/
H A Dtry-ciphers.sh10 for m in `${SSH} -Q mac`; do
11 trace "cipher $c mac $m"
12 verbose "test $tid: cipher $c mac $m"
18 fail "ssh failed with mac $m cipher $c"
/freebsd-current/contrib/wpa/src/crypto/
H A Dsha384-internal.c21 * @mac: Buffer for the hash
25 u8 *mac)
34 if (sha384_done(&ctx, mac))
24 sha384_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) argument
H A Dsha256.h15 const u8 *addr[], const size_t *len, u8 *mac);
17 size_t data_len, u8 *mac);
H A Dsha384.h15 const u8 *addr[], const size_t *len, u8 *mac);
17 size_t data_len, u8 *mac);
/freebsd-current/sys/contrib/libsodium/src/libsodium/include/sodium/
H A Dcrypto_aead_xchacha20poly1305.h60 unsigned char *mac,
75 const unsigned char *mac,
H A Dcrypto_secretbox.h48 int crypto_secretbox_detached(unsigned char *c, unsigned char *mac,
57 const unsigned char *mac,
/freebsd-current/tests/sys/mac/portacl/
H A Dnobody_test.sh8 # security.mac.portacl.suser_exempt value doesn't affect unprivileged users
14 sysctl security.mac.portacl.suser_exempt=1 >/dev/null
27 sysctl security.mac.portacl.suser_exempt=0 >/dev/null
39 # Verify if security.mac.portacl.port_high works.
41 sysctl security.mac.portacl.port_high=7778 >/dev/null
56 sysctl security.mac.portacl.port_high=7776 >/dev/null
/freebsd-current/lib/libc/posix1e/
H A DMakefile.inc10 CONFS+= posix1e/mac.conf
38 mac.c \
87 mac.3 \
88 mac.conf.5 \
/freebsd-current/usr.sbin/iovctl/
H A Diovctl.c318 const uint8_t *mac; local
344 else if (strcasecmp(type, "unicast-mac") == 0) {
345 mac = nvlist_get_binary(parameter, DEFAULT_SCHEMA_NAME, &size);
346 printf(" (default = %02x:%02x:%02x:%02x:%02x:%02x)", mac[0],
347 mac[1], mac[2], mac[3], mac[4], mac[5]);
/freebsd-current/crypto/openssl/util/
H A Dmk-fipsmodule-cnf.pl43 module-mac = $module_mac
/freebsd-current/contrib/netbsd-tests/crypto/opencrypto/
H A Dh_xcbcmac.c54 unsigned char mac[12]; member in struct:__anon5186
85 cs.mac = CRYPTO_AES_XCBC_MAC_96;
101 co.mac = buf;
105 if (memcmp(buf, &tests[i].mac, sizeof(tests[i].mac)))
/freebsd-current/crypto/openssl/apps/
H A Dkdf.c35 {"mac", OPT_MAC, 's', "MAC"},
82 char *digest = NULL, *cipher = NULL, *mac = NULL; local
123 OPENSSL_free(mac);
124 mac = alloc_kdf_algorithm_name(&opts, "mac", opt_arg());
125 if (mac == NULL)
209 OPENSSL_free(mac);
/freebsd-current/crypto/openssl/demos/mac/
H A Dhmac-sha512.c80 EVP_MAC *mac = NULL; local
95 mac = EVP_MAC_fetch(library_context, "HMAC", propq);
96 if (mac == NULL) {
102 mctx = EVP_MAC_CTX_new(mac);
163 EVP_MAC_free(mac);
H A Dpoly1305.c38 * https://cr.yp.to/mac/poly1305-20050329.pdf
89 EVP_MAC *mac = NULL; local
104 mac = EVP_MAC_fetch(library_context, "POLY1305", propq);
105 if (mac == NULL) {
111 mctx = EVP_MAC_CTX_new(mac);
204 EVP_MAC_free(mac);
/freebsd-current/sys/dev/bxe/
H A Decore_sp.c438 * __ecore_vlan_mac_h_write_trylock - try getting the writer lock on vlan mac
461 * which wasn't able to run due to a taken lock on vlan mac head list.
491 * called due to vlan mac head list lock being taken.
510 * __ecore_vlan_mac_h_write_unlock - unlock the vlan mac head list writer lock
532 * ecore_vlan_mac_h_write_unlock - unlock the vlan mac head list writer lock
549 * __ecore_vlan_mac_h_read_lock - lock the vlan mac head list reader lock
569 * ecore_vlan_mac_h_read_lock - lock the vlan mac head list reader lock
589 * __ecore_vlan_mac_h_read_unlock - unlock the vlan mac head list reader lock
602 ECORE_ERR("Need to release vlan mac reader lock, but lock isn't taken\n");
624 * ecore_vlan_mac_h_read_unlock - unlock the vlan mac hea
986 uint8_t *mac = elem->cmd_data.vlan_mac.u.mac.mac; local
1083 ecore_vlan_mac_set_cfg_entry_e1x(struct bxe_softc *sc, struct ecore_vlan_mac_obj *o, bool add, int opcode, uint8_t *mac, uint16_t vlan_id, struct mac_configuration_entry *cfg_entry) argument
1112 ecore_vlan_mac_set_rdata_e1x(struct bxe_softc *sc, struct ecore_vlan_mac_obj *o, int type, int cam_offset, bool add, uint8_t *mac, uint16_t vlan_id, int opcode, struct mac_configuration_cmd *config) argument
1224 uint8_t *mac = elem->cmd_data.vlan_mac.u.vlan_mac.mac; local
1281 uint8_t *mac = elem->cmd_data.vlan_mac.u.vxlan_fltr.innermac; local
2824 ecore_mcast_bin_from_mac(uint8_t *mac) argument
2831 uint8_t mac[ETH_ALEN]; member in struct:ecore_mcast_mac_elem
3829 ecore_get_fw_mac_addr(uint16_t *fw_hi, uint16_t *fw_mid, uint16_t *fw_lo, uint8_t *mac) argument
[all...]

Completed in 168 milliseconds

1234567891011>>