Description
Elliptic Curve Diffie–Hellman (ECDH) is a key exchange protocol that enables two parties to securely establish a shared secret key over an insecure communication channel. It is a variant of the Diffie–Hellman key exchange that uses elliptic curve cryptography (ECC) to achieve equivalent security with smaller key sizes compared to traditional finite-field Diffie–Hellman. In 3GPP, ECDH is specified for use in security procedures, particularly in the 5G System (5GS) for authentication and key agreement (AKA) and for establishing secure connections between network functions.
The ECDH protocol operates on an elliptic curve over a finite field. Each party generates a private key (a random integer) and computes a corresponding public key (a point on the curve). The public keys are exchanged over the insecure channel. Each party then combines its private key with the other party's public key to compute a shared secret point on the curve. The x-coordinate of this point is used as the shared secret, which can then be used to derive encryption and integrity keys. The security of ECDH relies on the elliptic curve discrete logarithm problem (ECDLP), which is computationally infeasible to solve with current technology for appropriately chosen curves.
In 3GPP, ECDH is used in several security contexts. For example, in the 5G authentication and key agreement (5G-AKA) procedure, ECDH can be used to establish a secure channel between the UE and the network. It is also used in the authentication server function (AUSF) and the unified data management (UDM) for key derivation. Additionally, ECDH is employed in the security of network slicing, where it helps to establish secure keys for inter-slice communication. The 3GPP specifications 33.703 and 33.938 define the security architecture and procedures for 5G, including the use of ECDH.
Key components of ECDH include the elliptic curve parameters, which must be agreed upon by both parties. 3GPP specifies the use of standardized curves, such as NIST P-256 or Curve25519, to ensure interoperability. The protocol also requires a method to generate random private keys and to validate public keys to prevent invalid curve attacks. In 3GPP, ECDH is often combined with other cryptographic primitives, such as hash functions and message authentication codes, to provide a complete security solution.
The role of ECDH in 3GPP is to provide forward secrecy and strong security for key exchange. Forward secrecy ensures that even if a long-term private key is compromised, past session keys remain secure. This is critical for protecting user data and signaling in mobile networks. ECDH is particularly suitable for resource-constrained devices, such as IoT devices, due to its efficiency and small key sizes. As 5G networks evolve, ECDH will continue to be a fundamental building block for secure communication.
Purpose & Motivation
ECDH exists to solve the problem of securely establishing a shared secret key between two parties over an insecure channel. Traditional key exchange methods, such as RSA key transport, require the sender to encrypt a secret key with the recipient's public key. While secure, this approach lacks forward secrecy: if the recipient's private key is later compromised, all past session keys can be decrypted. ECDH addresses this by allowing both parties to contribute to the shared secret, ensuring that the secret is never transmitted and that past sessions remain secure even if long-term keys are compromised.
The motivation for using ECDH in 3GPP is to provide strong security with efficient performance. Elliptic curve cryptography offers equivalent security to RSA with much smaller key sizes, which reduces computational overhead and bandwidth consumption. This is particularly important in mobile networks, where devices may have limited processing power and battery life. ECDH is also well-suited for the high-speed, low-latency requirements of 5G, as it enables fast key agreement.
Previous approaches in 3GPP, such as the use of pre-shared keys or RSA-based key exchange, had limitations in terms of scalability and forward secrecy. ECDH overcomes these limitations by providing a scalable, forward-secret key exchange mechanism. It also aligns with industry best practices and regulatory requirements for cryptographic algorithms. The adoption of ECDH in 3GPP specifications 33.703 and 33.938 reflects the need for robust security in 5G and beyond.
Release Timeline
Evolution Across Releases
An overview written from the defining specifications, not a verified change history. For the exact text, open the specifications listed below.
Defining Specifications
3GPP specifications that define or reference ECDH, with the latest known release. Sourced from the 3GPP document catalog — see methodology.
| Specification | Title | Release |
|---|---|---|
| TS 33.703 vk10 | Post-Quantum Cryptography for 3GPP Systems | Rel-20 read |
| TS 33.938 vj30 | 5G Standalone Cryptographic Inventory | Rel-19 read |