Crypto++ 8.1 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
fhmqv.h
Classes for Fully Hashed Menezes-Qu-Vanstone key agreement in GF(p)
FHMQV_Domain
Fully Hashed Menezes-Qu-Vanstone in GF(p)
Definition: fhmqv.h:24
HMQV_Domain
Hashed Menezes-Qu-Vanstone in GF(p)
Definition: hmqv.h:23
config.h
Library configuration file.
hmqv.h
Classes for Hashed Menezes-Qu-Vanstone key agreement in GF(p)
MQV_Domain
MQV domain for performing authenticated key agreement.
Definition: mqv.h:28
pch.h
Precompiled header file.
CryptoPP
Crypto++ library namespace.
mqv.h
Classes for Menezes–Qu–Vanstone (MQV) key agreement.