All of lore.kernel.org
 help / color / mirror / Atom feed
From: Milan Broz <mbroz@redhat.com>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] why nbytes for block cipher encrypt/decrypt is only 512 bytes
Date: Fri, 20 Apr 2012 13:35:42 +0200	[thread overview]
Message-ID: <4F914A0E.9080307@redhat.com> (raw)
In-Reply-To: <20120420102244.GA18629@tansi.org>

On 04/20/2012 12:22 PM, Arno Wagner wrote:
> I think you cannot. As long as the block-size for the IV scheme
> is 512 bytes, you are stuck with encrypting 512 bytes at a time,
> as they have their own IV. 

Yes for now, 512bytes sector as internal device-mapper unit ==
size of encryption unit in dmcrypt.

There was several discussions about it (see list archive) and maybe
in future there will be an option to make it configurable (it will
cause several incompatibility problems though) but for now, 512 is
the only supported value.

Milan

      parent reply	other threads:[~2012-04-20 11:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-20  9:28 [dm-crypt] why nbytes for block cipher encrypt/decrypt is only 512 bytes Rodel Miguel
2012-04-20 10:22 ` Arno Wagner
2012-04-20 10:55   ` Rodel Miguel
2012-04-20 11:35   ` Milan Broz [this message]

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=4F914A0E.9080307@redhat.com \
    --to=mbroz@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.