summaryrefslogtreecommitdiff
path: root/mqv.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2015-11-22 19:17:15 -0500
committerJeffrey Walton <noloader@gmail.com>2015-11-22 19:17:15 -0500
commit298988a5b9687f64de733ce01319e90e94b0b688 (patch)
tree8b026ad4838457e3e5385ff91380ead4499d30f5 /mqv.h
parent62618fda97bbde6d4cc4752101e69839fc4f3b6f (diff)
downloadcryptopp-git-298988a5b9687f64de733ce01319e90e94b0b688.tar.gz
Crypto++ 5.6.3 check-inCRYPTOPP_5_6_3
Diffstat (limited to 'mqv.h')
-rw-r--r--mqv.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/mqv.h b/mqv.h
index 2f06c518..5d30de24 100644
--- a/mqv.h
+++ b/mqv.h
@@ -1,9 +1,11 @@
+// mqv.h - written and placed in the public domain by Wei Dai
+
+//! \file mqv.h
+//! \brief Classes for Menezes–Qu–Vanstone (MQV) key agreement
+
#ifndef CRYPTOPP_MQV_H
#define CRYPTOPP_MQV_H
-/** \file
-*/
-
#include "cryptlib.h"
#include "gfpcrypt.h"
#include "modarith.h"
@@ -12,7 +14,13 @@
NAMESPACE_BEGIN(CryptoPP)
-//! _
+//! \class MQV_Domain
+//! \brief MQV domain for performing authenticated key agreement
+//! \tparam GROUP_PARAMETERS doamin parameters
+//! \tparam COFACTOR_OPTION cofactor option
+//! \details GROUP_PARAMETERS paramters include the curve coefcients and the base point.
+//! Binary curves use a polynomial to represent its characteristic, while prime curves
+//! use a prime number.
template <class GROUP_PARAMETERS, class COFACTOR_OPTION = CPP_TYPENAME GROUP_PARAMETERS::DefaultCofactorOption>
class MQV_Domain : public AuthenticatedKeyAgreementDomain
{