blob: 398fe57a1d8068ed84ee06ccdb4abcf511539b01 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
/*
ARCFOUR cipher (based on a cipher posted on the Usenet in Spring-95).
This cipher is widely believed and has been tested to be equivalent
with the RC4 cipher from RSA Data Security, Inc. (RC4 is a trademark
of RSA Data Security)
*/
#ifndef ARCFOUR_INT_H
#define ARCFOUR_INT_H
#include "arcfour.h"
#define CONFOUNDERLENGTH 8
typedef struct
{
unsigned int x;
unsigned int y;
unsigned char state[256];
} ArcfourContext;
typedef struct {
int initialized;
ArcfourContext ctx;
} ArcFourCipherState;
krb5_keyusage krb5int_arcfour_translate_usage(krb5_keyusage usage);
#endif /* ARCFOUR_INT_H */
|