From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from tansi.org (ns.km10532-04.keymachine.de [87.118.102.195]) by mail.saout.de (Postfix) with ESMTP for ; Thu, 19 Nov 2009 08:43:39 +0100 (CET) Received: from gatewagner.dyndns.org (84-74-164-239.dclient.hispeed.ch [84.74.164.239]) by tansi.org (Postfix) with ESMTP id C561F4250004 for ; Thu, 19 Nov 2009 08:43:39 +0100 (CET) Date: Thu, 19 Nov 2009 08:43:40 +0100 From: Arno Wagner Message-ID: <20091119074340.GD8694@tansi.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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: dm-crypt@saout.de On Wed, Nov 18, 2009 at 09:23:57PM +0800, Bai Shuwei wrote: > Hi, All: > > 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. > > Thanks ALL! > > Bai SHuwei I think basically you want to provide this via the crypto accelerator hardware to the kernel, i.e. write a cryoto hardware kernel driver. Then you can just select that cipher for dm-crypt from the commandline. Arno -- Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: arno@wagner.name GnuPG: ID: 1E25338F FP: 0C30 5782 9D93 F785 E79C 0296 797F 6B50 1E25 338F ---- Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans If it's in the news, don't worry about it. The very definition of "news" is "something that hardly ever happens." -- Bruce Schneier