Re: [kitten] SPAKE preauth: generation of SPAKE2 secret input
Nico Williams <nico@cryptonector.com> Thu, 14 May 2015 15:52 UTC
Return-Path: <nico@cryptonector.com>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C86321A872C for <kitten@ietfa.amsl.com>; Thu, 14 May 2015 08:52:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.666
X-Spam-Level:
X-Spam-Status: No, score=-1.666 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, IP_NOT_FRIENDLY=0.334, RCVD_IN_DNSWL_NONE=-0.0001] 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 I3pwm-ZBcGmQ for <kitten@ietfa.amsl.com>; Thu, 14 May 2015 08:52:40 -0700 (PDT)
Received: from homiemail-a102.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) by ietfa.amsl.com (Postfix) with ESMTP id 171191A8718 for <kitten@ietf.org>; Thu, 14 May 2015 08:52:40 -0700 (PDT)
Received: from homiemail-a102.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a102.g.dreamhost.com (Postfix) with ESMTP id DE05920047B88; Thu, 14 May 2015 08:52:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=HYt146+XEDb+sK NIVjC5a79YUFw=; b=OZ0VZpB9yh9fD1IfsQ75jMSDXWSmfmiGWdJI0tM7tVA1PY gMiukWm8pxePKggTCuTxERE3uWc+TrAdYhDK/UChpDOqajLZg+p2KxY8+wYiCHae B80KWsJ5BAGI8hAq/pglP0FX0Wby49JDFZYdtDmB9UJQBvMOJcAjtotlD6dL0=
Received: from localhost (108-207-244-174.lightspeed.austtx.sbcglobal.net [108.207.244.174]) (Authenticated sender: nico@cryptonector.com) by homiemail-a102.g.dreamhost.com (Postfix) with ESMTPA id 79F2520047B80; Thu, 14 May 2015 08:52:39 -0700 (PDT)
Date: Thu, 14 May 2015 10:52:39 -0500
From: Nico Williams <nico@cryptonector.com>
To: Watson Ladd <watsonbladd@gmail.com>
Message-ID: <20150514155238.GD7287@localhost>
References: <x7dk2wd6355.fsf@equal-rites.mit.edu> <20150512214740.GT7287@localhost> <1431525091.3260.26.camel@redhat.com> <CACsn0cm9AEG+oi8S+trhvyHpFFLF=-tG4Qazp5e6SgnS037K+Q@mail.gmail.com> <20150513160549.GV7287@localhost> <CACsn0cnO0To1a77x0Tp+Qk414Zv_yqnoC-wuS4vgJbQN+mV+7Q@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <CACsn0cnO0To1a77x0Tp+Qk414Zv_yqnoC-wuS4vgJbQN+mV+7Q@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <http://mailarchive.ietf.org/arch/msg/kitten/lYcgHPU5P7KbsR3bdaOzVLPStLQ>
Cc: kitten@ietf.org
Subject: Re: [kitten] SPAKE preauth: generation of SPAKE2 secret input
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 May 2015 15:52:40 -0000
On Wed, May 13, 2015 at 09:15:19PM -0700, Watson Ladd wrote: > On May 13, 2015 9:05 AM, "Nico Williams" <nico@cryptonector.com> wrote: > > It absolutely could be an implementation-only abstraction. If it will > > be useful for many implementations though, it'd be useful to write that > > up. In particular, adding curves to an implementation will be easy if > > there is such an abstraction internally. > > Many implementations already have such a layer. I don't see how it's > useful to write up: it's obvious, and doesn't affect interop. True. (But we must have a point representation, which per-CFRG is now part of each curve's specification. We have a point representation for Curve25519 for DH, but not yet for point addition.) > > (This was in response to an off-list question by an implementor about > > how to make it easy to add curves to their implementation given that > > they are using OpenSSL, without first having to add them to OpenSSL. > > Two simple answers are: don't, or add such an abstraction.) > > I believe OpenSSL does permit specifying parameters of arbitrary > Weierstrass curves. In practice I don't know how useful that is. Or am > I misunderstanding the question? The context is an implementation of Kerberos that would like such an abstraction so it can use curves not yet supported by OpenSSL, in particular Curve/Ed25519. Nico --
- [kitten] SPAKE preauth: generation of SPAKE2 secr… Greg Hudson
- Re: [kitten] SPAKE preauth: generation of SPAKE2 … Nico Williams
- Re: [kitten] SPAKE preauth: generation of SPAKE2 … Nathaniel McCallum
- Re: [kitten] SPAKE preauth: generation of SPAKE2 … Watson Ladd
- Re: [kitten] SPAKE preauth: generation of SPAKE2 … Nico Williams
- Re: [kitten] SPAKE preauth: generation of SPAKE2 … Watson Ladd
- Re: [kitten] SPAKE preauth: generation of SPAKE2 … Benjamin Kaduk
- Re: [kitten] SPAKE preauth: generation of SPAKE2 … Benjamin Kaduk
- Re: [kitten] SPAKE preauth: generation of SPAKE2 … Nico Williams
- Re: [kitten] SPAKE preauth: generation of SPAKE2 … Nico Williams
- Re: [kitten] SPAKE preauth: generation of SPAKE2 … Watson Ladd
- Re: [kitten] SPAKE preauth: generation of SPAKE2 … Nico Williams
- Re: [kitten] SPAKE preauth: generation of SPAKE2 … Nico Williams
- Re: [kitten] SPAKE preauth: generation of SPAKE2 … Simo Sorce
- Re: [kitten] SPAKE preauth: generation of SPAKE2 … Greg Hudson
- Re: [kitten] SPAKE preauth: generation of SPAKE2 … Nico Williams
- Re: [kitten] SPAKE preauth: generation of SPAKE2 … Watson Ladd
- Re: [kitten] SPAKE preauth: generation of SPAKE2 … Greg Hudson