DM-Crypt Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Milan Broz <mbroz@redhat.com>
To: Bai Shuwei <baishuwei@gmail.com>
Cc: dm-crypt@saout.de
Subject: Re: [dm-crypt] How To use FPGA to encrypt disk for dmcrypt
Date: Wed, 18 Nov 2009 14:31:29 +0100	[thread overview]
Message-ID: <4B03F731.7060408@redhat.com> (raw)
In-Reply-To: <f3566d60911180523r11848e67g1870b71d4690662@mail.gmail.com>

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

  reply	other threads:[~2009-11-18 13:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-18 13:23 [dm-crypt] How To use FPGA to encrypt disk for dmcrypt Bai Shuwei
2009-11-18 13:31 ` Milan Broz [this message]
2009-11-19  8:39   ` Bai Shuwei
2009-11-19  7:43 ` Arno Wagner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B03F731.7060408@redhat.com \
    --to=mbroz@redhat.com \
    --cc=baishuwei@gmail.com \
    --cc=dm-crypt@saout.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox