include/beecrypt/mpbarrett.h File Reference

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

#include "beecrypt/beecrypt.h"
#include "beecrypt/mpnumber.h"
#include <iostream>

Include dependency graph for mpbarrett.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  mpbarrett

Functions

BEECRYPTAPI std::ostream & operator<< (std::ostream &, const mpbarrett &)
BEECRYPTAPI void mpbzero (mpbarrett *)
BEECRYPTAPI void mpbinit (mpbarrett *, size_t)
BEECRYPTAPI void mpbfree (mpbarrett *)
BEECRYPTAPI void mpbcopy (mpbarrett *, const mpbarrett *)
BEECRYPTAPI void mpbwipe (mpbarrett *)
BEECRYPTAPI void mpbset (mpbarrett *, size_t, const mpw *)
BEECRYPTAPI int mpbsetbin (mpbarrett *, const byte *, size_t)
BEECRYPTAPI int mpbsethex (mpbarrett *, const char *)
BEECRYPTAPI void mpbsubone (const mpbarrett *, mpw *)
BEECRYPTAPI void mpbmu_w (mpbarrett *, mpw *)
BEECRYPTAPI void mpbrnd_w (const mpbarrett *, randomGeneratorContext *, mpw *, mpw *)
BEECRYPTAPI void mpbrndodd_w (const mpbarrett *, randomGeneratorContext *, mpw *, mpw *)
BEECRYPTAPI void mpbrndinv_w (const mpbarrett *, randomGeneratorContext *, mpw *, mpw *, mpw *)
BEECRYPTAPI void mpbneg_w (const mpbarrett *, const mpw *, mpw *)
BEECRYPTAPI void mpbmod_w (const mpbarrett *, const mpw *, mpw *, mpw *)
BEECRYPTAPI void mpbaddmod_w (const mpbarrett *, size_t, const mpw *, size_t, const mpw *, mpw *, mpw *)
BEECRYPTAPI void mpbsubmod_w (const mpbarrett *, size_t, const mpw *, size_t, const mpw *, mpw *, mpw *)
BEECRYPTAPI void mpbmulmod_w (const mpbarrett *, size_t, const mpw *, size_t, const mpw *, mpw *, mpw *)
BEECRYPTAPI void mpbsqrmod_w (const mpbarrett *, size_t, const mpw *, mpw *, mpw *)
BEECRYPTAPI void mpbpowmod_w (const mpbarrett *, size_t, const mpw *, size_t, const mpw *, mpw *, mpw *)
BEECRYPTAPI void mpbpowmodsld_w (const mpbarrett *, const mpw *, size_t, const mpw *, mpw *, mpw *)
BEECRYPTAPI void mpbtwopowmod_w (const mpbarrett *, size_t, const mpw *, mpw *, mpw *)
BEECRYPTAPI void mpbsm2powmod (const mpbarrett *, const mpw *, const mpw *, const mpw *, const mpw *)
BEECRYPTAPI void mpbsm3powmod (const mpbarrett *, const mpw *, const mpw *, const mpw *, const mpw *, const mpw *, const mpw *)
BEECRYPTAPI int mpbpprime_w (const mpbarrett *, randomGeneratorContext *, int, mpw *)
BEECRYPTAPI void mpbnrnd (const mpbarrett *, randomGeneratorContext *, mpnumber *)
BEECRYPTAPI void mpbnmulmod (const mpbarrett *, const mpnumber *, const mpnumber *, mpnumber *)
BEECRYPTAPI void mpbnsqrmod (const mpbarrett *, const mpnumber *, mpnumber *)
BEECRYPTAPI void mpbnpowmod (const mpbarrett *, const mpnumber *, const mpnumber *, mpnumber *)
BEECRYPTAPI void mpbnpowmodsld (const mpbarrett *, const mpw *, const mpnumber *, mpnumber *)
BEECRYPTAPI size_t mpbbits (const mpbarrett *)


Detailed Description

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

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

Function Documentation

BEECRYPTAPI void mpbaddmod_w ( const mpbarrett ,
size_t  ,
const mpw ,
size_t  ,
const mpw ,
mpw ,
mpw  
)

BEECRYPTAPI size_t mpbbits ( const mpbarrett  ) 

BEECRYPTAPI void mpbcopy ( mpbarrett ,
const mpbarrett  
)

BEECRYPTAPI void mpbfree ( mpbarrett  ) 

BEECRYPTAPI void mpbinit ( mpbarrett ,
size_t   
)

BEECRYPTAPI void mpbmod_w ( const mpbarrett ,
const mpw ,
mpw ,
mpw  
)

BEECRYPTAPI void mpbmu_w ( mpbarrett ,
mpw  
)

BEECRYPTAPI void mpbmulmod_w ( const mpbarrett ,
size_t  ,
const mpw ,
size_t  ,
const mpw ,
mpw ,
mpw  
)

BEECRYPTAPI void mpbneg_w ( const mpbarrett ,
const mpw ,
mpw  
)

BEECRYPTAPI void mpbnmulmod ( const mpbarrett ,
const mpnumber ,
const mpnumber ,
mpnumber  
)

BEECRYPTAPI void mpbnpowmod ( const mpbarrett ,
const mpnumber ,
const mpnumber ,
mpnumber  
)

BEECRYPTAPI void mpbnpowmodsld ( const mpbarrett ,
const mpw ,
const mpnumber ,
mpnumber  
)

BEECRYPTAPI void mpbnrnd ( const mpbarrett ,
randomGeneratorContext ,
mpnumber  
)

BEECRYPTAPI void mpbnsqrmod ( const mpbarrett ,
const mpnumber ,
mpnumber  
)

BEECRYPTAPI void mpbpowmod_w ( const mpbarrett ,
size_t  ,
const mpw ,
size_t  ,
const mpw ,
mpw ,
mpw  
)

BEECRYPTAPI void mpbpowmodsld_w ( const mpbarrett ,
const mpw ,
size_t  ,
const mpw ,
mpw ,
mpw  
)

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

BEECRYPTAPI void mpbrnd_w ( const mpbarrett ,
randomGeneratorContext ,
mpw ,
mpw  
)

BEECRYPTAPI void mpbrndinv_w ( const mpbarrett ,
randomGeneratorContext ,
mpw ,
mpw ,
mpw  
)

BEECRYPTAPI void mpbrndodd_w ( const mpbarrett ,
randomGeneratorContext ,
mpw ,
mpw  
)

BEECRYPTAPI void mpbset ( mpbarrett ,
size_t  ,
const mpw  
)

BEECRYPTAPI int mpbsetbin ( mpbarrett ,
const byte ,
size_t   
)

BEECRYPTAPI int mpbsethex ( mpbarrett ,
const char *   
)

BEECRYPTAPI void mpbsm2powmod ( const mpbarrett ,
const mpw ,
const mpw ,
const mpw ,
const mpw  
)

BEECRYPTAPI void mpbsm3powmod ( const mpbarrett ,
const mpw ,
const mpw ,
const mpw ,
const mpw ,
const mpw ,
const mpw  
)

BEECRYPTAPI void mpbsqrmod_w ( const mpbarrett ,
size_t  ,
const mpw ,
mpw ,
mpw  
)

BEECRYPTAPI void mpbsubmod_w ( const mpbarrett ,
size_t  ,
const mpw ,
size_t  ,
const mpw ,
mpw ,
mpw  
)

BEECRYPTAPI void mpbsubone ( const mpbarrett ,
mpw  
)

BEECRYPTAPI void mpbtwopowmod_w ( const mpbarrett ,
size_t  ,
const mpw ,
mpw ,
mpw  
)

BEECRYPTAPI void mpbwipe ( mpbarrett  ) 

BEECRYPTAPI void mpbzero ( mpbarrett  ) 

BEECRYPTAPI std::ostream& operator<< ( std::ostream &  ,
const mpbarrett  
)


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