/freebsd-9.3-release/sys/net80211/ |
H A D | ieee80211_crypto_ccmp.c | 145 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 D | ieee80211_crypto_wep.c | 129 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 D | ieee80211_crypto_none.c | 114 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 D | ieee80211_crypto_tkip.c | 160 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-9.3-release/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 | 348 int icv_off, uint8_t *ivp) 356 if (__predict_false(od == NULL || iov==NULL || iovlen==0 || ivp==NULL || 360 "icv_off=%d ivp=%p\n", __func__, od, iov, iovlen, 361 auth_off, auth_len, crypt_off, crypt_len, icv_off, ivp); 367 CVMX_PREFETCH0(ivp); 386 CVMX_MT_3DES_IV(* (uint64_t *) ivp); 411 int icv_off, uint8_t *ivp) 419 if (__predict_false(od == NULL || iov==NULL || iovlen==0 || ivp==NULL || 423 "icv_off=%d ivp=%p\n", __func__, od, iov, iovlen, 424 auth_off, auth_len, crypt_off, crypt_len, icv_off, ivp); 343 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 406 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 471 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 545 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 621 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 727 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 836 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 989 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 1145 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 1301 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 1459 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 1641 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 1822 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 2023 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-9.3-release/sys/opencrypto/ |
H A D | cryptosoft.c | 74 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-9.3-release/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-9.3-release/crypto/openssl/crypto/engine/ |
H A D | eng_padlock.c | 918 unsigned char *ivp = ctx->iv; local 927 ivp[chunk] = *(out_arg++) = *(in_arg++) ^ ivp[chunk]; 932 *(out_arg++) = c ^ ivp[chunk]; 933 ivp[chunk++] = c, nbytes--; 943 *(out_arg++) = *(in_arg++) ^ ivp[chunk]; 1085 unsigned char *ivp = cdata->iv; local 1087 if (iv != ivp) { 1088 memcpy(ivp, iv, AES_BLOCK_SIZE); 1089 iv = ivp; 1140 unsigned char *ivp = cdata->iv; local [all...] |
/freebsd-9.3-release/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-9.3-release/sys/crypto/aesni/ |
H A D | aesni_wrap.c | 44 const uint8_t *ivp; local 48 ivp = iv; 50 aesni_enc(rounds - 1, key_schedule, from, to, ivp); 51 ivp = to;
|
/freebsd-9.3-release/sys/dev/ipw/ |
H A D | if_ipw.c | 438 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-9.3-release/sys/fs/nfsserver/ |
H A D | nfs_nfsdport.c | 565 struct iovec *ivp = iv; local 588 ivp->iov_base = mtod(mp, caddr_t); 589 ivp->iov_len = mp->m_len; 591 ivp++; 714 struct iovec *ivp; local 721 MALLOC(ivp, struct iovec *, cnt * sizeof (struct iovec), M_TEMP, 723 uiop->uio_iov = iv = ivp; 732 ivp->iov_base = cp; 733 ivp->iov_len = i; 734 ivp [all...] |
/freebsd-9.3-release/sys/nfsserver/ |
H A D | nfs_serv.c | 722 struct iovec *ivp = iv; local 761 ivp->iov_base = mtod(mp, caddr_t); 762 ivp->iov_len = mp->m_len; 764 ivp++; 1023 struct iovec *ivp; local 1147 ivp = malloc(cnt * sizeof (struct iovec), M_TEMP, 1149 uiop->uio_iov = iv = ivp; 1154 ivp->iov_base = mtod(mp, caddr_t); 1155 ivp->iov_len = mp->m_len; 1156 ivp [all...] |
/freebsd-9.3-release/sys/dev/iwi/ |
H A D | if_iwi.c | 497 struct iwi_vap *ivp; local 518 ivp = (struct iwi_vap *) malloc(sizeof(struct iwi_vap), 520 if (ivp == NULL) 522 vap = &ivp->iwi_vap; 527 ivp->iwi_newstate = vap->iv_newstate; 539 struct iwi_vap *ivp = IWI_VAP(vap); local 542 free(ivp, M_80211_VAP); 949 struct iwi_vap *ivp = IWI_VAP(vap); local 1004 return ivp->iwi_newstate(vap, nstate, arg);
|
/freebsd-9.3-release/sys/dev/iwn/ |
H A D | if_iwn.c | 849 struct iwn_vap *ivp; local 854 ivp = (struct iwn_vap *) malloc(sizeof(struct iwn_vap), 856 if (ivp == NULL) 858 vap = &ivp->iv_vap; 862 ivp->iv_newstate = vap->iv_newstate; 875 struct iwn_vap *ivp = IWN_VAP(vap); local 879 free(ivp, M_80211_VAP); 2153 struct iwn_vap *ivp = IWN_VAP(vap); local 2219 return ivp->iv_newstate(vap, nstate, arg);
|