1 #ifndef CRYPTOPP_XTRCRYPT_H
2 #define CRYPTOPP_XTRCRYPT_H
10 NAMESPACE_BEGIN(CryptoPP)
26 bool GetVoidValue(
const char *name,
const std::type_info &valueType,
void *pValue)
const;
28 CryptoParameters & AccessCryptoParameters() {
return *
this;}
35 bool Agree(byte *agreedValue,
const byte *privateKey,
const byte *otherPublicKey,
bool validateOtherPublicKey=
true)
const;
37 const Integer &GetModulus()
const {
return m_p;}
38 const Integer &GetSubgroupOrder()
const {
return m_q;}
39 const GFP2Element &GetSubgroupGenerator()
const {
return m_g;}
41 void SetModulus(
const Integer &p) {m_p = p;}
42 void SetSubgroupOrder(
const Integer &q) {m_q = q;}
43 void SetSubgroupGenerator(
const GFP2Element &g) {m_g = g;}
46 unsigned int ExponentBitLength()
const;