Diffie–Hellman key exchange
Between peers, 802.11s defines the secure password-based authentication and key establishment protocol Simultaneous Authentication of Equals (SAE). SAE is based on Diffie–Hellman key exchange using finite cyclic groups which can be a primary cyclic group or an elliptic curve. The problem with a Diffie–Hellman key exchange is that it does not have an authentication mechanism. So the resulting key is influenced by a pre-shared key and the MAC addresses of both peers to solve the authentication problem.