/freebsd-12-stable/sys/dev/iwm/ |
H A D | if_iwm_binding.h | 108 extern int iwm_binding_add_vif(struct iwm_softc *sc, struct iwm_vap *ivp); 109 extern int iwm_binding_remove_vif(struct iwm_softc *sc, struct iwm_vap *ivp);
|
H A D | if_iwm_time_event.h | 112 extern void iwm_protect_session(struct iwm_softc *sc, struct iwm_vap *ivp, 115 struct iwm_vap *ivp);
|
H A D | if_iwm_power.h | 97 struct iwm_vap *ivp);
|
H A D | if_iwm_binding.c | 199 iwm_binding_update(struct iwm_softc *sc, struct iwm_vap *ivp, argument 213 data.ids[0] = ivp->id; 214 data.colors[0] = ivp->color; 222 iwm_binding_add_vif(struct iwm_softc *sc, struct iwm_vap *ivp) argument 224 if (!ivp->phy_ctxt) 231 if (iwm_sf_update(sc, &ivp->iv_vap, FALSE)) 234 return iwm_binding_update(sc, ivp, ivp->phy_ctxt, TRUE); 238 iwm_binding_remove_vif(struct iwm_softc *sc, struct iwm_vap *ivp) argument 242 if (!ivp [all...] |
H A D | if_iwm_power.c | 204 struct iwm_vap *ivp, struct iwm_beacon_filter_cmd *cmd) 281 iwm_power_build_cmd(struct iwm_softc *sc, struct iwm_vap *ivp, argument 284 struct ieee80211vap *vap = &ivp->iv_vap; 290 cmd->id_and_color = htole32(IWM_FW_CMD_ID_AND_COLOR(ivp->id, 291 ivp->color)); 329 iwm_power_send_cmd(struct iwm_softc *sc, struct iwm_vap *ivp) argument 333 iwm_power_build_cmd(sc, ivp, &cmd); 341 _iwm_enable_beacon_filter(struct iwm_softc *sc, struct iwm_vap *ivp, argument 346 iwm_beacon_filter_set_cqm_params(sc, ivp, cmd); 356 iwm_enable_beacon_filter(struct iwm_softc *sc, struct iwm_vap *ivp) argument 203 iwm_beacon_filter_set_cqm_params(struct iwm_softc *sc, struct iwm_vap *ivp, struct iwm_beacon_filter_cmd *cmd) argument 390 struct iwm_vap *ivp = IWM_VAP(vap); local 411 iwm_power_set_ba(struct iwm_softc *sc, struct iwm_vap *ivp) argument [all...] |
H A D | if_iwm_sta.h | 220 extern int iwm_drain_sta(struct iwm_softc *sc, struct iwm_vap *ivp,
|
H A D | if_iwm_time_event.c | 295 iwm_time_event_send_add(struct iwm_softc *sc, struct iwm_vap *ivp, argument 346 iwm_protect_session(struct iwm_softc *sc, struct iwm_vap *ivp, argument 359 htole32(IWM_FW_CMD_ID_AND_COLOR(ivp->id, ivp->color)); 376 iwm_time_event_send_add(sc, ivp, /*te_data*/NULL, &time_cmd); 391 if (iwm_time_event_send_add(sc, ivp, /*te_data*/NULL, &time_cmd)) { 409 iwm_stop_session_protection(struct iwm_softc *sc, struct iwm_vap *ivp) argument 420 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)); 312 if (ivp->iv_auth) { 347 cmd->ac[txf].cw_min = htole16(ivp->queue_params[i].cw_min); 348 cmd->ac[txf].cw_max = htole16(ivp->queue_params[i].cw_max); 350 htole16(ivp->queue_params[i].edca_txop); 351 cmd->ac[txf].aifsn = ivp->queue_params[i].aifsn; 355 if (ivp->have_wme)
|
H A D | if_iwm_sta.c | 150 struct iwm_vap *ivp = IWM_VAP(in->in_ni.ni_vap); local 154 htole32(IWM_FW_CMD_ID_AND_COLOR(ivp->id, ivp->color)), 211 iwm_drain_sta(struct iwm_softc *sc, struct iwm_vap *ivp, boolean_t drain) argument 218 htole32(IWM_FW_CMD_ID_AND_COLOR(ivp->id, ivp->color));
|
/freebsd-12-stable/sys/net80211/ |
H A D | ieee80211_crypto_ccmp.c | 142 ccmp_setiv(struct ieee80211_key *k, uint8_t *ivp) argument 151 ivp[0] = k->wk_keytsc >> 0; /* PN0 */ 152 ivp[1] = k->wk_keytsc >> 8; /* PN1 */ 153 ivp[2] = 0; /* Reserved */ 154 ivp[3] = keyid | IEEE80211_WEP_EXTIV; /* KeyID | ExtID */ 155 ivp[4] = k->wk_keytsc >> 16; /* PN2 */ 156 ivp[5] = k->wk_keytsc >> 24; /* PN3 */ 157 ivp[6] = k->wk_keytsc >> 32; /* PN4 */ 158 ivp[7] = k->wk_keytsc >> 40; /* PN5 */ 170 uint8_t *ivp; local 241 uint8_t *ivp, tid; local [all...] |
H A D | ieee80211_crypto_none.c | 96 none_setiv(struct ieee80211_key *k, uint8_t *ivp) argument 127 const uint8_t *ivp = (const uint8_t *)&wh[1]; local 136 "key id %u is not set (decap)", ivp[IEEE80211_WEP_IVLEN] >> 6);
|
H A D | ieee80211_crypto_wep.c | 125 wep_setiv(struct ieee80211_key *k, uint8_t *ivp) argument 166 ivp[0] = iv >> 0; 167 ivp[1] = iv >> 8; 168 ivp[2] = iv >> 16; 170 ivp[2] = iv >> 0; 171 ivp[1] = iv >> 8; 172 ivp[0] = iv >> 16; 174 ivp[3] = keyid; 186 uint8_t *ivp; local 208 ivp [all...] |
H A D | ieee80211_crypto_tkip.c | 154 tkip_setiv(struct ieee80211_key *k, uint8_t *ivp) argument 163 ivp[0] = k->wk_keytsc >> 8; /* TSC1 */ 164 ivp[1] = (ivp[0] | 0x20) & 0x7f; /* WEP seed */ 165 ivp[2] = k->wk_keytsc >> 0; /* TSC0 */ 166 ivp[3] = keyid | IEEE80211_WEP_EXTIV; /* KeyID | ExtID */ 167 ivp[4] = k->wk_keytsc >> 16; /* TSC2 */ 168 ivp[5] = k->wk_keytsc >> 24; /* TSC3 */ 169 ivp[6] = k->wk_keytsc >> 32; /* TSC4 */ 170 ivp[ 183 uint8_t *ivp; local 296 uint8_t *ivp, tid; local [all...] |
/freebsd-12-stable/crypto/openssl/engines/ |
H A D | e_padlock.c | 326 unsigned char *ivp = EVP_CIPHER_CTX_iv_noconst(ctx); local 333 ivp[chunk] = *(out_arg++) = *(in_arg++) ^ ivp[chunk]; 338 *(out_arg++) = c ^ ivp[chunk]; 339 ivp[chunk++] = c, nbytes--; 357 unsigned char *ivp = cdata->iv; local 365 padlock_aes_block(ivp, ivp, cdata); 370 *(out_arg++) = c ^ *ivp; 371 *(ivp 400 unsigned char *ivp = EVP_CIPHER_CTX_iv_noconst(ctx); local 425 unsigned char *ivp = cdata->iv; local [all...] |
/freebsd-12-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 | 331 int icv_off, uint8_t *ivp) 338 if (__predict_false(od == NULL || iov==NULL || iovlen==0 || ivp==NULL || 342 "icv_off=%d ivp=%p\n", __func__, od, iov, iovlen, 343 auth_off, auth_len, crypt_off, crypt_len, icv_off, ivp); 349 CVMX_PREFETCH0(ivp); 366 CVMX_MT_3DES_IV(* (uint64_t *) ivp); 390 int icv_off, uint8_t *ivp) 397 if (__predict_false(od == NULL || iov==NULL || iovlen==0 || ivp==NULL || 401 "icv_off=%d ivp=%p\n", __func__, od, iov, iovlen, 402 auth_off, auth_len, crypt_off, crypt_len, icv_off, ivp); 326 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 385 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 445 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 514 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 585 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 687 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 792 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 940 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 1091 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 1242 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 1395 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 1572 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 1748 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 1944 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 | 270 unsigned char *ivp = NULL; local 339 ivp = enccrd->crd_iv; 341 ivp = iv_data; 343 enccrd->crd_inject, od->octo_ivsize, (caddr_t) ivp); 415 auth_off, auth_len, crypt_off, crypt_len, icv_off, ivp); local 418 auth_off, auth_len, crypt_off, crypt_len, icv_off, ivp); local
|
/freebsd-12-stable/crypto/openssl/crypto/aes/ |
H A D | aes_ige.c | 62 aes_block_t *ivp = (aes_block_t *) ivec; 70 outp->data[n] = inp->data[n] ^ ivp->data[n]; 75 ivp = outp; 81 memcpy(ivec, ivp->data, AES_BLOCK_SIZE); 114 aes_block_t *ivp = (aes_block_t *) ivec; 127 outp->data[n] ^= ivp->data[n]; 128 ivp = inp; 134 memcpy(ivec, ivp->data, AES_BLOCK_SIZE);
|
/freebsd-12-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-12-stable/crypto/openssl/crypto/aes/asm/ |
H A D | aesfx-sparcv9.pl | 390 my ($inp,$out,$len,$key,$ivp,$dir) = map("%i$_",(0..5)); 412 ld [$ivp + 0], %f0 ! load ivec 414 ld [$ivp + 4], %f1 416 ld [$ivp + 8], %f2 417 ld [$ivp + 12], %f3 515 st %f0, [$ivp + 0] ! output ivec 516 st %f1, [$ivp + 4] 517 st %f2, [$ivp + 8] 518 st %f3, [$ivp + 12] 640 st %f0, [$ivp [all...] |
H A D | aes-s390x.pl | 1187 my $ivp="%r6"; 1203 lg %r0,0($ivp) # copy ivec 1204 lg %r1,8($ivp) 1222 stg %r0,0($ivp) 1223 stg %r1,8($ivp) 1263 llgf $s0,0($ivp) 1264 llgf $s1,4($ivp) 1265 llgf $s2,8($ivp) 1266 llgf $s3,12($ivp) 1297 l${g} $ivp, [all...] |
H A D | aesni-sha1-x86_64.pl | 159 my ($in0,$out,$len,$key,$ivp,$ctx,$inp)=("%rdi","%rsi","%rdx","%rcx","%r8","%r9","%r10"); 235 movdqu ($ivp),$iv # load IV 236 mov $ivp,88(%rsp) # save $ivp 239 my $rounds="${ivp}d"; 711 mov 88(%rsp),$ivp # restore $ivp 723 movups $iv,($ivp) # write IV 762 ($in0,$out,$len,$key,$ivp,$ctx,$inp)=("%rdi","%rsi","%rdx","%rcx","%r8","%r9","%r10"); 901 movdqu ($ivp), [all...] |
H A D | aesni-sha256-x86_64.pl | 103 ($inp, $out, $len, $key, $ivp, $ctx, $in0) = 376 mov $ivp,$_ivp 404 vmovdqu ($ivp),$iv # load IV 616 mov $_ivp,$ivp 619 vmovdqu $iv,($ivp) # output IV 692 mov $ivp,$_ivp 720 vmovdqu ($ivp),$iv # load IV 885 mov $_ivp,$ivp 888 vmovdqu $iv,($ivp) # output IV 1007 mov $ivp, [all...] |
/freebsd-12-stable/sys/netipsec/ |
H A D | xform_esp.c | 300 uint8_t *ivp; local 445 ivp = &crde->crd_iv[0]; 451 memcpy(ivp, sav->key_enc->key_data + 456 be32enc(&ivp[sav->ivlen + 4], 1); 459 m_copydata(m, skip + hlen - sav->ivlen, sav->ivlen, &ivp[4]); 682 uint8_t *ivp; local 865 ivp = &crde->crd_iv[0]; 871 memcpy(ivp, sav->key_enc->key_data + 873 be64enc(&ivp[4], cntr); 877 be32enc(&ivp[sa [all...] |
/freebsd-12-stable/sys/opencrypto/ |
H A D | cryptosoft.c | 87 unsigned char *ivp, *nivp, iv2[EALG_MAX_BLOCK_LEN]; local 164 ivp = iv; 204 blk[j] ^= ivp[j]; 213 ivp = iv; 219 nivp = (ivp == iv) ? iv2 : iv; 226 blk[j] ^= ivp[j]; 228 ivp = nivp; 279 idat[j] ^= ivp[j]; 282 ivp = idat; 288 nivp = (ivp [all...] |