include/beecrypt/mpprime.h File Reference

Multi-precision primes, headers. More...

#include "beecrypt/mpbarrett.h"

Include dependency graph for mpprime.h:

Go to the source code of this file.

Defines

#define SMALL_PRIMES_PRODUCT_MAX   32

Functions

BEECRYPTAPI int mpptrials (size_t)
BEECRYPTAPI int mppmilrab_w (const mpbarrett *, randomGeneratorContext *, int, mpw *)
BEECRYPTAPI int mpprnd_w (mpbarrett *, randomGeneratorContext *, size_t, int, const mpnumber *, mpw *)
BEECRYPTAPI int mpprndr_w (mpbarrett *, randomGeneratorContext *, size_t, int, const mpnumber *, const mpnumber *, const mpnumber *, mpw *)
BEECRYPTAPI void mpprndsafe_w (mpbarrett *, randomGeneratorContext *, size_t, int, mpw *)
BEECRYPTAPI void mpprndcon_w (mpbarrett *, randomGeneratorContext *, size_t, int, const mpnumber *, const mpnumber *, const mpnumber *, mpnumber *, mpw *)
BEECRYPTAPI 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.deblier@telenet.be>

Define Documentation

#define SMALL_PRIMES_PRODUCT_MAX   32


Function Documentation

BEECRYPTAPI int mppmilrab_w ( const mpbarrett ,
randomGeneratorContext ,
int  ,
mpw  
)

BEECRYPTAPI int mpprnd_w ( mpbarrett ,
randomGeneratorContext ,
size_t  ,
int  ,
const mpnumber ,
mpw  
)

BEECRYPTAPI void mpprndcon_w ( mpbarrett ,
randomGeneratorContext ,
size_t  ,
int  ,
const mpnumber ,
const mpnumber ,
const mpnumber ,
mpnumber ,
mpw  
)

BEECRYPTAPI void mpprndconone_w ( mpbarrett ,
randomGeneratorContext ,
size_t  ,
int  ,
const mpbarrett ,
const mpnumber ,
mpnumber ,
int  ,
mpw  
)

BEECRYPTAPI int mpprndr_w ( mpbarrett ,
randomGeneratorContext ,
size_t  ,
int  ,
const mpnumber ,
const mpnumber ,
const mpnumber ,
mpw  
)

BEECRYPTAPI void mpprndsafe_w ( mpbarrett ,
randomGeneratorContext ,
size_t  ,
int  ,
mpw  
)

BEECRYPTAPI int mpptrials ( size_t   ) 


Variable Documentation

mpw* mpspprod[SMALL_PRIMES_PRODUCT_MAX]


Generated on Fri Jun 19 13:38:57 2009 for BeeCrypt by  doxygen 1.5.8