The evolution of cryptographic algorithms – Ericsson
Cryptographic algorithms and security protocols are among the main building blocks for constructing secure communication solutions in the cyber world. They correspond to the locks that secure a house in the physical world. In both, it is very difficult to access the assets inside without a valid key. The algorithms and protocols are based on hard mathematical and computationally infeasible problems, whereas the lock mechanisms are based on the difficulty of solving the physical construction.
Mobile networks are critical infrastructure and heavily use advances in cryptographic algorithms and protocols to ensure the security of the information in the communication and privacy protection for the individuals. In this blog post, we take a detailed look at the cryptographic algorithms and protocols used in mobile communications and share some insights into the recent progress. We give an overview taking into consideration the development from 2G to 5G and beyond. In addition, we present detailed information on the progress toward defining the profiles to be used in the security protocols for the mobile communication systems. Last but not least, we give the current status and future plans for post-quantum cryptographic algorithms and protocols.
It can be hard to get an overview of the cryptographic algorithms used in mobile networks. The specifications are spread out over many documents, published over a period of 30 years by the three standardization organizations: 3GPP, ETSI and GSMA. The algorithms can also have quite cryptic names, with more than one name often given to the same algorithm. For example, GEA5, UEA2, 128-EEA1 and 128-NEA1 are almost identical specifications of SNOW 3G for GPRS, UMTS, LTE and NR respectively.
The 3GPP/GSMA algorithms come in three different types: authentication and key generation, encryption and integrity. The authentication and key generation algorithms are used in the Authentication and Key Agreement (AKA) protocol. The encryption and integrity algorithms are used together or independently to protect control plane and user plane data. An overview of all currently specified algorithms is shown in Figures 1 and 2.
The second generation (2G or GSM) mobile networks have quite low security by todays standards. But GSM was actually the first mass-market communication system to use cryptography, which was both revolutionary and controversial. At the time, export of cryptography was heavily restricted and GSM had to be designed with this in mind. The encryption algorithms A5/1 and A5/2 are LFSR-based stream ciphers supporting 64-bit key length. A5/2 is a so-called export cipher designed to offer only 40-bit security level. Usage of export ciphers providing weak security was common at that time and other standards like TLS also supported export cipher suites.
To further align with export control regulations, the key generation algorithms COMP128-1 and COMP128-2 decreased the effective output key length to 54 bits by setting 10 bits the key to zero. While A5/1 and A5/2 mostly met their design criteria, COMP128-1 was a very weak algorithm and was soon replaced by COMP-128-2 and COMP128-3. When packet-switched data was introduced with GPRS, slightly different algorithms GEA1 and GEA2 were introduced. Similar to A5/1 and A5/2, GEA1 and GEA2 are LFSR-based stream ciphers supporting 64-bit key length, where GEA1 was the export cipher. The export ciphers A5/2 and GEA1 are forbidden to support in phones since many years and COMP128-1 is forbidden to support in both networks and SIM cards. None of the original 2G algorithms were officially published anywhere as they were intended to be kept secret, which was quite common practice at the time. But all were reverse engineered by researchers in academia nearly a decade after their development.
The third generation (3G or UMTS) mobile networks introduced 128-bit security level public encryption and integrity algorithms. In 3G, the algorithms were selected by the ETSI Security Algorithms Group of Experts (SAGE), which has since made recommendations for all the new algorithms for mobile networks. The final decision is always taken by 3GPP SA WG3, the security working group in 3GPP. While many other designs from the same time, such as SSH and TLS, turned out to have significant flaws, the 3G algorithms and their modes of operation are still secure today.
The 3G encryption algorithms UEA1 and UEA2 use the KASUMI block cipher and the SNOW 3G stream cipher, which are slightly modified versions of the MIST block cipher and SNOW 2.0 stream cipher respectively. The integrity algorithm UIA1 is CBC-MAC using KASUMI and UEA2 is a Carter-Wegman MAC based on SNOW 3G. For authentication and key generation, the exact algorithm is not standardized and it is up to the operator to choose the algorithm deployed in their home network and SIM cards. 3GPP defines the Milenage algorithm (based on AES-128) as a well-designed example algorithm and this choice is widely used in practice. All the 3G algorithms have also been specified to be used in 2G.
Figure 1: 3GPP/GSMA algorithms for authentication and key generation - Green algorithms are secure while red algorithms only offer 64-bit security or less.
Figure 2: 3GPP/GSMA algorithms for encryption and integrity protection - Green algorithms are secure while red algorithms only offer 64-bit security or less.
The fourth generation (4G or LTE) mobile networks replaced KASUMI with AES-128. The encryption algorithm 128-EEA2 is AES in counter mode (AES-CTR) while the integrity algorithm 128-EIA2 is AES in CMAC mode. 4G also introduced Tuak, a new algorithm family for authentication and key generation based on Keccak hash algorithm but using slightly different parameters from the one which NIST later standardized as SHA-3. SIM cards are recommended to support both Milenage and Tuak. 4G also introduced an optional algorithm, ZUC, to construct 128-EEA3 and 128-EIA3 algorithms, which are the only optional ones to be supported in implementations. It is also worth mentioning that 3GPP specifies at least two mandatory algorithms due to the security practice of having a backup algorithm.
The fifth generation (5G or NR) uses exactly the same algorithms used in 4G. There are no weaknesses in any of the 4G algorithms and they offer good enough performance when implemented in hardware. However, the currently used algorithms are not suitable for future deployments as they are slow in software, does not support 256-bit keys, and only support 32-bit MACs. Software performance is essential for software implementations in virtualized deployments. While these algorithms are fast enough for 5G when implemented in hardware, they perform far worse than state-of-the art algorithms also in hardware and will likely not be suitable for 6G.
3GPP SA3 and ETSI SAGE have therefore started working together on new virtualization-friendly algorithms suitable for later 5G releases and 6G. It is essential that the new algorithms perform well in software on a wide range of architectures (such as x86, ARM and RISC-V) and that they can also be efficiently implemented in hardware. AES-CTR is already fulfilling these criteria, but would have to be accompanied by a high-performance integrity mode like GMAC. SNOW 3G is not up to the task, but the new cipher SNOW-V would be a perfect fit, outperforming even AES-GCM on x86 processors.
The new algorithms to be introduced to 3GPP will likely support only 256-bit key length and offer at least 64-bit tags. While 128-bit algorithms will be practically secure against quantum computers, cellular networks are increasingly classified as critical infrastructure. Already today, governments and financial institutions often mandate more than 128-bit security level for protection of their communication.
While mobile networks use some algorithms and security protocols specific to 3GPP, most of the security protocols used in 5G such as TLS, DTLS, IKEv2, ESP, SRTP, X.509, and JOSE are standardized or maintained by the Internet Engineering Task Force (IETF). 3GPP has, for many years, had the excellent tradition of updating their security profiles in almost every release following recommendations from academia, IETF and other organizations. A large part of this work has been driven by Ericsson.
The general 3GPP profiles for (D)TLS, IPsec and X.509 specified in TS 33.210 and TS 33.310 apply to many different 3GPP interfaces. 3GPP now has some of the best and most secure profiles for TLS and IPsec. 3GPP was, for example, very early with mandating support for TLS 1.3 and with forbidding TLS 1.1 and all weak cipher suites in TLS 1.2. Best practice today is to encrypt as much information as possible and to do key exchange with Diffie-Hellman to enable Perfect Forward Secrecy (PFS). The profiles are well ahead of most other industries as well as IETFs own profiles. 5G is increasingly referred to as critical infrastructure and as such the security profiling should be state-of-art.
For Rel-16 and Rel-17, 3GPP initiated work items specific to security updates, but similar work has been done for much longer under the general TEI work item. For Rel-17, 3GPP aims to mandate support for SHA-256 in the few remaining places where MD5 or SHA-1 is still in use, introduce Curve25519 for low latency key exchange in IKEv2, enable use of OCSP and OCSP stapling as an alternative to CRL everywhere, mandate support of DTLS-STRP and AES-GCM for SRTP, and introduce deterministic ECDSA.
Updating profiles for cryptographic algorithms and security protocols is a process that takes many years because of backward compatibility, as nodes from one release often have to talk to devices from much older releases. Before any weak algorithms or protocol versions are forbidden, the support of strong alternatives needs to have been mandatory for several releases.
Taking into consideration that 3GPP produces approximately one release every 1.5 years, it is essential to mandate the support of new versions of security protocols as soon as possible like 3GPP did with TLS 1.3. Some drawbacks of TLS 1.2 are that it requires a large amount of configuration to become secure and does not provide identity protection, therefore it should be phased out in the future.
Current best practice is to mandate the support of at least two strong algorithms everywhere, so there is always a strong algorithm supported if one of the algorithms is broken. The National Institute of Standards and Technology (NIST) has long functioned as a global standardization organization for cryptographic algorithms. NIST standardizes algorithms in open competitions, inviting contributions from academia all over the world. Both AES and SHA-3 were designed by researchers from Europe. Recently, the Internet Research Task Force Crypto Forum Research Group (IRTF CFRG) has complemented NIST as a global cryptographic Standards Developing Organization (or SDO) and has standardized algorithms like ChaCha20-Poly1305, Curve25519, EdDSA, LMS, and XMSS. NIST has introduced many of the CFRG algorithms within their own standards.
Broken algorithms were once very common, but essentially all algorithms standardized by NIST, IRTF CFRG and ETSI SAGE since 2000 (such as AES, SHA-2, SHA-3, ChaCha20, KASUMI and SNOW 3G) have remained secure, with no practical attacks. Figure 3 gives an overview of broken, weak or legacy algorithms and security protocols. 3GPP has already forbidden most of these and will likely phase out the rest in future releases.
Figure 3: Broken and legacy cryptographic algorithms and security protocols
A big part of future work in upcoming releases will be to introduce quantum-safe algorithms or Post-Quantum Cryptography (PQC). PQC algorithms are cryptographical algorithms that are secure against attacks from quantum computers, which happens to be most algorithms except RSA and Elliptic-Curve Cryptography (ECC). This is something 3GPP is well prepared for, having already future-proofed protocols like 5G Subscription Concealed Identifier (SUCI) by allowing ciphertexts and public keys to be several thousands of bytes long. If somebody builds a sufficiently large quantum computer, RSA and ECC will likely be broken in a matter of hours.
Small quantum computers already exist, however it is still uncertain when (or if) quantum computers capable of breaking these cryptographic algorithms will be built. 3GPP will likely introduce quantum-safe algorithms long before quantum computers even get close to affecting the security of 3GPP systems. Introducing non-standardized cryptographic algorithms likely introduces more risks than it solves, and both 3GPP and IETF have taken the decision to wait for NIST standardization of PQC algorithms, which is already in the final round and will be ready in 2022-2024. After that, IETF will standardize the use of PQC algorithms in (D)TLS, IKEv2, X.509, JOSE and HPKE and as soon as this is done, 3GPP will introduce the new updated IETF RFCs.
Some of the candidates for post-quantum security level 1 in the final round of NIST PQC standardization are summarized in Figure 4. It seems very likely that one of the lattice-based algorithms will be the main replacement for RSA and ECC, for both Key Encapsulation Mechanisms (KEM) and signatures. KEM provides a simplified interface for key exchange and public key encryption. Lattice-based algorithms have slightly larger public keys, signature and ciphertext sizes than the ones of RSA, but they are even faster than ECC. As can be seen from Figure 4, PQC is very practically useful for most applications. Transition to PQC can be seen as a bigger step than the transitions from 3DES to AES and SHA-1 to SHA-256, as it might require security protocol changes to a larger degree. Note that PQC algorithms are not relying on quantum mechanics and software implementation does not require any new hardware.
Figure 4: Some candidates (post-quantum security level 1) in the third and final round of NIST PQC Standardization. The performance measurements are single-core on Skylake 2.5 GHz https://bench.cr.yp.to/ebats.html (lower is better)
128-bit symmetric algorithms will not be practically affected by quantum computers and NIST is currently labeling AES-128 as post-quantum security level 1. Even so, 3GPP is moving towards increased use of 256-bit keys and algorithms such as AES-256.
More information about the algorithms used in mobile networks can be found in the specification series prepared by the 3GPP SA3 working group. For the main profiles used in the security protocols, check 3GPP TS 33.210 and TS 33.310.
To learn and keep up to date on the latest progress in post-quantum cryptography, follow NIST PQC Standardization.
Learn more about the realities of post-quantum cryptography in our previous blog post from 2020.
Discover how 5G fits into mobile communication network security in our guide to 5G network security
Read our summary of the latest standardization work from 3GPP, Release 16 (5G phase 2)
See more here:
The evolution of cryptographic algorithms - Ericsson
- Fields medalist: As of today we have no quantum computer. It does not exist. - Network World - October 9th, 2025 [October 9th, 2025]
- 3 Quantum Computing Stocks That Could Make a Millionaire - Yahoo Finance - October 9th, 2025 [October 9th, 2025]
- Discoveries behind quantum computers win the Nobel Prize in physics - Science News Explores - October 9th, 2025 [October 9th, 2025]
- Discoveries that enabled quantum computers win the Nobel Prize in physics - Science News - October 9th, 2025 [October 9th, 2025]
- Library exhibit marks 100 years since quantum theory revolution - northernstar.info - October 9th, 2025 [October 9th, 2025]
- Harvard team builds quantum computer that runs continuously for over two hours - Digital Watch Observatory - October 9th, 2025 [October 9th, 2025]
- Trio win Nobel prize for revealing quantum physics in action - Reuters - October 9th, 2025 [October 9th, 2025]
- Advances in quantum error correction showcased at Q2B25 - Physics World - October 9th, 2025 [October 9th, 2025]
- Nobel Prize in physics awarded to 3 University of California faculty - University of California - October 9th, 2025 [October 9th, 2025]
- Nobel Prize in Physics goes to early research that led to todays quantum computers - The Verge - October 9th, 2025 [October 9th, 2025]
- Nobel in physics awarded to scientists showing quantum mechanics on macro scale - The Washington Post - October 9th, 2025 [October 9th, 2025]
- 3 scientists at US universities win Nobel Prize in physics for advancing quantum technology - ABC7 Los Angeles - October 9th, 2025 [October 9th, 2025]
- Nobel Prize in physics goes to three scientists who discovered bizarre quantum effect on large scales - Live Science - October 9th, 2025 [October 9th, 2025]
- Trio who made foundational quantum computing discovery bag Nobel physics prize - theregister.com - October 9th, 2025 [October 9th, 2025]
- Clarke, Devoret, and Martinis Awarded Nobel Prize in Physics for Macroscopic Quantum Discoveries - Quantum Computing Report - October 9th, 2025 [October 9th, 2025]
- Macroscopic quantum tunneling wins 2025s Nobel Prize in physics - Big Think - October 9th, 2025 [October 9th, 2025]
- The time to invest in quantum is now - PwC - October 7th, 2025 [October 7th, 2025]
- Nokia bets on sovereign quantum-safe connectivity - Light Reading - October 7th, 2025 [October 7th, 2025]
- ChattState and UTC Partner With Chattanooga Quantum Collaborative on $1.33M NSF Grant to Protect the Nations Power Grid + Build Quantum Workforce... - October 7th, 2025 [October 7th, 2025]
- Rigetti Computing: I Caught The Falling Knife, And My Hand Never Felt Better! (RGTI) - Seeking Alpha - October 7th, 2025 [October 7th, 2025]
- Quantum Computing Inc. Announces $750 Million Oversubscribed Private Placement of Common Stock Priced at the Market Under Nasdaq Rules - The Quantum... - October 7th, 2025 [October 7th, 2025]
- Investing in Quantum Computing: How IONQ, QUBT, RGTI & QBTS Stocks Are Revolutionizing Technology and Climate Solutions - CarbonCredits.com - October 7th, 2025 [October 7th, 2025]
- Quantum City to Host Annual Summit to Tackle Tech Adoption in a Changing World - The Quantum Insider - October 7th, 2025 [October 7th, 2025]
- D-Wave Quantum (QBTS) Soars to New High on Real-World Quantum Computer Significance - MSN - October 7th, 2025 [October 7th, 2025]
- Rigettis $13 Billion Quantum Leap Stock Hits Record High on Big Deals, But Is the Hype Real? - ts2.tech - October 7th, 2025 [October 7th, 2025]
- Invest in quantum adoption now to be a winner in the quantum revolution - Data Center Dynamics - October 7th, 2025 [October 7th, 2025]
- Quantum Stocks Are Surging: Time to Load Up on D-Wave, or Is IonQ the Safer Bet? - 24/7 Wall St. - October 7th, 2025 [October 7th, 2025]
- Quantum Leap or Speculative Bubble? Wall Street Bets Big on the Future of Computing - FinancialContent - October 7th, 2025 [October 7th, 2025]
- Quantum and Semiconductor Stocks: Future Investment Opportunities - - October 7th, 2025 [October 7th, 2025]
- Were scaling quantum computing even faster with Atlantic Quantum. - The Keyword - October 4th, 2025 [October 4th, 2025]
- Investing in These 3 Quantum Computing Stocks Could Be a Once-in-a-Lifetime Opportunity - Yahoo Finance - October 4th, 2025 [October 4th, 2025]
- Quantum Computing Stock Could Rise 67%, Says Analyst. Heres Why. - Barron's - October 4th, 2025 [October 4th, 2025]
- Harvard researchers hail quantum computing breakthrough with machine that can run for two hours atomic loss quashed by experimental design, systems... - October 4th, 2025 [October 4th, 2025]
- Groundbreaking of Illinois Quantum and Microelectronics Park creates anchor for quantum innovation - University of Chicago News - October 4th, 2025 [October 4th, 2025]
- IonQ Hit Major Quantum Computer Milestone Earlier Than ExpectedTime to Buy? - 24/7 Wall St. - October 4th, 2025 [October 4th, 2025]
- Is quantum computing poised for another breakthrough? - IT Brew - October 4th, 2025 [October 4th, 2025]
- Rigetti Computing (RGTI): Can This Top Quantum Computing Stock 3X in 3 Years? - 24/7 Wall St. - October 4th, 2025 [October 4th, 2025]
- Investing in These 3 Quantum Computing Stocks Could Be a Once-in-a-Lifetime Opportunity - The Motley Fool - October 4th, 2025 [October 4th, 2025]
- 3 Quantum Computing Stocks with Potential to Beat the Market 10/3/2025 - TipRanks - October 4th, 2025 [October 4th, 2025]
- Billionaires Are Piling Into a Quantum Computing Stock That Gained Over 3,700% in the Past Year - Yahoo Finance - October 4th, 2025 [October 4th, 2025]
- Rigetti Computing (RGTI): Can This Top Quantum Computing Stock 3X in 3 Years? - AOL.com - October 4th, 2025 [October 4th, 2025]
- Rigetti, D-Wave, and other quantum computing stocks are leaping again: How high will they go? - Fast Company - October 4th, 2025 [October 4th, 2025]
- Quantum computing is having a moment in the stock market - MSN - October 4th, 2025 [October 4th, 2025]
- Quantum Computing Stocks: The Next Big Move for D-Wave, IonQ, and Rigetti - 24/7 Wall St. - October 4th, 2025 [October 4th, 2025]
- The Question One Should Always Ask When They Hear a Quantum Advantage Claim - Quantum Computing Report - October 4th, 2025 [October 4th, 2025]
- IBM: Navigating the Hybrid Cloud, AI, and Quantum Frontier (October 2025) - FinancialContent - October 4th, 2025 [October 4th, 2025]
- Quantum Computing (QUBT) Is Down 11.4% After Oversubscribed Funding and New Photonic Tech Debut Whats Changed - Yahoo Finance - October 4th, 2025 [October 4th, 2025]
- DARPA Selects PsiQuantum To Advance To Final Phase Of Quantum Computing Program - Quantum Zeitgeist - October 4th, 2025 [October 4th, 2025]
- 5 Nobel-worthy scientific advances that havent won the prize - Local 3 News - October 4th, 2025 [October 4th, 2025]
- Scientists create the next-generation of secure quantum communication - The Brighter Side of News - October 4th, 2025 [October 4th, 2025]
- Researchers Claim First Unconditional Proof of Quantum Advantage. What Happens Next? - Gizmodo - October 2nd, 2025 [October 2nd, 2025]
- Harvard Researchers Develop First Ever Continuously Operating Quantum Computer - The Harvard Crimson - October 2nd, 2025 [October 2nd, 2025]
- Spooky action at a distance a beginners guide to quantum entanglement and why it matters in the real world - The Conversation - October 2nd, 2025 [October 2nd, 2025]
- Quantum error correction near the coding theoretical bound - Nature - October 2nd, 2025 [October 2nd, 2025]
- Just Out Of The Lab: A Cat Qubit That Jumps Every Hour - Alice & Bob - Quantum Zeitgeist - October 2nd, 2025 [October 2nd, 2025]
- Quantum Brilliance Makes Devices That Keep Their Cool - EE Times - October 2nd, 2025 [October 2nd, 2025]
- PsiQuantum Breaks Ground on Americas Largest Quantum Computing Project in Chicago - Business Wire - October 2nd, 2025 [October 2nd, 2025]
- D-Wave to Participate in Quantum Beach Conference, Highlighting Companys Leadership in the Commercialization of Quantum Computing - The Globe and Mail - October 2nd, 2025 [October 2nd, 2025]
- Post-Quantum Encryption: The VPN Buzzword You Should Actually Care About - PCMag - October 2nd, 2025 [October 2nd, 2025]
- Scientists Say Weve Finally Reached Quantum Supremacy. For Real This Time! - Popular Mechanics - September 30th, 2025 [September 30th, 2025]
- 'A real physical thing': Quantum computer exhibit at O'Hare seeks to make the technology tangible - Phys.org - September 30th, 2025 [September 30th, 2025]
- Quantum chips just proved theyre ready for the real world - ScienceDaily - September 30th, 2025 [September 30th, 2025]
- IBM's Quantum Computers Just Beat Wall Street At Its Own Game - Yahoo Finance - September 30th, 2025 [September 30th, 2025]
- Fujitsu and AIST sign collaboration agreement to strengthen international industrial competitiveness in quantum technology - Fujitsu Global - September 30th, 2025 [September 30th, 2025]
- Like Talking on the Telephone Quantum Breakthrough Lets Individual Atoms Chat Like Never Before - SciTechDaily - September 30th, 2025 [September 30th, 2025]
- Scientists Say Weve Finally Reached Quantum Supremacy. For Real This Time! - MSN - September 30th, 2025 [September 30th, 2025]
- IBM's Quantum Computers Just Beat Wall Street At Its Own Game - The Motley Fool - September 30th, 2025 [September 30th, 2025]
- Prediction: This Quantum-AI Stock Could Be the Nvidia of the 2030s - Yahoo Finance - September 30th, 2025 [September 30th, 2025]
- GPT-5 helps define strict limits in quantum error reduction theory - Interesting Engineering - September 30th, 2025 [September 30th, 2025]
- Fujitsu and AIST partner to strengthen international industrial competitiveness in quantum technology - Robotics & Automation News - September 30th, 2025 [September 30th, 2025]
- Meet the Monster Quantum Computing Stock That Continues to Crush Nvidia, Oracle, and Palantir - Yahoo Finance - September 30th, 2025 [September 30th, 2025]
- IBM partners with AMD to develop architectures for quantum-centric supercomputing - Robotics & Automation News - September 30th, 2025 [September 30th, 2025]
- Bond Trading, Quantum Bond Trading: A Deeper Look at HSBC And IBM's Bond Trading Study - The Quantum Insider - September 30th, 2025 [September 30th, 2025]
- Why Quantum Computing Stock Stumbled This Week - Yahoo Finance - September 28th, 2025 [September 28th, 2025]
- Sam Altman says that if GPT-8 were to solve quantum gravity OpenAI would have achieved true AGI - Windows Central - September 28th, 2025 [September 28th, 2025]
- The Zacks Analyst Blog Highlights IonQ, Rigetti Computing and D-Wave Quantum - Nasdaq - September 28th, 2025 [September 28th, 2025]
- Cisco quantum networking with Vijoy Pandey and Reza Nejabati - The Quantum Insider - September 28th, 2025 [September 28th, 2025]
- Prediction: This Quantum-AI Stock Could Be the Nvidia of the 2030s - The Motley Fool - September 28th, 2025 [September 28th, 2025]
- SC Ventures And Fujitsu Join Forces to Incubate Project Quanta - The Quantum Insider - September 28th, 2025 [September 28th, 2025]
- Chip-scale cold atom and trapped ion experiments can unleash the power of quantum science in the field - UC Santa Barbara - September 28th, 2025 [September 28th, 2025]