Skip to content

Adiantum crypto module for CPUs without AES-NI #1475

Description

@natterangell

The Thinkpad x230i is supported by the x230* roms, and only differs from the regular x230 in that it shipped with a non-upgradable Ivy Bridge i3 CPU which doesn't support AES-NI.

LUKS v2 is compatible with adiantum, developed by Google primarily for low-powered devices that cannot do hardware accelerated AES encryption. It is included from kernel 5.0 and cryptsetup 2.x (not sure what version) supports it.

This software cipher is a lot faster on CPUs without AES-NI.

Screenshot from 2023-08-23 18-11-14

While this might be an edge case, given that most Heads users will not see much difference due to AES-NI support, it might be worth considering for the x230i, and maybe other boards (i3 x220/t420, others?)

I can build my own rom to test, but I wonder what options must be set for building kernel (and maybe cryptsetup?) with support included? With #1398 merged it should be possible.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions