Fabcoin Core  0.16.2
P2P Digital Currency
Functions
xtr.cpp File Reference
#include "pch.h"
#include "xtr.h"
#include "nbtheory.h"
#include "integer.h"
#include "algebra.h"
#include "modarith.h"
#include "algebra.cpp"
Include dependency graph for xtr.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)
 

Function Documentation

GFP2Element XTR_Exponentiate ( const GFP2Element b,
const Integer e,
const Integer p 
)

Definition at line 56 of file xtr.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

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.

Definition at line 19 of file xtr.cpp.

Here is the call graph for this function:

Here is the caller graph for this function: