Re: [Cfrg] What groups to use for Diffie Hellman?

jonas weber <jonasweber86@yandex.com> Mon, 31 October 2016 02:13 UTC

Return-Path: <jonasweber86@yandex.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 827C31294C8 for <cfrg@ietfa.amsl.com>; Sun, 30 Oct 2016 19:13:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.55
X-Spam-Level:
X-Spam-Status: No, score=0.55 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, HTML_MIME_NO_HTML_TAG=0.377, MIME_HTML_ONLY=0.723, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=yandex.com
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 8MZ02yUB3eMt for <cfrg@ietfa.amsl.com>; Sun, 30 Oct 2016 19:13:57 -0700 (PDT)
Received: from forward13j.cmail.yandex.net (forward13j.cmail.yandex.net [IPv6:2a02:6b8:0:1630::b3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0F7461294BA for <cfrg@irtf.org>; Sun, 30 Oct 2016 19:13:57 -0700 (PDT)
Received: from mxback1j.mail.yandex.net (mxback1j.mail.yandex.net [5.45.198.15]) by forward13j.cmail.yandex.net (Yandex) with ESMTP id 6914A21509 for <cfrg@irtf.org>; Mon, 31 Oct 2016 05:13:54 +0300 (MSK)
Received: from web36j.yandex.ru (web36j.yandex.ru [5.45.198.139]) by mxback1j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 2GGwM1ykCh-Ds7aJg4w; Mon, 31 Oct 2016 05:13:54 +0300
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1477880034; bh=Zhk9N3aQ9sMmb3HXPUwMwHWTcS/tTvpjZWLOp5yVeEQ=; h=From:To:Subject:Message-Id:Date; b=IJGI/1YBaTtXwfZ2T+nKynvHUXnGl42/CcmeWHsyoMb3l7jsEHycxmf9HNJgvdPkm jOajgn/WAk+wlX7JRc2JHn0eZ4L2ZhBvlNa3lIIJGqRyb1CBfZlJDSM554zLEm98T3 6sfkSt0LOESLCRUlw4zlEXwS/h1CoCLrsf7iIM2M=
Authentication-Results: mxback1j.mail.yandex.net; dkim=pass header.i=@yandex.com
Received: by web36j.yandex.ru with HTTP; Mon, 31 Oct 2016 05:13:54 +0300
From: jonas weber <jonasweber86@yandex.com>
To: cfrg@irtf.org
MIME-Version: 1.0
Message-Id: <2021131477880034@web36j.yandex.ru>
X-Mailer: Yamail [ http://yandex.ru ] 5.0
Date: Sun, 30 Oct 2016 22:13:54 -0400
Content-Transfer-Encoding: 8bit
Content-Type: text/html; charset="utf-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/2jdjynGUW29WB5YhJWY5iUrEmXU>
Subject: Re: [Cfrg] What groups to use for Diffie Hellman?
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 31 Oct 2016 02:13:59 -0000

Peter,
 
In your last post on this topic you write:
 
On a related subject, is there any interest in an RFC that just lists, say,
ten DH parameter sets of various sizes with their generation machanism to
allow replication?  So no list of things you can and can't do, just the
parameters to use wherever you want.  My code uses Lim-Lee, as long as people
don't object to that I can generate them by that process, it'd just mean you'd
need another implementation that can handle verifying primes of the form
'p = 2 * q * ( prime[1] * ... prime[n] ) + 1'.

I'd also supply them as bignums of 32- and 64-bit words, since that's how
they're going to end up in people's code and it'll save lots of developers
having to manually reformat them from whatever form they're otherwise
published in.
 
Given the uncertainty over the RFC-5114 groups, I believe it would be helpful to have an RFC with a list of primes as you describe. Many of us use shorter exponents to save computation and having a list of verifiable primes would be useful, particularly if they could be registered for use in IKE and TLS.
 
Regards,
 
Jonas