/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/net/mac80211/ |
H A D | wep.h | 21 int ieee80211_wep_encrypt_data(struct crypto_blkcipher *tfm, u8 *rc4key, 26 int ieee80211_wep_decrypt_data(struct crypto_blkcipher *tfm, u8 *rc4key,
|
H A D | wep.c | 130 int ieee80211_wep_encrypt_data(struct crypto_blkcipher *tfm, u8 *rc4key, argument 143 crypto_blkcipher_setkey(tfm, rc4key, klen); 164 u8 rc4key[3 + WLAN_KEY_LEN_WEP104]; local 173 memcpy(rc4key, iv, 3); 176 memcpy(rc4key + 3, key, keylen); 181 return ieee80211_wep_encrypt_data(local->wep_tx_tfm, rc4key, keylen + 3, 189 int ieee80211_wep_decrypt_data(struct crypto_blkcipher *tfm, u8 *rc4key, argument 199 crypto_blkcipher_setkey(tfm, rc4key, klen); 225 u8 *rc4key; local 248 rc4key [all...] |
H A D | tkip.c | 107 u16 tsc_IV16, u8 *rc4key) 133 rc4key = write_tkip_iv(rc4key, tsc_IV16); 134 *rc4key++ = ((ppk[5] ^ get_unaligned_le16(tk)) >> 1) & 0xFF; 137 put_unaligned_le16(ppk[i], rc4key + 2 * i); 209 u8 rc4key[16]; local 217 tkip_mixing_phase2(tk, ctx, ctx->iv16, rc4key); 219 return ieee80211_wep_encrypt_data(tfm, rc4key, 16, pos, payload_len); 234 u8 rc4key[16], keyid, *pos = payload; local 317 tkip_mixing_phase2(tk, &key->u.tkip.rx[queue], iv16, rc4key); 106 tkip_mixing_phase2(const u8 *tk, struct tkip_ctx *ctx, u16 tsc_IV16, u8 *rc4key) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/net/mac80211/ |
H A D | wep.h | 21 int ieee80211_wep_encrypt_data(struct crypto_blkcipher *tfm, u8 *rc4key, 26 int ieee80211_wep_decrypt_data(struct crypto_blkcipher *tfm, u8 *rc4key,
|
H A D | wep.c | 130 int ieee80211_wep_encrypt_data(struct crypto_blkcipher *tfm, u8 *rc4key, argument 143 crypto_blkcipher_setkey(tfm, rc4key, klen); 164 u8 rc4key[3 + WLAN_KEY_LEN_WEP104]; local 173 memcpy(rc4key, iv, 3); 176 memcpy(rc4key + 3, key, keylen); 181 return ieee80211_wep_encrypt_data(local->wep_tx_tfm, rc4key, keylen + 3, 189 int ieee80211_wep_decrypt_data(struct crypto_blkcipher *tfm, u8 *rc4key, argument 199 crypto_blkcipher_setkey(tfm, rc4key, klen); 225 u8 *rc4key; local 248 rc4key [all...] |
H A D | tkip.c | 107 u16 tsc_IV16, u8 *rc4key) 133 rc4key = write_tkip_iv(rc4key, tsc_IV16); 134 *rc4key++ = ((ppk[5] ^ get_unaligned_le16(tk)) >> 1) & 0xFF; 137 put_unaligned_le16(ppk[i], rc4key + 2 * i); 209 u8 rc4key[16]; local 217 tkip_mixing_phase2(tk, ctx, ctx->iv16, rc4key); 219 return ieee80211_wep_encrypt_data(tfm, rc4key, 16, pos, payload_len); 234 u8 rc4key[16], keyid, *pos = payload; local 317 tkip_mixing_phase2(tk, &key->u.tkip.rx[queue], iv16, rc4key); 106 tkip_mixing_phase2(const u8 *tk, struct tkip_ctx *ctx, u16 tsc_IV16, u8 *rc4key) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/staging/rt2860/common/ |
H A D | cmm_tkip.c | 589 u8 * rc4key, u32 * p1k) 673 rc4key[0] = (tsc2 >> 8) % 256; 674 rc4key[1] = (((tsc2 >> 8) % 256) | 0x20) & 0x7f; 675 rc4key[2] = tsc2 % 256; 676 rc4key[3] = ((ppk5 ^ ((256 * key[1]) + key[0])) >> 1) % 256; 678 rc4key[4] = ppk0 % 256; 679 rc4key[5] = (ppk0 >> 8) % 256; 681 rc4key[6] = ppk1 % 256; 682 rc4key[7] = (ppk1 >> 8) % 256; 684 rc4key[ 587 RTMPTkipMixKey(u8 * key, u8 * ta, unsigned long pnl, unsigned long pnh, u8 * rc4key, u32 * p1k) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/staging/rt2860/common/ |
H A D | cmm_tkip.c | 589 u8 * rc4key, u32 * p1k) 673 rc4key[0] = (tsc2 >> 8) % 256; 674 rc4key[1] = (((tsc2 >> 8) % 256) | 0x20) & 0x7f; 675 rc4key[2] = tsc2 % 256; 676 rc4key[3] = ((ppk5 ^ ((256 * key[1]) + key[0])) >> 1) % 256; 678 rc4key[4] = ppk0 % 256; 679 rc4key[5] = (ppk0 >> 8) % 256; 681 rc4key[6] = ppk1 % 256; 682 rc4key[7] = (ppk1 >> 8) % 256; 684 rc4key[ 587 RTMPTkipMixKey(u8 * key, u8 * ta, unsigned long pnl, unsigned long pnh, u8 * rc4key, u32 * p1k) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/net/wireless/ |
H A D | lib80211_crypt_tkip.c | 316 u8 * rc4key, int keylen, void *priv) 327 if (rc4key == NULL || keylen < 16) 335 tkip_mixing_phase2(rc4key, tkey->key, tkey->tx_ttak, tkey->tx_iv16); 341 *pos++ = *rc4key; 342 *pos++ = *(rc4key + 1); 343 *pos++ = *(rc4key + 2); 364 u8 rc4key[16], *pos, *icv; local 384 if ((lib80211_tkip_hdr(skb, hdr_len, rc4key, 16, priv)) < 0) 394 crypto_blkcipher_setkey(tkey->tx_tfm_arc4, rc4key, 16); 416 u8 rc4key[1 local 315 lib80211_tkip_hdr(struct sk_buff *skb, int hdr_len, u8 * rc4key, int keylen, void *priv) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/net/wireless/ |
H A D | lib80211_crypt_tkip.c | 316 u8 * rc4key, int keylen, void *priv) 327 if (rc4key == NULL || keylen < 16) 335 tkip_mixing_phase2(rc4key, tkey->key, tkey->tx_ttak, tkey->tx_iv16); 341 *pos++ = *rc4key; 342 *pos++ = *(rc4key + 1); 343 *pos++ = *(rc4key + 2); 364 u8 rc4key[16], *pos, *icv; local 384 if ((lib80211_tkip_hdr(skb, hdr_len, rc4key, 16, priv)) < 0) 394 crypto_blkcipher_setkey(tkey->tx_tfm_arc4, rc4key, 16); 416 u8 rc4key[1 local 315 lib80211_tkip_hdr(struct sk_buff *skb, int hdr_len, u8 * rc4key, int keylen, void *priv) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/shared/ |
H A D | bcmwpa.c | 197 uint8 *gtk, uint8 *data, uint8 *encrkey, rc4_ks_t *rc4key) 212 prepare_key(encrkey, 32, rc4key); 213 rc4(data, WPA_KEY_DATA_LEN_256, rc4key); /* dump 256 bytes */ 214 rc4(body->data, len, rc4key); 246 uint8 *gtk, uint8 *data, uint8 *encrkey, rc4_ks_t *rc4key) 255 prepare_key(encrkey, WPA_MIC_KEY_LEN*2, rc4key); 256 rc4(data, WPA_KEY_DATA_LEN_256, rc4key); /* dump 256 bytes */ 261 rc4(body->data, len, rc4key); 361 uint8 *gtk, uint8 *data, uint8 *encrkey, rc4_ks_t *rc4key) 363 return wpa_decr_key_data(body, key_info, ekey, gtk, data, encrkey, rc4key); 196 wpa_encr_key_data(eapol_wpa_key_header_t *body, uint16 key_info, uint8 *ekey, uint8 *gtk, uint8 *data, uint8 *encrkey, rc4_ks_t *rc4key) argument 245 wpa_decr_key_data(eapol_wpa_key_header_t *body, uint16 key_info, uint8 *ekey, uint8 *gtk, uint8 *data, uint8 *encrkey, rc4_ks_t *rc4key) argument 360 wpa_decr_gtk(eapol_wpa_key_header_t *body, uint16 key_info, uint8 *ekey, uint8 *gtk, uint8 *data, uint8 *encrkey, rc4_ks_t *rc4key) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/include/ |
H A D | bcmwpa.h | 230 uint8 *ekey, uint8 *gtk, uint8 *data, uint8 *encrkey, rc4_ks_t *rc4key); 234 uint8 *ekey, uint8 *gtk, uint8 *data, uint8 *encrkey, rc4_ks_t *rc4key); 238 uint8 *ekey, uint8 *gtk, uint8 *data, uint8 *encrkey, rc4_ks_t *rc4key);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/staging/rtl8187se/ieee80211/ |
H A D | ieee80211_crypt_tkip.c | 313 u8 rc4key[16],*icv; local 330 tkip_mixing_phase2(rc4key, tkey->key, tkey->tx_ttak, tkey->tx_iv16); 337 *pos++ = rc4key[0]; 338 *pos++ = rc4key[1]; 339 *pos++ = rc4key[2]; 352 crypto_blkcipher_setkey(tkey->tx_tfm_arc4, rc4key, 16); 375 u8 rc4key[16]; local 425 tkip_mixing_phase2(rc4key, tkey->key, tkey->rx_ttak, iv16); 428 crypto_blkcipher_setkey(tkey->rx_tfm_arc4, rc4key, 16);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/staging/rtl8192e/ieee80211/ |
H A D | ieee80211_crypt_tkip.c | 317 u8 rc4key[16], *icv; local 335 tkip_mixing_phase2(rc4key, tkey->key, tkey->tx_ttak, tkey->tx_iv16); 354 *pos++ = rc4key[0]; 355 *pos++ = rc4key[1]; 356 *pos++ = rc4key[2]; 373 crypto_blkcipher_setkey(tkey->tx_tfm_arc4, rc4key, 16); 402 u8 rc4key[16]; local 456 tkip_mixing_phase2(rc4key, tkey->key, tkey->rx_ttak, iv16); 460 crypto_blkcipher_setkey(tkey->rx_tfm_arc4, rc4key, 16);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/staging/rtl8192su/ieee80211/ |
H A D | ieee80211_crypt_tkip.c | 315 u8 rc4key[16], *icv; local 332 tkip_mixing_phase2(rc4key, tkey->key, tkey->tx_ttak, tkey->tx_iv16); 351 *pos++ = rc4key[0]; 352 *pos++ = rc4key[1]; 353 *pos++ = rc4key[2]; 370 crypto_blkcipher_setkey(tkey->tx_tfm_arc4, rc4key, 16); 398 u8 rc4key[16]; local 453 tkip_mixing_phase2(rc4key, tkey->key, tkey->rx_ttak, iv16); 457 crypto_blkcipher_setkey(tkey->rx_tfm_arc4, rc4key, 16);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/staging/rtl8192u/ieee80211/ |
H A D | ieee80211_crypt_tkip.c | 315 u8 rc4key[16], *icv; local 332 tkip_mixing_phase2(rc4key, tkey->key, tkey->tx_ttak, tkey->tx_iv16); 351 *pos++ = rc4key[0]; 352 *pos++ = rc4key[1]; 353 *pos++ = rc4key[2]; 370 crypto_blkcipher_setkey(tkey->tx_tfm_arc4, rc4key, 16); 398 u8 rc4key[16]; local 452 tkip_mixing_phase2(rc4key, tkey->key, tkey->rx_ttak, iv16); 456 crypto_blkcipher_setkey(tkey->rx_tfm_arc4, rc4key, 16);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/staging/rtl8192su/ieee80211/ |
H A D | ieee80211_crypt_tkip.c | 315 u8 rc4key[16], *icv; local 332 tkip_mixing_phase2(rc4key, tkey->key, tkey->tx_ttak, tkey->tx_iv16); 351 *pos++ = rc4key[0]; 352 *pos++ = rc4key[1]; 353 *pos++ = rc4key[2]; 370 crypto_blkcipher_setkey(tkey->tx_tfm_arc4, rc4key, 16); 398 u8 rc4key[16]; local 453 tkip_mixing_phase2(rc4key, tkey->key, tkey->rx_ttak, iv16); 457 crypto_blkcipher_setkey(tkey->rx_tfm_arc4, rc4key, 16);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/staging/rtl8192u/ieee80211/ |
H A D | ieee80211_crypt_tkip.c | 315 u8 rc4key[16], *icv; local 332 tkip_mixing_phase2(rc4key, tkey->key, tkey->tx_ttak, tkey->tx_iv16); 351 *pos++ = rc4key[0]; 352 *pos++ = rc4key[1]; 353 *pos++ = rc4key[2]; 370 crypto_blkcipher_setkey(tkey->tx_tfm_arc4, rc4key, 16); 398 u8 rc4key[16]; local 452 tkip_mixing_phase2(rc4key, tkey->key, tkey->rx_ttak, iv16); 456 crypto_blkcipher_setkey(tkey->rx_tfm_arc4, rc4key, 16);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/staging/rtl8187se/ieee80211/ |
H A D | ieee80211_crypt_tkip.c | 313 u8 rc4key[16],*icv; local 330 tkip_mixing_phase2(rc4key, tkey->key, tkey->tx_ttak, tkey->tx_iv16); 337 *pos++ = rc4key[0]; 338 *pos++ = rc4key[1]; 339 *pos++ = rc4key[2]; 352 crypto_blkcipher_setkey(tkey->tx_tfm_arc4, rc4key, 16); 375 u8 rc4key[16]; local 425 tkip_mixing_phase2(rc4key, tkey->key, tkey->rx_ttak, iv16); 428 crypto_blkcipher_setkey(tkey->rx_tfm_arc4, rc4key, 16);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/staging/rtl8192e/ieee80211/ |
H A D | ieee80211_crypt_tkip.c | 317 u8 rc4key[16], *icv; local 335 tkip_mixing_phase2(rc4key, tkey->key, tkey->tx_ttak, tkey->tx_iv16); 354 *pos++ = rc4key[0]; 355 *pos++ = rc4key[1]; 356 *pos++ = rc4key[2]; 373 crypto_blkcipher_setkey(tkey->tx_tfm_arc4, rc4key, 16); 402 u8 rc4key[16]; local 456 tkip_mixing_phase2(rc4key, tkey->key, tkey->rx_ttak, iv16); 460 crypto_blkcipher_setkey(tkey->rx_tfm_arc4, rc4key, 16);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/bcmcrypto/ |
H A D | tkhash.c | 271 uint8 rc4key[TKHASH_P2_KEY_SIZE]; local 283 tkhash_phase2(rc4key, tkhash_vec[k].tk, p1k, 286 if (memcmp(rc4key, tkhash_vec[k].rc4key, TKHASH_P2_KEY_SIZE) != 0) {
|
H A D | tkhash_vectors.h | 157 uint8 *rc4key; member in struct:__anon11043
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/openssl/demos/engines/zencod/ |
H A D | hw_zencod.c | 1629 zen_nb_t rc4key; local 1640 rc4key.len = 260; 1641 rc4key.data = &(tmp_rc4_key->rc4_state[0]); 1645 ptr_zencod_rc4_cipher(&output, &input, (const zen_nb_t *)&rc4key,
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/openssl-1.0.0q/demos/engines/zencod/ |
H A D | hw_zencod.c | 1574 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 ) ;
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/openssl-1.0.0q/demos/engines/zencod/ |
H A D | hw_zencod.c | 1574 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 ) ;
|