windows-nt/Source/XPSP1/NT/inetsrv/iis/staxinc/rc4.h

38 lines
617 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
#ifndef _RC4_H_
#define _RC4_H_
#ifndef WIN16_BUILD
/* Key structure */
struct RC4_KEYSTRUCT
{
unsigned char S[256]; /* State table */
unsigned char i,j; /* Indices */
};
NTSYSAPI
void
NTAPI
rc4_key(struct RC4_KEYSTRUCT *, int, PUCHAR);
NTSYSAPI
void
NTAPI
rc4(struct RC4_KEYSTRUCT *, int , PUCHAR);
#else
/* Key structure */
struct RC4_KEYSTRUCT
{
unsigned char S[256]; /* State table */
unsigned char i,j; /* Indices */
};
void rc4_key(struct RC4_KEYSTRUCT SEC_FAR *, int, unsigned char SEC_FAR *);
void rc4(struct RC4_KEYSTRUCT *, int , unsigned char *);
#endif // WIN16_BUILD
#endif