aboutsummaryrefslogtreecommitdiff
path: root/src/lib/crypto/arcfour/arcfour-int.h
blob: b54fce1e2ab469f89fb0eb458ae98c264951ff84 (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
/*

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;

krb5_keyusage krb5int_arcfour_translate_usage(krb5_keyusage usage);


#endif /* ARCFOUR_INT_H */