iPXE
Main Page
Related Pages
Modules
+
Data Structures
Data Structures
Data Structure Index
+
Data Fields
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
b
d
i
p
s
t
u
v
x
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
+
Files
File List
+
Globals
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Enumerations
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
include
ipxe
arc4.h
Go to the documentation of this file.
1
#ifndef _IPXE_ARC4_H
2
#define _IPXE_ARC4_H
3
4
FILE_LICENCE
( GPL2_OR_LATER );
5
6
struct
cipher_algorithm
;
7
8
#include <
stdint.h
>
9
10
struct
arc4_ctx
{
11
int
i
,
j
;
12
u8
state
[256];
13
};
14
15
#define ARC4_CTX_SIZE sizeof ( struct arc4_ctx )
16
17
extern
struct
cipher_algorithm
arc4_algorithm
;
18
19
void
arc4_skip
(
const
void
*
key
,
size_t
keylen,
size_t
skip,
20
const
void
*
src
,
void
*dst,
size_t
msglen );
21
22
#endif
/* _IPXE_ARC4_H */
src
static const void * src
Definition:
string.h:47
arc4_ctx
Definition:
arc4.h:10
arc4_ctx::i
int i
Definition:
arc4.h:11
arc4_algorithm
struct cipher_algorithm arc4_algorithm
Definition:
arc4.c:118
arc4_skip
void arc4_skip(const void *key, size_t keylen, size_t skip, const void *src, void *dst, size_t msglen)
Perform ARC4 encryption or decryption, skipping initial keystream bytes.
Definition:
arc4.c:109
arc4_ctx::j
int j
Definition:
arc4.h:11
FILE_LICENCE
FILE_LICENCE(GPL2_OR_LATER)
cipher_algorithm
A cipher algorithm.
Definition:
crypto.h:50
stdint.h
arc4_ctx::state
u8 state[256]
Definition:
arc4.h:12
u8
uint8_t u8
Definition:
stdint.h:19
key
union @383 key
Sense key.
Definition:
scsi.h:18
Generated by
1.8.15