Searched refs:iv (Results 1 - 13 of 13) sorted by relevance

/net/mac80211/
H A Dwep.c57 static inline bool ieee80211_wep_weak_iv(u32 iv, int keylen) argument
64 if ((iv & 0xff00) == 0xff00) {
65 u8 B = (iv >> 16) & 0xff;
74 int keylen, int keyidx, u8 *iv)
80 if (!iv)
83 *iv++ = (local->wep_iv >> 16) & 0xff;
84 *iv++ = (local->wep_iv >> 8) & 0xff;
85 *iv++ = local->wep_iv & 0xff;
86 *iv++ = keyidx << 6;
167 u8 *iv; local
73 ieee80211_wep_get_iv(struct ieee80211_local *local, int keylen, int keyidx, u8 *iv) argument
280 u32 iv; local
[all...]
/net/ceph/
H A Dcrypto.c100 void *iv; local
118 iv = crypto_blkcipher_crt(tfm)->iv;
121 memcpy(iv, aes_iv, ivsize);
151 void *iv; local
170 iv = crypto_blkcipher_crt(tfm)->iv;
173 memcpy(iv, aes_iv, ivsize);
204 void *iv; local
219 iv
265 void *iv; local
[all...]
/net/wireless/
H A Dlib80211_crypt_wep.c33 u32 iv; member in struct:lib80211_wep_data
63 get_random_bytes(&priv->iv, 4);
107 wep->iv++;
112 if ((wep->iv & 0xff00) == 0xff00) {
113 u8 B = (wep->iv >> 16) & 0xff;
115 wep->iv += 0x0100;
119 *pos++ = (wep->iv >> 16) & 0xff;
120 *pos++ = (wep->iv >> 8) & 0xff;
121 *pos++ = wep->iv & 0xff;
/net/rxrpc/
H A Drxkad.c118 struct rxrpc_crypt iv; local
129 memcpy(&iv, token->kad->session_key, sizeof(iv));
132 desc.info = iv.x;
160 struct rxrpc_crypt iv; local
179 memset(&iv, 0, sizeof(iv));
181 desc.info = iv.x;
207 struct rxrpc_crypt iv; local
225 memcpy(&iv, toke
260 struct rxrpc_crypt iv; local
334 struct rxrpc_crypt iv; local
409 struct rxrpc_crypt iv; local
492 struct rxrpc_crypt iv; local
722 struct rxrpc_crypt iv; local
826 struct rxrpc_crypt iv, key; local
971 struct rxrpc_crypt iv; local
[all...]
/net/sunrpc/auth_gss/
H A Dgss_krb5_crypto.c55 void * iv,
69 dprintk("RPC: gss_k5encrypt: tfm iv size too large %d\n",
74 if (iv)
75 memcpy(local_iv, iv, crypto_blkcipher_ivsize(tfm));
89 void * iv,
103 dprintk("RPC: gss_k5decrypt: tfm iv size too large %d\n",
107 if (iv)
108 memcpy(local_iv,iv, crypto_blkcipher_ivsize(tfm));
389 u8 iv[GSS_KRB5_MAX_BLOCKSIZE]; member in struct:encryptor_desc
470 memset(desc.iv,
53 krb5_encrypt( struct crypto_blkcipher *tfm, void * iv, void * in, void * out, int length) argument
87 krb5_decrypt( struct crypto_blkcipher *tfm, void * iv, void * in, void * out, int length) argument
488 u8 iv[GSS_KRB5_MAX_BLOCKSIZE]; member in struct:decryptor_desc
597 gss_krb5_cts_crypt(struct crypto_blkcipher *cipher, struct xdr_buf *buf, u32 offset, u8 *iv, struct page **pages, int encrypt) argument
[all...]
/net/ipv6/
H A Desp6.c101 struct crypto_aead *aead, u8 *iv)
105 req = (void *)PTR_ALIGN(iv + crypto_aead_ivsize(aead),
111 static inline struct aead_request *esp_tmp_req(struct crypto_aead *aead, u8 *iv) argument
115 req = (void *)PTR_ALIGN(iv + crypto_aead_ivsize(aead),
164 u8 *iv; local
210 iv = esp_tmp_iv(aead, tmp, seqhilen);
211 req = esp_tmp_givreq(aead, iv);
252 aead_givcrypt_set_crypt(req, sg, sg, clen, iv);
340 u8 *iv; local
377 iv
100 esp_tmp_givreq( struct crypto_aead *aead, u8 *iv) argument
[all...]
/net/ipv4/
H A Desp4.c72 struct crypto_aead *aead, u8 *iv)
76 req = (void *)PTR_ALIGN(iv + crypto_aead_ivsize(aead),
82 static inline struct aead_request *esp_tmp_req(struct crypto_aead *aead, u8 *iv) argument
86 req = (void *)PTR_ALIGN(iv + crypto_aead_ivsize(aead),
127 u8 *iv; local
183 iv = esp_tmp_iv(aead, tmp, seqhilen);
184 req = esp_tmp_givreq(aead, iv);
260 aead_givcrypt_set_crypt(req, sg, sg, clen, iv);
390 u8 *iv; local
422 iv
71 esp_tmp_givreq( struct crypto_aead *aead, u8 *iv) argument
[all...]
/net/bluetooth/bnep/
H A Dcore.c73 struct kvec iv = { data, len }; local
75 return kernel_sendmsg(sock, &s->msg, &iv, 1, len);
392 struct kvec iv[3]; local
403 iv[il++] = (struct kvec) { &type, 1 };
418 iv[il++] = (struct kvec) { eh->h_source, ETH_ALEN };
423 iv[il++] = (struct kvec) { eh->h_dest, ETH_ALEN };
429 iv[il++] = (struct kvec) { skb->data, skb->len };
434 len = kernel_sendmsg(sock, &s->msg, iv, il, len);
/net/bluetooth/cmtp/
H A Dcore.c196 struct kvec iv = { data, len }; local
206 return kernel_sendmsg(sock, &msg, &iv, 1, len);
/net/bluetooth/
H A Da2mp.c50 struct kvec iv; local
57 iv.iov_base = cmd;
58 iv.iov_len = total_len;
62 msg.msg_iov = (struct iovec *) &iv;
H A Dsmp.c56 unsigned char iv[128]; local
76 memset(&iv, 0xff, iv_len);
77 crypto_blkcipher_set_iv(tfm, iv, iv_len);
/net/bluetooth/rfcomm/
H A Dcore.c744 struct kvec iv = { data, len }; local
751 return kernel_sendmsg(s->sock, &msg, &iv, 1, len);
1045 struct kvec iv[3]; local
1062 iv[0].iov_base = hdr;
1063 iv[0].iov_len = 5;
1064 iv[1].iov_base = pattern;
1065 iv[1].iov_len = len;
1066 iv[2].iov_base = crc;
1067 iv[2].iov_len = 1;
1071 return kernel_sendmsg(sock, &msg, iv,
[all...]
/net/bluetooth/hidp/
H A Dcore.c575 struct kvec iv = { data, len }; local
585 return kernel_sendmsg(sock, &msg, &iv, 1, len);

Completed in 195 milliseconds