Searched refs:ivp (Results 1 - 21 of 21) sorted by relevance

/freebsd-10.0-release/sys/net80211/
H A Dieee80211_crypto_ccmp.c145 uint8_t *ivp; local
156 ivp = mtod(m, uint8_t *);
157 ovbcopy(ivp + ccmp.ic_header, ivp, hdrlen);
158 ivp += hdrlen;
161 ivp[0] = k->wk_keytsc >> 0; /* PN0 */
162 ivp[1] = k->wk_keytsc >> 8; /* PN1 */
163 ivp[2] = 0; /* Reserved */
164 ivp[3] = keyid | IEEE80211_WEP_EXTIV; /* KeyID | ExtID */
165 ivp[
209 uint8_t *ivp, tid; local
[all...]
H A Dieee80211_crypto_wep.c129 uint8_t *ivp; local
140 ivp = mtod(m, uint8_t *);
141 ovbcopy(ivp + wep.ic_header, ivp, hdrlen);
142 ivp += hdrlen;
176 ivp[0] = iv >> 0;
177 ivp[1] = iv >> 8;
178 ivp[2] = iv >> 16;
180 ivp[2] = iv >> 0;
181 ivp[
[all...]
H A Dieee80211_crypto_none.c114 const uint8_t *ivp = (const uint8_t *)&wh[1]; local
123 "key id %u is not set (decap)", ivp[IEEE80211_WEP_IVLEN] >> 6);
H A Dieee80211_crypto_tkip.c160 uint8_t *ivp; local
184 ivp = mtod(m, uint8_t *);
185 memmove(ivp, ivp + tkip.ic_header, hdrlen);
186 ivp += hdrlen;
188 ivp[0] = k->wk_keytsc >> 8; /* TSC1 */
189 ivp[1] = (ivp[0] | 0x20) & 0x7f; /* WEP seed */
190 ivp[2] = k->wk_keytsc >> 0; /* TSC0 */
191 ivp[
255 uint8_t *ivp, tid; local
[all...]
/freebsd-10.0-release/sys/mips/cavium/cryptocteon/
H A Dcryptocteonvar.h37 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 Dcavium_crypto.c329 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 Dcryptocteon.c348 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-10.0-release/sys/opencrypto/
H A Dcryptosoft.c74 unsigned char *ivp, piv[EALG_MAX_BLOCK_LEN]; local
118 ivp = iv;
157 blk[j] ^= ivp[j];
166 ivp = iv;
172 if (ivp == iv)
181 blk[j] ^= ivp[j];
183 if (ivp == iv)
186 ivp = iv;
235 idat[j] ^= ivp[j];
238 ivp
[all...]
/freebsd-10.0-release/crypto/openssl/crypto/aes/
H A Daes_ige.c97 aes_block_t *ivp = (aes_block_t *)ivec; local
106 outp->data[n] = inp->data[n] ^ ivp->data[n];
110 ivp = outp;
116 memcpy(ivec, ivp->data, AES_BLOCK_SIZE);
152 aes_block_t *ivp = (aes_block_t *)ivec; local
165 outp->data[n] ^= ivp->data[n];
166 ivp = inp;
172 memcpy(ivec, ivp->data, AES_BLOCK_SIZE);
/freebsd-10.0-release/crypto/openssl/engines/
H A De_padlock.c928 unsigned char *ivp=ctx->iv; local
937 ivp[chunk] = *(out_arg++) = *(in_arg++) ^ ivp[chunk];
942 *(out_arg++) = c ^ ivp[chunk];
943 ivp[chunk++] = c, nbytes--;
953 *(out_arg++) = *(in_arg++) ^ ivp[chunk];
1087 unsigned char *ivp = cdata->iv; local
1089 if (iv != ivp) {
1090 memcpy(ivp, iv, AES_BLOCK_SIZE);
1091 iv = ivp;
1141 unsigned char *ivp = cdata->iv; local
[all...]
/freebsd-10.0-release/crypto/openssh/
H A Dcipher-aes.c76 u_char *cprev, *cnow, *plain, *ivp; local
107 ivp = (i == 1) ? c->r_iv : cnow-RIJNDAEL_BLOCKSIZE;
109 plain[j] ^= ivp[j];
/freebsd-10.0-release/crypto/openssl/crypto/aes/asm/
H A Daesni-sha1-x86_64.pl108 my ($in0,$out,$len,$key,$ivp,$ctx,$inp)=("%rdi","%rsi","%rdx","%rcx","%r8","%r9","%r10");
165 movdqu ($ivp),$iv # load IV
166 mov $ivp,88(%rsp) # save $ivp
169 my $rounds="${ivp}d";
594 mov 88(%rsp),$ivp # restore $ivp
606 movups $iv,($ivp) # write IV
637 my ($in0,$out,$len,$key,$ivp,$ctx,$inp)=("%rdi","%rsi","%rdx","%rcx","%r8","%r9","%r10");
684 vmovdqu ($ivp),
[all...]
H A Daes-s390x.pl1185 my $ivp="%r6";
1201 lg %r0,0($ivp) # copy ivec
1202 lg %r1,8($ivp)
1220 stg %r0,0($ivp)
1221 stg %r1,8($ivp)
1261 llgf $s0,0($ivp)
1262 llgf $s1,4($ivp)
1263 llgf $s2,8($ivp)
1264 llgf $s3,12($ivp)
1295 l${g} $ivp,
[all...]
H A Daesni-x86_64.pl190 $ivp="%r8"; # cbc, ctr, ...
869 movdqu ($ivp),$iv
949 movups ($ivp),$iv
1065 movdqu ($ivp),$ivec
1251 movups ($ivp),$inout0
1326 my ($key2,$ivp,$len_)=("%r8","%r9","%r9");
1350 movups ($ivp),@tweak[5] # load clear-text tweak
1740 movups ($ivp),@tweak[5] # load clear-text tweak
2150 # unsigned char *ivp,const int enc);
2166 movups ($ivp),
[all...]
H A Dvpaes-x86_64.pl860 my ($inp,$out,$len,$key,$ivp,$enc)=("%rdi","%rsi","%rdx","%rcx","%r8","%r9");
863 # unsigned char *ivp,const int enc);
891 movdqu ($ivp),%xmm6 # load IV
920 movdqu %xmm6,($ivp) # save IV
H A Dbsaes-x86_64.pl111 my ($inp,$out,$len,$key,$ivp)=("%rdi","%rsi","%rdx","%rcx");
1592 mov 0xa0(%rsp),$arg5 # pull ivp
1869 mov 0xa0(%rsp),$arg5 # pull ivp
2111 mov 0xa8(%rsp),$arg6 # pull ivp
2492 mov 0xa8(%rsp),$arg6 # pull ivp
/freebsd-10.0-release/sys/dev/ipw/
H A Dif_ipw.c438 struct ipw_vap *ivp; local
495 ivp = (struct ipw_vap *) malloc(sizeof(struct ipw_vap),
497 if (ivp == NULL)
499 vap = &ivp->vap;
503 ivp->newstate = vap->iv_newstate;
515 struct ipw_vap *ivp = IPW_VAP(vap); local
518 free(ivp, M_80211_VAP);
888 struct ipw_vap *ivp = IPW_VAP(vap); local
946 return ivp->newstate(vap, nstate, arg);
/freebsd-10.0-release/sys/fs/nfsserver/
H A Dnfs_nfsdport.c560 struct iovec *ivp = iv; local
583 ivp->iov_base = mtod(mp, caddr_t);
584 ivp->iov_len = mp->m_len;
586 ivp++;
708 struct iovec *ivp; local
715 MALLOC(ivp, struct iovec *, cnt * sizeof (struct iovec), M_TEMP,
717 uiop->uio_iov = iv = ivp;
726 ivp->iov_base = cp;
727 ivp->iov_len = i;
728 ivp
[all...]
/freebsd-10.0-release/sys/nfsserver/
H A Dnfs_serv.c674 struct iovec *ivp = iv; local
711 ivp->iov_base = mtod(mp, caddr_t);
712 ivp->iov_len = mp->m_len;
714 ivp++;
967 struct iovec *ivp; local
1086 ivp = malloc(cnt * sizeof (struct iovec), M_TEMP,
1088 uiop->uio_iov = iv = ivp;
1093 ivp->iov_base = mtod(mp, caddr_t);
1094 ivp->iov_len = mp->m_len;
1095 ivp
[all...]
/freebsd-10.0-release/sys/dev/iwi/
H A Dif_iwi.c505 struct iwi_vap *ivp; local
526 ivp = (struct iwi_vap *) malloc(sizeof(struct iwi_vap),
528 if (ivp == NULL)
530 vap = &ivp->iwi_vap;
535 ivp->iwi_newstate = vap->iv_newstate;
547 struct iwi_vap *ivp = IWI_VAP(vap); local
550 free(ivp, M_80211_VAP);
957 struct iwi_vap *ivp = IWI_VAP(vap); local
1012 return ivp->iwi_newstate(vap, nstate, arg);
/freebsd-10.0-release/sys/dev/iwn/
H A Dif_iwn.c912 struct iwn_vap *ivp; local
922 ivp = (struct iwn_vap *) malloc(sizeof(struct iwn_vap),
924 if (ivp == NULL)
926 vap = &ivp->iv_vap;
928 ivp->ctx = IWN_RXON_BSS_CTX;
929 IEEE80211_ADDR_COPY(ivp->macaddr, mac1);
932 ivp->iv_newstate = vap->iv_newstate;
946 struct iwn_vap *ivp = IWN_VAP(vap); local
950 free(ivp, M_80211_VAP);
2339 struct iwn_vap *ivp local
[all...]

Completed in 194 milliseconds