* [dm-crypt] aes-ni @ 2011-10-15 18:44 Lurkos 2011-10-15 19:26 ` Milan Broz 0 siblings, 1 reply; 4+ messages in thread From: Lurkos @ 2011-10-15 18:44 UTC (permalink / raw) To: dm-crypt Does cryptsetup (with luks volumes) support AES-NI for newer Intel and AMD powered computers? -- Lurkos ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dm-crypt] aes-ni 2011-10-15 18:44 [dm-crypt] aes-ni Lurkos @ 2011-10-15 19:26 ` Milan Broz 2011-10-16 17:21 ` Lurkos 0 siblings, 1 reply; 4+ messages in thread From: Milan Broz @ 2011-10-15 19:26 UTC (permalink / raw) To: Lurkos; +Cc: dm-crypt On 10/15/2011 08:44 PM, Lurkos wrote: > Does cryptsetup (with luks volumes) support AES-NI for newer Intel and > AMD powered computers? yes. (in fact it is cryptoAPI which need proper module loaded, not dmcrypt) aes-ni has higher priority, so it should be used automatically if available. btw I just read this http://www.phoronix.com/scan.php?page=article&item=intel_aesni_dmcrypt Milan ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dm-crypt] aes-ni 2011-10-15 19:26 ` Milan Broz @ 2011-10-16 17:21 ` Lurkos 2011-10-16 18:56 ` Milan Broz 0 siblings, 1 reply; 4+ messages in thread From: Lurkos @ 2011-10-16 17:21 UTC (permalink / raw) To: dm-crypt *Milan Broz* wrote: >> Does cryptsetup (with luks volumes) support AES-NI for newer Intel and >> AMD powered computers? > > yes. (in fact it is cryptoAPI which need proper module loaded, not dmcrypt) > aes-ni has higher priority, so it should be used automatically if available. > > btw I just read this > http://www.phoronix.com/scan.php?page=article&item=intel_aesni_dmcrypt It seems it's just a matter of loading the "aesni_intel" module. I cannot understand if there is a switch to select the module to be used by the crytoAPI. Maybe aesni_intel supersedes aes_x86_64 once loaded? -- Lurkos ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dm-crypt] aes-ni 2011-10-16 17:21 ` Lurkos @ 2011-10-16 18:56 ` Milan Broz 0 siblings, 0 replies; 4+ messages in thread From: Milan Broz @ 2011-10-16 18:56 UTC (permalink / raw) To: Lurkos; +Cc: dm-crypt On 10/16/2011 07:21 PM, Lurkos wrote: > Maybe aesni_intel supersedes aes_x86_64 once loaded? yes, see /proc/crypto when modules are loaded and check priorities of aes-ni crypto driver (it should be autoloaded). hw drivers have always higher priority. you can blacklist modules if needed though. (there is no way to select modules through dmcrypt directly) Milan ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-10-16 18:57 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2011-10-15 18:44 [dm-crypt] aes-ni Lurkos 2011-10-15 19:26 ` Milan Broz 2011-10-16 17:21 ` Lurkos 2011-10-16 18:56 ` Milan Broz
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox