drivers/crypto/hisilicon/sec

HiSilicon Hip06/Hip07 SEC crypto accelerator

A hardware cryptography accelerator (Security Engine, "SEC" v1) built into HiSilicon's Hi1610 and Hi1612 ARM server processors from the 2015–2016 Hip06/Hip07 generation. It offloads symmetric cipher operations from the CPU on those early HiSilicon server boards, which were used in some Chinese-market data-center deployments before being superseded by the Kunpeng line.

keep-annotate conf=0.78 last_sold=2019 deploy=low replacement=hisi_sec2 subsystem=crypto category=crypto
78%

recommendation

Worth keeping but documenting its niche, because the Hip06/Hip07 silicon it targets is roughly a decade old and HiSilicon now markets Kunpeng processors instead, so new deployments are unlikely. However, the code is still receiving real bug fixes upstream as recently as 2025 and 2026, so there is clearly an installed base being maintained, and a successor driver (hisi_sec2) already covers newer HiSilicon crypto hardware.

repository signals

4 files
2,870 source lines
9 commits, 5y
+24 / −25 lines added / removed, 5y
9 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 9 total · active in 9/61 months
2021 2022 2023 2024 2025 2026 2021-04: 0 commits · +0 −0 2021-05: 0 commits · +0 −0 2021-06: 0 commits · +0 −0 2021-07: 0 commits · +0 −0 2021-08: 0 commits · +0 −0 2021-09: 0 commits · +0 −0 2021-10: 0 commits · +0 −0 2021-11: 0 commits · +0 −0 2021-12: 0 commits · +0 −0 2022-01: 0 commits · +0 −0 2022-02: 0 commits · +0 −0 2022-03: 0 commits · +0 −0 2022-04: 0 commits · +0 −0 2022-05: 0 commits · +0 −0 2022-06: 1 commit · +1 −1 2022-07: 1 commit · +8 −8 2022-08: 0 commits · +0 −0 2022-09: 0 commits · +0 −0 2022-10: 0 commits · +0 −0 2022-11: 0 commits · +0 −0 2022-12: 0 commits · +0 −0 2023-01: 1 commit · +3 −3 2023-02: 0 commits · +0 −0 2023-03: 0 commits · +0 −0 2023-04: 0 commits · +0 −0 2023-05: 0 commits · +0 −0 2023-06: 0 commits · +0 −0 2023-07: 0 commits · +0 −0 2023-08: 1 commit · +2 −2 2023-09: 0 commits · +0 −0 2023-10: 1 commit · +2 −4 2023-11: 0 commits · +0 −0 2023-12: 0 commits · +0 −0 2024-01: 0 commits · +0 −0 2024-02: 0 commits · +0 −0 2024-03: 0 commits · +0 −0 2024-04: 0 commits · +0 −0 2024-05: 0 commits · +0 −0 2024-06: 0 commits · +0 −0 2024-07: 0 commits · +0 −0 2024-08: 0 commits · +0 −0 2024-09: 1 commit · +1 −1 2024-10: 1 commit · +1 −1 2024-11: 0 commits · +0 −0 2024-12: 0 commits · +0 −0 2025-01: 0 commits · +0 −0 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: 0 commits · +0 −0 2025-08: 0 commits · +0 −0 2025-09: 1 commit · +2 −1 2025-10: 0 commits · +0 −0 2025-11: 0 commits · +0 −0 2025-12: 0 commits · +0 −0 2026-01: 0 commits · +0 −0 2026-02: 1 commit · +4 −4 2026-03: 0 commits · +0 −0 2026-04: 0 commits · +0 −0

sources

  1. lore.kernel.org

    `sec_algs.c` received a real bug fix in 2026 (`crypto: hisilicon - Fix dma_unmap_single() direction`), indicating live upstream maintenance rather than abandonment.

  2. lore.kernel.org

    `sec_drv.c` received a substantive correctness fix in 2025 (`Use int type to store negative error codes`), showing recent attention in the linux-crypto tree.

  3. en.wikichip.org

    Hi1610 and Hi1612, matching the Hip06/Hip07 generation this driver targets, are older HiSilicon server processors introduced in 2015 and 2016.

  4. hisilicon.com

    HiSilicon's current public server-processor product page markets Kunpeng, not Hip06/Hip07-era parts, supporting the conclusion that this hardware is no longer sold new.

  5. git.kernel.org

    Kernel Kconfig describes `CRYPTO_DEV_HISI_SEC` as support for the SEC engine in Hip06/Hip07 and `CRYPTO_DEV_HISI_SEC2` as support for SEC version 2, making `hisi_sec2` the natural successor for newer HiSilicon crypto hardware.

codex reasoning notes (technical)

Keep but annotate. Lore history shows ongoing bug-fix/API-churn work through 2025-2026 and no removal signal, so deprecate/remove would be too aggressive. The hardware itself is old: Kconfig ties this driver to Hip06/Hip07, and web evidence places that family in the 2015-2016 Hi16xx server generation while HiSilicon's current product page promotes Kunpeng instead. That points to legacy installed-base use with low new deployment, not zero deployment. URLs obtained via `lore_file_timeline` (two lore links), `web.search/open` (WikiChip and HiSilicon product page), and one kernel.org Kconfig URL by canonical recall.