Added "algebra.h" include for "make deps" recipe
parent
db1c95401c
commit
0fb28c0ee4
1
dh.h
1
dh.h
|
|
@ -9,6 +9,7 @@
|
|||
|
||||
#include "cryptlib.h"
|
||||
#include "gfpcrypt.h"
|
||||
#include "algebra.h"
|
||||
|
||||
NAMESPACE_BEGIN(CryptoPP)
|
||||
|
||||
|
|
|
|||
1
ec2n.h
1
ec2n.h
|
|
@ -11,6 +11,7 @@
|
|||
#include "cryptlib.h"
|
||||
#include "gf2n.h"
|
||||
#include "integer.h"
|
||||
#include "algebra.h"
|
||||
#include "eprecomp.h"
|
||||
#include "smartptr.h"
|
||||
#include "pubkey.h"
|
||||
|
|
|
|||
1
ecp.h
1
ecp.h
|
|
@ -8,6 +8,7 @@
|
|||
|
||||
#include "cryptlib.h"
|
||||
#include "integer.h"
|
||||
#include "algebra.h"
|
||||
#include "modarith.h"
|
||||
#include "eprecomp.h"
|
||||
#include "smartptr.h"
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@
|
|||
|
||||
#include "eprecomp.h"
|
||||
#include "integer.h"
|
||||
#include "algebra.h"
|
||||
#include "asn.h"
|
||||
|
||||
NAMESPACE_BEGIN(CryptoPP)
|
||||
|
|
|
|||
1
luc.h
1
luc.h
|
|
@ -7,6 +7,7 @@
|
|||
#include "cryptlib.h"
|
||||
#include "gfpcrypt.h"
|
||||
#include "integer.h"
|
||||
#include "algebra.h"
|
||||
#include "secblock.h"
|
||||
|
||||
#if CRYPTOPP_MSC_VERSION
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@
|
|||
#include "cryptlib.h"
|
||||
#include "modarith.h"
|
||||
#include "integer.h"
|
||||
#include "algebra.h"
|
||||
#include "eprecomp.h"
|
||||
#include "smartptr.h"
|
||||
#include "pubkey.h"
|
||||
|
|
|
|||
1
mqv.h
1
mqv.h
|
|
@ -10,6 +10,7 @@
|
|||
#include "gfpcrypt.h"
|
||||
#include "modarith.h"
|
||||
#include "integer.h"
|
||||
#include "algebra.h"
|
||||
#include "misc.h"
|
||||
|
||||
NAMESPACE_BEGIN(CryptoPP)
|
||||
|
|
|
|||
1
pubkey.h
1
pubkey.h
|
|
@ -43,6 +43,7 @@
|
|||
|
||||
#include "cryptlib.h"
|
||||
#include "integer.h"
|
||||
#include "algebra.h"
|
||||
#include "modarith.h"
|
||||
#include "filters.h"
|
||||
#include "eprecomp.h"
|
||||
|
|
|
|||
1
xtr.cpp
1
xtr.cpp
|
|
@ -5,6 +5,7 @@
|
|||
#include "xtr.h"
|
||||
#include "nbtheory.h"
|
||||
#include "integer.h"
|
||||
#include "algebra.h"
|
||||
#include "modarith.h"
|
||||
#include "algebra.cpp"
|
||||
|
||||
|
|
|
|||
14
xtr.h
14
xtr.h
|
|
@ -1,17 +1,19 @@
|
|||
#ifndef CRYPTOPP_XTR_H
|
||||
#define CRYPTOPP_XTR_H
|
||||
|
||||
/** \file
|
||||
"The XTR public key system" by Arjen K. Lenstra and Eric R. Verheul
|
||||
*/
|
||||
//! \file xtr.h
|
||||
//! \brief The XTR public key system
|
||||
//! \details The XTR public key system by Arjen K. Lenstra and Eric R. Verheul
|
||||
|
||||
#include "cryptlib.h"
|
||||
#include "modarith.h"
|
||||
#include "integer.h"
|
||||
#include "algebra.h"
|
||||
|
||||
NAMESPACE_BEGIN(CryptoPP)
|
||||
|
||||
//! an element of GF(p^2)
|
||||
//! \class GFP2Element
|
||||
//! \brief an element of GF(p^2)
|
||||
class GFP2Element
|
||||
{
|
||||
public:
|
||||
|
|
@ -40,7 +42,8 @@ public:
|
|||
Integer c1, c2;
|
||||
};
|
||||
|
||||
//! GF(p^2), optimal normal basis
|
||||
//! \class GFP2_ONB
|
||||
//! \brief GF(p^2), optimal normal basis
|
||||
template <class F>
|
||||
class GFP2_ONB : public AbstractRing<GFP2Element>
|
||||
{
|
||||
|
|
@ -208,6 +211,7 @@ protected:
|
|||
mutable Integer t;
|
||||
};
|
||||
|
||||
//! \brief Creates primes p,q and generator g for XTR
|
||||
void XTR_FindPrimesAndGenerator(RandomNumberGenerator &rng, Integer &p, Integer &q, GFP2Element &g, unsigned int pbits, unsigned int qbits);
|
||||
|
||||
GFP2Element XTR_Exponentiate(const GFP2Element &b, const Integer &e, const Integer &p);
|
||||
|
|
|
|||
Loading…
Reference in New Issue