Fabcoin Core  0.16.2
P2P Digital Currency
Classes | Functions
xtr.h File Reference

The XTR public key system. More...

#include "cryptlib.h"
#include "modarith.h"
#include "integer.h"
#include "algebra.h"
Include dependency graph for xtr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GFP2Element
 an element of GF(p^2) More...
 
class  GFP2_ONB< F >
 GF(p^2), optimal normal basis. More...
 

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)
 

Detailed Description

The XTR public key system.

The XTR public key system by Arjen K. Lenstra and Eric R. Verheul

Definition in file xtr.h.

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: