Re: Does cryptsetup use cryptodev or only AF_ALG

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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).

Regards

-Sven

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
>
> regards,
> Mrukant Popat
> _______________________________________________
> dm-crypt mailing list
> dm-crypt@xxxxxxxx
> http://www.saout.de/mailman/listinfo/dm-crypt
>


_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
http://www.saout.de/mailman/listinfo/dm-crypt




[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux