ecc_rc4.h 282 B

12345678910111213
  1. #ifndef __KITESHIELD_RC4_H
  2. #define __KITESHIELD_RC4_H
  3. struct rc4_state {
  4. unsigned char S[256];
  5. int i;
  6. int j;
  7. };
  8. void rc4_init(struct rc4_state *rc4, unsigned char *key, unsigned int keylen);
  9. unsigned char rc4_get_byte(struct rc4_state *rc4);
  10. #endif /* __KITESHIELD_RC4_H */