drivers/crypto/allwinner/sun4i-ss

Allwinner A10/A20/A33 Security System crypto accelerator

Hardware crypto accelerator block (AES, DES/3DES, SHA, hardware RNG) built into early Allwinner ARM SoCs such as the A10, A20, A31, and A33, which powered a wave of cheap single-board computers, tablets, and set-top boxes in the early-to-mid 2010s. Boards like the Olimex OLinuXino LIME2 still ship with this chip today for niche embedded and industrial use.

keep-annotate conf=0.83 last_sold=2018 deploy=low replacement=none subsystem=crypto category=crypto
83%

recommendation

Worth keeping but flagging as legacy because the Allwinner A10/A20/A33 SoCs it serves are no longer mainstream parts, yet the driver is still being actively maintained upstream (cleanup work in 2023, build fixes patched as recently as 2026) and at least one vendor, Olimex, still sells new A20-based boards in 2025. Removing it would break working hardware for a small but real embedded user base, so annotation as niche legacy support is the safer call.

repository signals

6 files
2,052 source lines
8 commits, 5y
+19 / −40 lines added / removed, 5y
8 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 8 total · active in 6/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: 1 commit · +9 −14 2022-06: 0 commits · +0 −0 2022-07: 0 commits · +0 −0 2022-08: 0 commits · +0 −0 2022-09: 1 commit · +2 −14 2022-10: 0 commits · +0 −0 2022-11: 0 commits · +0 −0 2022-12: 0 commits · +0 −0 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 · +4 −4 2023-06: 0 commits · +0 −0 2023-07: 1 commit · +0 −1 2023-08: 0 commits · +0 −0 2023-09: 0 commits · +0 −0 2023-10: 2 commits · +2 −5 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: 0 commits · +0 −0 2024-10: 2 commits · +2 −2 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: 0 commits · +0 −0 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

    The driver family is still seeing upstream fixes in 2026 rather than removal work; this patch touches the Allwinner SS drivers to fix build/reference issues.

  2. lore.kernel.org

    sun4i-ss received crypto-core cleanup work in 2023, indicating maintained in-tree integration.

  3. cateee.net

    LKDDb still lists CONFIG_CRYPTO_DEV_SUN4I_SS in current kernel series and maps it to Allwinner sun4i-a10-crypto and sun8i-a33-crypto compatibles.

  4. olimex.com

    An A20-based product built on A20-OLinuXino-LIME2 is still sold new and marked in stock, showing surviving niche hardware deployments for this IP block family.

codex reasoning notes (technical)

In-tree static inspection via shell `rg` showed DT compatibles for allwinner,sun4i-a10-crypto and allwinner,sun8i-a33-crypto, while DTs also reuse the A10 compatible for sun7i-a20 and sun6i-a31. Lore evidence came from `lore_activity(file=drivers/crypto/allwinner/sun4i-ss/sun4i-ss-core.c)`, which returned recent 2023-2026 maintenance patches and no removal series in the sampled activity; attempted broader `lore_regex` removal scans timed out, so removal evidence was not found. Deployment evidence came from web search: LKDDb confirms current kernel support, and Olimex current product pages show at least niche A20 hardware still sold new. The hardware is no longer mainstream, but upstream activity and surviving embedded/industrial sales argue against deprecation; annotate as niche legacy hardware instead.