drivers/crypto/hisilicon

HiSilicon Kunpeng cryptographic and compression accelerators

On-die PCIe accelerator engines built into Huawei's HiSilicon Kunpeng server CPUs (such as the Kunpeng 920 in TaiShan servers): SEC/SEC2 for symmetric crypto, HPRE for public-key/RSA, ZIP for hardware compression, and a TRNG, all sharing a common queue-management layer. They offload TLS, storage, and data-reduction work on Arm-based Huawei servers from the late 2010s onward.

keep conf=0.88 deploy=low replacement=none subsystem=crypto category=crypto
88%

recommendation

It should stay in the kernel because the underlying hardware is still being sold in Huawei's Kunpeng and TaiShan server line in 2025, and upstream development is healthy: fixes and features keep landing into late 2025 and 2026 with no removal effort in sight. Real-world deployment is niche outside Huawei's own customer base, but the driver is well-maintained and its PCI IDs (19e5:a250/a251 for ZIP, a255/a256 for SEC2, a258/a259 for HPRE) are documented in current Huawei BIOS references.

repository signals

26 files
22,592 source lines
321 commits, 5y
+13,791 / −7,603 lines added / removed, 5y
48 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 321 total · active in 52/61 months
2021 2022 2023 2024 2025 2026 2021-04: 4 commits · +97 −51 2021-05: 31 commits · +1,977 −414 2021-06: 15 commits · +1,242 −238 2021-07: 0 commits · +0 −0 2021-08: 13 commits · +712 −129 2021-09: 2 commits · +15 −9 2021-10: 1 commit · +1 −1 2021-11: 5 commits · +113 −83 2021-12: 13 commits · +210 −102 2022-01: 6 commits · +24 −11 2022-02: 3 commits · +58 −17 2022-03: 7 commits · +71 −511 2022-04: 13 commits · +723 −77 2022-05: 2 commits · +2 −4 2022-06: 6 commits · +145 −120 2022-07: 6 commits · +31 −30 2022-08: 11 commits · +90 −114 2022-09: 17 commits · +1,585 −724 2022-10: 3 commits · +13 −30 2022-11: 11 commits · +1,641 −1,404 2022-12: 1 commit · +25 −15 2023-01: 4 commits · +13 −16 2023-02: 5 commits · +19 −36 2023-03: 6 commits · +4 −8 2023-04: 2 commits · +188 −188 2023-05: 1 commit · +5 −0 2023-06: 0 commits · +0 −0 2023-07: 5 commits · +34 −9 2023-08: 1 commit · +2 −2 2023-09: 7 commits · +244 −376 2023-10: 7 commits · +292 −365 2023-11: 5 commits · +103 −153 2023-12: 8 commits · +294 −173 2024-01: 7 commits · +73 −24 2024-02: 4 commits · +131 −61 2024-03: 0 commits · +0 −0 2024-04: 11 commits · +91 −72 2024-05: 0 commits · +0 −0 2024-06: 2 commits · +23 −36 2024-07: 0 commits · +0 −0 2024-08: 7 commits · +175 −116 2024-09: 4 commits · +61 −20 2024-10: 3 commits · +465 −162 2024-11: 3 commits · +382 −27 2024-12: 2 commits · +78 −101 2025-01: 2 commits · +182 −61 2025-02: 3 commits · +50 −82 2025-03: 0 commits · +0 −0 2025-04: 0 commits · +0 −0 2025-05: 2 commits · +2 −2 2025-06: 1 commit · +28 −21 2025-07: 3 commits · +463 −183 2025-08: 10 commits · +307 −109 2025-09: 7 commits · +343 −542 2025-10: 7 commits · +69 −20 2025-11: 1 commit · +4 −5 2025-12: 12 commits · +572 −402 2026-01: 6 commits · +287 −113 2026-02: 3 commits · +32 −34 2026-03: 0 commits · +0 −0 2026-04: 0 commits · +0 −0

sources

  1. git.kernel.org

    Upstream development is active; local git log for this directory shows substantive fixes/features continuing into 2025-2026 rather than removal work.

  2. cateee.net

    SEC2 support remains present in current kernel series and maps to Huawei PCI IDs 19e5:a255/a256.

  3. cateee.net

    HPRE support remains present in current kernel series and maps to Huawei PCI IDs 19e5:a258/a259.

  4. cateee.net

    ZIP support remains present in current kernel series and maps to Huawei PCI IDs 19e5:a250/a251.

  5. support.huawei.com

    Huawei's Kunpeng 920 TaiShan BIOS reference, updated 2025-03-20, still documents SEC/HPRE/ZIP accelerator status and installation, indicating contemporary platform support.

codex reasoning notes (technical)

Not an early-exit case: local file scan showed real module/platform/PCI driver code under this directory. Evidence gathering: local shell `rg` and `sed` on Kconfig/source identified SEC/SEC2/HPRE/ZIP/TRNG/QM devices and Huawei PCI IDs; local shell `git log` (with safe.directory override) showed ongoing feature/fix traffic through 2026-01-31 and no removal series; web search found LKDDb coverage pages and Huawei BIOS documentation. Because upstream activity is strong and 2025 vendor docs still show these accelerators on Kunpeng/TaiShan systems, this is not a deprecation candidate. Deployments are likely niche rather than mass-market, so `low` is more defensible than `medium`.