drivers/crypto/allwinner/sun8i-ce

Allwinner sun8i/sun50i Crypto Engine accelerator

The on-chip Crypto Engine block found inside many Allwinner ARM SoCs (H3, H5, H6, H616/H618, A64, R40, and the RISC-V D1), which offloads AES, hashing, and random-number generation. It is widely used in low-cost single-board computers and embedded Linux devices from vendors like Orange Pi and MangoPi.

keep conf=0.88 last_sold=2025 deploy=medium replacement=none subsystem=crypto category=crypto
88%

recommendation

It should stay because the hardware is still actively shipping in popular single-board computers like the Orange Pi Zero 2W (H618) and MangoPi MQ Pro (D1), and the driver itself is under active upstream maintenance, with patches still landing in late 2025 and stable backports continuing. There is no replacement driver for this on-chip accelerator, so removing it would cost real users hardware-accelerated crypto on currently sold boards.

repository signals

7 files
2,815 source lines
53 commits, 5y
+832 / −597 lines added / removed, 5y
20 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 53 total · active in 21/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: 1 commit · +4 −8 2021-09: 0 commits · +0 −0 2021-10: 0 commits · +0 −0 2021-11: 1 commit · +22 −0 2021-12: 0 commits · +0 −0 2022-01: 0 commits · +0 −0 2022-02: 1 commit · +6 −0 2022-03: 0 commits · +0 −0 2022-04: 1 commit · +2 −4 2022-05: 6 commits · +215 −98 2022-06: 0 commits · +0 −0 2022-07: 0 commits · +0 −0 2022-08: 2 commits · +6 −8 2022-09: 1 commit · +4 −4 2022-10: 0 commits · +0 −0 2022-11: 1 commit · +0 −1 2022-12: 1 commit · +2 −1 2023-01: 0 commits · +0 −0 2023-02: 0 commits · +0 −0 2023-03: 0 commits · +0 −0 2023-04: 0 commits · +0 −0 2023-05: 1 commit · +5 −5 2023-06: 0 commits · +0 −0 2023-07: 1 commit · +0 −1 2023-08: 3 commits · +194 −136 2023-09: 0 commits · +0 −0 2023-10: 2 commits · +2 −9 2023-11: 0 commits · +0 −0 2023-12: 1 commit · +2 −2 2024-01: 1 commit · +1 −1 2024-02: 1 commit · +17 −17 2024-03: 0 commits · +0 −0 2024-04: 0 commits · +0 −0 2024-05: 0 commits · +0 −0 2024-06: 2 commits · +53 −12 2024-07: 0 commits · +0 −0 2024-08: 0 commits · +0 −0 2024-09: 0 commits · +0 −0 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: 10 commits · +125 −111 2025-05: 6 commits · +19 −26 2025-06: 0 commits · +0 −0 2025-07: 0 commits · +0 −0 2025-08: 0 commits · +0 −0 2025-09: 9 commits · +152 −152 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: 0 commits · +0 −0 2026-03: 0 commits · +0 −0 2026-04: 0 commits · +0 −0

sources

  1. lore.kernel.org

    As of 2026-04-23 the driver file still receives upstream fixes; Arnd Bergmann posted a patch touching this area ('crypto: sun8i-ss - avoid hash and rng references').

  2. lore.kernel.org

    The driver was still being backported into stable in late 2025 ('crypto: sun8i-ce - remove channel timeout field'), indicating ongoing maintenance rather than retirement.

  3. orangepi.org

    Orange Pi Zero 2W is an official current product built on Allwinner H618, one of the compatibles supported by this driver, with active purchase links on the product page.

  4. mangopi.org

    MangoPi MQ Pro is an official D1-based Linux board page, updated in 2025 and describing the board as designed for Tina-Linux/Debian and in mass production; D1 is another SoC supported by this driver.

codex reasoning notes (technical)

Local source inspection (shell `rg`/`sed`) showed this is the Allwinner CE platform driver and listed supported compatibles: H3, R40, D1, A64, H5, H6, H616. `lore_file_timeline` on `drivers/crypto/allwinner/sun8i-ce/sun8i-ce-core.c` showed substantial activity through 2025 and into 2026, including the cited lore URLs; that argues against deprecation/removal. Web search returned official Orange Pi and MangoPi product pages for H618 and D1 boards, showing the hardware family is still sold for SBC/embedded Linux use. No natural upstream replacement driver exists for the same on-SoC accelerator; software fallback exists in the crypto framework but is not a hardware-driver replacement. Inference: deployments are mainly SBC/embedded rather than broad consumer, so medium rather than high.