Fabcoin Core
0.16.2
P2P Digital Currency
|
#include "pch.h"
#include "xtr.h"
#include "nbtheory.h"
#include "integer.h"
#include "algebra.h"
#include "modarith.h"
#include "algebra.cpp"
Go to the source code of this file.
Functions | |
void | XTR_FindPrimesAndGenerator (RandomNumberGenerator &rng, Integer &p, Integer &q, GFP2Element &g, unsigned int pbits, unsigned int qbits) |
Creates primes p,q and generator g for XTR. More... | |
GFP2Element | XTR_Exponentiate (const GFP2Element &b, const Integer &e, const Integer &p) |
GFP2Element XTR_Exponentiate | ( | const GFP2Element & | b, |
const Integer & | e, | ||
const Integer & | p | ||
) |
void XTR_FindPrimesAndGenerator | ( | RandomNumberGenerator & | rng, |
Integer & | p, | ||
Integer & | q, | ||
GFP2Element & | g, | ||
unsigned int | pbits, | ||
unsigned int | qbits | ||
) |