Re: [TLS] STRAW POLL: Size of the Minimum FF DHE group

Bodo Moeller <bmoeller@acm.org> Wed, 05 November 2014 11:56 UTC

Return-Path: <bmoeller@acm.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 594FC1A8873 for <tls@ietfa.amsl.com>; Wed, 5 Nov 2014 03:56:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.262
X-Spam-Level:
X-Spam-Status: No, score=-0.262 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HELO_EQ_DE=0.35, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_SOFTFAIL=0.665] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2FJR5-7TO30B for <tls@ietfa.amsl.com>; Wed, 5 Nov 2014 03:56:50 -0800 (PST)
Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 90A1D1A8870 for <tls@ietf.org>; Wed, 5 Nov 2014 03:56:48 -0800 (PST)
Received: from mail-oi0-f43.google.com (mail-oi0-f43.google.com [209.85.218.43]) by mrelayeu.kundenserver.de (node=mreue102) with ESMTP (Nemesis) id 0M1Fnc-1Y1bHC1fk8-00tClf; Wed, 05 Nov 2014 12:56:46 +0100
Received: by mail-oi0-f43.google.com with SMTP id e131so826922oig.16 for <tls@ietf.org>; Wed, 05 Nov 2014 03:56:43 -0800 (PST)
MIME-Version: 1.0
X-Received: by 10.202.62.10 with SMTP id l10mr45778255oia.18.1415188603118; Wed, 05 Nov 2014 03:56:43 -0800 (PST)
Received: by 10.60.32.42 with HTTP; Wed, 5 Nov 2014 03:56:43 -0800 (PST)
In-Reply-To: <20141105012314.GG23599@mournblade.imrryr.org>
References: <8E6B8F53-9E8C-46B2-A721-85E918576F3A@ieca.com> <20141105012314.GG23599@mournblade.imrryr.org>
Date: Wed, 05 Nov 2014 12:56:43 +0100
Message-ID: <CADMpkcLTBRJ4FJvz7iKot2cAXT4oa49T9BkxJFXpHrr=5twmvw@mail.gmail.com>
From: Bodo Moeller <bmoeller@acm.org>
To: "tls@ietf.org" <tls@ietf.org>
Content-Type: multipart/alternative; boundary="001a113ccca2faadd205071b4569"
X-Provags-ID: V02:K0:Wx7J9eUO7UXNfGMsD7bMJGPp3vLWxaHXGPsCTdpcDoo ds3aeWYcD4JNgP58NQOk9XqPPw6Jo9gZg7aUBgBLuondF7dlPH BN/PUQA8D7uzomOU/FH/3A2MYTdL1sNT5FqpkEMRLk00spFg3E XDHTQ84yw+WNaGEIrZri010m+LkqvGW8kjsin3+tvcxCbDF6wB +o2Dy4ILQ+Woc5qm+JLveS3qFtRaG5DOrTb2ftWSpjyx3vzten zgE9BmwDj2+/Ln3S1s1W8j3PRGjdKC3QVi5xTp6bmBvvj9C+96 uP9Q2HTrE+QuK7PBIC/E4E+czhhcj111QDQmSdOh4PGXeXKGGo 0bzq3/unGW0r2mHF1p4QIlAAvuPUbdvAXEPEZcFwW7umOnI7rW bZdNgqx8NBa3L7joZl9ImBzPdB5+euXEHCPMc80FBLmAjjlS++ 6hsQy
X-UI-Out-Filterresults: notjunk:1;
Archived-At: http://mailarchive.ietf.org/arch/msg/tls/xB5alBpO2tyBhrExK4EYxqnOQHQ
Subject: Re: [TLS] STRAW POLL: Size of the Minimum FF DHE group
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Nov 2014 11:56:55 -0000

Viktor Dukhovni <ietf-dane@dukhovni.org>:

I take it the new DHE $\mathbb{Z}^*_p$ subgroups will be cyclic
> with prime order $q$, where $q$ is a much shorter prime


Wrong, see draft-ietf-tls-negotiated-ff-dhe-02.  The new groups have prime
group order q = (p-1)/2.


Manuel Pégourié-Gonnard <mpg@polarssl.org>:

multiplication is quadratic, and the length of the exponent, which is
> roughly
> the number of multiplications, is linear in the size of the group.
>

No, because you can still use short exponents. If you're doing that,
draft-ietf-tls-negotiated-ff-dhe-02 recommends (at least) 224 bits [*] for
the exponent when using the 2432-bit modulus.

Bodo


[*] Minor editing issue: it actually says that you can use exponents in the
[2,2^224] range, but also says that you "should choose a secret key of at
least 224 bits". Since there's no discussion of leading zeros in the
document (I think), the latter could be read as requiring a [2^223, ...]
range.