PolarSSL v1.2.7
Main Page
Modules
Data Structures
Files
File List
Globals
include
polarssl
arc4.h
Go to the documentation of this file.
1
27
#ifndef POLARSSL_ARC4_H
28
#define POLARSSL_ARC4_H
29
30
#include <string.h>
31
35
typedef
struct
36
{
37
int
x
;
38
int
y
;
39
unsigned
char
m[256];
40
}
41
arc4_context
;
42
43
#ifdef __cplusplus
44
extern
"C"
{
45
#endif
46
54
void
arc4_setup
(
arc4_context
*ctx,
const
unsigned
char
*key,
unsigned
int
keylen );
55
66
int
arc4_crypt
(
arc4_context
*ctx,
size_t
length,
const
unsigned
char
*input,
67
unsigned
char
*output );
68
74
int
arc4_self_test
(
int
verbose );
75
76
#ifdef __cplusplus
77
}
78
#endif
79
80
#endif
/* arc4.h */
Generated on Thu Apr 18 2013 19:52:51 for PolarSSL v1.2.7 by
1.8.3.1