File: rc4.h

package info (click to toggle)
abiword 0.7.7-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 20,604 kB
  • ctags: 18,358
  • sloc: cpp: 88,791; ansic: 66,296; sh: 7,777; makefile: 3,397; xml: 687; perl: 361; awk: 273; sed: 36; csh: 28
file content (10 lines) | stat: -rwxr-xr-x 286 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
 /* rc4.h */
typedef struct rc4_key
{      
   unsigned char state[256];       
   unsigned char x;        
   unsigned char y;
} rc4_key;
void prepare_key(unsigned char *key_data_ptr,int key_data_len,
		 rc4_key *key);
void rc4(unsigned char *buffer_ptr,int buffer_len,rc4_key * key);