public inbox for cryptsetup@lists.linux.dev
 help / color / mirror / Atom feed
* Cryptsetup and hardware accelerated AES-XTS
@ 2024-07-20 12:15 Maxim Fomin
  2024-07-20 17:36 ` Eric Biggers
  2024-07-22  8:25 ` Milan Broz
  0 siblings, 2 replies; 7+ messages in thread
From: Maxim Fomin @ 2024-07-20 12:15 UTC (permalink / raw)
  To: cryptsetup

Hi!

Recently linux kernel got[1] faster AES-XTS on modern x86_64 CPUs thanks to VAES and AVX-10/512. I decided to dig deeper into this issue and found the article[2] from 2020 stating that dm-crypt can be configured to use faster (synchronous and hardware accelerated) algorithms with 'capi:' prefix. Can cryptsetup be configured to ask dm-crypt to use hardware accelerated algorithms?

[1] https://lore.kernel.org/lkml/20240403004404.GC2576@sol.localdomain/T/#m83293b2699f9a5da04fc5780ee402191dace3926

[2] https://blog.cloudflare.com/speeding-up-linux-disk-encryption/

Best regards,
Maxim

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-07-22 15:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-20 12:15 Cryptsetup and hardware accelerated AES-XTS Maxim Fomin
2024-07-20 17:36 ` Eric Biggers
2024-07-21  9:14   ` Maxim Fomin
2024-07-21 15:58     ` Eric Biggers
2024-07-22 10:36       ` Maxim Fomin
2024-07-22 15:32         ` Eric Biggers
2024-07-22  8:25 ` Milan Broz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox