On Wed, Nov 18, 2009 at 9:31 PM, Milan Broz <mbroz@xxxxxxxxxx> wrote:
On 11/18/2009 02:23 PM, Bai Shuwei wrote:If you integrate it to kernel crypto-api, it will be used automatically
> 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.
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!
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