BeeCrypt  4.2.1
Macros | Functions | Variables

Multi-precision primes, headers. More...

#include "beecrypt/mpbarrett.h"
Include dependency graph for mpprime.h:

Go to the source code of this file.

Macros

#define SMALL_PRIMES_PRODUCT_MAX   32
 

Functions

int mpptrials (size_t)
 
int mppmilrab_w (const mpbarrett *, randomGeneratorContext *, int, mpw *)
 
int mpprnd_w (mpbarrett *, randomGeneratorContext *, size_t, int, const mpnumber *, mpw *)
 
int mpprndr_w (mpbarrett *, randomGeneratorContext *, size_t, int, const mpnumber *, const mpnumber *, const mpnumber *, mpw *)
 
void mpprndsafe_w (mpbarrett *, randomGeneratorContext *, size_t, int, mpw *)
 
void mpprndcon_w (mpbarrett *, randomGeneratorContext *, size_t, int, const mpnumber *, const mpnumber *, const mpnumber *, mpnumber *, mpw *)
 
void mpprndconone_w (mpbarrett *, randomGeneratorContext *, size_t, int, const mpbarrett *, const mpnumber *, mpnumber *, int, mpw *)
 

Variables

mpwmpspprod [SMALL_PRIMES_PRODUCT_MAX]
 

Detailed Description

Multi-precision primes, headers.

Author
Bob Deblier bob.d.nosp@m.ebli.nosp@m.er@te.nosp@m.lene.nosp@m.t.be

Macro Definition Documentation

#define SMALL_PRIMES_PRODUCT_MAX   32

Function Documentation

int mppmilrab_w ( const mpbarrett ,
randomGeneratorContext ,
int  ,
mpw  
)
int mpprnd_w ( mpbarrett ,
randomGeneratorContext ,
size_t  ,
int  ,
const mpnumber ,
mpw  
)
void mpprndcon_w ( mpbarrett ,
randomGeneratorContext ,
size_t  ,
int  ,
const mpnumber ,
const mpnumber ,
const mpnumber ,
mpnumber ,
mpw  
)
void mpprndconone_w ( mpbarrett ,
randomGeneratorContext ,
size_t  ,
int  ,
const mpbarrett ,
const mpnumber ,
mpnumber ,
int  ,
mpw  
)
int mpprndr_w ( mpbarrett ,
randomGeneratorContext ,
size_t  ,
int  ,
const mpnumber ,
const mpnumber ,
const mpnumber ,
mpw  
)
void mpprndsafe_w ( mpbarrett ,
randomGeneratorContext ,
size_t  ,
int  ,
mpw  
)
int mpptrials ( size_t  )

Variable Documentation