Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodiDSIDLArith.KeyAgreementScheme_MQV

function KeyAgreementScheme_MQV(const aPriv0 : iDLPrivateKey; const aPriv1 : iDSInteger; const aPubl1 : iGroupElement; const aWPr : iGroupElement; const aVPr : iGroupElement; const aP : iSecretKey; aCoFactor : Boolean; aHashAlgorithm: tHashAlgorithm; aKeyDerivation: TKeyDerivation; akLen : Integer; var aK : iSecretKey;
MQV key-agreement primitive (menezes-Qu-Vanstone, IEEE 1363): derives a shared secret from this party's static private key aPriv0, its ephemeral private scalar aPriv1 and ephemeral public aPubl1, plus the peer's static and ephemeral public elements (aWPr, aVPr), then derives key aK as in DH1. Use it when a protocol specifies MQV authenticated key agreement rather than the Unified-Model DH2. Symmetric across both peers.