Diffie–Hellman and Authenticated Key Agreement

Derive the common group element and explain why confirming a peer’s identity requires a separate protocol guarantee.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. The two exponentiation orders agree
  2. The keys need to belong to the intended session

The two exponentiation orders agree

In a suitable finite cyclic group with generator \(g\), let Alice publish \(g^a\) and Bob publish \(g^b\) for independently chosen secret exponents. Each can raise the other party’s share to its own exponent.

\[ (g^b)^a=g^{ab}=(g^a)^b. \]

The equality is algebraic. Security depends on the group, parameter validation and assumptions about what can be computed from the public shares. A protocol normally derives keys from the agreed secret instead of using the group element’s raw representation as a key.

The keys need to belong to the intended session

Unauthenticated key agreement alone does not assert who supplied a public share. An authenticated protocol binds identities and roles to the relevant transcript, with credentials and validation rules stated separately. A key derivation function can bind purpose and context to output keys. TLS transcript authentication uses these ideas with a specified handshake and record protection.[1]

References

  1. Dan Boneh and Victor Shoup, A Graduate Course in Applied Cryptography ↩