Re: How To use FPGA to encrypt disk for dmcrypt

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

 





On Wed, Nov 18, 2009 at 9:31 PM, Milan Broz <mbroz@xxxxxxxxxx> wrote:
On 11/18/2009 02:23 PM, Bai Shuwei wrote:
>    Now I implement xts-aes algorithm with FPGA for disk encryption. But
> I am not sure how to write my device driver to connenct the dmcrypt and
> FPAG device. I hope some body can give me some idea where I should
> change to make the dmcrypt use FPGA.

If you integrate it to kernel crypto-api, it will be used automatically
when this module loads and the aes-xts mode is used in the mapping.

(Current crypt providers/drivers with it usage priorities are visible
in /proc/crypto - kernel prefers optimized drivers before generic one this way).

Ask on linux-crypto@xxxxxxxxxxxxxxx mailing list how to do that properly.

Milan
--
mbroz@xxxxxxxxxx

Now, I am trying to build the interface for dm-crypt using my FPGA. I find there are two routines can register the algorithm

crypto_register_template()
 
and

 crypto_register_alg()

So i want to know what's the difference between them. and which i should choice to make my driver easier?  Whether am i right to use the routine for my project?

Thanks!
 


--
Love other people, as same as love yourself!
Don't think all the time, do it by your hands!

Personal URL: http://dslab.lzu.edu.cn:8080/members/baishw/
E-Mail: baishuwei@xxxxxxxxx
_______________________________________________
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