From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.saout.de ([127.0.0.1]) by localhost (mail.saout.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FbnlK7KGRobb for ; Fri, 20 Apr 2012 13:35:46 +0200 (CEST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mail.saout.de (Postfix) with ESMTP for ; Fri, 20 Apr 2012 13:35:45 +0200 (CEST) Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q3KBZhrv029907 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 20 Apr 2012 07:35:44 -0400 Received: from [10.34.30.35] (tawny.brq.redhat.com [10.34.30.35]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q3KBZgbd009766 for ; Fri, 20 Apr 2012 07:35:43 -0400 Message-ID: <4F914A0E.9080307@redhat.com> Date: Fri, 20 Apr 2012 13:35:42 +0200 From: Milan Broz MIME-Version: 1.0 References: <20120420102244.GA18629@tansi.org> In-Reply-To: <20120420102244.GA18629@tansi.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [dm-crypt] why nbytes for block cipher encrypt/decrypt is only 512 bytes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de 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