VIA PadLock

Die plot of VIA's Isaiah core (VIA Nano), published by VIA in 2008. The PadLock unit is labelled "Crypt".

VIA PadLock is a central processing unit (CPU) instruction set extension to the x86 microprocessor instruction set architecture (ISA) found on processors produced by VIA Technologies and Zhaoxin. Introduced in 2003 with the VIA Centaur CPUs, the additional instructions provide hardware-accelerated random number generation (RNG), Advanced Encryption Standard (AES), SHA-1, SHA256, and Montgomery modular multiplication.

In 2008 Intel, which originated the x86 architecture and is its largest vendor, proposed a competing set of AES instructions, AES-NI. They first shipped in Intel processors in 2010, and AMD added them in 2011. Intel later also defined the Intel SHA extensions. VIA did not replace PadLock with these instructions but added AES-NI alongside it, starting with the Eden X4 in 2015, and Zhaoxin's processors likewise support both. PadLock itself was extended with SHA-384, SHA-512 and RSA arithmetic, and Zhaoxin added instructions for the Chinese national SM2, SM3 and SM4 algorithms. Software support has meanwhile narrowed: OpenSSL dropped its PadLock engine in 2026, and the Linux kernel disabled its PadLock SHA driver on Zhaoxin processors the same year.

Instructions

The PadLock instruction set can be divided into four subsets:

Later processors added further PadLock instructions, which Zhaoxin documents in its own PadLock reference:

The padlock capability is indicated via a CPUID instruction with EAX = 0xC0000000. If the resultant EAX >= 0xC0000001, the CPU is aware of Centaur features. An additional request with EAX = 0xC0000001 then returns PadLock support in EDX. The padlock capability can be toggled on or off with MSR 0X1107.

VIA PadLock found on some Zhaoxin CPUs have SM3 hashing and SM4 block cipher added.

CPUs with PadLock

A VIA C3 with the Nehemiah (C5XL) core, the first to include PadLock, initially only its random number generator.
Die of a VIA C7. Its Esther core was the first to implement all four original PadLock units: RNG, ACE, PHE and PMM.
  • All VIA Nano CPUs support SHA, AES, and RNG.
  • All VIA Eden CPUs since 2003 (C3 Nehemiah) support AES and RNG. All these released since 2006 support AES, RNG, SHA, and PMM.
  • All VIA C7 CPUs support AES, RNG, SHA, and PMM.
  • VIA Nano processors with the CNB core and later also support SHA-384 and SHA-512.
  • The Isaiah II-based VIA Eden X4 (2015) supports AES, RNG, SHA, and PMM alongside Intel's AES-NI.
  • Zhaoxin processors support PadLock alongside AES-NI, and add SM3 and SM4. The KX-6000 (2019) and later also support the Intel SHA extensions, and models such as the KX-6000G, KH-40000 and KX-7000 add SM2.

After AES-NI

In March 2008 Intel proposed its own x86 extension for AES, AES-NI. It first appeared in Intel's Westmere processors in 2010, and AMD adopted it in its Bulldozer processors in 2011. AES-NI thus became the AES acceleration interface common to the two dominant x86 vendors, while PadLock remained specific to VIA. Rather than abandoning PadLock, VIA's processor designer Centaur Technology added AES-NI next to it. VIA Nano processors of the original Isaiah core support only PadLock, while the Isaiah II-based Eden X4 of 2015 supports both AES-NI and every PadLock unit (RNG, ACE, ACE2, PHE and PMM). Centaur's last core, the CNS, also combined AES-NI and the Intel SHA extensions with PadLock. It was never released: in 2021 Intel hired most of Centaur's staff in a $125 million deal, ending VIA's own x86 processor development.

PadLock lives on in Zhaoxin processors, which derive from VIA's designs. Zhaoxin's ZhangJiang core, used in the ZX-C, is believed to be almost identical to Isaiah II, its main change being SM3 and SM4 support added to PadLock. Every Zhaoxin generation through the KX-7000 of 2023 keeps the original PadLock units alongside AES-NI, joined by the Intel SHA extensions from the KX-6000 onward. They also report the newer RNG2, PHE2 and RSA units and Zhaoxin's own SM2, SM3 and SM4 instructions. In 2026 Zhaoxin engineers proposed exposing these features to virtual machines under KVM. The patches were accepted into the KVM development tree in July 2026.

Supporting software

See also