MQV (Menezes–Qu–Vanstone) is an authenticated protocol for key agreement based on the Diffie–Hellman scheme. Like other authenticated Diffie-Hellman schemes, MQV provides protection against an active attacker. The protocol can be modified to work in an arbitrary finite group, and, in particular, elliptic curve groups, where it is known as elliptic curve MQV (ECMQV).
Contents
MQV was initially proposed by Menezes, Qu and Vanstone in 1995. It was modified with Law and Solinas in 1998. There are one-, two- and three-pass variants.
MQV is incorporated in the public-key standard IEEE P1363.
Some variants of MQV are claimed in patents assigned to Certicom.
MQV has some weaknesses that were fixed by HMQV in 2005. A few articles offered alternative viewpoint. It is now known that HMQV is vulnerable to a KCI attack when ephemeral public keys are not validated
ECMQV has been dropped from the National Security Agency's Suite B set of cryptographic standards.
Description
Alice has a key pair (A,a) with A her public key and a her private key and Bob has the key pair (B,b) with B his public key and b his private key.
In the following
Note: for the algorithm to be secure some checks have to be performed. See Hankerson et al.
Correctness
Bob calculates:
Alice calculates:
So the keys K are indeed the same with