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