]> git.ipfire.org Git - thirdparty/grub.git/commit
disk/cryptodisk: Add --hw-accel to enable hardware acceleration
authorGary Lin <glin@suse.com>
Wed, 22 Oct 2025 01:29:00 +0000 (09:29 +0800)
committerDaniel Kiper <daniel.kiper@oracle.com>
Thu, 23 Oct 2025 17:15:00 +0000 (19:15 +0200)
commit91ddada642a5bf80df6f992b7e54b37b40c6a4ea
tree1f1bb35218835f9c6cc3273c935b8ca1bf7eb27c
parentf8f68f14ae540c7981f5ecbb9bbfa4dc76f45aeb
disk/cryptodisk: Add --hw-accel to enable hardware acceleration

The --hw-accel option has been added to cryptomount to speed up
decryption by temporarily enabling hardware-specific instruction
sets (e.g., AVX, SSE) in libgcrypt.

A new feature, "feature_gcry_hw_accel", is also introduced to mark the
availability of the new option.

Signed-off-by: Gary Lin <glin@suse.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
docs/grub.texi
grub-core/disk/cryptodisk.c
grub-core/normal/main.c