Searched refs:ppk4 (Results 1 – 3 of 3) sorted by relevance
/linux-2.6.39/drivers/staging/vt6656/ |
D | tkip.c | 195 unsigned int ppk0, ppk1, ppk2, ppk3, ppk4, ppk5; in TKIPvMixKey() local 230 ppk4 = p1k[4]; in TKIPvMixKey() 238 ppk4 = ppk4 + tkip_sbox((ppk3 ^ ((256*pbyTKey[9]) + pbyTKey[8])) % 65536); in TKIPvMixKey() 239 ppk5 = ppk5 + tkip_sbox((ppk4 ^ ((256*pbyTKey[11]) + pbyTKey[10])) % 65536); in TKIPvMixKey() 245 ppk4 = ppk4 + rotr1(ppk3); in TKIPvMixKey() 246 ppk5 = ppk5 + rotr1(ppk4); in TKIPvMixKey() 266 pbyRC4Key[12] = ppk4 % 256; in TKIPvMixKey() 267 pbyRC4Key[13] = (ppk4 >> 8) % 256; in TKIPvMixKey()
|
/linux-2.6.39/drivers/staging/vt6655/ |
D | tkip.c | 197 unsigned int ppk0, ppk1, ppk2, ppk3, ppk4, ppk5; in TKIPvMixKey() local 231 ppk4 = p1k[4]; in TKIPvMixKey() 239 ppk4 = ppk4 + tkip_sbox( (ppk3 ^ ((256*pbyTKey[9]) + pbyTKey[8])) % 65536); in TKIPvMixKey() 240 ppk5 = ppk5 + tkip_sbox( (ppk4 ^ ((256*pbyTKey[11]) + pbyTKey[10])) % 65536); in TKIPvMixKey() 246 ppk4 = ppk4 + rotr1(ppk3); in TKIPvMixKey() 247 ppk5 = ppk5 + rotr1(ppk4); in TKIPvMixKey() 267 pbyRC4Key[12] = ppk4 % 256; in TKIPvMixKey() 268 pbyRC4Key[13] = (ppk4 >> 8) % 256; in TKIPvMixKey()
|
/linux-2.6.39/drivers/staging/rt2860/common/ |
D | cmm_tkip.c | 600 u32 ppk4; in RTMPTkipMixKey() local 648 ppk4 = p1k[4]; in RTMPTkipMixKey() 656 ppk4 = ppk4 + tkip_sbox((ppk3 ^ ((256 * key[9]) + key[8])) % 65536); in RTMPTkipMixKey() 657 ppk5 = ppk5 + tkip_sbox((ppk4 ^ ((256 * key[11]) + key[10])) % 65536); in RTMPTkipMixKey() 663 ppk4 = ppk4 + rotr1(ppk3); in RTMPTkipMixKey() 664 ppk5 = ppk5 + rotr1(ppk4); in RTMPTkipMixKey() 690 rc4key[12] = ppk4 % 256; in RTMPTkipMixKey() 691 rc4key[13] = (ppk4 >> 8) % 256; in RTMPTkipMixKey()
|