Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

mpbarrett.h File Reference

Multi-precision integer routines using Barrett modular reduction, headers. More...

#include "beecrypt.h"
#include "mpnumber.h"

Go to the source code of this file.

Data Structures

struct  mpbarrett

Functions

void mpbzero (mpbarrett *)
void mpbinit (mpbarrett *, size_t)
void mpbfree (mpbarrett *)
void mpbcopy (mpbarrett *, const mpbarrett *)
void mpbset (mpbarrett *, size_t, const mpw *)
void mpbsethex (mpbarrett *, const char *)
void mpbsubone (const mpbarrett *, mpw *)
void mpbmu_w (mpbarrett *, mpw *)
void mpbrnd_w (const mpbarrett *, randomGeneratorContext *, mpw *, mpw *)
void mpbrndodd_w (const mpbarrett *, randomGeneratorContext *, mpw *, mpw *)
void mpbrndinv_w (const mpbarrett *, randomGeneratorContext *, mpw *, mpw *, mpw *)
void mpbneg_w (const mpbarrett *, const mpw *, mpw *)
void mpbmod_w (const mpbarrett *, const mpw *, mpw *, mpw *)
void mpbaddmod_w (const mpbarrett *, size_t, const mpw *, size_t, const mpw *, mpw *, mpw *)
void mpbsubmod_w (const mpbarrett *, size_t, const mpw *, size_t, const mpw *, mpw *, mpw *)
void mpbmulmod_w (const mpbarrett *, size_t, const mpw *, size_t, const mpw *, mpw *, mpw *)
void mpbsqrmod_w (const mpbarrett *, size_t, const mpw *, mpw *, mpw *)
void mpbpowmod_w (const mpbarrett *, size_t, const mpw *, size_t, const mpw *, mpw *, mpw *)
void mpbpowmodsld_w (const mpbarrett *, const mpw *, size_t, const mpw *, mpw *, mpw *)
void mpbtwopowmod_w (const mpbarrett *, size_t, const mpw *, mpw *, mpw *)
void mpbsm2powmod (const mpbarrett *, const mpw *, const mpw *, const mpw *, const mpw *)
void mpbsm3powmod (const mpbarrett *, const mpw *, const mpw *, const mpw *, const mpw *, const mpw *, const mpw *)
int mpbpprime_w (const mpbarrett *, randomGeneratorContext *, int, mpw *)
void mpbnrnd (const mpbarrett *, randomGeneratorContext *, mpnumber *)
void mpbnmulmod (const mpbarrett *, const mpnumber *, const mpnumber *, mpnumber *)
void mpbnsqrmod (const mpbarrett *, const mpnumber *, mpnumber *)
void mpbnpowmod (const mpbarrett *, const mpnumber *, const mpnumber *, mpnumber *)
void mpbnpowmodsld (const mpbarrett *, const mpw *, const mpnumber *, mpnumber *)


Detailed Description

Multi-precision integer routines using Barrett modular reduction, headers.

Author:
Bob Deblier <bob.deblier@pandora.be>

Definition in file mpbarrett.h.


Function Documentation

void mpbaddmod_w const mpbarrett  ,
size_t   ,
const mpw  ,
size_t   ,
const mpw  ,
mpw  ,
mpw  
 

void mpbcopy mpbarrett  ,
const mpbarrett  
 

void mpbfree mpbarrett  
 

void mpbinit mpbarrett  ,
size_t   
 

void mpbmod_w const mpbarrett  ,
const mpw  ,
mpw  ,
mpw  
 

void mpbmu_w mpbarrett  ,
mpw  
 

void mpbmulmod_w const mpbarrett  ,
size_t   ,
const mpw  ,
size_t   ,
const mpw  ,
mpw  ,
mpw  
 

void mpbneg_w const mpbarrett  ,
const mpw  ,
mpw  
 

void mpbnmulmod const mpbarrett  ,
const mpnumber  ,
const mpnumber  ,
mpnumber  
 

void mpbnpowmod const mpbarrett  ,
const mpnumber  ,
const mpnumber  ,
mpnumber  
 

void mpbnpowmodsld const mpbarrett  ,
const mpw  ,
const mpnumber  ,
mpnumber  
 

void mpbnrnd const mpbarrett  ,
randomGeneratorContext  ,
mpnumber  
 

void mpbnsqrmod const mpbarrett  ,
const mpnumber  ,
mpnumber  
 

void mpbpowmod_w const mpbarrett  ,
size_t   ,
const mpw  ,
size_t   ,
const mpw  ,
mpw  ,
mpw  
 

void mpbpowmodsld_w const mpbarrett  ,
const mpw  ,
size_t   ,
const mpw  ,
mpw  ,
mpw  
 

int mpbpprime_w const mpbarrett  ,
randomGeneratorContext  ,
int   ,
mpw  
 

void mpbrnd_w const mpbarrett  ,
randomGeneratorContext  ,
mpw  ,
mpw  
 

void mpbrndinv_w const mpbarrett  ,
randomGeneratorContext  ,
mpw  ,
mpw  ,
mpw  
 

void mpbrndodd_w const mpbarrett  ,
randomGeneratorContext  ,
mpw  ,
mpw  
 

void mpbset mpbarrett  ,
size_t   ,
const mpw  
 

void mpbsethex mpbarrett  ,
const char *   
 

void mpbsm2powmod const mpbarrett  ,
const mpw  ,
const mpw  ,
const mpw  ,
const mpw  
 

void mpbsm3powmod const mpbarrett  ,
const mpw  ,
const mpw  ,
const mpw  ,
const mpw  ,
const mpw  ,
const mpw  
 

void mpbsqrmod_w const mpbarrett  ,
size_t   ,
const mpw  ,
mpw  ,
mpw  
 

void mpbsubmod_w const mpbarrett  ,
size_t   ,
const mpw  ,
size_t   ,
const mpw  ,
mpw  ,
mpw  
 

void mpbsubone const mpbarrett  ,
mpw  
 

void mpbtwopowmod_w const mpbarrett  ,
size_t   ,
const mpw  ,
mpw  ,
mpw  
 

void mpbzero mpbarrett  
 


Generated on Sat Oct 25 23:34:29 2003 for BeeCrypt by doxygen1.2.18