Searched refs:rc4key (Results 1 - 7 of 7) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/mac80211/
H A Dwep.c130 void ieee80211_wep_encrypt_data(struct crypto_blkcipher *tfm, u8 *rc4key, argument
140 crypto_blkcipher_setkey(tfm, rc4key, klen);
159 u8 *rc4key, *iv; local
166 rc4key = kmalloc(klen, GFP_ATOMIC);
167 if (!rc4key)
172 kfree(rc4key);
179 memcpy(rc4key, iv, 3);
182 memcpy(rc4key + 3, key->key, key->keylen);
187 ieee80211_wep_encrypt_data(local->wep_tx_tfm, rc4key, klen,
190 kfree(rc4key);
199 ieee80211_wep_decrypt_data(struct crypto_blkcipher *tfm, u8 *rc4key, size_t klen, u8 *data, size_t data_len) argument
233 u8 *rc4key; local
[all...]
H A Dwep.h29 void ieee80211_wep_encrypt_data(struct crypto_blkcipher *tfm, u8 *rc4key,
31 int ieee80211_wep_decrypt_data(struct crypto_blkcipher *tfm, u8 *rc4key,
H A Dtkip.c139 u8 *rc4key)
164 rc4key[0] = Hi8(tsc_IV16);
165 rc4key[1] = (Hi8(tsc_IV16) | 0x20) & 0x7f;
166 rc4key[2] = Lo8(tsc_IV16);
167 rc4key[3] = Lo8((ppk[5] ^ Mk16(tk[1], tk[0])) >> 1);
170 rc4key[4 + 2 * i] = Lo8(ppk[i]);
171 rc4key[5 + 2 * i] = Hi8(ppk[i]);
202 u8 *rc4key)
213 key->u.tkip.iv16, rc4key);
225 u8 rc4key[1 local
138 tkip_mixing_phase2(const u16 *p1k, const u8 *tk, u16 tsc_IV16, u8 *rc4key) argument
201 ieee80211_tkip_gen_rc4key(struct ieee80211_key *key, u8 *ta, u8 *rc4key) argument
244 u8 rc4key[16], keyid, *pos = payload; local
[all...]
H A Dtkip.h21 u8 *rc4key);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ieee80211/
H A Dieee80211_crypt_tkip.c309 u8 * rc4key, int keylen, void *priv)
321 if (rc4key == NULL || keylen < 16)
329 tkip_mixing_phase2(rc4key, tkey->key, tkey->tx_ttak, tkey->tx_iv16);
336 *pos++ = *rc4key;
337 *pos++ = *(rc4key + 1);
338 *pos++ = *(rc4key + 2);
359 u8 rc4key[16], *pos, *icv; local
380 if ((ieee80211_tkip_hdr(skb, hdr_len, rc4key, 16, priv)) < 0)
391 crypto_blkcipher_setkey(tkey->tx_tfm_arc4, rc4key, 16);
415 u8 rc4key[1 local
308 ieee80211_tkip_hdr(struct sk_buff *skb, int hdr_len, u8 * rc4key, int keylen, void *priv) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/demos/engines/zencod/
H A Dhw_zencod.c1574 zen_nb_t rc4key ; local
1585 rc4key.len = 260 ;
1586 rc4key.data = &( tmp_rc4_key->rc4_state [ 0 ] ) ;
1589 to_return = ptr_zencod_rc4_cipher ( &output, &input, (const zen_nb_t *) &rc4key, &( tmp_rc4_key->rc4_state [0] ), &( tmp_rc4_key->rc4_state [3] ), !tmp_rc4_key->first ) ;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/demos/engines/zencod/
H A Dhw_zencod.c1574 zen_nb_t rc4key ; local
1585 rc4key.len = 260 ;
1586 rc4key.data = &( tmp_rc4_key->rc4_state [ 0 ] ) ;
1589 to_return = ptr_zencod_rc4_cipher ( &output, &input, (const zen_nb_t *) &rc4key, &( tmp_rc4_key->rc4_state [0] ), &( tmp_rc4_key->rc4_state [3] ), !tmp_rc4_key->first ) ;

Completed in 101 milliseconds