From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mail.saout.de (Postfix) with ESMTP for ; Wed, 18 Nov 2009 14:31:33 +0100 (CET) Message-ID: <4B03F731.7060408@redhat.com> Date: Wed, 18 Nov 2009 14:31:29 +0100 From: Milan Broz MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [dm-crypt] How To use FPGA to encrypt disk for dmcrypt List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Bai Shuwei Cc: dm-crypt@saout.de 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@vger.kernel.org mailing list how to do that properly. Milan -- mbroz@redhat.com