mqv.cpp
// mqv.cpp - originally written and placed in the public domain by Wei Dai
// HMQV provided by Jeffrey Walton, Ray Clayton and Uri Blumenthal.
// FHMQV provided by Uri Blumenthal.
#include "pch.h"
#include "config.h"
#include "mqv.h"
#include "hmqv.h"
#include "fhmqv.h"
#include "eccrypto.h"
// Squash MS LNK4221 and libtool warnings
extern const char MQV_FNAME[] = __FILE__;
NAMESPACE_BEGIN(CryptoPP)
#if defined(CRYPTOPP_DEBUG) && !defined(CRYPTOPP_DOXYGEN_PROCESSING)
void TestInstantiations_MQV()
{
MQV mqv;
ECMQV<ECP> ecmqv;
CRYPTOPP_UNUSED(mqv);
CRYPTOPP_UNUSED(ecmqv);
}
void TestInstantiations_HMQV()
{
HMQV hmqv;
ECHMQV<ECP> echmqv;
CRYPTOPP_UNUSED(hmqv);
CRYPTOPP_UNUSED(echmqv);
}
void TestInstantiations_FHMQV()
{
FHMQV fhmqv;
ECFHMQV<ECP> ecfhmqv;
CRYPTOPP_UNUSED(fhmqv);
CRYPTOPP_UNUSED(ecfhmqv);
}
#endif
NAMESPACE_END
FHMQV_Domain
Fully Hashed Menezes-Qu-Vanstone in GF(p)
Definition: fhmqv.h:25
HMQV_Domain
Hashed Menezes-Qu-Vanstone in GF(p)
Definition: hmqv.h:24
MQV_Domain
MQV domain for performing authenticated key agreement.
Definition: mqv.h:29
config.h
Library configuration file.
eccrypto.h
Classes and functions for Elliptic Curves over prime and binary fields.
fhmqv.h
Classes for Fully Hashed Menezes-Qu-Vanstone key agreement in GF(p)
hmqv.h
Classes for Hashed Menezes-Qu-Vanstone key agreement in GF(p)
mqv.h
Classes for Menezes–Qu–Vanstone (MQV) key agreement.
CryptoPP
Crypto++ library namespace.
pch.h
Precompiled header file.
ECFHMQV
Fully Hashed Elliptic Curve Menezes-Qu-Vanstone.
Definition: eccrypto.h:308
ECHMQV
Hashed Elliptic Curve Menezes-Qu-Vanstone.
Definition: eccrypto.h:290
ECMQV
Elliptic Curve Menezes-Qu-Vanstone.
Definition: eccrypto.h:278