File: rc4.h

package info (click to toggle)
wv 1.2.9-9
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 5,284 kB
  • sloc: ansic: 31,044; sh: 11,660; xml: 1,677; makefile: 20
file content (8 lines) | stat: -rwxr-xr-x 271 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
 /* 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);