Re: [Cfrg] Adoption of draft-ladd-spake2 as a RG document

Adam Langley <> Thu, 22 January 2015 19:35 UTC

Return-Path: <>
Received: from localhost ( []) by (Postfix) with ESMTP id DE8F41A1A73 for <>; Thu, 22 Jan 2015 11:35:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -1.278
X-Spam-Status: No, score=-1.278 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=no
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id 1ViUa149ODx9 for <>; Thu, 22 Jan 2015 11:35:11 -0800 (PST)
Received: from ( [IPv6:2a00:1450:4010:c04::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by (Postfix) with ESMTPS id 33D2F1A1A54 for <>; Thu, 22 Jan 2015 11:35:11 -0800 (PST)
Received: by with SMTP id p9so3402438lbv.8 for <>; Thu, 22 Jan 2015 11:35:09 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=cYxklqgvlAyg/zruBqbf7Mkt0c99HhgOf8DIMw6unLI=; b=lEfcBosM3Q5XWIfAAjVmzdZs/4rNTiGt5jpqTQZJrIZtoRJkdE8MHRHLpYGKyaI1tt KJuztD7zqWfPURUkUi/rovUCP88uRhU7TN+LhrdZ49nUdy2z0sTWPpMGGDF1SV8ZCg19 Czx+ha9kabZV5eHMFCqoSw2JJCr29VgXry/B9wnK6c+8QML5BzXLx873J/YkgaTjgbmZ pR5sAn5FJ4MvNEFO4WtJh2f39PowLS9N2oOMRf6KcioQ55S0CYWW1fIgUo8PWHmEw2WG m2GLGMlV8E070H9N8poA+3rtuOjr1v+X60dzD17UmbEcfOJ3eYewTzGbsF8ToLmLEm2j wobg==
MIME-Version: 1.0
X-Received: by with SMTP id u7mr3476345lbp.74.1421955309428; Thu, 22 Jan 2015 11:35:09 -0800 (PST)
Received: by with HTTP; Thu, 22 Jan 2015 11:35:09 -0800 (PST)
In-Reply-To: <>
References: <> <>
Date: Thu, 22 Jan 2015 11:35:09 -0800
X-Google-Sender-Auth: lVFy2rkOb8Y0UBktOP70lQv0TCU
Message-ID: <>
From: Adam Langley <>
To: "Dearlove, Christopher (UK)" <>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <>
Cc: "" <>
Subject: Re: [Cfrg] Adoption of draft-ladd-spake2 as a RG document
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Thu, 22 Jan 2015 19:35:13 -0000

On Mon, Jan 19, 2015 at 3:56 AM, Dearlove, Christopher (UK)
<> wrote:
> A minor point compared to choice of curve. Commenting on draft draft-agl-cfrgcurve-00, it indicates, in section 8 the use of little-endian order. RFC 5480 (obvious prior art in IETF) does not appear to specify big/little endianness, but delegates that to its reference SEC1. That document ( in section 2.3.7 reverses the order of its x and M coefficients to produce a big-endian representation of an integer. Big endian format is also used by, for example, OpenSSL. Is the use of little endian format here a deliberate design decision?

(This appears to be a comment on draft-agl-cfrgcurve-00, but this
thread is otherwise about draft-ladd-spake2 which is why I didn't
notice it.)

Yes, the use of little-endian is a deliberate decision. It reflects
unanimous practice with the recommended curve. Also, I think there's a
general movement towards having crypto primitives specified as
functions on bytes strings rather than on more abstract concepts like
points (which I support).



Adam Langley