Re: [kitten] SPAKE preauth: generation of SPAKE2 secret input

Nico Williams <nico@cryptonector.com> Thu, 14 May 2015 16:26 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 5EA881A8860 for <kitten@ietfa.amsl.com>; Thu, 14 May 2015 09:26:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.044
X-Spam-Level:
X-Spam-Status: No, score=-1.044 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, 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 NDsTrE5jng3v for <kitten@ietfa.amsl.com>; Thu, 14 May 2015 09:26:13 -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 D88E41A885A for <kitten@ietf.org>; Thu, 14 May 2015 09:26:13 -0700 (PDT)
Received: from homiemail-a102.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a102.g.dreamhost.com (Postfix) with ESMTP id 985EA20047B8D for <kitten@ietf.org>; Thu, 14 May 2015 09:26:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=ZNRAvkiVeI1ZgY8UwDvt RgOVgMg=; b=ZvYLzJJulb5qfg1DVCtufP/sYme0RQHK9Sg0sD0e2e6DntBcQ3if uMOIpQ1cKpDuQCKJh+fpWuBmIFOtTJHu5gUKTT8F9OAGx/IwctI9hqSTae1Yv4Um MZeOtYMv7TURMlizlzBsJckwjO642d1qlwqevOm/T0xIqcRewF1Q5Ng=
Received: from mail-yh0-f44.google.com (mail-yh0-f44.google.com [209.85.213.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a102.g.dreamhost.com (Postfix) with ESMTPSA id 7CCE620047B8C for <kitten@ietf.org>; Thu, 14 May 2015 09:26:13 -0700 (PDT)
Received: by yhom41 with SMTP id m41so23857124yho.1 for <kitten@ietf.org>; Thu, 14 May 2015 09:26:11 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.170.144.212 with SMTP id l203mr5795161ykc.128.1431620771644; Thu, 14 May 2015 09:26:11 -0700 (PDT)
Received: by 10.13.253.3 with HTTP; Thu, 14 May 2015 09:26:11 -0700 (PDT)
In-Reply-To: <20150514160556.GE7287@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> <alpine.GSO.1.10.1505140017320.22210@multics.mit.edu> <alpine.GSO.1.10.1505141027470.22210@multics.mit.edu> <CACsn0ckNMva3JU=6pi0CX7KUh-3bqpvSr_Zpx2XLvxVsUL3b_Q@mail.gmail.com> <20150514160556.GE7287@localhost>
Date: Thu, 14 May 2015 11:26:11 -0500
Message-ID: <CAK3OfOh--FYHAzoWTganmM3baFwFmMijPDx4C0Lq-4kNXORdqg@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Watson Ladd <watsonbladd@gmail.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: <http://mailarchive.ietf.org/arch/msg/kitten/y2duc2txwcbTuPsiFhmZUCeDVq0>
Cc: "kitten@ietf.org" <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 16:26:14 -0000

OTOH, I think we need timing side-channel-free curve implementations
anyways, which means that as long as x is chosen randomly and somewhat
uniformly, it will do.