Re: [Cfrg] EC signature: next steps

Ilari Liusvaara <ilari.liusvaara@elisanet.fi> Mon, 31 August 2015 16:28 UTC

Return-Path: <ilari.liusvaara@elisanet.fi>
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 C1D941B4078 for <cfrg@ietfa.amsl.com>; Mon, 31 Aug 2015 09:28:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] 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 SCylc-g7NHom for <cfrg@ietfa.amsl.com>; Mon, 31 Aug 2015 09:28:35 -0700 (PDT)
Received: from emh04.mail.saunalahti.fi (emh04.mail.saunalahti.fi [62.142.5.110]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4F8A51B44A4 for <cfrg@irtf.org>; Mon, 31 Aug 2015 09:28:35 -0700 (PDT)
Received: from LK-Perkele-VII (a91-155-194-207.elisa-laajakaista.fi [91.155.194.207]) by emh04.mail.saunalahti.fi (Postfix) with ESMTP id D46341A28C8; Mon, 31 Aug 2015 19:28:32 +0300 (EEST)
Date: Mon, 31 Aug 2015 19:28:32 +0300
From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
To: Simon Josefsson <simon@josefsson.org>
Message-ID: <20150831162832.GA16764@LK-Perkele-VII>
References: <55DD906F.3050607@isode.com> <D2035132.531EE%kenny.paterson@rhul.ac.uk> <55DDA21D.9060302@isode.com> <55DF3E3C.7020206@isode.com> <55E42414.3020805@isode.com> <8737yz4nfg.fsf@latte.josefsson.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
In-Reply-To: <8737yz4nfg.fsf@latte.josefsson.org>
User-Agent: Mutt/1.5.23 (2014-03-12)
Sender: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/_K5UpsqQH3nOoeASjo0loj4I20U>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] EC signature: next steps
X-BeenThere: cfrg@mail.ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.mail.ietf.org>
List-Unsubscribe: <https://mail.ietf.org/mailman/options/cfrg>, <mailto:cfrg-request@mail.ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@mail.ietf.org>
List-Help: <mailto:cfrg-request@mail.ietf.org?subject=help>
List-Subscribe: <https://mail.ietf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@mail.ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 31 Aug 2015 16:28:37 -0000

On Mon, Aug 31, 2015 at 03:06:43PM +0200, Simon Josefsson wrote:
> Alexey Melnikov <alexey.melnikov@isode.com> writes:
> 
> > - are there errors of fact or omission that need to be corrected?
> 
> 1) I don't understand by this part of Ilari's writeup: 'dictated by
> ???'.

I earlier tought that the prehash comes from the key, but then
read comment by DJB stating that this is not the case.
 
> 2) I disagree with 'Neither personalization nor firewalling is
> supported.'.  As far as I understand what Ilari intend, both are
> supported in the sense that they can be added by a higher-level
> abstraction, which I believe is a more appropriate approach than jamming
> this into the signature primitive.

I fully agree that putting firewalling into higher layers is better
idea than putting it into signature primitive. However, apparently
the signature primitive is to support signature-level online operation
(which I think is rather bad idea) as opposed to protocol-level online
operation.

As for personalization, the problem is that protocols A and B (or
even just different versions of the same protocol!) can interpret the
same message in rather different ways.

(Personalization does create some issues with application interface).


> 3) What is NPOT?

(Order) Near Power Of Two. The difference of order and nearest power
of two is on order of sqrt(l).

Such orders produce even distributions of x mod l, where x is n bits
long with smaller n than usual.

Both Curve25519 and Curve448 are NPOT. 



-Ilari