Cryptography Reference
In-Depth Information
UCHAR
bRandBBS_l (STATEBBS *xrstate)
generation of a pseudorandom
number of type
UCHAR
with the
BBS generator
int
FindPrime_l (CLINT p_l,
STATEPRNG *xrstate, USHORT l)
deterimine
a
pseudorandom
prime
p_l
of
type
CLINT
with
2
l
−
1
≤
p_l
<
2
l
int
FindPrimeGcd_l (CLINT p_l,
STATEPRNG *xrstate,
USHORT l, CLINT f_l)
deterimine
a
pseudoran-
prime
p_l
of
type
CLINT
dom
with
2
l
−
1
2
l
≤
p_l
<
and
gcd(
p_l
−
1
,
f_l
)=1
int
FindPrimeMinMaxGcd_l (CLINT p_l,
STATEPRNG *xrstate,
CLINT rmin_l,
CLINT rmax_l, CLINT f_l)
deterimine
a
pseudorandom
prime
p_l
of
type
CLINT
with
rmin_l
≤
p_l
≤
rmax_l
and
gcd(
p_l
−
1
,
f_l)
=1
int
GetEntropy_l (CLINT Seed_l,
char *Hashres,int AddEntropy,
char *RndStr, int LenRndStr)
generate entropy for initializing
pseudorandom number genera-
tor
int
InitRand_l (STATEPRNG *xrstate,
char *UsrStr, int LenUsrStr,
int AddEntropy, int Generator)
initialize a yet to be specified
random number generator with
generation of entropy
int
InitRandAES_l (STATEAES *rstate,
char *UsrStr, int LenUsrStr,
int AddEntropy)
initialize the AES random num-
ber generator with generation of
entropy
int
InitRandBBS_l (STATEBBS *rstate,
char *UsrStr, int LenUsrStr,
int AddEntropy)
initialize the Blum-Blum-Shub
random number generator with
generation of entropy
int
InitRandRMDSHA1_l (
STATERMDSHA1 *rstate,
char * UsrStr, int LenUsrStr,
int AddEntropy)
initialize the RandRMDSHA-1
random number generator with
generation of entropy