In cryptography, Woo–Lam refers to various computer network authentication protocols designed by Simon S. Lam and Thomas Woo. The protocols enable two communicating parties to authenticate each other's identity and to exchange session keys, and involve the use of a trusted key distribution center (KDC) to negotiate between the parties. Both symmetric-key and public-key variants have been described. However, the protocols suffer from various security flaws, and in part have been described as being inefficient compared to alternative authentication protocols.
The following notation is used to describe the algorithm:
A , B - network nodes.
K U x - public key of node
x .
K R x - private key of
x .
N x -
nonce chosen by
x .
I D x - unique identifier of
x .
E k - public-key encryption using key
k .
S k -
digital signature using key
k .
K - random session key chosen by the KDC.
| | - concatenation.
It is assumed that all parties know the KDC's public key.
1 ) A → K D C : I D A | | I D B 2 ) K D C → A : S K R K D C [ I D B | | K U B ] 3 ) A → B : E K U B [ N A | | I D A ] 4 ) B → K D C : I D B | | I D A | | E K U K D C [ N A ] 5 ) K D C → B : S K R K D C [ I D A | | K U A ] | | E K U B [ S K R K D C [ N A | | K | | I D B | | I D A ] ] 6 ) B → A : E K U A [ S K R K D C [ N A | | K ] | | N B ] 7 ) A → B : E K [ N B ] The original version of the protocol had the identifier I D A omitted from lines 5 and 6, which did not account for the fact that N A is unique only among nonces generated by A and not by other parties. The protocol was revised after the authors themselves spotted a flaw in the algorithm.