Searched refs:pRC4 (Results 1 – 4 of 4) sorted by relevance
/linux-2.6.39/drivers/staging/vt6655/ |
D | rc4.c | 35 void rc4_init(PRC4Ext pRC4, unsigned char *pbyKey, unsigned int cbKey_len) in rc4_init() argument 43 pbyst = pRC4->abystate; in rc4_init() 44 pRC4->ux = 0; in rc4_init() 45 pRC4->uy = 0; in rc4_init() 61 unsigned int rc4_byte(PRC4Ext pRC4) in rc4_byte() argument 68 pbyst = pRC4->abystate; in rc4_byte() 69 ux = (pRC4->ux + 1) & 0xff; in rc4_byte() 71 uy = (ustx + pRC4->uy) & 0xff; in rc4_byte() 73 pRC4->ux = ux; in rc4_byte() 74 pRC4->uy = uy; in rc4_byte() [all …]
|
D | rc4.h | 43 void rc4_init(PRC4Ext pRC4, unsigned char *pbyKey, unsigned int cbKey_len); 44 unsigned int rc4_byte(PRC4Ext pRC4); 45 void rc4_encrypt(PRC4Ext pRC4, unsigned char *pbyDest, unsigned char *pbySrc, unsigned int cbData_l…
|
/linux-2.6.39/drivers/staging/vt6656/ |
D | rc4.c | 35 void rc4_init(PRC4Ext pRC4, PBYTE pbyKey, unsigned int cbKey_len) in rc4_init() argument 43 pbyst = pRC4->abystate; in rc4_init() 44 pRC4->ux = 0; in rc4_init() 45 pRC4->uy = 0; in rc4_init() 61 unsigned int rc4_byte(PRC4Ext pRC4) in rc4_byte() argument 68 pbyst = pRC4->abystate; in rc4_byte() 69 ux = (pRC4->ux + 1) & 0xff; in rc4_byte() 71 uy = (ustx + pRC4->uy) & 0xff; in rc4_byte() 73 pRC4->ux = ux; in rc4_byte() 74 pRC4->uy = uy; in rc4_byte() [all …]
|
D | rc4.h | 43 void rc4_init(PRC4Ext pRC4, PBYTE pbyKey, unsigned int cbKey_len); 44 unsigned int rc4_byte(PRC4Ext pRC4); 45 void rc4_encrypt(PRC4Ext pRC4, PBYTE pbyDest, PBYTE pbySrc,
|