drivers/crypto/hisilicon/hpre

HiSilicon HPRE asymmetric crypto accelerator on Kunpeng servers

A PCI-attached public-key cryptography accelerator built into HiSilicon's Kunpeng server platforms (Huawei PCI IDs 19e5:a258 and 19e5:a259) that offloads RSA, Diffie-Hellman, ECDH, SM2, X25519, and X448 operations. It is aimed at server-side TLS, VPN, and similar workloads on Huawei/HiSilicon ARM server hardware rather than consumer machines.

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

recommendation

It should stay in the kernel because the hardware is still sold new on Huawei's Kunpeng server line in 2025, the driver receives ongoing upstream feature work and stable backports into 2026, and it is wired into current VFIO pass-through support for virtualization. Although deployments are niche compared to commodity x86 crypto offload, there is no sign of deprecation and active maintainers continue to land changes.

repository signals

4 files
3,773 source lines
75 commits, 5y
+1,781 / −1,178 lines added / removed, 5y
19 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 75 total · active in 28/61 months
2021 2022 2023 2024 2025 2026 2021-04: 1 commit · +16 −10 2021-05: 16 commits · +317 −117 2021-06: 1 commit · +7 −0 2021-07: 0 commits · +0 −0 2021-08: 3 commits · +117 −6 2021-09: 0 commits · +0 −0 2021-10: 0 commits · +0 −0 2021-11: 2 commits · +2 −5 2021-12: 1 commit · +1 −1 2022-01: 0 commits · +0 −0 2022-02: 0 commits · +0 −0 2022-03: 3 commits · +13 −8 2022-04: 2 commits · +184 −38 2022-05: 0 commits · +0 −0 2022-06: 0 commits · +0 −0 2022-07: 1 commit · +1 −1 2022-08: 1 commit · +2 −6 2022-09: 7 commits · +363 −147 2022-10: 0 commits · +0 −0 2022-11: 2 commits · +16 −10 2022-12: 1 commit · +25 −15 2023-01: 0 commits · +0 −0 2023-02: 0 commits · +0 −0 2023-03: 1 commit · +0 −1 2023-04: 0 commits · +0 −0 2023-05: 0 commits · +0 −0 2023-06: 0 commits · +0 −0 2023-07: 2 commits · +12 −3 2023-08: 0 commits · +0 −0 2023-09: 3 commits · +38 −8 2023-10: 0 commits · +0 −0 2023-11: 0 commits · +0 −0 2023-12: 2 commits · +68 −56 2024-01: 1 commit · +1 −1 2024-02: 0 commits · +0 −0 2024-03: 0 commits · +0 −0 2024-04: 2 commits · +11 −12 2024-05: 0 commits · +0 −0 2024-06: 0 commits · +0 −0 2024-07: 0 commits · +0 −0 2024-08: 3 commits · +27 −29 2024-09: 3 commits · +27 −17 2024-10: 2 commits · +144 −35 2024-11: 1 commit · +12 −0 2024-12: 0 commits · +0 −0 2025-01: 2 commits · +7 −1 2025-02: 0 commits · +0 −0 2025-03: 0 commits · +0 −0 2025-04: 0 commits · +0 −0 2025-05: 0 commits · +0 −0 2025-06: 0 commits · +0 −0 2025-07: 1 commit · +6 −2 2025-08: 3 commits · +54 −14 2025-09: 3 commits · +81 −433 2025-10: 0 commits · +0 −0 2025-11: 0 commits · +0 −0 2025-12: 5 commits · +229 −202 2026-01: 0 commits · +0 −0 2026-02: 0 commits · +0 −0 2026-03: 0 commits · +0 −0 2026-04: 0 commits · +0 −0

sources

  1. lore.kernel.org

    Recent upstream work touched hpre_main.c in March 2026, adding debugfs device-load query support, which is evidence of active maintenance rather than removal.

  2. lore.kernel.org

    HPRE-related queue-management changes were backported to stable in February 2026, indicating the hardware/driver remains relevant to supported deployments.

  3. cateee.net

    LKDDb identifies this as CONFIG_CRYPTO_DEV_HISI_HPRE for HiSilicon HPRE, with Huawei PCI IDs 19e5:a258 and 19e5:a259, and shows support continuing through current kernel series.

  4. cateee.net

    LKDDb shows current VFIO support depending on CONFIG_CRYPTO_DEV_HISI_HPRE, suggesting continued use in virtualization/accelerator-pass-through scenarios.

  5. hisilicon.com

    HiSilicon still markets the Kunpeng processor family on its live product site with sales/support links, supporting the conclusion that the platform remained commercially active in 2025.

  6. hisilicon.com

    HiSilicon's Kunpeng 920 product page shows the server CPU family is still publicly marketed, making new-platform availability in 2025 plausible for attached HPRE accelerator deployments.

codex reasoning notes (technical)

Shell `rg` on the directory showed MODULE_DESCRIPTION("Driver for HiSilicon HPRE accelerator"), Huawei PCI ID 0xa258/0xa259, and supported RSA/DH/ECDH/SM2/X25519/X448 algorithms, confirming this is a real PCI crypto accelerator driver. `lore_file_timeline` on `drivers/crypto/hisilicon/hpre/hpre_main.c` returned heavy activity through 2026 plus a stable backport URL, and did not surface removal-oriented traffic; a broader removal regex timed out, so absence of removal talk is an inference from the active timeline, not a direct negative proof. Web search returned the LKDDb HPRE and HiSilicon VFIO pages, which show the driver remains present in current kernels and tied into present virtualization support. Web search also returned live HiSilicon Kunpeng product pages; combined with the current marketing/sales links there, that supports `hardware_still_sold_new_in_2025=true`. Because HPRE is a niche server-side accelerator tied to Huawei/HiSilicon platforms rather than commodity PCs, `deployments_today` is assessed as low, but ongoing upstream and stable activity argue strongly against deprecation or removal.