Return-Path: Received: from mail-ew0-f214.google.com (mail-ew0-f214.google.com [209.85.219.214]) by mail.saout.de (Postfix) with ESMTP for ; Mon, 23 Nov 2009 14:45:41 +0100 (CET) Received: by ewy6 with SMTP id 6so1910432ewy.29 for ; Mon, 23 Nov 2009 05:45:40 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <20091119074104.GC8694@tansi.org> References: <4B032794.6090104@gmx.net> <20091118054555.GB28949@tansi.org> <4B03C5EE.7010702@gmx.net> <20091118102515.GB30910@tansi.org> <4B03D865.8070905@redhat.com> <4B03F5F2.9080609@redhat.com> <20091119074104.GC8694@tansi.org> Date: Mon, 23 Nov 2009 23:45:40 +1000 Message-ID: From: Roscoe Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [dm-crypt] different default key sizes for CREATE and LUKSFORMAT List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de On Thu, Nov 19, 2009 at 5:41 PM, Arno Wagner wrote: > If I understand this correctly, this is the "iteration-count" > parameter to PBKDF2. If so, then RFC 2898 recommends a minimum > count of 1000 anyways. This is hovever not protection against > a broken hash, as even a very weak hash should be extremely > hard to break when iterated 10 times. The main purpose of this > parameter is to make exhaustive search more expensive. I think > this should definitely go up to 1000. I'd like to point out that this use of PBKDF2 is is not as a KDF but as a hash function. The recommendations in the RFC 2898 will be from a KDF perspective. The idea of someone doing an exhaustive search in the LUKS mk context seems silly (RNG quality aside) -- Roscoe.