Re: [Cfrg] Point format endian

"Dearlove, Christopher (UK)" <chris.dearlove@baesystems.com> Mon, 26 January 2015 11:08 UTC

Return-Path: <chris.dearlove@baesystems.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 004D91A88F7 for <cfrg@ietfa.amsl.com>; Mon, 26 Jan 2015 03:08:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.91
X-Spam-Level:
X-Spam-Status: No, score=-6.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] 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 j_VtID7OVm4P for <cfrg@ietfa.amsl.com>; Mon, 26 Jan 2015 03:08:53 -0800 (PST)
Received: from ukmta1.baesystems.com (ukmta1.baesystems.com [20.133.0.55]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 940F01A88E4 for <cfrg@irtf.org>; Mon, 26 Jan 2015 03:08:52 -0800 (PST)
X-IronPort-AV: E=Sophos;i="5.09,468,1418083200"; d="scan'208";a="518116218"
Received: from unknown (HELO baemasmds017.greenlnk.net) ([10.15.207.104]) by baemasmds003ir.sharelnk.net with ESMTP; 26 Jan 2015 11:08:51 +0000
X-IronPort-AV: E=Sophos;i="5.09,468,1418083200"; d="scan'208";a="85288458"
Received: from glkxh0003v.greenlnk.net ([10.109.2.34]) by baemasmds017.greenlnk.net with ESMTP; 26 Jan 2015 11:08:50 +0000
Received: from GLKXM0002V.GREENLNK.net ([169.254.5.186]) by GLKXH0003V.GREENLNK.net ([10.109.2.34]) with mapi id 14.03.0174.001; Mon, 26 Jan 2015 11:08:51 +0000
From: "Dearlove, Christopher (UK)" <chris.dearlove@baesystems.com>
To: Alyssa Rowan <akr@akr.io>, "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [Cfrg] Point format endian
Thread-Index: AdA5V3PHRzvEqOySTR6mHbMgs6awtw==
Date: Mon, 26 Jan 2015 11:08:50 +0000
Message-ID: <B31EEDDDB8ED7E4A93FDF12A4EECD30D40E0DCFC@GLKXM0002V.GREENLNK.net>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.109.62.6]
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/D2CEVmRGmTot67x0VeIiJCr2UPI>
Subject: Re: [Cfrg] Point format endian
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 26 Jan 2015 11:08:55 -0000

Alyssa Rowan
> They are NOT bignums. As per TLS WG discussion, all new curves' wire formats are opaque octet strings.

They may be opaque to TLS, but here people actually need to manipulate them, and  the draft that's being discussed here actually uses the words little endian. That's a number.

Having opened this can of worms, it was to ask if this was a deliberate decision. It was. Open to people to agree or disagree, I just was a little surprised and wanted to check.

There are several layers to representation,  when not able to consider it as opaque. Mathematical entity, octet pattern (including endianness, but also things like rules for leading zeros) and framing (e.g. the 04 in SEC1 for uncompressed elliptic curve points in affine form). Here we need all of those (I'm not suggesting we don't have them).

********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************