/freebsd-11-stable/sys/dev/iwm/ |
H A D | if_iwm_binding.h | 108 extern int iwm_mvm_binding_add_vif(struct iwm_softc *sc, struct iwm_vap *ivp); 109 extern int iwm_mvm_binding_remove_vif(struct iwm_softc *sc, struct iwm_vap *ivp);
|
H A D | if_iwm_time_event.h | 110 extern void iwm_mvm_protect_session(struct iwm_softc *sc, struct iwm_vap *ivp,
|
H A D | if_iwm_binding.c | 198 iwm_mvm_binding_update(struct iwm_softc *sc, struct iwm_vap *ivp, argument 212 data.ids[0] = ivp->id; 213 data.colors[0] = ivp->color; 221 iwm_mvm_binding_add_vif(struct iwm_softc *sc, struct iwm_vap *ivp) argument 223 if (!ivp->phy_ctxt) 231 if (iwm_mvm_sf_update(sc, ivp, FALSE)) 235 return iwm_mvm_binding_update(sc, ivp, ivp->phy_ctxt, TRUE); 239 iwm_mvm_binding_remove_vif(struct iwm_softc *sc, struct iwm_vap *ivp) argument 243 if (!ivp [all...] |
H A D | if_iwm_sta.h | 220 extern int iwm_mvm_drain_sta(struct iwm_softc *sc, struct iwm_vap *ivp,
|
H A D | if_iwm_time_event.c | 169 iwm_mvm_time_event_send_add(struct iwm_softc *sc, struct iwm_vap *ivp, argument 189 iwm_mvm_protect_session(struct iwm_softc *sc, struct iwm_vap *ivp, argument 196 htole32(IWM_FW_CMD_ID_AND_COLOR(ivp->id, ivp->color)); 212 iwm_mvm_time_event_send_add(sc, ivp, /*te_data*/NULL, &time_cmd);
|
H A D | if_iwm_sta.c | 155 struct iwm_vap *ivp = IWM_VAP(in->in_ni.ni_vap); local 159 htole32(IWM_FW_CMD_ID_AND_COLOR(ivp->id, ivp->color)), 216 iwm_mvm_drain_sta(struct iwm_softc *sc, struct iwm_vap *ivp, boolean_t drain) argument 223 htole32(IWM_FW_CMD_ID_AND_COLOR(ivp->id, ivp->color));
|
H A D | if_iwm_mac_ctxt.c | 262 struct iwm_vap *ivp = IWM_VAP(vap); local 274 cmd->id_and_color = htole32(IWM_FW_CMD_ID_AND_COLOR(ivp->id, 275 ivp->color)); 342 cmd->ac[txf].cw_min = htole16(ivp->queue_params[i].cw_min); 343 cmd->ac[txf].cw_max = htole16(ivp->queue_params[i].cw_max); 345 htole16(ivp->queue_params[i].edca_txop); 346 cmd->ac[txf].aifsn = ivp->queue_params[i].aifsn; 350 if (ivp->have_wme)
|
H A D | if_iwm_power.c | 289 struct iwm_vap *ivp = IWM_VAP(vap); local 291 cmd->id_and_color = htole32(IWM_FW_CMD_ID_AND_COLOR(ivp->id, 292 ivp->color));
|
H A D | if_iwm.c | 3879 iwm_mvm_update_quotas(struct iwm_softc *sc, struct iwm_vap *ivp) argument 3890 if (ivp) { 3891 id = ivp->phy_ctxt->id; 3893 colors[id] = ivp->phy_ctxt->color; 4352 struct iwm_vap *ivp = IWM_VAP(vap); local 4378 error = ivp->iv_newstate(vap, nstate, arg); 4429 myerr = ivp->iv_newstate(vap, nstate, arg); 4444 error = iwm_mvm_binding_remove_vif(sc, ivp); 4450 ivp->phy_ctxt = NULL; 4490 iwm_mvm_update_quotas(sc, ivp); 6195 struct iwm_vap *ivp = IWM_VAP(vap); local 6329 struct iwm_vap *ivp; local 6359 struct iwm_vap *ivp = IWM_VAP(vap); local [all...] |
/freebsd-11-stable/sys/net80211/ |
H A D | ieee80211_crypto_ccmp.c | 140 ccmp_setiv(struct ieee80211_key *k, uint8_t *ivp) argument 149 ivp[0] = k->wk_keytsc >> 0; /* PN0 */ 150 ivp[1] = k->wk_keytsc >> 8; /* PN1 */ 151 ivp[2] = 0; /* Reserved */ 152 ivp[3] = keyid | IEEE80211_WEP_EXTIV; /* KeyID | ExtID */ 153 ivp[4] = k->wk_keytsc >> 16; /* PN2 */ 154 ivp[5] = k->wk_keytsc >> 24; /* PN3 */ 155 ivp[6] = k->wk_keytsc >> 32; /* PN4 */ 156 ivp[7] = k->wk_keytsc >> 40; /* PN5 */ 167 uint8_t *ivp; local 223 uint8_t *ivp, tid; local [all...] |
H A D | ieee80211_crypto_none.c | 94 none_setiv(struct ieee80211_key *k, uint8_t *ivp) argument 125 const uint8_t *ivp = (const uint8_t *)&wh[1]; local 134 "key id %u is not set (decap)", ivp[IEEE80211_WEP_IVLEN] >> 6);
|
H A D | ieee80211_crypto_wep.c | 123 wep_setiv(struct ieee80211_key *k, uint8_t *ivp) argument 164 ivp[0] = iv >> 0; 165 ivp[1] = iv >> 8; 166 ivp[2] = iv >> 16; 168 ivp[2] = iv >> 0; 169 ivp[1] = iv >> 8; 170 ivp[0] = iv >> 16; 172 ivp[3] = keyid; 183 uint8_t *ivp; local 194 ivp [all...] |
H A D | ieee80211_crypto_tkip.c | 152 tkip_setiv(struct ieee80211_key *k, uint8_t *ivp) argument 161 ivp[0] = k->wk_keytsc >> 8; /* TSC1 */ 162 ivp[1] = (ivp[0] | 0x20) & 0x7f; /* WEP seed */ 163 ivp[2] = k->wk_keytsc >> 0; /* TSC0 */ 164 ivp[3] = keyid | IEEE80211_WEP_EXTIV; /* KeyID | ExtID */ 165 ivp[4] = k->wk_keytsc >> 16; /* TSC2 */ 166 ivp[5] = k->wk_keytsc >> 24; /* TSC3 */ 167 ivp[6] = k->wk_keytsc >> 32; /* TSC4 */ 168 ivp[ 180 uint8_t *ivp; local 265 uint8_t *ivp, tid; local [all...] |
/freebsd-11-stable/sys/mips/cavium/cryptocteon/ |
H A D | cryptocteonvar.h | 37 typedef int octo_encrypt_t(struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp); 38 typedef int octo_decrypt_t(struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp);
|
H A D | cavium_crypto.c | 329 int icv_off, uint8_t *ivp) 336 if (__predict_false(od == NULL || iov==NULL || iovlen==0 || ivp==NULL || 340 "icv_off=%d ivp=%p\n", __func__, od, iov, iovlen, 341 auth_off, auth_len, crypt_off, crypt_len, icv_off, ivp); 347 CVMX_PREFETCH0(ivp); 364 CVMX_MT_3DES_IV(* (uint64_t *) ivp); 388 int icv_off, uint8_t *ivp) 395 if (__predict_false(od == NULL || iov==NULL || iovlen==0 || ivp==NULL || 399 "icv_off=%d ivp=%p\n", __func__, od, iov, iovlen, 400 auth_off, auth_len, crypt_off, crypt_len, icv_off, ivp); 324 octo_des_cbc_encrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument 383 octo_des_cbc_decrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument 443 octo_aes_cbc_encrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument 512 octo_aes_cbc_decrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument 583 octo_null_md5_encrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument 685 octo_null_sha1_encrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument 790 octo_des_cbc_md5_encrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument 938 octo_des_cbc_md5_decrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument 1089 octo_des_cbc_sha1_encrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument 1240 octo_des_cbc_sha1_decrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument 1393 octo_aes_cbc_md5_encrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument 1570 octo_aes_cbc_md5_decrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument 1746 octo_aes_cbc_sha1_encrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument 1942 octo_aes_cbc_sha1_decrypt( struct octo_sess *od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, int crypt_len, int icv_off, uint8_t *ivp) argument [all...] |
H A D | cryptocteon.c | 348 unsigned char *ivp = NULL; local 420 ivp = enccrd->crd_iv; 422 ivp = iv_data; 424 enccrd->crd_inject, od->octo_ivsize, (caddr_t) ivp); 496 auth_off, auth_len, crypt_off, crypt_len, icv_off, ivp); local 499 auth_off, auth_len, crypt_off, crypt_len, icv_off, ivp); local
|
/freebsd-11-stable/crypto/openssl/crypto/aes/ |
H A D | aes_ige.c | 97 aes_block_t *ivp = (aes_block_t *) ivec; local 105 outp->data[n] = inp->data[n] ^ ivp->data[n]; 110 ivp = outp; 116 memcpy(ivec, ivp->data, AES_BLOCK_SIZE); 149 aes_block_t *ivp = (aes_block_t *) ivec; local 162 outp->data[n] ^= ivp->data[n]; 163 ivp = inp; 169 memcpy(ivec, ivp->data, AES_BLOCK_SIZE);
|
/freebsd-11-stable/crypto/openssl/engines/ |
H A D | e_padlock.c | 932 unsigned char *ivp = ctx->iv; local 941 ivp[chunk] = *(out_arg++) = *(in_arg++) ^ ivp[chunk]; 946 *(out_arg++) = c ^ ivp[chunk]; 947 ivp[chunk++] = c, nbytes--; 957 *(out_arg++) = *(in_arg++) ^ ivp[chunk]; 1099 unsigned char *ivp = cdata->iv; local 1101 if (iv != ivp) { 1102 memcpy(ivp, iv, AES_BLOCK_SIZE); 1103 iv = ivp; 1154 unsigned char *ivp = cdata->iv; local [all...] |
/freebsd-11-stable/crypto/openssh/ |
H A D | cipher-aes.c | 76 u_char *cprev, *cnow, *plain, *ivp; local 107 ivp = (i == 1) ? c->r_iv : cnow-RIJNDAEL_BLOCKSIZE; 109 plain[j] ^= ivp[j];
|
/freebsd-11-stable/sys/netipsec/ |
H A D | xform_esp.c | 300 uint8_t *ivp; local 434 ivp = &crde->crd_iv[0]; 440 memcpy(ivp, sav->key_enc->key_data + 445 be32enc(&ivp[sav->ivlen + 4], 1); 448 m_copydata(m, skip + hlen - sav->ivlen, sav->ivlen, &ivp[4]); 673 uint8_t *ivp; local 855 ivp = &crde->crd_iv[0]; 861 memcpy(ivp, sav->key_enc->key_data + 863 be64enc(&ivp[4], cntr); 867 be32enc(&ivp[sa [all...] |
/freebsd-11-stable/sys/opencrypto/ |
H A D | cryptosoft.c | 88 unsigned char *ivp, *nivp, iv2[EALG_MAX_BLOCK_LEN]; local 165 ivp = iv; 205 blk[j] ^= ivp[j]; 214 ivp = iv; 220 nivp = (ivp == iv) ? iv2 : iv; 227 blk[j] ^= ivp[j]; 229 ivp = nivp; 270 idat[j] ^= ivp[j]; 273 ivp = idat; 279 nivp = (ivp [all...] |
/freebsd-11-stable/crypto/openssl/crypto/aes/asm/ |
H A D | aesni-sha256-x86_64.pl | 92 ($inp, $out, $len, $key, $ivp, $ctx, $in0) = 355 mov $ivp,$_ivp 382 vmovdqu ($ivp),$iv # load IV 594 mov $_ivp,$ivp 596 vmovdqu $iv,($ivp) # output IV 653 mov $ivp,$_ivp 680 vmovdqu ($ivp),$iv # load IV 845 mov $_ivp,$ivp 847 vmovdqu $iv,($ivp) # output IV 950 mov $ivp, [all...] |
H A D | aes-s390x.pl | 1181 my $ivp="%r6"; 1197 lg %r0,0($ivp) # copy ivec 1198 lg %r1,8($ivp) 1216 stg %r0,0($ivp) 1217 stg %r1,8($ivp) 1257 llgf $s0,0($ivp) 1258 llgf $s1,4($ivp) 1259 llgf $s2,8($ivp) 1260 llgf $s3,12($ivp) 1291 l${g} $ivp, [all...] |
H A D | aesni-sha1-x86_64.pl | 143 my ($in0,$out,$len,$key,$ivp,$ctx,$inp)=("%rdi","%rsi","%rdx","%rcx","%r8","%r9","%r10"); 211 movdqu ($ivp),$iv # load IV 212 mov $ivp,88(%rsp) # save $ivp 215 my $rounds="${ivp}d"; 687 mov 88(%rsp),$ivp # restore $ivp 699 movups $iv,($ivp) # write IV 729 ($in0,$out,$len,$key,$ivp,$ctx,$inp)=("%rdi","%rsi","%rdx","%rcx","%r8","%r9","%r10"); 858 movdqu ($ivp), [all...] |
H A D | aesv8-armx.pl | 338 my ($inp,$out,$len,$key,$ivp)=map("x$_",(0..4)); my $enc="w5"; 372 vld1.8 {$ivec},[$ivp] 647 vst1.8 {$ivec},[$ivp] 664 my ($inp,$out,$len,$key,$ivp)=map("x$_",(0..4)); 695 ldr $ctr, [$ivp, #12] 696 vld1.32 {$dat0},[$ivp]
|