Home
last modified time | relevance | path

Searched refs:macs (Results 1 – 25 of 43) sorted by relevance

12

/freebsd/crypto/openssh/regress/
H A Dssh-com.sh91 macs="hmac-md5"
95 macs="$macs hmac-sha1 hmac-sha1-96 hmac-md5-96"
99 macs="$macs hmac-sha1 hmac-sha1-96 hmac-md5-96"
103 for m in $macs; do
H A Dputty-ciphers.sh14 macs=""
17 macs="${macs} ${m}"
33 for m in default ${macs}; do
H A Dintegrity.sh10 macs=`${SSH} -Q mac`
13 macs="$macs `${SSH} -Q cipher-auth`"
23 for m in $macs; do
H A Dcipher-speed.sh8 macs=`${SSH} -Q MACs | tr '\n' , | sed 's/,$//'`
11 MACs $macs
H A Ddropbear-ciphers.sh16 macs=`$DBCLIENT -m help 2>&1 | awk '/ MACs: /{print $4}' | tr ',' ' '`
20 for m in $macs; do
/freebsd/sys/dev/wg/
H A Dwg_cookie.c143 struct cookie_macs *macs, uint8_t nonce[COOKIE_NONCE_SIZE], in cookie_checker_create_payload()
153 macs->mac1, COOKIE_MAC_SIZE, nonce, cc->cc_cookie_key); in cookie_checker_create_payload()
209 cookie_maker_mac(struct cookie_maker *cm, struct cookie_macs *macs, void *buf,
213 macs_mac1(macs, buf, len, cm->cm_mac1_key); in cookie_maker_mac()
214 memcpy(cm->cm_mac1_last, macs->mac1, COOKIE_MAC_SIZE); in cookie_maker_mac()
220 macs_mac2(macs, buf, len, cm->cm_cookie); in cookie_maker_mac()
222 bzero(macs->mac2, COOKIE_MAC_SIZE); in cookie_maker_mac()
229 cookie_checker_validate_macs(struct cookie_checker *cc, struct cookie_macs *macs,
241 if (timingsafe_bcmp(our_macs.mac1, macs->mac1, COOKIE_MAC_SIZE) != 0) in cookie_checker_validate_macs()
249 if (timingsafe_bcmp(our_macs.mac2, macs in cookie_checker_validate_macs()
144 cookie_checker_create_payload(struct cookie_checker * cc,struct cookie_macs * macs,uint8_t nonce[COOKIE_NONCE_SIZE],uint8_t ecookie[COOKIE_ENCRYPTED_SIZE],struct sockaddr * sa) cookie_checker_create_payload() argument
210 cookie_maker_mac(struct cookie_maker * cm,struct cookie_macs * macs,void * buf,size_t len) cookie_maker_mac() argument
230 cookie_checker_validate_macs(struct cookie_checker * cc,struct cookie_macs * macs,void * buf,size_t len,bool check_cookie,struct sockaddr * sa,struct vnet * vnet) cookie_checker_validate_macs() argument
283 macs_mac1(struct cookie_macs * macs,const void * buf,size_t len,const uint8_t key[COOKIE_KEY_SIZE]) macs_mac1() argument
293 macs_mac2(struct cookie_macs * macs,const void * buf,size_t len,const uint8_t key[COOKIE_COOKIE_SIZE]) macs_mac2() argument
[all...]
/freebsd/crypto/openssh/regress/unittests/kex/
H A Dtest_proposal.c91 char *prop[PROPOSAL_MAX], *kexalgs, *ciphers, *macs, *hkalgs; in kex_proposal_populate_tests() local
99 macs = mac_alg_list(','); in kex_proposal_populate_tests()
111 ciphers, macs, hkalgs, comp); in kex_proposal_populate_tests()
122 free(macs); in kex_proposal_populate_tests()
/freebsd/sys/contrib/dev/iwlwifi/fw/api/
H A Dbinding.h22 * @macs: array of MAC id and colors which belong to the binding,
32 __le32 macs[MAX_MACS_IN_BINDING]; member
42 * @macs: array of MAC id and colors which belong to the binding
53 __le32 macs[MAX_MACS_IN_BINDING]; member
/freebsd/crypto/openssh/
H A Dmac.c58 static const struct macalg macs[] = { variable
90 for (m = macs; m->name != NULL; m++) { in mac_alg_list()
129 for (m = macs; m->name != NULL; m++) { in mac_setup()
H A Dreadconf.h68 char *macs; /* SSH2 macs in order of preference. */ member
H A Dservconf.h115 char *macs; /* Supported SSH2 macs. */ member
/freebsd/sys/dev/iwm/
H A Dif_iwm_binding.c173 cmd.macs[i] = htole32(IWM_FW_CTXT_INVALID); in iwm_binding_cmd()
175 cmd.macs[i] = htole32(IWM_FW_CMD_ID_AND_COLOR(data->ids[i], in iwm_binding_cmd()
/freebsd/tools/tools/net80211/w00t/ap/
H A Dap.c211 unsigned char macs[6*3]; in read_preq() local
226 mac2str(macs, wh->i_addr2); in read_preq()
227 printf("Probe request for [%s] from %s\n", ptr, macs); in read_preq()
323 unsigned char macs[6*3]; in read_assoc() local
343 mac2str(macs, wh->i_addr2); in read_assoc()
344 printf("Assoc request for [%s] from %s\n", ptr, macs); in read_assoc()
/freebsd/crypto/openssl/providers/implementations/
H A Dbuild.info1 SUBDIRS=digests ciphers rands macs kdfs exchange keymgmt signature asymciphers \
/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Dbinding.c48 cmd.macs[i] = cpu_to_le32(FW_CTXT_INVALID); in iwl_mvm_binding_cmd()
50 cmd.macs[i] = cpu_to_le32(FW_CMD_ID_AND_COLOR(data->ids[i], in iwl_mvm_binding_cmd()
/freebsd/sys/dev/ath/ath_hal/ar5212/
H A Dar5212_attach.c292 } macs[] = { in ar5212IsMacSupported() local
308 for (i = 0; i < N(macs); i++) in ar5212IsMacSupported()
309 if (macs[i].version == macVersion && in ar5212IsMacSupported()
310 macs[i].revMin <= macRev && macRev <= macs[i].revMax) in ar5212IsMacSupported()
/freebsd/sys/netgraph/
H A Dng_macfilter.h99 struct ngm_macfilter_mac macs[]; /* Macs table */ member
H A Dng_macfilter.c114 (const struct ngm_macfilter_macs *)(buf - OFFSETOF(struct ngm_macfilter_macs, macs)); in macfilter_get_macs_count()
731 bcopy(mfp->mf_macs, &ngm_macs->macs[0], n * sizeof(struct ngm_macfilter_mac)); in ng_macfilter_rcvmsg()
/freebsd/crypto/openssl/ssl/record/
H A Dssl3_record.c989 SSL_MAC_BUF *macs, size_t macsize) in tls1_enc() argument
1229 if (macs != NULL) { in tls1_enc()
1233 macs[0].alloced = 0; in tls1_enc()
1236 (void **)&macs[0].mac, in tls1_enc()
1288 (macs != NULL) ? &macs[ctr].mac : NULL, in tls1_enc()
1289 (macs != NULL) ? &macs[ctr].alloced in tls1_enc()
/freebsd/crypto/openssl/apps/
H A Dlist.c259 STACK_OF(EVP_MAC) *macs = sk_EVP_MAC_new(mac_cmp); in list_macs()
262 if (macs == NULL) { in list_macs()
267 EVP_MAC_do_all_provided(app_get0_libctx(), collect_macs, macs); in list_macs()
268 sk_EVP_MAC_sort(macs); in list_macs()
269 for (i = 0; i < sk_EVP_MAC_num(macs); i++) { in list_macs()
270 const EVP_MAC *m = sk_EVP_MAC_value(macs, i); in list_macs()
299 sk_EVP_MAC_pop_free(macs, EVP_MAC_free); in list_macs()
/freebsd/sys/dev/qlnx/qlnxe/
H A Decore_sriov.h125 u8 macs[ECORE_ETH_VF_NUM_MAC_FILTERS][ETH_ALEN]; member
/freebsd/sys/dev/virtio/network/
H A Dif_vtnetvar.h291 uint8_t macs[VTNET_MAX_MAC_ENTRIES][ETHER_ADDR_LEN]; member
H A Dvirtio_net.h189 uint8_t macs[][ETHER_ADDR_LEN]; member
/freebsd/crypto/openssl/providers/
H A Dfips.module.sources578 providers/implementations/macs/cmac_prov.c
579 providers/implementations/macs/gmac_prov.c
580 providers/implementations/macs/hmac_prov.c
581 providers/implementations/macs/kmac_prov.c
/freebsd/sys/dev/malo/
H A Dif_malohal.c883 malo_hal_setmcast(struct malo_hal *mh, int nmc, const uint8_t macs[]) in malo_hal_setmcast() argument
894 memcpy(cmd->maclist, macs, nmc * IEEE80211_ADDR_LEN); in malo_hal_setmcast()

12