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

#ifndef bv4_h
#define bv4_h
#ifdef __cplusplus
extern "C" {
#endif
#define RC4_TABLESIZE 256
#define BV4_Y_TABLESIZE 32
typedef struct BV4_KEYSTRUCT
{
unsigned char p_T[RC4_TABLESIZE];
unsigned char p_R, p_S;
DWORD p_alpha;
DWORD p_beta[BV4_Y_TABLESIZE];
} BV4_KEYSTRUCT;
void bv4_key_C(BV4_KEYSTRUCT *pState, DWORD dwLen, unsigned char *buf);
void bv4_C(BV4_KEYSTRUCT *pState, DWORD dwLen,unsigned char *buf);
#ifdef __cplusplus
}
#endif
#endif