[http-auth] CFRG Curves in Mutual

Ilari Liusvaara <ilariliusvaara@welho.com> Sat, 14 November 2015 13:32 UTC

Return-Path: <ilariliusvaara@welho.com>
X-Original-To: http-auth@ietfa.amsl.com
Delivered-To: http-auth@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 62A381B6B3F for <http-auth@ietfa.amsl.com>; Sat, 14 Nov 2015 05:32:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
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 uDcVsv5q24rQ for <http-auth@ietfa.amsl.com>; Sat, 14 Nov 2015 05:32:05 -0800 (PST)
Received: from filtteri2.pp.htv.fi (filtteri2.pp.htv.fi [213.243.153.185]) by ietfa.amsl.com (Postfix) with ESMTP id 9238B1B6B36 for <http-auth@ietf.org>; Sat, 14 Nov 2015 05:32:05 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by filtteri2.pp.htv.fi (Postfix) with ESMTP id 3EFF719BF25 for <http-auth@ietf.org>; Sat, 14 Nov 2015 15:32:04 +0200 (EET)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from smtp4.welho.com ([213.243.153.38]) by localhost (filtteri2.pp.htv.fi [213.243.153.185]) (amavisd-new, port 10024) with ESMTP id lcGRqepdAbQG for <http-auth@ietf.org>; Sat, 14 Nov 2015 15:32:04 +0200 (EET)
Received: from LK-Perkele-V2 (87-92-35-116.bb.dnainternet.fi [87.92.35.116]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp4.welho.com (Postfix) with ESMTPSA id 1ABF15BC01B for <http-auth@ietf.org>; Sat, 14 Nov 2015 15:32:04 +0200 (EET)
Date: Sat, 14 Nov 2015 15:31:59 +0200
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: http-auth@ietf.org
Message-ID: <20151114133159.GA31664@LK-Perkele-V2.elisa-laajakaista.fi>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
User-Agent: Mutt/1.5.24 (2015-08-30)
Sender: ilariliusvaara@welho.com
Archived-At: <http://mailarchive.ietf.org/arch/msg/http-auth/CBk5fUCVMCFMgNVR-lZBsbYuYes>
Subject: [http-auth] CFRG Curves in Mutual
X-BeenThere: http-auth@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: HTTP authentication methods <http-auth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/http-auth>, <mailto:http-auth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/http-auth/>
List-Post: <mailto:http-auth@ietf.org>
List-Help: <mailto:http-auth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/http-auth>, <mailto:http-auth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 14 Nov 2015 13:32:07 -0000

Should CFRG curves (Edwards25519 and Edwards448) be added to Mutual
spec?

The curves (but no point formats) are defined by CFRG-CURVES, which
has been sent to the RFC Editor (currently being copyedited).

The existing point format in the Mutual draft is rather bad[1]
(especially for these curves), but as far as I can tell, it is not
mathematically unworkable.

(The point decoding may also divide by zero. Fortunately all
the points where this happens are of order 4 and as such invalid
anyway).


[1] Putting the y sign bit at LSB position makes one chainshift
the entiere thing. And for Edwards curves, usually y is written
in full and x is compressed to one bit, not the vice versa that
is usually done with Weierstrass curves.


-Ilari