[dm-crypt] Does cryptsetup use cryptodev or only AF_ALG
sven at whgl.uni-frankfurt.de
Fri Jun 5 01:19:49 CEST 2015
What's your point concerning cryptodev here?
AFAIK cryptodev is an interface to acces HW crypto device from userspace
(via netlink or whatsoever). I don't see how cryptodev is related in any
way to dmcrypt or cryptsetup.
That said, a look at /proc/crypto should give an overview concerning
available ciphers and their precedence.
So, if you have some HW crypto device and it's kernel driver has the
necessary precedence (and interface) it should be preferred over some
software implementation. (Assuming that was actually your question).
On Fri, June 5, 2015 00:59, Mrukant Popat wrote:
> Dear All,
> I see in the cryptsetup source that only AF_ALG is used for all the
> operations like PBKDF2 and masterkey encryption/decryption.
> - Please let me know if my understanding is correct.
> - Is there any way to use cryptodev while using cryptsetup
> - Also, does DM-Crypt automagically uses cryptodev when available ?
> Thank you
> Mrukant Popat
> dm-crypt mailing list
> dm-crypt at saout.de
More information about the dm-crypt