#include "beecrypt/beecrypt.h"
#include "beecrypt/mpnumber.h"
#include <iostream>
Go to the source code of this file.
Data Structures | |
struct | mpbarrett |
Functions | |
std::ostream & | operator<< (std::ostream &, const mpbarrett &) |
void | mpbzero (mpbarrett *) |
void | mpbinit (mpbarrett *, size_t) |
void | mpbfree (mpbarrett *) |
void | mpbcopy (mpbarrett *, const mpbarrett *) |
void | mpbwipe (mpbarrett *) |
void | mpbset (mpbarrett *, size_t, const mpw *) |
int | mpbsetbin (mpbarrett *, const byte *, size_t) |
int | 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 *) |
size_t | mpbbits (const mpbarrett *) |
void mpbaddmod_w | ( | const mpbarrett * | , | |
size_t | , | |||
const mpw * | , | |||
size_t | , | |||
const mpw * | , | |||
mpw * | , | |||
mpw * | ||||
) |
size_t mpbbits | ( | const mpbarrett * | ) |
void mpbfree | ( | mpbarrett * | ) |
void mpbinit | ( | mpbarrett * | , | |
size_t | ||||
) |
void mpbmulmod_w | ( | const mpbarrett * | , | |
size_t | , | |||
const mpw * | , | |||
size_t | , | |||
const mpw * | , | |||
mpw * | , | |||
mpw * | ||||
) |
void mpbnrnd | ( | const mpbarrett * | , | |
randomGeneratorContext * | , | |||
mpnumber * | ||||
) |
void mpbpowmod_w | ( | const mpbarrett * | , | |
size_t | , | |||
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 * | ||||
) |
int mpbsethex | ( | mpbarrett * | , | |
const char * | ||||
) |
void mpbsm3powmod | ( | const mpbarrett * | , | |
const mpw * | , | |||
const mpw * | , | |||
const mpw * | , | |||
const mpw * | , | |||
const mpw * | , | |||
const mpw * | ||||
) |
void mpbsubmod_w | ( | const mpbarrett * | , | |
size_t | , | |||
const mpw * | , | |||
size_t | , | |||
const mpw * | , | |||
mpw * | , | |||
mpw * | ||||
) |
void mpbwipe | ( | mpbarrett * | ) |
void mpbzero | ( | mpbarrett * | ) |
std::ostream& operator<< | ( | std::ostream & | , | |
const mpbarrett & | ||||
) |