
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.
The PadLock instruction set can be divided into four subsets:
XSTORE: Store Available Random Bytes (aka XSTORERNG)REP XSTORE: Store ECX Random BytesREP XCRYPTECB: Electronic code bookREP XCRYPTCBC: Cipher Block ChainingREP XCRYPTCTR: Counter Mode (ACE2)REP XCRYPTCFB: Cipher Feedback ModeREP XCRYPTOFB: Output Feedback ModeREP XSHA1: Hash Function SHA-1REP XSHA256: Hash Function SHA-256REP MONTMULLater processors added further PadLock instructions, which Zhaoxin documents in its own PadLock reference:
REP XRNG2REP XSHA384: Hash Function SHA-384REP XSHA512: Hash Function SHA-512REP XMODEXP: Modular exponentiationREP MONTMUL2: Montgomery multiplication for operands of 256 to 32768 bitsThe 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.


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.