You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
959 B
46 lines
959 B
// 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
|
|
|