Crypto++  8.2
Free C++ class library of cryptographic schemes
mqv.cpp
1 // mqv.cpp - originally written and placed in the public domain by Wei Dai
2 // HMQV provided by Jeffrey Walton, Ray Clayton and Uri Blumenthal.
3 // FHMQV provided by Uri Blumenthal.
4 
5 #include "pch.h"
6 #include "config.h"
7 #include "mqv.h"
8 #include "hmqv.h"
9 #include "fhmqv.h"
10 
11 // Squash MS LNK4221 and libtool warnings
12 extern const char MQV_FNAME[] = __FILE__;
13 
14 NAMESPACE_BEGIN(CryptoPP)
15 
16 #if defined(CRYPTOPP_DEBUG) && !defined(CRYPTOPP_DOXYGEN_PROCESSING)
17 void TestInstantiations_MQV()
18 {
19  MQV mqv;
20 }
21 
22 void TestInstantiations_HMQV()
23 {
24  HMQV hmqv;
25 }
26 
27 void TestInstantiations_FHMQV()
28 {
29  FHMQV fhmqv;
30 }
31 #endif
32 
33 NAMESPACE_END
Classes for Fully Hashed Menezes-Qu-Vanstone key agreement in GF(p)
Fully Hashed Menezes-Qu-Vanstone in GF(p)
Definition: fhmqv.h:24
Hashed Menezes-Qu-Vanstone in GF(p)
Definition: hmqv.h:23
Library configuration file.
Classes for Hashed Menezes-Qu-Vanstone key agreement in GF(p)
MQV domain for performing authenticated key agreement.
Definition: mqv.h:28
Precompiled header file.
Crypto++ library namespace.
Classes for Menezes–Qu–Vanstone (MQV) key agreement.