Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
492 B

  1. #ifndef bv4_h
  2. #define bv4_h
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. #define RC4_TABLESIZE 256
  7. #define BV4_Y_TABLESIZE 32
  8. typedef struct BV4_KEYSTRUCT
  9. {
  10. unsigned char p_T[RC4_TABLESIZE];
  11. unsigned char p_R, p_S;
  12. DWORD p_alpha;
  13. DWORD p_beta[BV4_Y_TABLESIZE];
  14. } BV4_KEYSTRUCT;
  15. void bv4_key_C(BV4_KEYSTRUCT *pState, DWORD dwLen, unsigned char *buf);
  16. void bv4_C(BV4_KEYSTRUCT *pState, DWORD dwLen,unsigned char *buf);
  17. #ifdef __cplusplus
  18. }
  19. #endif
  20. #endif