Wireshark
4.5.0
The Wireshark network protocol analyzer
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
Variables
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
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
m
o
p
r
s
t
u
v
w
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
Typedefs
a
b
c
d
e
f
g
h
i
m
p
r
s
t
u
v
w
Enumerations
Enumerator
a
b
c
e
f
h
i
n
o
r
s
t
w
Macros
_
a
b
c
d
e
f
g
h
i
j
m
n
o
p
r
s
t
u
v
w
x
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
wsutil
sober128.h
Go to the documentation of this file.
1
11
/* About LibTomCrypt:
12
* ---------------------------------------------------------------------
13
* LibTomCrypt, modular cryptographic library -- Tom St Denis
14
*
15
* LibTomCrypt is a library that provides various cryptographic
16
* algorithms in a highly modular and flexible manner.
17
*
18
* The library is free for all purposes without any express
19
* guarantee it works.
20
*
21
* Tom St Denis, tomstdenis@iahu.ca, http://www.libtom.net/LibTomCrypt/
22
*/
23
24
#ifndef _SOBER127_H
25
#define _SOBER127_H
26
27
#include "ws_symbol_export.h"
28
29
typedef
struct
_sober128_prng
{
30
unsigned
long
R[17],
/* Working storage for the shift register */
31
initR[17],
/* saved register contents */
32
konst,
/* key dependent constant */
33
sbuf;
/* partial word encryption buffer */
34
35
int
nbuf,
/* number of part-word stream bits buffered */
36
flag,
/* first add_entropy call or not? */
37
set;
/* did we call add_entropy to set key? */
38
39
}
sober128_prng
;
29
typedef
struct
_sober128_prng
{
…
};
40
41
WS_DLL_PUBLIC
42
int
sober128_start(
sober128_prng
*prng);
43
WS_DLL_PUBLIC
44
int
sober128_add_entropy(
const
unsigned
char
*buf,
unsigned
long
len,
sober128_prng
*prng);
45
WS_DLL_PUBLIC
46
unsigned
long
sober128_read(
unsigned
char
*buf,
unsigned
long
len,
sober128_prng
*prng);
47
48
#endif
/* sober128.h */
_sober128_prng
Definition
sober128.h:29
Generated by
1.9.8