
From nobody Thu Jul  2 11:29:57 2015
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 CCCD71A8872 for <cfrg@ietfa.amsl.com>; Thu,  2 Jul 2015 11:29:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.399
X-Spam-Level: *
X-Spam-Status: No, score=1.399 tagged_above=-999 required=5 tests=[BAYES_50=0.8, J_CHICKENPOX_12=0.6, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] 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 Mqj-ClpOqE22 for <cfrg@ietfa.amsl.com>; Thu,  2 Jul 2015 11:29:54 -0700 (PDT)
Received: from emh02.mail.saunalahti.fi (emh02.mail.saunalahti.fi [62.142.5.108]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6BBA51A8870 for <cfrg@irtf.org>; Thu,  2 Jul 2015 11:29:54 -0700 (PDT)
Received: from LK-Perkele-VII (a91-155-194-207.elisa-laajakaista.fi [91.155.194.207]) by emh02.mail.saunalahti.fi (Postfix) with ESMTP id 332D2817E6 for <cfrg@irtf.org>; Thu,  2 Jul 2015 21:29:51 +0300 (EEST)
Date: Thu, 2 Jul 2015 21:29:51 +0300
From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
To: cfrg@irtf.org
Message-ID: <20150702182951.GA5633@LK-Perkele-VII>
References: <20150622122321.GA28986@LK-Perkele-VII>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <20150622122321.GA28986@LK-Perkele-VII>
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/aUQBr6lQBP6sfgwZ3XcErn_BY0A>
Subject: Re: [Cfrg] Signature proposal (quick-and-dirty additional material)
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: <https://mailarchive.ietf.org/arch/browse/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: Thu, 02 Jul 2015 18:29:57 -0000

Here is some very quick-and dirty material about the algorithm
(in presentation-like form, covering some of the design choices):


EdDSA:
======
- Advanced digital signature primitive, encompassing lots of
  improvements to the original ElGamal scheme.
- Free of inversions mod order.

EdDSA is an advanced signature primitive, having undergone
lots of improvements since the original ElGamal scheme.

EdDSA is also free of inversions mod order. Those are
annoying to implement and slow, especially if one is to
do those in way not vulernable to timing attacks.


Why not EdDSA:
==============
- EdDSA does not support IUF (which is REQUIRED).
- EdDSA has requirements for curves Curve448 won't meet.
- EdDSA requires exotic hashes at >255 bits.

Unfortunately, EdDSA won't do for three reasons:

Firstly, IUF was requirement, and EdDSA doesn't do that.

Secondly, EdDSA has rather severe curve requirements,
making Curve25519 effectively the only curve it is usable
on.

Thirdly, EdDSA needs double-width hash, which means more
than 512 bits if curve is more than 255 bits. And normal
hashes cap at 512 bits.


Modifications from EdDSA:
=========================
- Drop most restrictions on curve.
- Modify seed/a generation.
- IUF via prehashing
- Hash firewalling
- Add contexts

So EdDSA has to be modified in multiple ways...


Drop most restrictions on curve:
================================
- Modify point encoding, allowing (twisted) edwards curves
  over prime fields.
- Plus some size restrictions for security.

By modifying point encoding, one can allow pretty much arbitrary
(twisted) edwards curves over prime fields.

Also, some size restrictions are set for security.


Modify seed/a generation:
=========================
- Modify seed/a generation from private key material.
  - So that exotic hashes are not needed.
- seed and a are generated separatedly, instead of just hashing
  once and splitting.

By modifying generation of seed for pseudorandom parameter and
logarithm of public key, one can get rid of double-width hash.

Specifically, generate those parts separatedly instead of at
once and splitting. Then one only needs enough hash width to
generate unbiased pseudorandom parameter.


IUF via prehashing:
===================
- Some protocols seem to prefer to sign hashes.
  - E.g. TLS 1.2 CertificateVerify.
- Some protocols have hash preferences.
  - E.g. PRF-hash for TLS 1.2 CV.
- Avoids need to know signing key beforehand.


IUF is added via hashing the message before signing. It seems like
some protocols like to sign hashes, and sometimes with certain
hashes.

E.g. TLS 1.2. CertificateVerify, which also prefers PRF-hash
(which depends on TLS ciphersuite).

Also, one avoids problems from having to know the signing key before
one starts hashing for signature.


Hash firewalling:
=================
- Weak hashes seem to be perennial problem.
- More severe problems would arise from mixing up unhashed input
  (somebody is probably going to do that) and hashed input.
- -> Add indication of hash function used.


Weak hashes seem to be persistent problem. Yes, those should be
deimplemented, except that doesn't seem to happen as fast as we
would like.

Additionally, because the primitive takes unbounded amount of
input, somebody is probably going to try to stick the message there,
which tends to cause rather bad problems unless that is indicated.

So indicate the prehash used.


Add contexts:
=============
- Another perennial problem is cross-protocol attacks.
- Difficult to avoid in-band
- -> Add indication of context which both sides have to agree on.
  - Designated by protocol.

Another persistent, but much more obscure problem is using messages
from one protocol to attack another.

It is very difficult to design messages so that some other protocol
won't interpret those in bad ways.

A way to solve this would be to add input, designated by the protocol
signer and verifier must agree on for verification to succeed.


Other approaches:
=================
- Double-pipe v|m, m|rB.
  - Requires signer to pick key beforehand.
- Forking: m|pad|v, m|pad|rB.
  - Is this even secure?
  - Pad has to be picked carefully.
  - Needs somewhat non-standard hash interface.

Two other appoaches were either proposed or came into mind:

Firstly, double pipe construction where hash is run twice, with seed
at front of one of the hashes. This has properties of needing to
compute hash twice, which might be bit slow and that signer needs
to pick signing key at beginning.

Secondly, one could hash message, some padding material, possibly
containing lengths, then fork the context and add seed and point
encoding. No idea if this is secure or not, and even if could be
secure, one probably would have to be careful with pad construction.
Also, this needs somewhat non-standard hash interface.


-Ilari


From nobody Fri Jul  3 01:08:02 2015
Return-Path: <internet-drafts@ietf.org>
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 4AC721A9074; Fri,  3 Jul 2015 01:08:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] 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 hDg_kdW_qs1v; Fri,  3 Jul 2015 01:08:00 -0700 (PDT)
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 6B3ED1A1A8B; Fri,  3 Jul 2015 01:07:57 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.0.4.p1
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20150703080757.28283.84424.idtracker@ietfa.amsl.com>
Date: Fri, 03 Jul 2015 01:07:57 -0700
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/5vA19Fy8C8RNBJqWd4HhDDuyZwU>
Cc: cfrg@ietf.org
Subject: [Cfrg] I-D Action: draft-irtf-cfrg-xmss-hash-based-signatures-01.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 03 Jul 2015 08:08:01 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
 This draft is a work item of the Crypto Forum Working Group of the IETF.

        Title           : XMSS: Extended Hash-Based Signatures
        Authors         : Andreas Huelsing
                          Denis Butin
                          Stefan-Lukas Gazdag
                          Aziz Mohaisen
	Filename        : draft-irtf-cfrg-xmss-hash-based-signatures-01.txt
	Pages           : 54
	Date            : 2015-07-03

Abstract:
   This note describes the eXtended Merkle Signature Scheme (XMSS), a
   hash-based digital signature system.  It follows existing
   descriptions in scientific literature.  The note specifies the WOTS+
   one-time signature scheme, a single-tree (XMSS) and a multi-tree
   variant (XMSS^MT) of XMSS.  Both variants use WOTS+ as a main
   building block.  XMSS provides cryptographic digital signatures
   without relying on the conjectured hardness of mathematical problems.
   Instead, it is proven that it only relies on the properties of
   cryptographic hash functions.  XMSS provides strong security
   guarantees and, besides some special instantiations, is even secure
   when the collision resistance of the underlying hash function is
   broken.  It is suitable for compact implementations, relatively
   simple to implement, and naturally resists side-channel attacks.
   Unlike most other signature systems, hash-based signatures withstand
   attacks using quantum computers.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-irtf-cfrg-xmss-hash-based-signatures/

There's also a htmlized version available at:
https://tools.ietf.org/html/draft-irtf-cfrg-xmss-hash-based-signatures-01

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-irtf-cfrg-xmss-hash-based-signatures-01


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


From nobody Sun Jul  5 11:14:52 2015
Return-Path: <tanja@hyperelliptic.org>
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 7C5FF1A9047 for <cfrg@ietfa.amsl.com>; Sun,  5 Jul 2015 11:14:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.895
X-Spam-Level: **
X-Spam-Status: No, score=2.895 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HELO_EQ_NL=0.55, HOST_EQ_NL=1.545] 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 w0D-NOdNvSpY for <cfrg@ietfa.amsl.com>; Sun,  5 Jul 2015 11:14:48 -0700 (PDT)
Received: from calvin.win.tue.nl (calvin.win.tue.nl [131.155.70.11]) by ietfa.amsl.com (Postfix) with SMTP id 5F5051A9046 for <cfrg@irtf.org>; Sun,  5 Jul 2015 11:14:48 -0700 (PDT)
Received: (qmail 5724 invoked from network); 5 Jul 2015 18:15:06 -0000
Received: from pcdhz005.win.tue.nl (HELO hyperelliptic.org) (131.155.71.33) by calvin.win.tue.nl with SMTP; 5 Jul 2015 18:15:06 -0000
Received: (qmail 11445 invoked by uid 1000); 5 Jul 2015 18:14:57 -0000
Date: Sun, 5 Jul 2015 20:14:57 +0200
From: Tanja Lange <tanja@hyperelliptic.org>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Message-ID: <20150705181457.GA11440@cph.win.tue.nl>
References: <5586895A.3020607@isode.com> <20150705083434.GS20757@cph.win.tue.nl>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20150705083434.GS20757@cph.win.tue.nl>
User-Agent: Mutt/1.5.11
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/33d-d3iU4pSH1ihoQDJiQOI3S8w>
Cc: Simon Josefsson <simon@josefsson.org>, "D. J. Bernstein" <djb@math.uic.edu>, Bo-Yin Yang <by@crypto.tw>
Subject: Re: [Cfrg] Soliciting EC signature scheme proposals
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: <https://mailarchive.ietf.org/arch/browse/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: Sun, 05 Jul 2015 18:14:50 -0000

[I tried sending this earlier with the paper as an attachment but
it bounced due to size]

Dear all, 
Please find our suggestion for a generalized EdDSA signature scheme at
	http://eprint.iacr.org/2015/677
 
Looking forward to your comments
 	Bo-Yin, Dan, Peter, Simon, and Tanja



From nobody Sun Jul  5 21:46:02 2015
Return-Path: <mike@shiftleft.org>
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 0B5751A7003 for <cfrg@ietfa.amsl.com>; Sun,  5 Jul 2015 21:46:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 4.855
X-Spam-Level: ****
X-Spam-Status: No, score=4.855 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FH_HOST_EQ_D_D_D_D=0.765, FH_HOST_EQ_D_D_D_DB=0.888, HELO_MISMATCH_ORG=0.611, HOST_MISMATCH_NET=0.311, J_CHICKENPOX_36=0.6, RDNS_DYNAMIC=0.982, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] 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 UbAG7Rwed6ec for <cfrg@ietfa.amsl.com>; Sun,  5 Jul 2015 21:46:00 -0700 (PDT)
Received: from aspartame.shiftleft.org (199-116-74-168-v301.PUBLIC.monkeybrains.net [199.116.74.168]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7AD1B1A7002 for <cfrg@irtf.org>; Sun,  5 Jul 2015 21:45:59 -0700 (PDT)
Received: from [192.168.1.102] (unknown [192.168.1.1]) by aspartame.shiftleft.org (Postfix) with ESMTPSA id 02E93F210A; Sun,  5 Jul 2015 21:42:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=shiftleft.org; s=sldo; t=1436157722; bh=imqGeL1n2xWgjg8yQhx26njc/RKtCFebI2KPmEuR9wM=; h=Subject:To:References:From:Date:In-Reply-To:From; b=C3l9cCbu15fhyIC5jz6ZfwZAK/oy1LXT71RZjW4kkidlQ5v4NID3QnNiaQeggg+P7 LT+0uvWV+C5hBwz9UEZ9eqzRq8ZX/Bs39sCL3uugpeSRKR24LQow8Mpwy28KJRiW2S +cwLQubqEsApU2ZQgM4BG8A0yX/YW2U4vt610JZ4=
To: Alexey Melnikov <alexey.melnikov@isode.com>, "cfrg@irtf.org" <cfrg@irtf.org>
References: <5586895A.3020607@isode.com>
From: Mike Hamburg <mike@shiftleft.org>
Message-ID: <559A07FF.8030207@shiftleft.org>
Date: Sun, 5 Jul 2015 21:45:51 -0700
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1
MIME-Version: 1.0
In-Reply-To: <5586895A.3020607@isode.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/uoCPgiA_G3GatJsSkwixLCqh17I>
Subject: Re: [Cfrg] Soliciting EC signature scheme proposals
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: <https://mailarchive.ietf.org/arch/browse/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, 06 Jul 2015 04:46:02 -0000

Hello CFRG,

Here is my suggestion for a signature scheme.

For an element x of Z/NZ or [0,N), let FLLEE(x) be the little-endian 
encoding of x with fixed length ceil(log(n)/8) bytes.  Let its partial 
inverse be the function FLLED.

Let G be an abelian group with order h*q, where h is small and q is 
prime.  Let EncodePoint(P) be an encoding from the group to a 
fixed-length byte sequence.  Let DecodePoint(bytes) be the partial 
inverse of Enc.  Let g in G have order q.

Let Setting be a personalization string of size exactly 8 bytes. Let 
Curve be a string of size exactly 4 bytes.

Let HLen be either ceil((log q)/16) bytes or ceil((log q)/8) bytes. 
Different HLens should imply different settings.

Let Hash be a hash function whose output is at least HLen bytes. Let PRF 
be a pseudorandom function from strings to byte strings of length 
ceil((log q)/8 + 8) bytes.

A secret key is a ceil((log q)/8)-byte value Secret.  An expanded secret 
key is (Secret, Exp) where Exp = PRF(Secret, EncodeString("Exponent")).

The public key corresponding to the secret key is Pub := EncodePoint(Exp 
* g).

The CFRG-SUGGESTION signature of a message Message is computed as follows:

Exp = PRF(Secret, "SCRT")
Ephemeral = PRF(Secret, Concat(
     "EPHE", Setting, Curve,
     Message
))
P = Ephemeral * g
Challenge = Truncate(Hash(Concat(
     "CHAL", Setting, Curve, Pub, P,
     Message
)), HLen bytes)

Response = FLLEE(Challenge*Exp + Ephemeral (mod q))

The signature is (Challenge, Response).


To verify a signature with a public key Pub, the verifier first decodes 
Pub to a point PubP.  If the decode fails or if the decoded point is the 
identity, then the signature fails.  The verifier then computes:

P = FLLED(Challenge) * PubP + FLLED(Response) * G.

The signature is valid if Challenge == Truncate(Hash(Concat(
     "CHAL", Setting, Curve, Pub, P,
     Message
)), HLen bytes).


The advantages of this signature scheme are as follows:

1) It includes personalization which can be used to thwart 
cross-protocol attacks.  The personalization is fixed-length to simplify 
implementations.

2) It supports IUF by replacing Message with Hash(Message) (of at least 
log(q)/8 bytes) and changing the setting string.

3) It support signature coupons by replacing the PRF with a random function.

4) It supports a half-length HLen, which makes for shorter signatures 
without losing security.  This is useful when space is at a premium (eg 
in embedded devices).

5) It explicitly supports short secrets, which is useful for embedded 
devices.

6) It supports a full-length HLen, which has the property that it is 
infeasible to find two (pubkey,message) pairs with the same valid 
signature.  This feature could be useful in some sort of authenticated 
file system.

7) If the public key comes from a trusted source, then it is not 
possible for an attacker to fool the verification algorithm by 
exploiting bugs involving a small number of special group elements (eg, 
the identity or torsion points).

8) Everything is fixed-length except the message, unlike ECDSA+ASN1.

9) No inversions mod the field order.

10) It fits all of CFRG's other stated requirements.

Disadvantages of this scheme:

1) It doesn't support batch verification.

2) I didn't tell you the point encoding scheme, because I put off 
writing this until the last minute.  The Ed25519 one is fine, as are 
Half-Caf (y != -1 such that x is positive), Decaf, etc.

Cheers,
-- Mike

On 6/21/2015 2:52 AM, Alexey Melnikov wrote:
> Dear CFRG participants,
>
> We are now at the point where we have gathered sufficient requirements 
> (not necessarily NIST-compliant, deterministic, IUF interface) where 
> it seems sensible to invite proposals for signature schemes meeting 
> those requirements.
>
> We would like to have proposals that are reasonably detailed so that 
> they can be assessed properly by CFRG readers. We realise that doing 
> fully detailed proposals would take a lot work, so we do not expect 
> full-fledged proposals in the style of a NIST competition (say). That 
> said, we would like to encourage proposers to explain the security 
> properties of their proposals as well as their implementation 
> characteristics, and to make proposals that are generic in the sense 
> of being usable for either of the two curves that we have previously 
> agreed upon.
>
> Please submit your proposals within 2 weeks (i.e. by July 5th); 
> e-mails to the CFRG list are fine. We encourage constructive questions 
> and clarifications about proposals as they are made. At this stage, we 
> anticipate needing a longer discussion period that extends beyond the 
> 2 week submission period. After that, we may poll to decide on CFRG 
> recommended scheme. Depending on how the on-list discussions go in the 
> next 4 weeks, we might also have face-to-face discussion at the CFRG 
> meeting planned for IETF 93 in Prague in July.
>
> Best Regards,
> CFRG Chairs.
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg


From nobody Sun Jul  5 23:42:52 2015
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 065641A8A61 for <cfrg@ietfa.amsl.com>; Sun,  5 Jul 2015 23:42:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.399
X-Spam-Level: *
X-Spam-Status: No, score=1.399 tagged_above=-999 required=5 tests=[BAYES_50=0.8, J_CHICKENPOX_36=0.6, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] 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 c6AoChsmsP37 for <cfrg@ietfa.amsl.com>; Sun,  5 Jul 2015 23:42:49 -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 B57501A8A5A for <cfrg@irtf.org>; Sun,  5 Jul 2015 23:42:48 -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 B2C8D1A2685 for <cfrg@irtf.org>; Mon,  6 Jul 2015 09:42:46 +0300 (EEST)
Date: Mon, 6 Jul 2015 09:42:46 +0300
From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Message-ID: <20150706064246.GA5437@LK-Perkele-VII>
References: <5586895A.3020607@isode.com> <559A07FF.8030207@shiftleft.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <559A07FF.8030207@shiftleft.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/JCe2X-fDPXT_FRcXiqJEwtJiP1c>
Subject: Re: [Cfrg] Soliciting EC signature scheme proposals
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: <https://mailarchive.ietf.org/arch/browse/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, 06 Jul 2015 06:42:51 -0000

On Sun, Jul 05, 2015 at 09:45:51PM -0700, Mike Hamburg wrote:
> Hello CFRG,
> 
> Here is my suggestion for a signature scheme.
> 
> For an element x of Z/NZ or [0,N), let FLLEE(x) be the little-endian
> encoding of x with fixed length ceil(log(n)/8) bytes.  Let its partial
> inverse be the function FLLED.
> 
> Let G be an abelian group with order h*q, where h is small and q is prime.
> Let EncodePoint(P) be an encoding from the group to a fixed-length byte
> sequence.  Let DecodePoint(bytes) be the partial inverse of Enc.  Let g in G
> have order q.
> 
> Let Setting be a personalization string of size exactly 8 bytes. Let Curve
> be a string of size exactly 4 bytes.
> 
> Let HLen be either ceil((log q)/16) bytes or ceil((log q)/8) bytes.
> Different HLens should imply different settings.
> 
> Let Hash be a hash function whose output is at least HLen bytes. Let PRF be
> a pseudorandom function from strings to byte strings of length ceil((log
> q)/8 + 8) bytes.
> 
> A secret key is a ceil((log q)/8)-byte value Secret.  An expanded secret key
> is (Secret, Exp) where Exp = PRF(Secret, EncodeString("Exponent")).
> 
> The public key corresponding to the secret key is Pub := EncodePoint(Exp *
> g).
> 
> The CFRG-SUGGESTION signature of a message Message is computed as follows:
> 
> Exp = PRF(Secret, "SCRT")
> Ephemeral = PRF(Secret, Concat(
>     "EPHE", Setting, Curve,
>     Message
> ))
> P = Ephemeral * g
> Challenge = Truncate(Hash(Concat(
>     "CHAL", Setting, Curve, Pub, P,
>     Message
> )), HLen bytes)
> 
> Response = FLLEE(Challenge*Exp + Ephemeral (mod q))
> 
> The signature is (Challenge, Response).
> 
> 
> To verify a signature with a public key Pub, the verifier first decodes Pub
> to a point PubP.  If the decode fails or if the decoded point is the
> identity, then the signature fails.  The verifier then computes:
> 
> P = FLLED(Challenge) * PubP + FLLED(Response) * G.
>
> The signature is valid if Challenge == Truncate(Hash(Concat(
>     "CHAL", Setting, Curve, Pub, P,
>     Message
> )), HLen bytes).
> 
> 
> The advantages of this signature scheme are as follows:
> 
> 1) It includes personalization which can be used to thwart cross-protocol
> attacks.  The personalization is fixed-length to simplify implementations.

I don't think 8 byte personalization string is enough. And having
implemented scheme with variable-length personalization, the complexity
difference was small (one extra call plus pulling argument around).

> 2) It supports IUF by replacing Message with Hash(Message) (of at least
> log(q)/8 bytes) and changing the setting string.
> 
> 3) It support signature coupons by replacing the PRF with a random function.

Or the "EPHE" with another string and message with nonce? Has advantage of
requiring "just" a nonce (which is hard already)?
 
> 4) It supports a half-length HLen, which makes for shorter signatures
> without losing security.  This is useful when space is at a premium (eg in
> embedded devices).
> 
> 5) It explicitly supports short secrets, which is useful for embedded
> devices.
> 
> 6) It supports a full-length HLen, which has the property that it is
> infeasible to find two (pubkey,message) pairs with the same valid signature.
> This feature could be useful in some sort of authenticated file system.
> 
> 7) If the public key comes from a trusted source, then it is not possible
> for an attacker to fool the verification algorithm by exploiting bugs
> involving a small number of special group elements (eg, the identity or
> torsion points).
> 
> 8) Everything is fixed-length except the message, unlike ECDSA+ASN1.

See above about 1). And one would never need to decode the variable-
length things anyway.
 
> 9) No inversions mod the field order.
> 
> 10) It fits all of CFRG's other stated requirements.
> 
> Disadvantages of this scheme:
> 
> 1) It doesn't support batch verification.
> 
> 2) I didn't tell you the point encoding scheme, because I put off writing
> this until the last minute.  The Ed25519 one is fine, as are Half-Caf (y !=
> -1 such that x is positive), Decaf, etc.

Half-Caf is the "-y if x is negative, otherwise y" one (with maybe bit of
special handling of x=0)?


-Ilari


From nobody Sun Jul  5 23:45:52 2015
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 545BB1A89A9 for <cfrg@ietfa.amsl.com>; Sun,  5 Jul 2015 23:45:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.002
X-Spam-Level: 
X-Spam-Status: No, score=-0.002 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, 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 ggSitao9ZoBZ for <cfrg@ietfa.amsl.com>; Sun,  5 Jul 2015 23:45:49 -0700 (PDT)
Received: from emh01.mail.saunalahti.fi (emh01.mail.saunalahti.fi [62.142.5.107]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1B8531A1A6D for <cfrg@irtf.org>; Sun,  5 Jul 2015 23:45:48 -0700 (PDT)
Received: from LK-Perkele-VII (a91-155-194-207.elisa-laajakaista.fi [91.155.194.207]) by emh01.mail.saunalahti.fi (Postfix) with ESMTP id E0BB190020 for <cfrg@irtf.org>; Mon,  6 Jul 2015 09:45:46 +0300 (EEST)
Date: Mon, 6 Jul 2015 09:45:46 +0300
From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Message-ID: <20150706064546.GB5437@LK-Perkele-VII>
References: <5586895A.3020607@isode.com> <20150705083434.GS20757@cph.win.tue.nl> <20150705181457.GA11440@cph.win.tue.nl>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <20150705181457.GA11440@cph.win.tue.nl>
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/aSXjIbUUQv1CnlSSOE7ypZjCDqA>
Subject: Re: [Cfrg] Soliciting EC signature scheme proposals
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: <https://mailarchive.ietf.org/arch/browse/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, 06 Jul 2015 06:45:51 -0000

On Sun, Jul 05, 2015 at 08:14:57PM +0200, Tanja Lange wrote:
>
> Please find our suggestion for a generalized EdDSA signature scheme at
> 	http://eprint.iacr.org/2015/677

Some quick comments:

- Replacing IVs in SHA-2 computations is pretty unsupported.
- If one allowed asymmetric splits, generating the 1056 bits for E-521
  would only take 3 rounds, not 4.
- Ed448 could use Curve448-compatible basepoint instead.
- Could be possible to use SHA-512 for the verifier-visible hash
  (which would likely cause a nasty mess on hashes to use)?
- Some earlier discussions brought up variable hash truncation.
  Looks like SHAKE* actually truncates, so one has to keep
  output length constant.
- Specifying prehash on key takes preknowledge on key on IUF
  (unless one guesses, possibly multiple guesses).


-Ilari


From nobody Mon Jul  6 01:36:07 2015
Return-Path: <mike@shiftleft.org>
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 D7A101A90C0 for <cfrg@ietfa.amsl.com>; Mon,  6 Jul 2015 01:35:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 4.856
X-Spam-Level: ****
X-Spam-Status: No, score=4.856 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FH_HOST_EQ_D_D_D_D=0.765, FH_HOST_EQ_D_D_D_DB=0.888, HELO_MISMATCH_ORG=0.611, HOST_MISMATCH_NET=0.311, HTML_MESSAGE=0.001, J_CHICKENPOX_36=0.6, RDNS_DYNAMIC=0.982, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] 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 ZoFEzhjLlM1H for <cfrg@ietfa.amsl.com>; Mon,  6 Jul 2015 01:35:54 -0700 (PDT)
Received: from aspartame.shiftleft.org (199-116-74-168-v301.PUBLIC.monkeybrains.net [199.116.74.168]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0C4051A90A7 for <cfrg@irtf.org>; Mon,  6 Jul 2015 01:35:46 -0700 (PDT)
Received: from [192.168.1.117] (unknown [192.168.1.1]) by aspartame.shiftleft.org (Postfix) with ESMTPSA id 115A53A9C7; Mon,  6 Jul 2015 01:31:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=shiftleft.org; s=sldo; t=1436171510; bh=7iiIrexlnA2KlIimigkZ1RotyNhi/i1ItlwM/RwFYz4=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=ORkZJW14An5+v2q+CjQ9jNUKD2HZJtg1NqdI0IxBDuzWeClZ1RQFFA9tmBoPsJRS9 4TTh1QqJPdwGmco8V+mz2LM8N0NNVarMY5X8NtLJ+DQbaFekG0TdfPkL6S6d+Wt7WI WI7/yFaSWsqH5+AuLXYcp/+KLsEEC1N+R9yjoSWg=
Content-Type: multipart/alternative; boundary="Apple-Mail=_C057F893-B3A2-492E-A642-B6500F75B831"
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
From: Michael Hamburg <mike@shiftleft.org>
In-Reply-To: <20150706064246.GA5437@LK-Perkele-VII>
Date: Mon, 6 Jul 2015 01:35:43 -0700
Message-Id: <5AFC03C4-8476-4476-B5B0-AB8E8B9CC63B@shiftleft.org>
References: <5586895A.3020607@isode.com> <559A07FF.8030207@shiftleft.org> <20150706064246.GA5437@LK-Perkele-VII>
To: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
X-Mailer: Apple Mail (2.2102)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/sLoDdLbh9RO0BpMuna76O1M8fhk>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Soliciting EC signature scheme proposals
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: <https://mailarchive.ietf.org/arch/browse/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, 06 Jul 2015 08:35:57 -0000

--Apple-Mail=_C057F893-B3A2-492E-A642-B6500F75B831
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8


> On Jul 5, 2015, at 11:42 PM, Ilari Liusvaara =
<ilari.liusvaara@elisanet.fi> wrote:
>=20
> On Sun, Jul 05, 2015 at 09:45:51PM -0700, Mike Hamburg wrote:
>> Hello CFRG,
>>=20
>> Here is my suggestion for a signature scheme.
>>=20
>> For an element x of Z/NZ or [0,N), let FLLEE(x) be the little-endian
>> encoding of x with fixed length ceil(log(n)/8) bytes.  Let its =
partial
>> inverse be the function FLLED.
>>=20
>> Let G be an abelian group with order h*q, where h is small and q is =
prime.
>> Let EncodePoint(P) be an encoding from the group to a fixed-length =
byte
>> sequence.  Let DecodePoint(bytes) be the partial inverse of Enc.  Let =
g in G
>> have order q.
>>=20
>> Let Setting be a personalization string of size exactly 8 bytes. Let =
Curve
>> be a string of size exactly 4 bytes.
>>=20
>> Let HLen be either ceil((log q)/16) bytes or ceil((log q)/8) bytes.
>> Different HLens should imply different settings.
>>=20
>> Let Hash be a hash function whose output is at least HLen bytes. Let =
PRF be
>> a pseudorandom function from strings to byte strings of length =
ceil((log
>> q)/8 + 8) bytes.
>>=20
>> A secret key is a ceil((log q)/8)-byte value Secret.  An expanded =
secret key
>> is (Secret, Exp) where Exp =3D PRF(Secret, EncodeString("Exponent")).
>>=20
>> The public key corresponding to the secret key is Pub :=3D =
EncodePoint(Exp *
>> g).
>>=20
>> The CFRG-SUGGESTION signature of a message Message is computed as =
follows:
>>=20
>> Exp =3D PRF(Secret, "SCRT")
>> Ephemeral =3D PRF(Secret, Concat(
>>    "EPHE", Setting, Curve,
>>    Message
>> ))
>> P =3D Ephemeral * g
>> Challenge =3D Truncate(Hash(Concat(
>>    "CHAL", Setting, Curve, Pub, P,
>>    Message
>> )), HLen bytes)
>>=20
>> Response =3D FLLEE(Challenge*Exp + Ephemeral (mod q))
>>=20
>> The signature is (Challenge, Response).
>>=20
>>=20
>> To verify a signature with a public key Pub, the verifier first =
decodes Pub
>> to a point PubP.  If the decode fails or if the decoded point is the
>> identity, then the signature fails.  The verifier then computes:
>>=20
>> P =3D FLLED(Challenge) * PubP + FLLED(Response) * G.
>>=20
>> The signature is valid if Challenge =3D=3D Truncate(Hash(Concat(
>>    "CHAL", Setting, Curve, Pub, P,
>>    Message
>> )), HLen bytes).
>>=20
>>=20
>> The advantages of this signature scheme are as follows:
>>=20
>> 1) It includes personalization which can be used to thwart =
cross-protocol
>> attacks.  The personalization is fixed-length to simplify =
implementations.
>=20
> I don't think 8 byte personalization string is enough. And having
> implemented scheme with variable-length personalization, the =
complexity
> difference was small (one extra call plus pulling argument around).

Yeah, I almost made it variable length.  On the one hand, long perso =
strings
add almost negligible complexity, and might be useful if someone is
dynamically generating them.  On the other hand, I didn=E2=80=99t want =
to define a
variable-length encoding, and it adds some complexity, and each secret =
key
is going to be used in, like, three protocols ever, so 64 bits might =
actually be
enough.  Also, 8 bytes doesn=E2=80=99t break alignment, though for =
natural alignment
I probably should have made it CHAL, curve, setting instead of CHAL,
setting, curve.

>> 2) It supports IUF by replacing Message with Hash(Message) (of at =
least
>> log(q)/8 bytes) and changing the setting string.
>>=20
>> 3) It support signature coupons by replacing the PRF with a random =
function.
>=20
> Or the "EPHE" with another string and message with nonce? Has =
advantage of
> requiring "just" a nonce (which is hard already)?

Good point, thanks.

>> 4) It supports a half-length HLen, which makes for shorter signatures
>> without losing security.  This is useful when space is at a premium =
(eg in
>> embedded devices).
>>=20
>> 5) It explicitly supports short secrets, which is useful for embedded
>> devices.
>>=20
>> 6) It supports a full-length HLen, which has the property that it is
>> infeasible to find two (pubkey,message) pairs with the same valid =
signature.
>> This feature could be useful in some sort of authenticated file =
system.
>>=20
>> 7) If the public key comes from a trusted source, then it is not =
possible
>> for an attacker to fool the verification algorithm by exploiting bugs
>> involving a small number of special group elements (eg, the identity =
or
>> torsion points).
>>=20
>> 8) Everything is fixed-length except the message, unlike ECDSA+ASN1.
>=20
> See above about 1). And one would never need to decode the variable-
> length things anyway.

That=E2=80=99s true.  And you could hard-code them into buffers in most =
applications.

>> 9) No inversions mod the field order.
>>=20
>> 10) It fits all of CFRG's other stated requirements.
>>=20
>> Disadvantages of this scheme:
>>=20
>> 1) It doesn't support batch verification.
>>=20
>> 2) I didn't tell you the point encoding scheme, because I put off =
writing
>> this until the last minute.  The Ed25519 one is fine, as are Half-Caf =
(y !=3D
>> -1 such that x is positive), Decaf, etc.
>=20
> Half-Caf is the "-y if x is negative, otherwise y" one (with maybe bit =
of
> special handling of x=3D0)?

Right.  If x=3D0, then output y=3D1.  Otherwise -y if x is negative and =
y if x is
positive.  It divides the cofactor by 2, which doesn=E2=80=99t =
accomplish much=E2=80=A6
it=E2=80=99s one of those =E2=80=9Cyou might as well since it=E2=80=99s =
so easy=E2=80=9D kind of things.

> -Ilari

=E2=80=94 Mike=

--Apple-Mail=_C057F893-B3A2-492E-A642-B6500F75B831
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D""><br class=3D""><div><blockquote type=3D"cite" class=3D""><div =
class=3D"">On Jul 5, 2015, at 11:42 PM, Ilari Liusvaara &lt;<a =
href=3D"mailto:ilari.liusvaara@elisanet.fi" =
class=3D"">ilari.liusvaara@elisanet.fi</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><span =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">On Sun, Jul 05, 2015 at 09:45:51PM -0700, Mike =
Hamburg wrote:</span><br style=3D"font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""><blockquote type=3D"cite" style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;" class=3D"">Hello CFRG,<br class=3D""><br class=3D"">Here is my =
suggestion for a signature scheme.<br class=3D""><br class=3D"">For an =
element x of Z/NZ or [0,N), let FLLEE(x) be the little-endian<br =
class=3D"">encoding of x with fixed length ceil(log(n)/8) bytes. =
&nbsp;Let its partial<br class=3D"">inverse be the function FLLED.<br =
class=3D""><br class=3D"">Let G be an abelian group with order h*q, =
where h is small and q is prime.<br class=3D"">Let EncodePoint(P) be an =
encoding from the group to a fixed-length byte<br class=3D"">sequence. =
&nbsp;Let DecodePoint(bytes) be the partial inverse of Enc. &nbsp;Let g =
in G<br class=3D"">have order q.<br class=3D""><br class=3D"">Let =
Setting be a personalization string of size exactly 8 bytes. Let =
Curve<br class=3D"">be a string of size exactly 4 bytes.<br class=3D""><br=
 class=3D"">Let HLen be either ceil((log q)/16) bytes or ceil((log q)/8) =
bytes.<br class=3D"">Different HLens should imply different settings.<br =
class=3D""><br class=3D"">Let Hash be a hash function whose output is at =
least HLen bytes. Let PRF be<br class=3D"">a pseudorandom function from =
strings to byte strings of length ceil((log<br class=3D"">q)/8 + 8) =
bytes.<br class=3D""><br class=3D"">A secret key is a ceil((log =
q)/8)-byte value Secret. &nbsp;An expanded secret key<br class=3D"">is =
(Secret, Exp) where Exp =3D PRF(Secret, EncodeString("Exponent")).<br =
class=3D""><br class=3D"">The public key corresponding to the secret key =
is Pub :=3D EncodePoint(Exp *<br class=3D"">g).<br class=3D""><br =
class=3D"">The CFRG-SUGGESTION signature of a message Message is =
computed as follows:<br class=3D""><br class=3D"">Exp =3D PRF(Secret, =
"SCRT")<br class=3D"">Ephemeral =3D PRF(Secret, Concat(<br =
class=3D"">&nbsp;&nbsp;&nbsp;"EPHE", Setting, Curve,<br =
class=3D"">&nbsp;&nbsp;&nbsp;Message<br class=3D"">))<br class=3D"">P =3D =
Ephemeral * g<br class=3D"">Challenge =3D Truncate(Hash(Concat(<br =
class=3D"">&nbsp;&nbsp;&nbsp;"CHAL", Setting, Curve, Pub, P,<br =
class=3D"">&nbsp;&nbsp;&nbsp;Message<br class=3D"">)), HLen bytes)<br =
class=3D""><br class=3D"">Response =3D FLLEE(Challenge*Exp + Ephemeral =
(mod q))<br class=3D""><br class=3D"">The signature is (Challenge, =
Response).<br class=3D""><br class=3D""><br class=3D"">To verify a =
signature with a public key Pub, the verifier first decodes Pub<br =
class=3D"">to a point PubP. &nbsp;If the decode fails or if the decoded =
point is the<br class=3D"">identity, then the signature fails. &nbsp;The =
verifier then computes:<br class=3D""><br class=3D"">P =3D =
FLLED(Challenge) * PubP + FLLED(Response) * G.<br class=3D""><br =
class=3D"">The signature is valid if Challenge =3D=3D =
Truncate(Hash(Concat(<br class=3D"">&nbsp;&nbsp;&nbsp;"CHAL", Setting, =
Curve, Pub, P,<br class=3D"">&nbsp;&nbsp;&nbsp;Message<br class=3D"">)), =
HLen bytes).<br class=3D""><br class=3D""><br class=3D"">The advantages =
of this signature scheme are as follows:<br class=3D""><br class=3D"">1) =
It includes personalization which can be used to thwart =
cross-protocol<br class=3D"">attacks. &nbsp;The personalization is =
fixed-length to simplify implementations.<br class=3D""></blockquote><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" class=3D""><span =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">I don't think 8 byte personalization string is =
enough. And having</span><br style=3D"font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: =
none; display: inline !important;" class=3D"">implemented scheme with =
variable-length personalization, the complexity</span><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" class=3D""><span =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">difference was small (one extra call plus =
pulling argument around).</span><br style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;" class=3D""></div></blockquote><div><br class=3D""></div><div>Yeah, =
I almost made it variable length. &nbsp;On the one hand, long perso =
strings</div><div>add almost negligible complexity, and might be useful =
if someone is</div><div>dynamically generating them. &nbsp;On the other =
hand, I didn=E2=80=99t want to define a</div><div>variable-length =
encoding, and it adds some complexity, and each secret key</div><div>is =
going to be used in, like, three protocols ever, so 64 bits might =
actually be</div><div>enough. &nbsp;Also, 8 bytes doesn=E2=80=99t break =
alignment, though for natural alignment</div><div>I probably should have =
made it CHAL, curve, setting instead of CHAL,</div><div>setting, =
curve.</div><br class=3D""><blockquote type=3D"cite" class=3D""><div =
class=3D""><blockquote type=3D"cite" style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;" class=3D"">2) It supports IUF by replacing Message with =
Hash(Message) (of at least<br class=3D"">log(q)/8 bytes) and changing =
the setting string.<br class=3D""><br class=3D"">3) It support signature =
coupons by replacing the PRF with a random function.<br =
class=3D""></blockquote><br style=3D"font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: =
none; display: inline !important;" class=3D"">Or the "EPHE" with another =
string and message with nonce? Has advantage of</span><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" class=3D""><span =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">requiring "just" a nonce (which is hard =
already)?</span><br style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""></div></blockquote><div><br class=3D""></div><div>Good point, =
thanks.</div><br class=3D""><blockquote type=3D"cite" class=3D""><div =
class=3D""><blockquote type=3D"cite" style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;" class=3D"">4) It supports a half-length HLen, which makes for =
shorter signatures<br class=3D"">without losing security. &nbsp;This is =
useful when space is at a premium (eg in<br class=3D"">embedded =
devices).<br class=3D""><br class=3D"">5) It explicitly supports short =
secrets, which is useful for embedded<br class=3D"">devices.<br =
class=3D""><br class=3D"">6) It supports a full-length HLen, which has =
the property that it is<br class=3D"">infeasible to find two =
(pubkey,message) pairs with the same valid signature.<br class=3D"">This =
feature could be useful in some sort of authenticated file system.<br =
class=3D""><br class=3D"">7) If the public key comes from a trusted =
source, then it is not possible<br class=3D"">for an attacker to fool =
the verification algorithm by exploiting bugs<br class=3D"">involving a =
small number of special group elements (eg, the identity or<br =
class=3D"">torsion points).<br class=3D""><br class=3D"">8) Everything =
is fixed-length except the message, unlike ECDSA+ASN1.<br =
class=3D""></blockquote><br style=3D"font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: =
none; display: inline !important;" class=3D"">See above about 1). And =
one would never need to decode the variable-</span><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" class=3D""><span =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">length things anyway.</span><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" =
class=3D""></div></blockquote><div><br class=3D""></div><div>That=E2=80=99=
s true. &nbsp;And you could hard-code them into buffers in most =
applications.</div><br class=3D""><blockquote type=3D"cite" =
class=3D""><div class=3D""><blockquote type=3D"cite" style=3D"font-family:=
 Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;" class=3D"">9) No inversions mod the =
field order.<br class=3D""><br class=3D"">10) It fits all of CFRG's =
other stated requirements.<br class=3D""><br class=3D"">Disadvantages of =
this scheme:<br class=3D""><br class=3D"">1) It doesn't support batch =
verification.<br class=3D""><br class=3D"">2) I didn't tell you the =
point encoding scheme, because I put off writing<br class=3D"">this =
until the last minute. &nbsp;The Ed25519 one is fine, as are Half-Caf (y =
!=3D<br class=3D"">-1 such that x is positive), Decaf, etc.<br =
class=3D""></blockquote><br style=3D"font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: =
none; display: inline !important;" class=3D"">Half-Caf is the "-y if x =
is negative, otherwise y" one (with maybe bit of</span><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" class=3D""><span =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">special handling of x=3D0)?</span><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" =
class=3D""></div></blockquote><div><br class=3D""></div><div>Right. =
&nbsp;If x=3D0, then output y=3D1. &nbsp;Otherwise -y if x is negative =
and y if x is</div><div>positive. &nbsp;It divides the cofactor by 2, =
which doesn=E2=80=99t accomplish much=E2=80=A6</div><div>it=E2=80=99s =
one of those =E2=80=9Cyou might as well since it=E2=80=99s so easy=E2=80=9D=
 kind of things.</div><br class=3D""><blockquote type=3D"cite" =
class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: =
none; display: inline !important;" class=3D"">-Ilari</span><br =
class=3D""></blockquote><br class=3D""></div><div>=E2=80=94 =
Mike</div></body></html>=

--Apple-Mail=_C057F893-B3A2-492E-A642-B6500F75B831--


From nobody Tue Jul  7 00:20:29 2015
Return-Path: <Joern-Marc.Schmidt@secunet.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 DA08A1A00E2 for <cfrg@ietfa.amsl.com>; Tue,  7 Jul 2015 00:20:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.411
X-Spam-Level: 
X-Spam-Status: No, score=-0.411 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-0.7, 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 cpUHs1-qiaX2 for <cfrg@ietfa.amsl.com>; Tue,  7 Jul 2015 00:20:23 -0700 (PDT)
Received: from a.mx.secunet.com (a.mx.secunet.com [195.81.216.161]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 907C81A00C8 for <cfrg@ietf.org>; Tue,  7 Jul 2015 00:20:12 -0700 (PDT)
Received: from localhost (alg1 [127.0.0.1]) by a.mx.secunet.com (Postfix) with ESMTP id D24CB1A00E1; Tue,  7 Jul 2015 09:19:52 +0200 (CEST)
X-Virus-Scanned: by secunet
Received: from a.mx.secunet.com ([127.0.0.1]) by localhost (a.mx.secunet.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 1GNMCVl47Gde; Tue,  7 Jul 2015 09:19:51 +0200 (CEST)
Received: from mail-essen-02.secunet.de (unknown [10.53.40.205]) by a.mx.secunet.com (Postfix) with ESMTP id 73AE11A00C7; Tue,  7 Jul 2015 09:19:51 +0200 (CEST)
Received: from MAIL-ESSEN-01.secunet.de ([fe80::1c79:38b7:821e:46b4]) by mail-essen-02.secunet.de ([fe80::4431:e661:14d0:41ce%16]) with mapi id 14.03.0248.002; Tue, 7 Jul 2015 09:20:07 +0200
From: =?Windows-1252?Q?Schmidt=2C_J=F6rn-Marc?= <Joern-Marc.Schmidt@secunet.com>
To: Paul Lambert <paul@marvell.com>, "cfrg@ietf.org" <cfrg@ietf.org>
Thread-Topic: [Cfrg] Requirements for PAKE schemes
Thread-Index: AQHQsyTLGvKyZPKkQUKzsy2M6NFzkp3PoR1g
Date: Tue, 7 Jul 2015 07:20:06 +0000
Message-ID: <38634A9C401D714A92BB13BBA9CCD34F1665158B@mail-essen-01.secunet.de>
References: <D1B7C462.6E7C4%paul@marvell.com>
In-Reply-To: <D1B7C462.6E7C4%paul@marvell.com>
Accept-Language: de-DE, en-US
Content-Language: de-DE
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [172.16.56.185]
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_0012_01D0B896.1C933900"
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/xKuTAxvkk8qXmoZsbNcW7aJM0vE>
Subject: Re: [Cfrg] Requirements for PAKE schemes
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: <https://mailarchive.ietf.org/arch/browse/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: Tue, 07 Jul 2015 07:20:28 -0000

------=_NextPart_000_0012_01D0B896.1C933900
Content-Type: text/plain;
	charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

Dear Paul,

Thanks a lot for your feedback.

>Nicely written =8A A couple general comments, in section 5 it states:
>"This technique can be used  to parlay a short one-time code, into a
long-lived public key.=B2
>This seems much more interesting than just setting up shared secrets.
Perhaps it could be included in the MAY comments to help promote the
>addressing of this capability.  A PAKE plus long-lived public key is an
important building block for pairing/setup of devices that use public =
keys
for authentication.

I'll add a MAY requirement in the next version.=20


>Where long-lived public keys are used, a requirement should also be =
added
to discuss the privacy properties of the scheme.

Good point - I'm happy to address privacy in the next version.

Cheers,

J=F6rn

------=_NextPart_000_0012_01D0B896.1C933900
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s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wNzA3MDcyMDA1WjAjBgkqhkiG9w0BCQQxFgQUZvuCmXk0v9SWjbbw3F7qjK8/pVwwZgYJ
KwYBBAGCNxAEMVkwVzBSMRkwFwYDVQQDDBBQdWJsaWMtU2VjdG9yLTA0MRYwFAYDVQQLDA1QdWJs
aWMgU2VjdG9yMRAwDgYDVQQKDAdzZWN1bmV0MQswCQYDVQQGEwJkZQIBSTBoBgsqhkiG9w0BCRAC
CzFZoFcwUjEZMBcGA1UEAwwQUHVibGljLVNlY3Rvci0wNDEWMBQGA1UECwwNUHVibGljIFNlY3Rv
cjEQMA4GA1UECgwHc2VjdW5ldDELMAkGA1UEBhMCZGUCAUkwgasGCSqGSIb3DQEJDzGBnTCBmjAL
BglghkgBZQMEASowCwYJYIZIAWUDBAEWMAoGCCqGSIb3DQMHMAsGCWCGSAFlAwQBAjAOBggqhkiG
9w0DAgICAIAwBwYFKw4DAgcwDQYIKoZIhvcNAwICAUAwDQYIKoZIhvcNAwICASgwBwYFKw4DAhow
CwYJYIZIAWUDBAIDMAsGCWCGSAFlAwQCAjALBglghkgBZQMEAgEwDQYJKoZIhvcNAQEBBQAEggEA
JopgXZYLKpPTCHgdzyVP/VBbcUQ4bOx8/xqZNvVeWyVailb4mMq+hwvLcMtfflM/jNzFo+HeFUFW
cwbovc9J3XlYgkJfWUqkmrz7alPpGHgpfojmcYpin3RMitozgTo6c/mUtY175bHx8svadFrAFUof
fXedgsmQEP/LCBQQlc6IiCfP9CsvMjDhd40axxMhYERvCCmNqqQhr0OPr94qfbEWPKgpFtncLRQ/
cugqV6lzexoDrf8el/ykhfjSe1ugYR0sXWa52SqoovYeMn/RaX6vcta4ssf/GsIKBzIWy0rPF8YJ
nQjLJfjF77/rFP++Q0SxkQPuY69IaAROlLLFtAAAAAAAAA==

------=_NextPart_000_0012_01D0B896.1C933900--


From nobody Sat Jul 11 07:20:01 2015
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 413331A896E for <cfrg@ietfa.amsl.com>; Sat, 11 Jul 2015 07:20:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.001
X-Spam-Level: 
X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5 tests=[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 0GxHutR4E4UX for <cfrg@ietfa.amsl.com>; Sat, 11 Jul 2015 07:19:58 -0700 (PDT)
Received: from emh07.mail.saunalahti.fi (emh07.mail.saunalahti.fi [62.142.5.117]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7FC321A896D for <cfrg@irtf.org>; Sat, 11 Jul 2015 07:19:58 -0700 (PDT)
Received: from LK-Perkele-VII (a91-155-194-207.elisa-laajakaista.fi [91.155.194.207]) by emh07.mail.saunalahti.fi (Postfix) with ESMTP id 564064010 for <cfrg@irtf.org>; Sat, 11 Jul 2015 17:19:56 +0300 (EEST)
Date: Sat, 11 Jul 2015 17:19:56 +0300
From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
To: cfrg@irtf.org
Message-ID: <20150711141956.GA7487@LK-Perkele-VII>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
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/26vEU30BJMSZbT0SQYeBF-4tSQ0>
Subject: [Cfrg] Brief review of signature schemes
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: <https://mailarchive.ietf.org/arch/browse/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: Sat, 11 Jul 2015 14:20:00 -0000

I thought to review the properites of the proposed schemes from
few PoVs:
- Protocol usage (how the scheme behaves as seen from outside)
- Coding (mainly "annoying" operations, e.g. inversion/sqrt
  mod order, random numbers, nonstandard hash APIs, non-
  baseline hashes or operations that seem really complex)
- If it would work with non-NPOT (even if non-NPOT Edwards
  curves are extremely rare) or E-521 curves with baseline
  hashes (max. 512 bits per shot).
- Extras like personalization, firewalling and batchability.
- Apparent starting scheme.

I might have missed some (for hashes, I assumed efficient non-
aligned processing, which good implementations of hashes seem
to do, and those that aren't good are slow anyway).

Obviously, YMMV on what properties are important and what are
not (e.g. working on curves beyond design with standard hashes
is probably not very important)...


Proposal by Watson Ladd:
------------------------
Online-only scheme. Has two online pipes, and needs the private key to
start the online pipe. Has logically one hash function.

Does not use inversions nor square roots mod order. No random numbers
outside keygen&batching. Works with standard hash APIs.

Non-NPOT safety unknown, does not extend to E-521 with baseline hashes.

Neither personalization nor firewalling is supported. Is batchable.

Derived from Schnorr scheme.


Proposal by Ilari Liusvaara:
----------------------------
Online/Offline scheme, dictated by the signer. Has one online pipe,
which is a raw hash. No information needed to start online pipe.
Has logically two hash functions.

Does not use inversions nor square roots mod order. No random numbers
outside keygen&batching, Works with standard hash APIs.

Non-NPOT safe, does not extend to E-521 with baseline hashes.

Personalization and firewalling supported, with arbitrary-length inputs.
Is batchable.

Derived from EdDSA.


Proposal by Dan Brown:
----------------------
Online-only scheme. Has two online pipes, and needs the private key to
start the online pipe. Has logically one hash function.

Has inversions mod order. Works with standard hash APIs. Specifies
blinding which in places some of which would need random numbers.

Non-NPOT safety unknown, unknown if extends to E-521 with baseline
hashes.

Neither personalization nor firewalling is supported. Is batchable.

Derived from ECDSA scheme (to me, it essentially seems like deterministic
ECDSA or something extremely close).


Proposal by Daniel J. Bernstein, Simon Josefsson, Tanja Lange, Peter Schwabe and Bo-Yin Yang:
---------------------------------------------------------------------------------------------
Online/Offline scheme, dictated by the key. Has one online pipe, which
is a raw hash. The inner hash specification from key is needed to
start online pipe. Has logically two hash functions.

Does not use inversions nor square roots mod order. No random numbers
outside keygen&batching. Hash extension does not seem to work with
standard APIs (and anything larger than Curve25519 will use that
extension). The specified basepoint for 448-bit curve does not look
to be Curve448-compatible[1].

Non-NPOT safe, extends to E-521 with baseline hashes.

Neither personalization nor firewalling is supported. Is batchable.

Derived from EdDSA scheme.


Proposal by Mike Hamburg:
--------------------------
Online/Offline scheme, dictated by the signer. Has one online pipe,
which is a raw hash. No information needed to start online pipe.
Has logically two hash functions.

Does not use inversions nor square roots mod order. No random numbers
outside keygen. Works with standard hash APIs.

Not Non-NPOT safe, does not extend to E-521 with baseline hashes.

Personalization and firewalling share common fixed-length 64-bit field.
Is not batchable.

Derived from Schnorr scheme.



[1] AFAICT, the Curve448-compatible basepoint is: y=
693F46716EB6BC248876203756C9C7624BEA73736CA3984087789C1E05A0C2D73AD3FF1CE67C39C4FDBD132C4ED7C8AD9808795BF230FA14
x either valid value, as there (y/x)^2=5 mod p.


Sidenote: Why in cfrg-curves draft the isogeny is specified as (x/y)^2,
given that:
(1,0)+(1,0) = (0,-1)
(1,0) transforms to infinity
(0,-1) transforms to 0M.
infinity+infinity = infinity != 0M


Whereas (y/x)^2 transforms those as:
(1,0)+(1,0) = (0,-1)
(1,0) transforms to 0M.
(0,-1) transforms to infinity
0M+0M=infinity.

(My prototype ECC lib also uses (y/x)^2, and has fair bit of testing
with Edwards/Montgomery consistency.)


-Ilari


From nobody Sat Jul 11 13:10:39 2015
Return-Path: <mike@shiftleft.org>
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 B2CA41AC445 for <cfrg@ietfa.amsl.com>; Sat, 11 Jul 2015 13:10:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.576
X-Spam-Level: **
X-Spam-Status: No, score=2.576 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FH_HOST_EQ_D_D_D_D=0.765, FH_HOST_EQ_D_D_D_DB=0.888, HELO_MISMATCH_ORG=0.611, HOST_MISMATCH_NET=0.311, MISSING_HEADERS=1.021, RDNS_DYNAMIC=0.982, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] 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 DpQ0KwHWh8eM for <cfrg@ietfa.amsl.com>; Sat, 11 Jul 2015 13:10:37 -0700 (PDT)
Received: from aspartame.shiftleft.org (199-116-74-168-v301.PUBLIC.monkeybrains.net [199.116.74.168]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 50E1E1AC436 for <cfrg@irtf.org>; Sat, 11 Jul 2015 13:10:37 -0700 (PDT)
Received: from [192.168.1.117] (unknown [192.168.1.1]) by aspartame.shiftleft.org (Postfix) with ESMTPSA id 5CE7C3A9C9 for <cfrg@irtf.org>; Sat, 11 Jul 2015 13:06:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=shiftleft.org; s=sldo; t=1436645177; bh=u51H1e6o3Vrlu4vWhIOlygj0XQBsx3Uv4SQYGiHQU8A=; h=Subject:From:In-Reply-To:Date:Cc:References:From; b=hkEyI7tpLRByy3q/7YdSJ9T/L3MvDLFkhYhouhdb5H/DyW9zAGdu6wSJFjZRxGFvK Ia5W85TmXMOjHh2KfLkWblgn9wbkec2sTT2vpBcesTFYaH+8tytY0fesRusuRSFBdc /iUceEDR37j0/ci0UlFAG6mvSp6EynLog0F3RvVU=
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
From: Michael Hamburg <mike@shiftleft.org>
In-Reply-To: <20150711141956.GA7487@LK-Perkele-VII>
Date: Sat, 11 Jul 2015 13:10:32 -0700
Cc: cfrg@irtf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <BA2873BD-B065-4825-BB17-5A5CD12CD83D@shiftleft.org>
References: <20150711141956.GA7487@LK-Perkele-VII>
X-Mailer: Apple Mail (2.2102)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/yXJ7UpOYE5a_0_WMxCGz0F6-E1k>
Subject: Re: [Cfrg] Brief review of signature schemes
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: <https://mailarchive.ietf.org/arch/browse/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: Sat, 11 Jul 2015 20:10:38 -0000

Oop, resending to the list, sorry Ilari:

> On Jul 11, 2015, at 7:19 AM, Ilari Liusvaara =
<ilari.liusvaara@elisanet.fi> wrote:
> Proposal by Mike Hamburg:
> --------------------------
> Online/Offline scheme, dictated by the signer. Has one online pipe,
> which is a raw hash. No information needed to start online pipe.
> Has logically two hash functions.
>=20
> Does not use inversions nor square roots mod order. No random numbers
> outside keygen. Works with standard hash APIs.
>=20
> Not Non-NPOT safe, does not extend to E-521 with baseline hashes.

This shouldn=E2=80=99t be true: the +8 byte ephemeral nonce was intended =
to be
for non-NPOT safety, as it is not required for NPOT.  If I understand =
correctly,
this caps the adversary=E2=80=99s advantage at one bit of information =
per 2^64 observed
signatures with a hybrid argument, but the hybrid argument is loose and =
many
more signatures would be required.  Anyway, if +8 isn=E2=80=99t enough, =
then it should
be 5/4+8 or 3/2 or whatever is enough.

Also, while it=E2=80=99s less relevant: the proposal does extend to =
E-521 with baseline
hashes, but only in the short configuration, where a 264-bit hash is =
required.

> Personalization and firewalling share common fixed-length 64-bit =
field.
> Is not batchable.
>=20
> Derived from Schnorr scheme.
>=20
>=20
>=20
> [1] AFAICT, the Curve448-compatible basepoint is: y=3D
> =
693F46716EB6BC248876203756C9C7624BEA73736CA3984087789C1E05A0C2D73AD3FF1CE6=
7C39C4FDBD132C4ED7C8AD9808795BF230FA14
> x either valid value, as there (y/x)^2=3D5 mod p.
>=20
>=20
> Sidenote: Why in cfrg-curves draft the isogeny is specified as =
(x/y)^2,
> given that:
> (1,0)+(1,0) =3D (0,-1)
> (1,0) transforms to infinity
> (0,-1) transforms to 0M.
> infinity+infinity =3D infinity !=3D 0M
>=20
>=20
> Whereas (y/x)^2 transforms those as:
> (1,0)+(1,0) =3D (0,-1)
> (1,0) transforms to 0M.
> (0,-1) transforms to infinity
> 0M+0M=3Dinfinity.
>=20
> (My prototype ECC lib also uses (y/x)^2, and has fair bit of testing
> with Edwards/Montgomery consistency.)
>=20
>=20
> -Ilari


Yeah, that would be a bug, and my fault.  The isogeny to the JQ is x/y, =
but that=E2=80=99s because the base point of the JQ is (0,1) instead of =
infinity.

Thanks,
=E2=80=94 Mike=


From nobody Sat Jul 11 13:44:48 2015
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 980E01A9053 for <cfrg@ietfa.amsl.com>; Sat, 11 Jul 2015 13:44:47 -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 e8Ny1yIx0Vb3 for <cfrg@ietfa.amsl.com>; Sat, 11 Jul 2015 13:44:45 -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 4CE241A00E2 for <cfrg@irtf.org>; Sat, 11 Jul 2015 13:44:45 -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 163B31A25C3; Sat, 11 Jul 2015 23:44:42 +0300 (EEST)
Date: Sat, 11 Jul 2015 23:44:42 +0300
From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
To: Michael Hamburg <mike@shiftleft.org>
Message-ID: <20150711204442.GA19435@LK-Perkele-VII>
References: <20150711141956.GA7487@LK-Perkele-VII> <BA2873BD-B065-4825-BB17-5A5CD12CD83D@shiftleft.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <BA2873BD-B065-4825-BB17-5A5CD12CD83D@shiftleft.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/RiPZdwiY1gw6RPEYZ-dciJZIf0M>
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] Brief review of signature schemes
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: <https://mailarchive.ietf.org/arch/browse/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: Sat, 11 Jul 2015 20:44:47 -0000

On Sat, Jul 11, 2015 at 01:10:32PM -0700, Michael Hamburg wrote:
> Oop, resending to the list, sorry Ilari:
> 
> > On Jul 11, 2015, at 7:19 AM, Ilari Liusvaara <ilari.liusvaara@elisanet.fi> wrote:
> > Proposal by Mike Hamburg:
> > --------------------------
> > Online/Offline scheme, dictated by the signer. Has one online pipe,
> > which is a raw hash. No information needed to start online pipe.
> > Has logically two hash functions.
> > 
> > Does not use inversions nor square roots mod order. No random numbers
> > outside keygen. Works with standard hash APIs.
> > 
> > Not Non-NPOT safe, does not extend to E-521 with baseline hashes.
> 
> This shouldnâ€™t be true: the +8 byte ephemeral nonce was intended to be
> for non-NPOT safety, as it is not required for NPOT.  If I understand correctly,
> this caps the adversaryâ€™s advantage at one bit of information per 2^64 observed
> signatures with a hybrid argument, but the hybrid argument is loose and many
> more signatures would be required.  Anyway, if +8 isnâ€™t enough, then it should
> be 5/4+8 or 3/2 or whatever is enough.

Hmm... Trying to calculate via entropy I get >2^128 signatures for one bit of
leakage (+3-10 bits) for a few different curves.

The apparent source of that 5/4 was extrapolating from trying to calculate
needed extra bits for brainpool curves using criteria I use (which is quite
paranoid):

Brainpool-256: 63 extra bits
Brainpool-320: 79 extra bits
Brainpool-384: 94 extra bits
Brainpool-512: 127 extra bits.

Haven't checked if 5/4 would give enough bits for criteria I use in absolute
worst case.

Hmm... It seems like calculating via entropy gives that one needs >2^(2n)
signatures to leak 1 bit where n is number of extra bits... Or thereabouts.

> Also, while itâ€™s less relevant: the proposal does extend to E-521 with baseline
> hashes, but only in the short configuration, where a 264-bit hash is required.

Or one could probably also use 512-bit "public" hash even with E-521, which
would be "near full length"?


-Ilari


From nobody Sat Jul 11 13:56:06 2015
Return-Path: <mike@shiftleft.org>
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 1F2A61ACC88 for <cfrg@ietfa.amsl.com>; Sat, 11 Jul 2015 13:56:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.556
X-Spam-Level: *
X-Spam-Status: No, score=1.556 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FH_HOST_EQ_D_D_D_D=0.765, FH_HOST_EQ_D_D_D_DB=0.888, HELO_MISMATCH_ORG=0.611, HOST_MISMATCH_NET=0.311, HTML_MESSAGE=0.001, RDNS_DYNAMIC=0.982, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] 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 NzQgw9EEjgLD for <cfrg@ietfa.amsl.com>; Sat, 11 Jul 2015 13:56:03 -0700 (PDT)
Received: from aspartame.shiftleft.org (199-116-74-168-v301.PUBLIC.monkeybrains.net [199.116.74.168]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E3DD81ACAD4 for <cfrg@irtf.org>; Sat, 11 Jul 2015 13:56:02 -0700 (PDT)
Received: from [192.168.1.117] (unknown [192.168.1.1]) by aspartame.shiftleft.org (Postfix) with ESMTPSA id 804333A9C9; Sat, 11 Jul 2015 13:51:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=shiftleft.org; s=sldo; t=1436647905; bh=vzkW5piHncX5FFwmHkpMO9U2NhOWDcSLrQ76q3SdpTQ=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=fLf8DIf0aOoX1rChVKJfy7Gjp3hOJMLT1Aefm6ySSlk2Jp2tAvLBhikvFAecO2Van MR8iCp9hHyxat7fsNVTuGiQNLIfyJnJDgFwBpgvApJKOTpDHoVwMRmCDyNxep7tcxl MJ00fyn8kavth6TjI1F+9bjKLkqQTOxX01DNQ06o=
Content-Type: multipart/alternative; boundary="Apple-Mail=_DF173A5C-5227-4C4E-9942-CB3A829161DB"
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
From: Michael Hamburg <mike@shiftleft.org>
In-Reply-To: <20150711204442.GA19435@LK-Perkele-VII>
Date: Sat, 11 Jul 2015 13:56:00 -0700
Message-Id: <762CBD4D-7F2A-4CD7-8039-6A5C98C03639@shiftleft.org>
References: <20150711141956.GA7487@LK-Perkele-VII> <BA2873BD-B065-4825-BB17-5A5CD12CD83D@shiftleft.org> <20150711204442.GA19435@LK-Perkele-VII>
To: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
X-Mailer: Apple Mail (2.2102)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/En1S4K2g1WiPG-YH5-_ZFDhXVg0>
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] Brief review of signature schemes
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: <https://mailarchive.ietf.org/arch/browse/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: Sat, 11 Jul 2015 20:56:04 -0000

--Apple-Mail=_DF173A5C-5227-4C4E-9942-CB3A829161DB
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8


> On Jul 11, 2015, at 1:44 PM, Ilari Liusvaara =
<ilari.liusvaara@elisanet.fi> wrote:
>=20
> On Sat, Jul 11, 2015 at 01:10:32PM -0700, Michael Hamburg wrote:
>> Oop, resending to the list, sorry Ilari:
>>=20
>>> On Jul 11, 2015, at 7:19 AM, Ilari Liusvaara =
<ilari.liusvaara@elisanet.fi> wrote:
>>> Proposal by Mike Hamburg:
>>> --------------------------
>>> Online/Offline scheme, dictated by the signer. Has one online pipe,
>>> which is a raw hash. No information needed to start online pipe.
>>> Has logically two hash functions.
>>>=20
>>> Does not use inversions nor square roots mod order. No random =
numbers
>>> outside keygen. Works with standard hash APIs.
>>>=20
>>> Not Non-NPOT safe, does not extend to E-521 with baseline hashes.
>>=20
>> This shouldn=E2=80=99t be true: the +8 byte ephemeral nonce was =
intended to be
>> for non-NPOT safety, as it is not required for NPOT.  If I understand =
correctly,
>> this caps the adversary=E2=80=99s advantage at one bit of information =
per 2^64 observed
>> signatures with a hybrid argument, but the hybrid argument is loose =
and many
>> more signatures would be required.  Anyway, if +8 isn=E2=80=99t =
enough, then it should
>> be 5/4+8 or 3/2 or whatever is enough.
>=20
> Hmm... Trying to calculate via entropy I get >2^128 signatures for one =
bit of
> leakage (+3-10 bits) for a few different curves.
>=20
> The apparent source of that 5/4 was extrapolating from trying to =
calculate
> needed extra bits for brainpool curves using criteria I use (which is =
quite
> paranoid):
>=20
> Brainpool-256: 63 extra bits
> Brainpool-320: 79 extra bits
> Brainpool-384: 94 extra bits
> Brainpool-512: 127 extra bits.
>=20
> Haven't checked if 5/4 would give enough bits for criteria I use in =
absolute
> worst case.
>=20
> Hmm... It seems like calculating via entropy gives that one needs =
>2^(2n)
> signatures to leak 1 bit where n is number of extra bits... Or =
thereabouts.
>=20
>> Also, while it=E2=80=99s less relevant: the proposal does extend to =
E-521 with baseline
>> hashes, but only in the short configuration, where a 264-bit hash is =
required.
>=20
> Or one could probably also use 512-bit "public" hash even with E-521, =
which
> would be "near full length"?
>=20
>=20
> -Ilari

Yes.  That would work with any of the Schnorr variants proposed, in =
fact.  But nobody specced it.

=E2=80=94 Mike


--Apple-Mail=_DF173A5C-5227-4C4E-9942-CB3A829161DB
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D""><br class=3D""><div><blockquote type=3D"cite" class=3D""><div =
class=3D"">On Jul 11, 2015, at 1:44 PM, Ilari Liusvaara &lt;<a =
href=3D"mailto:ilari.liusvaara@elisanet.fi" =
class=3D"">ilari.liusvaara@elisanet.fi</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><span =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">On Sat, Jul 11, 2015 at 01:10:32PM -0700, =
Michael Hamburg wrote:</span><br style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;" class=3D""><blockquote type=3D"cite" style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;" class=3D"">Oop, resending to the list, =
sorry Ilari:<br class=3D""><br class=3D""><blockquote type=3D"cite" =
class=3D"">On Jul 11, 2015, at 7:19 AM, Ilari Liusvaara &lt;<a =
href=3D"mailto:ilari.liusvaara@elisanet.fi" =
class=3D"">ilari.liusvaara@elisanet.fi</a>&gt; wrote:<br =
class=3D"">Proposal by Mike Hamburg:<br =
class=3D"">--------------------------<br class=3D"">Online/Offline =
scheme, dictated by the signer. Has one online pipe,<br class=3D"">which =
is a raw hash. No information needed to start online pipe.<br =
class=3D"">Has logically two hash functions.<br class=3D""><br =
class=3D"">Does not use inversions nor square roots mod order. No random =
numbers<br class=3D"">outside keygen. Works with standard hash APIs.<br =
class=3D""><br class=3D"">Not Non-NPOT safe, does not extend to E-521 =
with baseline hashes.<br class=3D""></blockquote><br class=3D"">This =
shouldn=E2=80=99t be true: the +8 byte ephemeral nonce was intended to =
be<br class=3D"">for non-NPOT safety, as it is not required for NPOT. =
&nbsp;If I understand correctly,<br class=3D"">this caps the =
adversary=E2=80=99s advantage at one bit of information per 2^64 =
observed<br class=3D"">signatures with a hybrid argument, but the hybrid =
argument is loose and many<br class=3D"">more signatures would be =
required. &nbsp;Anyway, if +8 isn=E2=80=99t enough, then it should<br =
class=3D"">be 5/4+8 or 3/2 or whatever is enough.<br =
class=3D""></blockquote><br style=3D"font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: =
none; display: inline !important;" class=3D"">Hmm... Trying to calculate =
via entropy I get &gt;2^128 signatures for one bit of</span><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" class=3D""><span =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">leakage (+3-10 bits) for a few different =
curves.</span><br style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""><br style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: =
none; display: inline !important;" class=3D"">The apparent source of =
that 5/4 was extrapolating from trying to calculate</span><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" class=3D""><span =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">needed extra bits for brainpool curves using =
criteria I use (which is quite</span><br style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;" class=3D""><span style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">paranoid):</span><br style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;" class=3D""><br style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;" class=3D""><span style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">Brainpool-256: 63 extra bits</span><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" class=3D""><span =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">Brainpool-320: 79 extra bits</span><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" class=3D""><span =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">Brainpool-384: 94 extra bits</span><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" class=3D""><span =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">Brainpool-512: 127 extra bits.</span><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" class=3D""><br style=3D"font-family:=
 Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;" class=3D""><span style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">Haven't checked if 5/4 would give enough bits =
for criteria I use in absolute</span><br style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;" class=3D""><span style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">worst case.</span><br style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;" class=3D""><br style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;" class=3D""><span style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">Hmm... It seems like calculating via entropy =
gives that one needs &gt;2^(2n)</span><br style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;" class=3D""><span style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">signatures to leak 1 bit where n is number of =
extra bits... Or thereabouts.</span><br style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;" class=3D""><br style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""><blockquote type=3D"cite" style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;" class=3D"">Also, while it=E2=80=99s less relevant: the proposal =
does extend to E-521 with baseline<br class=3D"">hashes, but only in the =
short configuration, where a 264-bit hash is required.<br =
class=3D""></blockquote><br style=3D"font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: =
none; display: inline !important;" class=3D"">Or one could probably also =
use 512-bit "public" hash even with E-521, which</span><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" class=3D""><span =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">would be "near full length"?</span><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" class=3D""><br style=3D"font-family:=
 Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;" class=3D""><br style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;" class=3D""><span style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">-Ilari</span></div></blockquote><br =
class=3D""></div><div>Yes. &nbsp;That would work with any of the Schnorr =
variants proposed, in fact. &nbsp;But nobody specced it.</div><div><br =
class=3D""></div><div>=E2=80=94 Mike</div><br class=3D""></body></html>=

--Apple-Mail=_DF173A5C-5227-4C4E-9942-CB3A829161DB--


From nobody Sun Jul 12 01:54:21 2015
Return-Path: <lars@netapp.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 528871A87A1 for <cfrg@ietfa.amsl.com>; Sun, 12 Jul 2015 01:54:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.211
X-Spam-Level: 
X-Spam-Status: No, score=-4.211 tagged_above=-999 required=5 tests=[BAYES_50=0.8, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, 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 99PVCeBg6N52 for <cfrg@ietfa.amsl.com>; Sun, 12 Jul 2015 01:54:18 -0700 (PDT)
Received: from mx141.netapp.com (mx141.netapp.com [216.240.21.12]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D64611A8739 for <cfrg@irtf.org>; Sun, 12 Jul 2015 01:54:15 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="5.15,456,1432623600";  d="asc'?scan'208";a="56168436"
Received: from hioexcmbx08-prd.hq.netapp.com ([10.122.105.41]) by mx141-out.netapp.com with ESMTP; 12 Jul 2015 01:53:39 -0700
Received: from HIOEXCMBX07-PRD.hq.netapp.com (10.122.105.40) by hioexcmbx08-prd.hq.netapp.com (10.122.105.41) with Microsoft SMTP Server (TLS) id 15.0.1076.9; Sun, 12 Jul 2015 01:53:39 -0700
Received: from HIOEXCMBX07-PRD.hq.netapp.com ([::1]) by hioexcmbx07-prd.hq.netapp.com ([fe80::dc1c:7054:32f6:3f6b%21]) with mapi id 15.00.1076.000; Sun, 12 Jul 2015 01:53:39 -0700
From: "Eggert, Lars" <lars@netapp.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: Kevin Igoe retiring
Thread-Index: AQHQvIA+N4jYU+L2rkaufeg/YosoDg==
Date: Sun, 12 Jul 2015 08:53:38 +0000
Message-ID: <88954578-F7C6-498B-B29F-99830336B83E@netapp.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-mailer: Apple Mail (2.2102)
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.122.56.79]
Content-Type: multipart/signed; boundary="Apple-Mail=_EE554394-BC0A-4E6C-8C76-408BAED3D54E"; protocol="application/pgp-signature"; micalg=pgp-sha1
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/s3WlYu2dWKfoAjTiE7WR3TMjUOk>
Subject: [Cfrg] Kevin Igoe retiring
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: <https://mailarchive.ietf.org/arch/browse/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: Sun, 12 Jul 2015 08:54:20 -0000

--Apple-Mail=_EE554394-BC0A-4E6C-8C76-408BAED3D54E
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Hi,

Kevin is retiring from his day job in the beginning of August, and has =
decided to step down as a co-chair of the CFRG. I'd like to sincerely =
thank Kevin for his many contributions to the group over the years, both =
as technical participant and as co-chair, and I wish him all the best =
for his retirement - well deserved!

Thanks,
Lars
(IRTF Chair)

--Apple-Mail=_EE554394-BC0A-4E6C-8C76-408BAED3D54E
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="signature.asc"
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAlWiKxIACgkQIWcjmsUTWRr0pACfeUVd6o0NDzqH1HYQe2NkApO0
CfgAoLvo6Ib8Ninmz5lCvuhP8Jp43tR7
=aU73
-----END PGP SIGNATURE-----

--Apple-Mail=_EE554394-BC0A-4E6C-8C76-408BAED3D54E--


From nobody Sun Jul 12 07:28:50 2015
Return-Path: <brynosaurus@gmail.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 99E761ACED4 for <cfrg@ietfa.amsl.com>; Sun, 12 Jul 2015 07:28:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, 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 Wy7Cqn9N9exW for <cfrg@ietfa.amsl.com>; Sun, 12 Jul 2015 07:28:47 -0700 (PDT)
Received: from mail-qk0-x22f.google.com (mail-qk0-x22f.google.com [IPv6:2607:f8b0:400d:c09::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 03BF91ACECE for <cfrg@irtf.org>; Sun, 12 Jul 2015 07:28:47 -0700 (PDT)
Received: by qkdv3 with SMTP id v3so43444745qkd.3 for <cfrg@irtf.org>; Sun, 12 Jul 2015 07:28:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=from:content-type:subject:message-id:date:to:mime-version; bh=zHjQIY6rLFOxDCPWw0SZ6jRrfA/HIqSaWy/0vRUGaNU=; b=bVKrX5+Vp0rRDQhbc330ga6SQ5NzTFmoIg2KmSY7jlhMXNQ4SAFwvILbc+zUJhvQuk OeSDoSP+581P3yQjG6VNpu0owLO6OAuTJ3OGO23LGTwSlaygt8BaAJxGc/DziJYiLPCd +o/uQno2UVU1wXurnFFLct4enOOOiyiJMlbivei+44zXZYQiar2UWChO1C+jqGohlJui woKyYywRQNfqS51CiHpXU7BTbQfdMBAoKP59tyoeESyo2ZAjC3WlsuXh5g83V6i2TrPK TO8KFW9GSpE3z6PkAOfc7Eb+HSz5PKODGEwEENlgjp6VsoOol0i3vQZvkIzw/+WMEt4I BQ3A==
X-Received: by 10.55.42.231 with SMTP id q100mr9943687qkq.52.1436711326245; Sun, 12 Jul 2015 07:28:46 -0700 (PDT)
Received: from [10.0.0.182] (173-9-75-145-NewEngland.hfc.comcastbusiness.net. [173.9.75.145]) by smtp.gmail.com with ESMTPSA id e104sm9401200qgd.29.2015.07.12.07.28.44 for <cfrg@irtf.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 12 Jul 2015 07:28:45 -0700 (PDT)
From: Bryan Ford <brynosaurus@gmail.com>
Content-Type: multipart/signed; boundary="Apple-Mail=_D40FF695-0BDD-4B3B-9AB9-4336F2BE4906"; protocol="application/pkcs7-signature"; micalg=sha1
Message-Id: <CAEA5694-2365-4106-BAFD-59DD727BD3C8@gmail.com>
Date: Sun, 12 Jul 2015 10:28:21 -0400
To: cfrg@irtf.org
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
X-Mailer: Apple Mail (2.2098)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/AAvVhAAKsgbDK-0ehyzS8FhgnTo>
Subject: [Cfrg] Scalable collective signing
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: <https://mailarchive.ietf.org/arch/browse/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: Sun, 12 Jul 2015 14:28:48 -0000

--Apple-Mail=_D40FF695-0BDD-4B3B-9AB9-4336F2BE4906
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

To the list of desirable and perhaps required properties for any CFRG =
signature scheme, I would propose adding =E2=80=9Ccompatibility with =
efficient threshold- and multisignature techniques.=E2=80=9D  This =
requirement is easy to meet and probably already satisfied by most of =
the signature schemes proposed so far, but I would suggest this as =
perhaps one more reason to prefer Schnorr-based schemes over ECDSA-style =
schemes.  (Yes, there are threshold/multisignature schemes for ECDSA, =
but they=E2=80=99re complex and hard to scale.)

For anyone interested, my group at Yale (soon to be EPFL) has been =
working on techniques to make threshold/multi-signature protocols scale, =
making it possible to build attestation and signing collectives =E2=80=9Ca=
s large as might be needed.=E2=80=9D  In testbed experiments we=E2=80=99ve=
 demonstrated ~4000 participants collectively computing a single =
signature in 1.5-3 seconds including wide-area-equivalent round-trip =
times.  While large-scale collective signing is irrelevant for many uses =
of signatures (such as TLS endpoints, which may be this group=E2=80=99s =
primary focus), scalable multisignatures may be useful in building more =
trustworthy public logging, timestamping, certificate-signing, and other =
=E2=80=9Cauthority=E2=80=9D type protocols where we=E2=80=99d like to =
distribute trust across as large and diverse a group as possible.

More details of our ongoing work are available in the following preprint =
and slide-deck:

	Decentralizing Authorities into Scalable Strongest-Link =
Cothorities
	Preprint: http://arxiv.org/abs/1503.08768
	Slides: =
http://dedis.cs.yale.edu/dissent/pres/150610-nist-cothorities.pdf

The prototype code is also online and I=E2=80=99d be happy to share it, =
but it=E2=80=99s not yet in a particularly clean, well-documented, or =
usable state yet; we=E2=80=99ll be working on that over the coming =
months.  I=E2=80=99ll be at IETF 93 and am happy to discuss further with =
anyone interested.

Thanks
Bryan




--Apple-Mail=_D40FF695-0BDD-4B3B-9AB9-4336F2BE4906
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJ+DCCBK8w
ggOXoAMCAQICEQDgI8sVEoNTia1hbnpUZ2shMA0GCSqGSIb3DQEBCwUAMG8xCzAJBgNVBAYTAlNF
MRQwEgYDVQQKEwtBZGRUcnVzdCBBQjEmMCQGA1UECxMdQWRkVHJ1c3QgRXh0ZXJuYWwgVFRQIE5l
dHdvcmsxIjAgBgNVBAMTGUFkZF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bo6Cb+juV973UhO
0jexWUfRq7snN3coNpznibcidzW+WRvuTwAowbzINQQ6dDsFqx9/pzBs0r3ovKYeSkRNkSsbXHMI
s5btYyXi90jiHQum2k+CYicKTPx6y0426klsoKDB5mgPjdzSU7pJAoCzgusNm6m7p+I1vao4YSkR
afesJ+uA2GZcCxoEcJQKGl9EE+Plf8h29hIv6YDha+IvU7Pkmo9GzBSg0+wtteAhOkMtp+Iwu5V1
+h0Bp7GqsIF/0jf2P9sqYxHdGKlQnWXm6CC2XQpE9H0OkykA9AAAAAAAAA==
--Apple-Mail=_D40FF695-0BDD-4B3B-9AB9-4336F2BE4906--


From nobody Sun Jul 12 09:32:02 2015
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 B6ABD1A7004 for <cfrg@ietfa.amsl.com>; Sun, 12 Jul 2015 09:32:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.002
X-Spam-Level: 
X-Spam-Status: No, score=-0.002 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, 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 vM5pTJUauTRj for <cfrg@ietfa.amsl.com>; Sun, 12 Jul 2015 09:32:00 -0700 (PDT)
Received: from emh07.mail.saunalahti.fi (emh07.mail.saunalahti.fi [62.142.5.117]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D3CDE1A7002 for <cfrg@irtf.org>; Sun, 12 Jul 2015 09:31:58 -0700 (PDT)
Received: from LK-Perkele-VII (a91-155-194-207.elisa-laajakaista.fi [91.155.194.207]) by emh07.mail.saunalahti.fi (Postfix) with ESMTP id 557CF3FC3; Sun, 12 Jul 2015 19:31:56 +0300 (EEST)
Date: Sun, 12 Jul 2015 19:31:56 +0300
From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
To: Bryan Ford <brynosaurus@gmail.com>
Message-ID: <20150712163156.GA4921@LK-Perkele-VII>
References: <CAEA5694-2365-4106-BAFD-59DD727BD3C8@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <CAEA5694-2365-4106-BAFD-59DD727BD3C8@gmail.com>
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/QzcQ-hdlj0EEck_aZVInuy7IEVw>
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] Scalable collective signing
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: <https://mailarchive.ietf.org/arch/browse/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: Sun, 12 Jul 2015 16:32:01 -0000

On Sun, Jul 12, 2015 at 10:28:21AM -0400, Bryan Ford wrote:
> To the list of desirable and perhaps required properties for any
> CFRG signature scheme, I would propose adding â€œcompatibility with
> efficient threshold- and multisignature techniques.â€�  This
> requirement is easy to meet and probably already satisfied by
> most of the signature schemes proposed so far, but I would suggest
> this as perhaps one more reason to prefer Schnorr-based schemes
> over ECDSA-style schemes.  (Yes, there are threshold/multi-
signature schemes for ECDSA, but theyâ€™re complex and hard to
scale.)

Do those also work properly for (point,scalar) type schnorr
schemes?

The idea of those is essentially:

R = rG (r should be generated pseudorandomly).
s = r + H(R,M)*a, where a is the signing key.

3 of the 5 proposals are of that type. One is classic
Schnorr and one is very close to ECDSA.


-Ilari


From nobody Sun Jul 12 09:40:19 2015
Return-Path: <watsonbladd@gmail.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 3CCAA1A7005 for <cfrg@ietfa.amsl.com>; Sun, 12 Jul 2015 09:40:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, 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 o_gt_fDyx6-a for <cfrg@ietfa.amsl.com>; Sun, 12 Jul 2015 09:40:17 -0700 (PDT)
Received: from mail-wi0-x242.google.com (mail-wi0-x242.google.com [IPv6:2a00:1450:400c:c05::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5CD6D1A7018 for <cfrg@irtf.org>; Sun, 12 Jul 2015 09:40:16 -0700 (PDT)
Received: by wipp2 with SMTP id p2so6304842wip.2 for <cfrg@irtf.org>; Sun, 12 Jul 2015 09:40:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=42lL9xaUi6tUTuztwhJus56JOyYmj0m0aP4Xn7FL2lk=; b=vWUht1+gZuzZ0fw+aKO7GTnDzWWfXsREzGF1kAmbRP9PBoYGiXw4LiU7cdjgPV0uqy Q+zzcNTEdDcOSsw/r63+J+69HrL2qPEp/yCF8MYIguOyAHi5py4cuHiJDXgrxq8j781S 8QNKoZnYU3gcpebw6zVm5WJ0u8F7eCdAiwdhnUbQSY7USXdNiKYgS6t0XhjgISq4PW0w 3E3ZjVoaqgafIuYQ4RKafXDhPlsIXu4IhGPQFXN+5BmBKFKPhur+uX1cFWpyLyKT5FM/ 3/a3fVtKglen9UpnD6FCML/sPUYc/A5P6RbYw82Cva3JuPG4sRGsHEtZbEKDYwm2pmJ2 ulDw==
MIME-Version: 1.0
X-Received: by 10.194.20.161 with SMTP id o1mr61942549wje.32.1436719215128; Sun, 12 Jul 2015 09:40:15 -0700 (PDT)
Received: by 10.194.20.97 with HTTP; Sun, 12 Jul 2015 09:40:15 -0700 (PDT)
In-Reply-To: <20150712163156.GA4921@LK-Perkele-VII>
References: <CAEA5694-2365-4106-BAFD-59DD727BD3C8@gmail.com> <20150712163156.GA4921@LK-Perkele-VII>
Date: Sun, 12 Jul 2015 09:40:15 -0700
Message-ID: <CACsn0cmkskBGMqJiwqBweak+=6fh8h7tz5HkXTdrSXeb=EfdyA@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/Z3pV7KHv6_SCcLKoXSVwLSnlt6U>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Scalable collective signing
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: <https://mailarchive.ietf.org/arch/browse/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: Sun, 12 Jul 2015 16:40:18 -0000

On Sun, Jul 12, 2015 at 9:31 AM, Ilari Liusvaara
<ilari.liusvaara@elisanet.fi> wrote:
> On Sun, Jul 12, 2015 at 10:28:21AM -0400, Bryan Ford wrote:
>> To the list of desirable and perhaps required properties for any
>> CFRG signature scheme, I would propose adding =E2=80=9Ccompatibility wit=
h
>> efficient threshold- and multisignature techniques.=E2=80=9D  This
>> requirement is easy to meet and probably already satisfied by
>> most of the signature schemes proposed so far, but I would suggest
>> this as perhaps one more reason to prefer Schnorr-based schemes
>> over ECDSA-style schemes.  (Yes, there are threshold/multi-
> signature schemes for ECDSA, but they=E2=80=99re complex and hard to
> scale.)
>
> Do those also work properly for (point,scalar) type schnorr
> schemes?
>
> The idea of those is essentially:
>
> R =3D rG (r should be generated pseudorandomly).
> s =3D r + H(R,M)*a, where a is the signing key.
>
> 3 of the 5 proposals are of that type. One is classic
> Schnorr and one is very close to ECDSA.

Yes: If we generate e=3DH(R,M), s=3Dr+H(R,M)*a as in the usual
presentation of Schnorr, R is recoverable as sG-eA. Since this
transformation involves only public data, it can be done as the last
step.

Sincerely,
Watson
>
>
> -Ilari
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg



--=20
"Man is born free, but everywhere he is in chains".
--Rousseau.


From nobody Sun Jul 12 11:18:43 2015
Return-Path: <brynosaurus@gmail.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 59A521A8794 for <cfrg@ietfa.amsl.com>; Sun, 12 Jul 2015 11:18:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, 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 0uTemRVaZKEK for <cfrg@ietfa.amsl.com>; Sun, 12 Jul 2015 11:18:40 -0700 (PDT)
Received: from mail-qg0-x231.google.com (mail-qg0-x231.google.com [IPv6:2607:f8b0:400d:c04::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 02CE01A8793 for <cfrg@irtf.org>; Sun, 12 Jul 2015 11:18:39 -0700 (PDT)
Received: by qgef3 with SMTP id f3so98319175qge.0 for <cfrg@irtf.org>; Sun, 12 Jul 2015 11:18:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=u4L56oXyhfeK4dEYMCy1GRomcYE8hzu0EAxXVsqE0qg=; b=qtdOLxoy3N42K9gDjb/X/EV305gBtc/r2C9I86mErs5kdnGbZAnHBuoEKAULCc9Z20 4E/J122lwNT5933gbNSMRB9h0onbkiNjjig4K4yVg7Y9djAFnyg1kcL7D0IilFmhDFA7 tharB+ZppBN1urnUCEI10Q6zD9LUqHi4H7Ljl1CtgXRFCZMtcozefQddSFQdETbAfBYX bIt3XrY4qa9REsgDCqTEJEvEs6mOUWJodwTl+6CYgqhnejaAOhGgNswssQJEUZ0PoNoy uH91b+fPGcM9pXH2tFSLw+3Ctt2/oify9yb1P9pKc10fco0HWEvvVLcn2kJ/LzX3kt3X GNTA==
X-Received: by 10.140.30.100 with SMTP id c91mr47676655qgc.81.1436725119185; Sun, 12 Jul 2015 11:18:39 -0700 (PDT)
Received: from [192.168.1.92] ([32.216.206.25]) by smtp.gmail.com with ESMTPSA id o65sm9666081qge.34.2015.07.12.11.18.37 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 12 Jul 2015 11:18:38 -0700 (PDT)
Content-Type: multipart/signed; boundary="Apple-Mail=_70244E67-452D-414E-B06E-1D541EF7452D"; protocol="application/pkcs7-signature"; micalg=sha1
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Bryan Ford <brynosaurus@gmail.com>
In-Reply-To: <CACsn0cmkskBGMqJiwqBweak+=6fh8h7tz5HkXTdrSXeb=EfdyA@mail.gmail.com>
Date: Sun, 12 Jul 2015 14:18:34 -0400
Message-Id: <6B3854EB-421F-4B43-B7EE-946D6058F124@gmail.com>
References: <CAEA5694-2365-4106-BAFD-59DD727BD3C8@gmail.com> <20150712163156.GA4921@LK-Perkele-VII> <CACsn0cmkskBGMqJiwqBweak+=6fh8h7tz5HkXTdrSXeb=EfdyA@mail.gmail.com>
To: Watson Ladd <watsonbladd@gmail.com>
X-Mailer: Apple Mail (2.2098)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/BmNHdwftHCyKbzkZ_0VM6_B-Gyc>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Scalable collective signing
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: <https://mailarchive.ietf.org/arch/browse/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: Sun, 12 Jul 2015 18:18:42 -0000

--Apple-Mail=_70244E67-452D-414E-B06E-1D541EF7452D
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_B53CFE93-E0DD-45C1-AA87-4FE39456901F"


--Apple-Mail=_B53CFE93-E0DD-45C1-AA87-4FE39456901F
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

On Jul 12, 2015, at 12:40 PM, Watson Ladd <watsonbladd@gmail.com> wrote:
> On Sun, Jul 12, 2015 at 9:31 AM, Ilari Liusvaara
> <ilari.liusvaara@elisanet.fi <mailto:ilari.liusvaara@elisanet.fi>> =
wrote:
>> On Sun, Jul 12, 2015 at 10:28:21AM -0400, Bryan Ford wrote:
>>> To the list of desirable and perhaps required properties for any
>>> CFRG signature scheme, I would propose adding =E2=80=9Ccompatibility =
with
>>> efficient threshold- and multisignature techniques.=E2=80=9D  This
>>> requirement is easy to meet and probably already satisfied by
>>> most of the signature schemes proposed so far, but I would suggest
>>> this as perhaps one more reason to prefer Schnorr-based schemes
>>> over ECDSA-style schemes.  (Yes, there are threshold/multi-
>> signature schemes for ECDSA, but they=E2=80=99re complex and hard to
>> scale.)
>>=20
>> Do those also work properly for (point,scalar) type schnorr
>> schemes?
>>=20
>> The idea of those is essentially:
>>=20
>> R =3D rG (r should be generated pseudorandomly).
>> s =3D r + H(R,M)*a, where a is the signing key.
>>=20
>> 3 of the 5 proposals are of that type. One is classic
>> Schnorr and one is very close to ECDSA.
>=20
> Yes: If we generate e=3DH(R,M), s=3Dr+H(R,M)*a as in the usual
> presentation of Schnorr, R is recoverable as sG-eA. Since this
> transformation involves only public data, it can be done as the last
> step.

Indeed, although our current prototype code produces the traditional =
(scalar,scalar) challenge-response format signatures, I can=E2=80=99t =
think of any reason producing (point,scalar) format signatures would be =
problematic.

To help understand and evaluate the (current and future) signature =
proposals on the table, would it perhaps be useful to identify a few =
specific, preferably mostly orthogonal properties that can be discussed =
independently, so that if consensus is reached on some of them this can =
be used to =E2=80=9Cprune the design space=E2=80=9D and focus attention? =
 I would immediately suggest considering these two:

1. Does it make sense to consider restricting attention to Schnorr-class =
signature schemes in general, as opposed to say ECDSA, RSA, =
pairing-based schemes, etc.?  There seem to be many reasons (efficient =
multisignatures being only one) to prefer Schnorr-class schemes over the =
others I=E2=80=99m immediately familiar with.  Are there readily =
identifiable, compelling advantages other non-Schnorr-class schemes have =
(e.g., ECDSA) that are relevant to the goals of this WG?

2. In evaluating Schnorr-class schemes, does it make sense to consider =
restricting attention to (point,scalar)-format signatures?  Although I =
don=E2=80=99t think it matters one way or the other for multisignature =
compatibility, the (point,scalar) format seems to have other benefits, =
efficient batch verification for one thing.  Are there any known =
advantages to the alternative (scalar,scalar) challenge-response format? =
 (I=E2=80=99m not immediately aware of any but am not exhaustively =
familiar with the relevant literature.)

I=E2=80=99m not suggesting that either these or other similar decisions =
should be taken quickly or lightly, but where there already seem to be =
clearly-identified advantages like the above in going one way over =
others, trying to reach consensus on those early-on might be useful.

Cheers
Bryan


>=20
> Sincerely,
> Watson
>>=20
>>=20
>> -Ilari
>>=20
>> _______________________________________________
>> Cfrg mailing list
>> Cfrg@irtf.org <mailto:Cfrg@irtf.org>
>> http://www.irtf.org/mailman/listinfo/cfrg =
<http://www.irtf.org/mailman/listinfo/cfrg>
>=20
>=20
>=20
> --=20
> "Man is born free, but everywhere he is in chains".
> --Rousseau.


--Apple-Mail=_B53CFE93-E0DD-45C1-AA87-4FE39456901F
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">On Jul 12, 2015, at 12:40 PM, Watson Ladd &lt;<a =
href=3D"mailto:watsonbladd@gmail.com" =
class=3D"">watsonbladd@gmail.com</a>&gt; wrote:<br =
class=3D""><div><blockquote type=3D"cite" class=3D""><div class=3D""><span=
 style=3D"font-family: Helvetica; font-size: 11px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">On Sun, Jul 12, 2015 at 9:31 AM, Ilari =
Liusvaara</span><br style=3D"font-family: Helvetica; font-size: 11px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""><span style=3D"font-family: Helvetica; font-size: 11px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: =
none; display: inline !important;" class=3D"">&lt;</span><a =
href=3D"mailto:ilari.liusvaara@elisanet.fi" style=3D"font-family: =
Helvetica; font-size: 11px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;" =
class=3D"">ilari.liusvaara@elisanet.fi</a><span style=3D"font-family: =
Helvetica; font-size: 11px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">&gt; wrote:</span><br style=3D"font-family: =
Helvetica; font-size: 11px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;" class=3D""><blockquote type=3D"cite" =
style=3D"font-family: Helvetica; font-size: 11px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" class=3D"">On Sun, Jul 12, 2015 at =
10:28:21AM -0400, Bryan Ford wrote:<br class=3D""><blockquote =
type=3D"cite" class=3D"">To the list of desirable and perhaps required =
properties for any<br class=3D"">CFRG signature scheme, I would propose =
adding =E2=80=9Ccompatibility with<br class=3D"">efficient threshold- =
and multisignature techniques.=E2=80=9D &nbsp;This<br =
class=3D"">requirement is easy to meet and probably already satisfied =
by<br class=3D"">most of the signature schemes proposed so far, but I =
would suggest<br class=3D"">this as perhaps one more reason to prefer =
Schnorr-based schemes<br class=3D"">over ECDSA-style schemes. =
&nbsp;(Yes, there are threshold/multi-<br =
class=3D""></blockquote>signature schemes for ECDSA, but they=E2=80=99re =
complex and hard to<br class=3D"">scale.)<br class=3D""><br class=3D"">Do =
those also work properly for (point,scalar) type schnorr<br =
class=3D"">schemes?<br class=3D""><br class=3D"">The idea of those is =
essentially:<br class=3D""><br class=3D"">R =3D rG (r should be =
generated pseudorandomly).<br class=3D"">s =3D r + H(R,M)*a, where a is =
the signing key.<br class=3D""><br class=3D"">3 of the 5 proposals are =
of that type. One is classic<br class=3D"">Schnorr and one is very close =
to ECDSA.<br class=3D""></blockquote><br style=3D"font-family: =
Helvetica; font-size: 11px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;" class=3D""><span style=3D"font-family: =
Helvetica; font-size: 11px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">Yes: If we generate e=3DH(R,M), s=3Dr+H(R,M)*a =
as in the usual</span><br style=3D"font-family: Helvetica; font-size: =
11px; font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""><span style=3D"font-family: Helvetica; font-size: 11px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: =
none; display: inline !important;" class=3D"">presentation of Schnorr, R =
is recoverable as sG-eA. Since this</span><br style=3D"font-family: =
Helvetica; font-size: 11px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;" class=3D""><span style=3D"font-family: =
Helvetica; font-size: 11px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">transformation involves only public data, it can =
be done as the last</span><br style=3D"font-family: Helvetica; =
font-size: 11px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;" class=3D""><span style=3D"font-family: Helvetica; font-size: 11px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: =
none; display: inline !important;" class=3D"">step.</span><br =
style=3D"font-family: Helvetica; font-size: 11px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" =
class=3D""></div></blockquote><div><br class=3D""></div><div>Indeed, =
although our current prototype code produces the traditional =
(scalar,scalar) challenge-response format signatures, I can=E2=80=99t =
think of any reason producing (point,scalar) format signatures would be =
problematic.</div><div><br class=3D""></div><div>To help understand and =
evaluate the (current and future) signature proposals on the table, =
would it perhaps be useful to identify a few specific, preferably mostly =
orthogonal properties that can be discussed independently, so that if =
consensus is reached on some of them this can be used to =E2=80=9Cprune =
the design space=E2=80=9D and focus attention? &nbsp;I would immediately =
suggest considering these two:</div><div><br class=3D""></div><div>1. =
Does it make sense to consider restricting attention to Schnorr-class =
signature schemes in general, as opposed to say ECDSA, RSA, =
pairing-based schemes, etc.? &nbsp;There seem to be many reasons =
(efficient multisignatures being only one) to prefer Schnorr-class =
schemes over the others I=E2=80=99m immediately familiar with. &nbsp;Are =
there readily identifiable, compelling advantages other =
non-Schnorr-class schemes have (e.g., ECDSA) that are relevant to the =
goals of this WG?</div><div><br class=3D""></div><div>2. In evaluating =
Schnorr-class schemes, does it make sense to consider restricting =
attention to (point,scalar)-format signatures? &nbsp;Although I don=E2=80=99=
t think it matters one way or the other for multisignature =
compatibility, the (point,scalar) format seems to have other benefits, =
efficient batch verification for one thing. &nbsp;Are there any known =
advantages to the alternative (scalar,scalar) challenge-response format? =
&nbsp;(I=E2=80=99m not immediately aware of any but am not exhaustively =
familiar with the relevant literature.)</div><div><br =
class=3D""></div><div>I=E2=80=99m not suggesting that either these or =
other similar decisions should be taken quickly or lightly, but where =
there already seem to be clearly-identified advantages like the above in =
going one way over others, trying to reach consensus on those early-on =
might be useful.</div><div><br =
class=3D""></div><div>Cheers</div><div>Bryan</div><div><br =
class=3D""></div><div><br class=3D""></div><blockquote type=3D"cite" =
class=3D""><div class=3D""><br style=3D"font-family: Helvetica; =
font-size: 11px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;" class=3D""><span style=3D"font-family: Helvetica; font-size: 11px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: =
none; display: inline !important;" class=3D"">Sincerely,</span><br =
style=3D"font-family: Helvetica; font-size: 11px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" class=3D""><span =
style=3D"font-family: Helvetica; font-size: 11px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">Watson</span><br style=3D"font-family: =
Helvetica; font-size: 11px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;" class=3D""><blockquote type=3D"cite" =
style=3D"font-family: Helvetica; font-size: 11px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" class=3D""><br class=3D""><br =
class=3D"">-Ilari<br class=3D""><br =
class=3D"">_______________________________________________<br =
class=3D"">Cfrg mailing list<br class=3D""><a =
href=3D"mailto:Cfrg@irtf.org" class=3D"">Cfrg@irtf.org</a><br =
class=3D""><a href=3D"http://www.irtf.org/mailman/listinfo/cfrg" =
class=3D"">http://www.irtf.org/mailman/listinfo/cfrg</a><br =
class=3D""></blockquote><br style=3D"font-family: Helvetica; font-size: =
11px; font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""><br style=3D"font-family: Helvetica; font-size: 11px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""><br style=3D"font-family: Helvetica; font-size: 11px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""><span style=3D"font-family: Helvetica; font-size: 11px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: =
none; display: inline !important;" class=3D"">--<span =
class=3D"Apple-converted-space">&nbsp;</span></span><br =
style=3D"font-family: Helvetica; font-size: 11px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px;" class=3D""><span =
style=3D"font-family: Helvetica; font-size: 11px; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">"Man is born free, but everywhere he is in =
chains".</span><br style=3D"font-family: Helvetica; font-size: 11px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""><span style=3D"font-family: Helvetica; font-size: 11px; =
font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: =
none; display: inline !important;" =
class=3D"">--Rousseau.</span></div></blockquote></div><br =
class=3D""></body></html>=

--Apple-Mail=_B53CFE93-E0DD-45C1-AA87-4FE39456901F--

--Apple-Mail=_70244E67-452D-414E-B06E-1D541EF7452D
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJ+DCCBK8w
ggOXoAMCAQICEQDgI8sVEoNTia1hbnpUZ2shMA0GCSqGSIb3DQEBCwUAMG8xCzAJBgNVBAYTAlNF
MRQwEgYDVQQKEwtBZGRUcnVzdCBBQjEmMCQGA1UECxMdQWRkVHJ1c3QgRXh0ZXJuYWwgVFRQIE5l
dHdvcmsxIjAgBgNVBAMTGUFkZFRydXN0IEV4dGVybmFsIENBIFJvb3QwHhcNMTQxMjIyMDAwMDAw
WhcNMjAwNTMwMTA0ODM4WjCBmzELMAkGA1UEBhMCR0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4VU3mQbX4lM4Sbtl6qhqQ+fpH299/BAho1i12YrjoaRDq8FUJvnBxkkHsH2vi3Uh368tfrGXay
9OmUvK08yiFE+5z9fM46s2Rw3uLYpSDgNpuPr/824Ho6jaho6fqIcYP6SDG4SI+e8aCaf3g8FDF1
KzXZlh5XP/Fz8BkCWTE8iSdE8fgA0FkjSx5swUNt8n1OfflnawAAAAAAAA==
--Apple-Mail=_70244E67-452D-414E-B06E-1D541EF7452D--


From nobody Sun Jul 12 12:38:06 2015
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 784091A8898 for <cfrg@ietfa.amsl.com>; Sun, 12 Jul 2015 12:38:05 -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 bR_kvxjnHok2 for <cfrg@ietfa.amsl.com>; Sun, 12 Jul 2015 12:38:03 -0700 (PDT)
Received: from emh03.mail.saunalahti.fi (emh03.mail.saunalahti.fi [62.142.5.109]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1B7291A889D for <cfrg@irtf.org>; Sun, 12 Jul 2015 12:38:02 -0700 (PDT)
Received: from LK-Perkele-VII (a91-155-194-207.elisa-laajakaista.fi [91.155.194.207]) by emh03.mail.saunalahti.fi (Postfix) with ESMTP id 7CCE418878F; Sun, 12 Jul 2015 22:38:00 +0300 (EEST)
Date: Sun, 12 Jul 2015 22:38:00 +0300
From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
To: Bryan Ford <brynosaurus@gmail.com>
Message-ID: <20150712193800.GA5928@LK-Perkele-VII>
References: <CAEA5694-2365-4106-BAFD-59DD727BD3C8@gmail.com> <20150712163156.GA4921@LK-Perkele-VII> <CACsn0cmkskBGMqJiwqBweak+=6fh8h7tz5HkXTdrSXeb=EfdyA@mail.gmail.com> <6B3854EB-421F-4B43-B7EE-946D6058F124@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <6B3854EB-421F-4B43-B7EE-946D6058F124@gmail.com>
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/_XhoSF0Uo9OpeQpSEycl4vfgqPM>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Scalable collective signing
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: <https://mailarchive.ietf.org/arch/browse/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: Sun, 12 Jul 2015 19:38:05 -0000

On Sun, Jul 12, 2015 at 02:18:34PM -0400, Bryan Ford wrote:
> 
> To help understand and evaluate the (current and future) signature proposals
> on the table, would it perhaps be useful to identify a few specific, preferably
> mostly orthogonal properties that can be discussed independently, so that if
> consensus is reached on some of them this can be used to â€œprune the design
> spaceâ€� and focus attention?  I would immediately suggest considering these two:

I don't think those would prune the design space very effectively.

> 1. Does it make sense to consider restricting attention to Schnorr-class
> signature schemes in general, as opposed to say ECDSA, RSA, pairing-based
> schemes, etc.?  There seem to be many reasons (efficient multisignatures
> being only one) to prefer Schnorr-class schemes over the others Iâ€™m
> immediately familiar with.  Are there readily identifiable, compelling
> advantages other non-Schnorr-class schemes have (e.g., ECDSA) that are
> relevant to the goals of this WG?

Well:
ECDSA: Compatiblity is explicitly non-goal (one of the proposals is this
       style).
RSA: I don't think that is ECC signature scheme.
Pairing-based: I don't think it works with "natural" curves.

So I don't think there are identifiable advantages.

> 2. In evaluating Schnorr-class schemes, does it make sense to consider
> restricting attention to (point,scalar)-format signatures?  Although I
> donâ€™t think it matters one way or the other for multisignature
> compatibility, the (point,scalar) format seems to have other benefits,
> efficient batch verification for one thing.  Are there any known
> advantages to the alternative (scalar,scalar) challenge-response
> format?  (Iâ€™m not immediately aware of any but am not exhaustively
> familiar with the relevant literature.)

AFAIK, can be put into less space by truncating the hash (although
IIRC DJB says there is not enough security analyis for that).


-Ilari


From nobody Sun Jul 12 13:50:11 2015
Return-Path: <bjorn.edstrom@gmail.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 8CC411A8A4D for <cfrg@ietfa.amsl.com>; Sun, 12 Jul 2015 13:50:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.322
X-Spam-Level: **
X-Spam-Status: No, score=2.322 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, J_CHICKENPOX_21=0.6, MIME_8BIT_HEADER=0.3, SPF_PASS=-0.001] 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 poIC4hbaQEau for <cfrg@ietfa.amsl.com>; Sun, 12 Jul 2015 13:50:08 -0700 (PDT)
Received: from mail-pa0-x242.google.com (mail-pa0-x242.google.com [IPv6:2607:f8b0:400e:c03::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 71F421A8A4C for <cfrg@irtf.org>; Sun, 12 Jul 2015 13:50:08 -0700 (PDT)
Received: by pactm7 with SMTP id tm7so26877020pac.1 for <cfrg@irtf.org>; Sun, 12 Jul 2015 13:50:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=281aYksdDqWdTMFJUavUH3d3ZnJI00nS7Q3laIwSeRg=; b=qE0F/CGTTn21PPGhGztPMXdMzrQ27iBSsFI3FU1qBbLJboYJD0YnL5G5rr54/152mH WnAtOPa6W1KAiO1tcdjAn8b0kJRts1k9v6xznm/+WHVIF/gBx6NuLZPXGxvAF3yhV36W S0x4KS5/8T2TEmvTW0gvCMdhO28CDSqqd7mbw0MRCDkzPGxzaaJwWcdXc4b0fhRXCDSf 90mfqNRI7U0khDYzeiBbrTEBC04nfYufGFDABqb/MoQzJ2N4T4s8PCwyXSgCdso8/l/E VsmF3QZS2SrfJ+/Yx9dUrTiAL3HfnX2VU9dnvV3SJ+DJILTLV0HbUIQDP/xtDAAhIOrf PhFQ==
MIME-Version: 1.0
X-Received: by 10.68.129.134 with SMTP id nw6mr62399886pbb.109.1436734208177;  Sun, 12 Jul 2015 13:50:08 -0700 (PDT)
Sender: bjorn.edstrom@gmail.com
Received: by 10.66.179.72 with HTTP; Sun, 12 Jul 2015 13:50:08 -0700 (PDT)
In-Reply-To: <20150706064546.GB5437@LK-Perkele-VII>
References: <5586895A.3020607@isode.com> <20150705083434.GS20757@cph.win.tue.nl> <20150705181457.GA11440@cph.win.tue.nl> <20150706064546.GB5437@LK-Perkele-VII>
Date: Sun, 12 Jul 2015 22:50:08 +0200
X-Google-Sender-Auth: bIkiveJUouARbm4qUhqnBSvBJYE
Message-ID: <CAA4PzX3tmx=TwAztvjkMh0mty8XByQju1K+JjOXbxnsCkn_HGQ@mail.gmail.com>
From: =?UTF-8?B?QmrDtnJuIEVkc3Ryw7Zt?= <be@bjrn.se>
To: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/qSOhKUPAXYWDk8_VAplq0uPT_0c>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Soliciting EC signature scheme proposals
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: <https://mailarchive.ietf.org/arch/browse/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: Sun, 12 Jul 2015 20:50:10 -0000

Re: the EdDSA proposal from Lange et.al: My software engineer perspective:

I'd also express some concern with the SHA-2 IV modification. The
implementer now suddenly has to ship his code with a second
implementation of SHA-2, because I know of no libraries that allow for
changing the IV easily. If I were to implement this proposal for say
OpenSSL or OpenSSH I'd have to do some intrusive internal changes if I
don't want to ship with a completely separate implementation just for
this schema. For example OpenSSL, as well as many other similar
projects, make the assumption that the IV:s are internal and are thus
abstracted away from their library implementation. My 2 cents would
prefer something more standard (instead of changing the IV, maybe use
the strings as an HMAC key, for example - see ideas in my previous
email on this very topic).

(Of course, with algorithms such as Keccak etc the old assumptions
about how a "hash API" should look like have to change anyway, but
that's a separate topic.)

Cheers
Bj=C3=B6rn




On Mon, Jul 6, 2015 at 8:45 AM, Ilari Liusvaara
<ilari.liusvaara@elisanet.fi> wrote:
> On Sun, Jul 05, 2015 at 08:14:57PM +0200, Tanja Lange wrote:
>>
>> Please find our suggestion for a generalized EdDSA signature scheme at
>>       http://eprint.iacr.org/2015/677
>
> Some quick comments:
>
> - Replacing IVs in SHA-2 computations is pretty unsupported.
> - If one allowed asymmetric splits, generating the 1056 bits for E-521
>   would only take 3 rounds, not 4.
> - Ed448 could use Curve448-compatible basepoint instead.
> - Could be possible to use SHA-512 for the verifier-visible hash
>   (which would likely cause a nasty mess on hashes to use)?
> - Some earlier discussions brought up variable hash truncation.
>   Looks like SHAKE* actually truncates, so one has to keep
>   output length constant.
> - Specifying prehash on key takes preknowledge on key on IUF
>   (unless one guesses, possibly multiple guesses).
>
>
> -Ilari
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg


From nobody Sun Jul 12 15:00:25 2015
Return-Path: <ekr@rtfm.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 C725E1A886D for <cfrg@ietfa.amsl.com>; Sun, 12 Jul 2015 15:00:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.822
X-Spam-Level: 
X-Spam-Status: No, score=0.822 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_21=0.6, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-0.7] 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 N8ARHGhoomkn for <cfrg@ietfa.amsl.com>; Sun, 12 Jul 2015 15:00:22 -0700 (PDT)
Received: from mail-wg0-f53.google.com (mail-wg0-f53.google.com [74.125.82.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C6E921A8869 for <cfrg@irtf.org>; Sun, 12 Jul 2015 15:00:21 -0700 (PDT)
Received: by wgmn9 with SMTP id n9so29726208wgm.0 for <cfrg@irtf.org>; Sun, 12 Jul 2015 15:00:20 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=HlflJNVQolDMpF1ymx6gCqbn3VyL3NW/7jY2CIB9fP8=; b=HSyXQaXLaZaW4NNFQx0JzfeMKWXcB4D6NwB6x+3AQzMuAfLgPHGtcaJjaXHbnFFPZo PEFcKyLcEkthwPP+ZdJaahJaujn5fqpwljLZK3BQSdmC/NLNubiSVbOt+Wy95gj1tA0U oyBOEvzt/jDtEdy+jXffzRr2oUdS6w+FcCOLHf2tfJtWraWAJ818aMvkybULyoD6k7Mk u5f71vNYfhR5QiAUWbffyg3VEe9XplKn5KyvHgsTmfQ5mtAaykBBogzerSrAtFyLHGAM S1LtdugiW0Kp6bd1/Bm/WMs2y71Nf8yAI+nYiIIxpxxDNUaEtFrWqsi5ftcaRC8+7qzT TU8A==
X-Gm-Message-State: ALoCoQn81nb+EuPTjBt7P1L9Q0yaV9QDHjPA3DP3zpsTzsQdNymiHcPgjpdil9mg2/2j1gEVucXy
X-Received: by 10.180.83.137 with SMTP id q9mr17938777wiy.68.1436738420463; Sun, 12 Jul 2015 15:00:20 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.27.95.211 with HTTP; Sun, 12 Jul 2015 14:59:41 -0700 (PDT)
In-Reply-To: <CAA4PzX3tmx=TwAztvjkMh0mty8XByQju1K+JjOXbxnsCkn_HGQ@mail.gmail.com>
References: <5586895A.3020607@isode.com> <20150705083434.GS20757@cph.win.tue.nl> <20150705181457.GA11440@cph.win.tue.nl> <20150706064546.GB5437@LK-Perkele-VII> <CAA4PzX3tmx=TwAztvjkMh0mty8XByQju1K+JjOXbxnsCkn_HGQ@mail.gmail.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Sun, 12 Jul 2015 14:59:41 -0700
Message-ID: <CABcZeBPgOvJayQueLm6cig8UsXTKbeDj6g3Mwq-KTPqa+Y_9EQ@mail.gmail.com>
To: =?UTF-8?B?QmrDtnJuIEVkc3Ryw7Zt?= <be@bjrn.se>
Content-Type: multipart/alternative; boundary=f46d044401962ff008051ab4bb94
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/x6fGozHVuX7nxMTny84ysaerk3c>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Soliciting EC signature scheme proposals
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: <https://mailarchive.ietf.org/arch/browse/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: Sun, 12 Jul 2015 22:00:23 -0000

--f46d044401962ff008051ab4bb94
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Caution: I have not reviewed the EdDSA proposal yet, so I'm operating
solely on
Bjorn's summary. With that said, it would be very nice to be able to use a
stock
SHA-2 implementation.

-Ekr


On Sun, Jul 12, 2015 at 1:50 PM, Bj=C3=B6rn Edstr=C3=B6m <be@bjrn.se> wrote=
:

> Re: the EdDSA proposal from Lange et.al: My software engineer perspective=
:
>
> I'd also express some concern with the SHA-2 IV modification. The
> implementer now suddenly has to ship his code with a second
> implementation of SHA-2, because I know of no libraries that allow for
> changing the IV easily. If I were to implement this proposal for say
> OpenSSL or OpenSSH I'd have to do some intrusive internal changes if I
> don't want to ship with a completely separate implementation just for
> this schema. For example OpenSSL, as well as many other similar
> projects, make the assumption that the IV:s are internal and are thus
> abstracted away from their library implementation. My 2 cents would
> prefer something more standard (instead of changing the IV, maybe use
> the strings as an HMAC key, for example - see ideas in my previous
> email on this very topic).
>
> (Of course, with algorithms such as Keccak etc the old assumptions
> about how a "hash API" should look like have to change anyway, but
> that's a separate topic.)
>
> Cheers
> Bj=C3=B6rn
>
>
>
>
> On Mon, Jul 6, 2015 at 8:45 AM, Ilari Liusvaara
> <ilari.liusvaara@elisanet.fi> wrote:
> > On Sun, Jul 05, 2015 at 08:14:57PM +0200, Tanja Lange wrote:
> >>
> >> Please find our suggestion for a generalized EdDSA signature scheme at
> >>       http://eprint.iacr.org/2015/677
> >
> > Some quick comments:
> >
> > - Replacing IVs in SHA-2 computations is pretty unsupported.
> > - If one allowed asymmetric splits, generating the 1056 bits for E-521
> >   would only take 3 rounds, not 4.
> > - Ed448 could use Curve448-compatible basepoint instead.
> > - Could be possible to use SHA-512 for the verifier-visible hash
> >   (which would likely cause a nasty mess on hashes to use)?
> > - Some earlier discussions brought up variable hash truncation.
> >   Looks like SHAKE* actually truncates, so one has to keep
> >   output length constant.
> > - Specifying prehash on key takes preknowledge on key on IUF
> >   (unless one guesses, possibly multiple guesses).
> >
> >
> > -Ilari
> >
> > _______________________________________________
> > Cfrg mailing list
> > Cfrg@irtf.org
> > http://www.irtf.org/mailman/listinfo/cfrg
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg
>

--f46d044401962ff008051ab4bb94
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Caution: I have not reviewed the EdDSA proposal yet, so I&=
#39;m operating solely on<div>Bjorn&#39;s summary. With that said, it would=
 be very nice to be able to use a stock</div><div>SHA-2 implementation.</di=
v><div><br></div><div>-Ekr</div><div><br><div class=3D"gmail_extra"><br><di=
v class=3D"gmail_quote">On Sun, Jul 12, 2015 at 1:50 PM, Bj=C3=B6rn Edstr=
=C3=B6m <span dir=3D"ltr">&lt;<a href=3D"mailto:be@bjrn.se" target=3D"_blan=
k">be@bjrn.se</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" st=
yle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Re: t=
he EdDSA proposal from Lange <a href=3D"http://et.al" rel=3D"noreferrer" ta=
rget=3D"_blank">et.al</a>: My software engineer perspective:<br>
<br>
I&#39;d also express some concern with the SHA-2 IV modification. The<br>
implementer now suddenly has to ship his code with a second<br>
implementation of SHA-2, because I know of no libraries that allow for<br>
changing the IV easily. If I were to implement this proposal for say<br>
OpenSSL or OpenSSH I&#39;d have to do some intrusive internal changes if I<=
br>
don&#39;t want to ship with a completely separate implementation just for<b=
r>
this schema. For example OpenSSL, as well as many other similar<br>
projects, make the assumption that the IV:s are internal and are thus<br>
abstracted away from their library implementation. My 2 cents would<br>
prefer something more standard (instead of changing the IV, maybe use<br>
the strings as an HMAC key, for example - see ideas in my previous<br>
email on this very topic).<br>
<br>
(Of course, with algorithms such as Keccak etc the old assumptions<br>
about how a &quot;hash API&quot; should look like have to change anyway, bu=
t<br>
that&#39;s a separate topic.)<br>
<br>
Cheers<br>
<span class=3D"HOEnZb"><font color=3D"#888888">Bj=C3=B6rn<br>
</font></span><div class=3D"HOEnZb"><div class=3D"h5"><br>
<br>
<br>
<br>
On Mon, Jul 6, 2015 at 8:45 AM, Ilari Liusvaara<br>
&lt;<a href=3D"mailto:ilari.liusvaara@elisanet.fi">ilari.liusvaara@elisanet=
.fi</a>&gt; wrote:<br>
&gt; On Sun, Jul 05, 2015 at 08:14:57PM +0200, Tanja Lange wrote:<br>
&gt;&gt;<br>
&gt;&gt; Please find our suggestion for a generalized EdDSA signature schem=
e at<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0<a href=3D"http://eprint.iacr.org/2015/6=
77" rel=3D"noreferrer" target=3D"_blank">http://eprint.iacr.org/2015/677</a=
><br>
&gt;<br>
&gt; Some quick comments:<br>
&gt;<br>
&gt; - Replacing IVs in SHA-2 computations is pretty unsupported.<br>
&gt; - If one allowed asymmetric splits, generating the 1056 bits for E-521=
<br>
&gt;=C2=A0 =C2=A0would only take 3 rounds, not 4.<br>
&gt; - Ed448 could use Curve448-compatible basepoint instead.<br>
&gt; - Could be possible to use SHA-512 for the verifier-visible hash<br>
&gt;=C2=A0 =C2=A0(which would likely cause a nasty mess on hashes to use)?<=
br>
&gt; - Some earlier discussions brought up variable hash truncation.<br>
&gt;=C2=A0 =C2=A0Looks like SHAKE* actually truncates, so one has to keep<b=
r>
&gt;=C2=A0 =C2=A0output length constant.<br>
&gt; - Specifying prehash on key takes preknowledge on key on IUF<br>
&gt;=C2=A0 =C2=A0(unless one guesses, possibly multiple guesses).<br>
&gt;<br>
&gt;<br>
&gt; -Ilari<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Cfrg mailing list<br>
&gt; <a href=3D"mailto:Cfrg@irtf.org">Cfrg@irtf.org</a><br>
&gt; <a href=3D"http://www.irtf.org/mailman/listinfo/cfrg" rel=3D"noreferre=
r" target=3D"_blank">http://www.irtf.org/mailman/listinfo/cfrg</a><br>
<br>
_______________________________________________<br>
Cfrg mailing list<br>
<a href=3D"mailto:Cfrg@irtf.org">Cfrg@irtf.org</a><br>
<a href=3D"http://www.irtf.org/mailman/listinfo/cfrg" rel=3D"noreferrer" ta=
rget=3D"_blank">http://www.irtf.org/mailman/listinfo/cfrg</a><br>
</div></div></blockquote></div><br></div></div></div>

--f46d044401962ff008051ab4bb94--


From nobody Sun Jul 12 16:20:21 2015
Return-Path: <dmjacobson@sbcglobal.net>
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 96DF21A8F37 for <cfrg@ietfa.amsl.com>; Sun, 12 Jul 2015 16:20:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.501
X-Spam-Level: *
X-Spam-Status: No, score=1.501 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, J_CHICKENPOX_21=0.6, J_CHICKENPOX_22=0.6, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-0.7] 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 kuaZ8WDlFou2 for <cfrg@ietfa.amsl.com>; Sun, 12 Jul 2015 16:20:15 -0700 (PDT)
Received: from nm4-vm1.access.bullet.mail.gq1.yahoo.com (nm4-vm1.access.bullet.mail.gq1.yahoo.com [216.39.63.2]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E52581A8F34 for <cfrg@irtf.org>; Sun, 12 Jul 2015 16:20:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s2048; t=1436743214; bh=2mt9zfmYs7EgUCQwKsamrhwHFJIYrye37zc7qfxaKIo=; h=Date:From:To:CC:Subject:References:In-Reply-To:From:Subject; b=CzQ4w1v1LmyJl/mrENpp1EtgZPL7NFVZJKfPIx1WTbAJHWiQCn3Q1SFoZlEhntPvXTvbjCN8Q18uTFsMOjerQTXwLlvRvUJBwZBkKyV5U92ZMLMZ4NLup/5v3gfY/+uYrRijSME6zdrYOBSRUtXmR4A36hraACGSFn3vntiAE36Z8dM5zHdsBaDgXmjoVeY6q9W/rWq7bTkl4MjzdQs/hs45NUCVZVcTQ36JV8KilCTnjED/avpdfsRWkRLwqOFvFpauEByZbwH8Dn0yczOVx7taVBjpMlvCcQ4+buP8NCPBRjSk77gCJhiSikrb3iP5XTUARQoi5UB7fEfrQFi2hQ==
Received: from [216.39.60.169] by nm4.access.bullet.mail.gq1.yahoo.com with NNFMP; 12 Jul 2015 23:20:14 -0000
Received: from [67.195.23.146] by tm5.access.bullet.mail.gq1.yahoo.com with NNFMP; 12 Jul 2015 23:20:14 -0000
Received: from [127.0.0.1] by smtp118.sbc.mail.gq1.yahoo.com with NNFMP; 12 Jul 2015 23:20:14 -0000
X-Yahoo-Newman-Id: 129488.77955.bm@smtp118.sbc.mail.gq1.yahoo.com
X-Yahoo-Newman-Property: ymail-3
X-YMail-OSG: Pyo3Pg0VM1lStNejImA..tleAGPkKwbDPwcf9tyyDm0ibQl jkXqzn0VJSWuSsFoV60zJxn7CTIi9jMrsy2fek3ZCKd7Ph7tv6R5spfFUtzD S.ON7eK_AqBCLL0A0w2CtG1U3Oe8EYE1JimAyXKpewkUcJpNFoKt0O8dndq2 ng1eYqzyQX6xYiDaSOFpb.PIME3iwhnDUIl9ZFHlNW8JwYCklinN1HCKNNzu ZIemGaRBToyisnIQwjRdFESw0Ct5VF0umjsI5Md9FnIdOR.gYVyP9061l40A hbqOG4PoqvA272_pP8VGaKgocHugLV6adsuH7yKypWeaEN2CR2M3OmaQcSEC UCNq_PNHzkgootQNjxdCJZl4jJqs2IZFtISVFRYpltFLO7d5VZQ3_nj1_3yr zMiG1kOjv0_BUAFbTENlhyWVtyAZAKXbsdlDkqXez1x2GE79mtEtUgsC6TlU IvM9vD4AO7_Ok22o52pMBt97sxPNbSmw7L8iTMRugrI3zNfvPq3fsPmoOezl cGoeeGOfeIKPBzlZYumnHV4vYE96YXM62Dl7bhOmFXP_iNrTyAs3Xzw--
X-Yahoo-SMTP: nOrmCa6swBAE50FabWnlVFUpgFVJ9Gbi__8U5mpvhtQq7tTV1g--
Message-ID: <55A2F62C.3040200@sbcglobal.net>
Date: Sun, 12 Jul 2015 16:20:12 -0700
From: David Jacobson <dmjacobson@sbcglobal.net>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: Eric Rescorla <ekr@rtfm.com>, =?windows-1252?Q?Bj=F6rn_Edstr=F6m?= <be@bjrn.se>
References: <5586895A.3020607@isode.com> <20150705083434.GS20757@cph.win.tue.nl> <20150705181457.GA11440@cph.win.tue.nl> <20150706064546.GB5437@LK-Perkele-VII> <CAA4PzX3tmx=TwAztvjkMh0mty8XByQju1K+JjOXbxnsCkn_HGQ@mail.gmail.com> <CABcZeBPgOvJayQueLm6cig8UsXTKbeDj6g3Mwq-KTPqa+Y_9EQ@mail.gmail.com>
In-Reply-To: <CABcZeBPgOvJayQueLm6cig8UsXTKbeDj6g3Mwq-KTPqa+Y_9EQ@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------020407010407010606080401"
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/330hzCEjBhT74dHGGcH5fv-L_cI>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Soliciting EC signature scheme proposals
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: <https://mailarchive.ietf.org/arch/browse/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: Sun, 12 Jul 2015 23:20:18 -0000

This is a multi-part message in MIME format.
--------------020407010407010606080401
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit

FIPS 180-4 specifies how to compute the hash for a truncation of another 
hash.   Here is a quick summary by example using SHA-512/224.  Make a 
new hash function by XORin the SHA-512 IV with 0xa5a5a5....  Then use 
that hash function to compute the hash of the ASCII string 
"SHA-512/224".  The result is the IV.

The eprint paper http://eprint.iacr.org/2015/677 says

     FIPS 180-4 defines SHA-512/224 s the 224- bit truncation of a 
modified version of SHA-512.
     The modification consists of replacing the SHA-512 IV with an IV 
defined by hashing the
     string "SHA512/224".

That's not quite correct.  It would lead the reader to believe that the 
string "SHA-512/224" was simply hashed with SHA-512.  But it is actually 
hashed with a modified hash.

I've not worked though the examples in the eprint to see whether the 
FIPS 180-4 scheme is actually followed, or whether it follows what the 
text seems so say.

Now on a different subtopic:

Many high-end embedded devices have hardware hash engines with the IV in 
the silicon.  A scheme like this will force a pure software 
implementation of the hashing.  I join Björn and Eric in advocating 
caution about a design that makes existing HW hash engines and software 
libraries unusable.

What the paper is trying to do is an expansion operation to get, in one 
example, 1056 bits out of SHA-512.  Would there be any security 
consequences to just prefixing the message with "SHA-512/1056part0" 
(etc)  zero-padded out to the input block size and hashing with SHA-512 
4 times?  That way any SHA-512 HW engine or software implementation 
would work.  It could be optimized by taking the state after the first 
block has been processed and using that as the IV (4 IVs, of course).

     --David


On 7/12/15 2:59 PM, Eric Rescorla wrote:
> Caution: I have not reviewed the EdDSA proposal yet, so I'm operating 
> solely on
> Bjorn's summary. With that said, it would be very nice to be able to 
> use a stock
> SHA-2 implementation.
>
> -Ekr
>
>
> On Sun, Jul 12, 2015 at 1:50 PM, Björn Edström <be@bjrn.se 
> <mailto:be@bjrn.se>> wrote:
>
>     Re: the EdDSA proposal from Lange et.al <http://et.al>: My
>     software engineer perspective:
>
>     I'd also express some concern with the SHA-2 IV modification. The
>     implementer now suddenly has to ship his code with a second
>     implementation of SHA-2, because I know of no libraries that allow for
>     changing the IV easily. If I were to implement this proposal for say
>     OpenSSL or OpenSSH I'd have to do some intrusive internal changes if I
>     don't want to ship with a completely separate implementation just for
>     this schema. For example OpenSSL, as well as many other similar
>     projects, make the assumption that the IV:s are internal and are thus
>     abstracted away from their library implementation. My 2 cents would
>     prefer something more standard (instead of changing the IV, maybe use
>     the strings as an HMAC key, for example - see ideas in my previous
>     email on this very topic).
>
>     (Of course, with algorithms such as Keccak etc the old assumptions
>     about how a "hash API" should look like have to change anyway, but
>     that's a separate topic.)
>
>     Cheers
>     Björn
>
>
>
>
>     On Mon, Jul 6, 2015 at 8:45 AM, Ilari Liusvaara
>     <ilari.liusvaara@elisanet.fi <mailto:ilari.liusvaara@elisanet.fi>>
>     wrote:
>     > On Sun, Jul 05, 2015 at 08:14:57PM +0200, Tanja Lange wrote:
>     >>
>     >> Please find our suggestion for a generalized EdDSA signature
>     scheme at
>     >> http://eprint.iacr.org/2015/677
>     >
>     > Some quick comments:
>     >
>     > - Replacing IVs in SHA-2 computations is pretty unsupported.
>     > - If one allowed asymmetric splits, generating the 1056 bits for
>     E-521
>     >   would only take 3 rounds, not 4.
>     > - Ed448 could use Curve448-compatible basepoint instead.
>     > - Could be possible to use SHA-512 for the verifier-visible hash
>     >   (which would likely cause a nasty mess on hashes to use)?
>     > - Some earlier discussions brought up variable hash truncation.
>     >   Looks like SHAKE* actually truncates, so one has to keep
>     >   output length constant.
>     > - Specifying prehash on key takes preknowledge on key on IUF
>     >   (unless one guesses, possibly multiple guesses).
>     >
>     >
>     > -Ilari
>     >
>     > _______________________________________________
>     > Cfrg mailing list
>     > Cfrg@irtf.org <mailto:Cfrg@irtf.org>
>     > http://www.irtf.org/mailman/listinfo/cfrg
>
>     _______________________________________________
>     Cfrg mailing list
>     Cfrg@irtf.org <mailto:Cfrg@irtf.org>
>     http://www.irtf.org/mailman/listinfo/cfrg
>
>
>
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg


--------------020407010407010606080401
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">FIPS 180-4 specifies how to compute the
      hash for a truncation of another hash.   Here is a quick summary
      by example using SHA-512/224.  Make a new hash function by XORin
      the SHA-512 IV with 0xa5a5a5....  Then use that hash function to
      compute the hash of the ASCII string "SHA-512/224".  The result is
      the IV.<br>
      <br>
      The eprint paper <a moz-do-not-send="true"
        href="http://eprint.iacr.org/2015/677" rel="noreferrer"
        target="_blank">http://eprint.iacr.org/2015/677</a> says<br>
      <br>
      <meta http-equiv="content-type" content="text/html;
        charset=windows-1252">
          FIPS 180-4 defines SHA-512/224 s the 224- bit truncation of a
      modified version of SHA-512.   <br>
          The modification consists of replacing the SHA-512 IV with an
      IV defined by hashing the <br>
          string "SHA512/224".  <br>
      <br>
      That's not quite correct.  It would lead the reader to believe
      that the string "SHA-512/224" was simply hashed with SHA-512.  But
      it is actually hashed with a modified hash. <br>
      <br>
      I've not worked though the examples in the eprint to see whether
      the FIPS 180-4 scheme is actually followed, or whether it follows
      what the text seems so say.<br>
      <br>
      Now on a different subtopic:<br>
      <br>
      Many high-end embedded devices have hardware hash engines with the
      IV in the silicon.  A scheme like this will force a pure software
      implementation of the hashing.  I join <span class="HOEnZb"></span>Björn
      and Eric in advocating caution about a design that makes existing
      HW hash engines and software libraries unusable.  <br>
      <br>
      What the paper is trying to do is an expansion operation to get,
      in one example, 1056 bits out of SHA-512.  Would there be any
      security consequences to just prefixing the message with
      <meta http-equiv="content-type" content="text/html;
        charset=windows-1252">
      "SHA-512/1056part0" (etc)  zero-padded out to the input block size
      and hashing with SHA-512 4 times?  That way any SHA-512 HW engine
      or software implementation would work.  It could be optimized by
      taking the state after the first block has been processed and
      using that as the IV (4 IVs, of course).  <br>
      <br>
          --David<br>
      <br>
      <br>
      On 7/12/15 2:59 PM, Eric Rescorla wrote:<br>
    </div>
    <blockquote
cite="mid:CABcZeBPgOvJayQueLm6cig8UsXTKbeDj6g3Mwq-KTPqa+Y_9EQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">Caution: I have not reviewed the EdDSA proposal
        yet, so I'm operating solely on
        <div>Bjorn's summary. With that said, it would be very nice to
          be able to use a stock</div>
        <div>SHA-2 implementation.</div>
        <div><br>
        </div>
        <div>-Ekr</div>
        <div><br>
          <div class="gmail_extra"><br>
            <div class="gmail_quote">On Sun, Jul 12, 2015 at 1:50 PM,
              Björn Edström <span dir="ltr">&lt;<a
                  moz-do-not-send="true" href="mailto:be@bjrn.se"
                  target="_blank">be@bjrn.se</a>&gt;</span> wrote:<br>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">Re:
                the EdDSA proposal from Lange <a moz-do-not-send="true"
                  href="http://et.al" rel="noreferrer" target="_blank">et.al</a>:
                My software engineer perspective:<br>
                <br>
                I'd also express some concern with the SHA-2 IV
                modification. The<br>
                implementer now suddenly has to ship his code with a
                second<br>
                implementation of SHA-2, because I know of no libraries
                that allow for<br>
                changing the IV easily. If I were to implement this
                proposal for say<br>
                OpenSSL or OpenSSH I'd have to do some intrusive
                internal changes if I<br>
                don't want to ship with a completely separate
                implementation just for<br>
                this schema. For example OpenSSL, as well as many other
                similar<br>
                projects, make the assumption that the IV:s are internal
                and are thus<br>
                abstracted away from their library implementation. My 2
                cents would<br>
                prefer something more standard (instead of changing the
                IV, maybe use<br>
                the strings as an HMAC key, for example - see ideas in
                my previous<br>
                email on this very topic).<br>
                <br>
                (Of course, with algorithms such as Keccak etc the old
                assumptions<br>
                about how a "hash API" should look like have to change
                anyway, but<br>
                that's a separate topic.)<br>
                <br>
                Cheers<br>
                <span class="HOEnZb"><font color="#888888">Björn<br>
                  </font></span>
                <div class="HOEnZb">
                  <div class="h5"><br>
                    <br>
                    <br>
                    <br>
                    On Mon, Jul 6, 2015 at 8:45 AM, Ilari Liusvaara<br>
                    &lt;<a moz-do-not-send="true"
                      href="mailto:ilari.liusvaara@elisanet.fi">ilari.liusvaara@elisanet.fi</a>&gt;
                    wrote:<br>
                    &gt; On Sun, Jul 05, 2015 at 08:14:57PM +0200, Tanja
                    Lange wrote:<br>
                    &gt;&gt;<br>
                    &gt;&gt; Please find our suggestion for a
                    generalized EdDSA signature scheme at<br>
                    &gt;&gt;       <a moz-do-not-send="true"
                      href="http://eprint.iacr.org/2015/677"
                      rel="noreferrer" target="_blank">http://eprint.iacr.org/2015/677</a><br>
                    &gt;<br>
                    &gt; Some quick comments:<br>
                    &gt;<br>
                    &gt; - Replacing IVs in SHA-2 computations is pretty
                    unsupported.<br>
                    &gt; - If one allowed asymmetric splits, generating
                    the 1056 bits for E-521<br>
                    &gt;   would only take 3 rounds, not 4.<br>
                    &gt; - Ed448 could use Curve448-compatible basepoint
                    instead.<br>
                    &gt; - Could be possible to use SHA-512 for the
                    verifier-visible hash<br>
                    &gt;   (which would likely cause a nasty mess on
                    hashes to use)?<br>
                    &gt; - Some earlier discussions brought up variable
                    hash truncation.<br>
                    &gt;   Looks like SHAKE* actually truncates, so one
                    has to keep<br>
                    &gt;   output length constant.<br>
                    &gt; - Specifying prehash on key takes preknowledge
                    on key on IUF<br>
                    &gt;   (unless one guesses, possibly multiple
                    guesses).<br>
                    &gt;<br>
                    &gt;<br>
                    &gt; -Ilari<br>
                    &gt;<br>
                    &gt; _______________________________________________<br>
                    &gt; Cfrg mailing list<br>
                    &gt; <a moz-do-not-send="true"
                      href="mailto:Cfrg@irtf.org">Cfrg@irtf.org</a><br>
                    &gt; <a moz-do-not-send="true"
                      href="http://www.irtf.org/mailman/listinfo/cfrg"
                      rel="noreferrer" target="_blank">http://www.irtf.org/mailman/listinfo/cfrg</a><br>
                    <br>
                    _______________________________________________<br>
                    Cfrg mailing list<br>
                    <a moz-do-not-send="true"
                      href="mailto:Cfrg@irtf.org">Cfrg@irtf.org</a><br>
                    <a moz-do-not-send="true"
                      href="http://www.irtf.org/mailman/listinfo/cfrg"
                      rel="noreferrer" target="_blank">http://www.irtf.org/mailman/listinfo/cfrg</a><br>
                  </div>
                </div>
              </blockquote>
            </div>
            <br>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Cfrg mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Cfrg@irtf.org">Cfrg@irtf.org</a>
<a class="moz-txt-link-freetext" href="http://www.irtf.org/mailman/listinfo/cfrg">http://www.irtf.org/mailman/listinfo/cfrg</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>

--------------020407010407010606080401--


From nobody Sun Jul 12 18:30:52 2015
Return-Path: <watsonbladd@gmail.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 D57EE1ACCF5 for <cfrg@ietfa.amsl.com>; Sun, 12 Jul 2015 18:30:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.499
X-Spam-Level: 
X-Spam-Status: No, score=0.499 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, J_CHICKENPOX_21=0.6, SPF_PASS=-0.001] 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 ZPHOCPjC34VR for <cfrg@ietfa.amsl.com>; Sun, 12 Jul 2015 18:30:50 -0700 (PDT)
Received: from mail-wg0-x229.google.com (mail-wg0-x229.google.com [IPv6:2a00:1450:400c:c00::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BE25F1ACCF4 for <cfrg@irtf.org>; Sun, 12 Jul 2015 18:30:49 -0700 (PDT)
Received: by wgxm20 with SMTP id m20so101364740wgx.3 for <cfrg@irtf.org>; Sun, 12 Jul 2015 18:30:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=y4sRwWZrNMgEoLRDJLhEuJcyZVHnHoF9Pv8cp8wwFtY=; b=VZYTP07UprD3ACyFsWtucWPUZseM+cBkcN8FFx7iPnOjkfOAbiywzQC5CfBIkTbAvQ IALrBy8VbUO4IWYiyO6Tf/NVTh4AHUXNcOVW+B4ZoQg4hJuCSGM8wkk92AZiEFSQ/Iqv aQW3sLXzfpg3b9vIoErdIQqPcDeA2xVEONPDYtGico1Wyug8b1C1JiNwtxIRXnIwj8Rh KdiAxkeKk0N27moIsr0uvBBodYPJ+QVKAHeFJw/NM/CC9xWNmErR87E7sPpIW5Pcln1m FUe+PLKYQI/8BrWJZa1qmC7ng7yeuwLCbBpl7xG+Cj8WFuZa37xMib0r2fMzFlrMqwuN CMLQ==
MIME-Version: 1.0
X-Received: by 10.194.20.161 with SMTP id o1mr64965780wje.32.1436751048486; Sun, 12 Jul 2015 18:30:48 -0700 (PDT)
Received: by 10.194.20.97 with HTTP; Sun, 12 Jul 2015 18:30:48 -0700 (PDT)
In-Reply-To: <55A2F62C.3040200@sbcglobal.net>
References: <5586895A.3020607@isode.com> <20150705083434.GS20757@cph.win.tue.nl> <20150705181457.GA11440@cph.win.tue.nl> <20150706064546.GB5437@LK-Perkele-VII> <CAA4PzX3tmx=TwAztvjkMh0mty8XByQju1K+JjOXbxnsCkn_HGQ@mail.gmail.com> <CABcZeBPgOvJayQueLm6cig8UsXTKbeDj6g3Mwq-KTPqa+Y_9EQ@mail.gmail.com> <55A2F62C.3040200@sbcglobal.net>
Date: Sun, 12 Jul 2015 18:30:48 -0700
Message-ID: <CACsn0c=BivtCB-oezvuJW_OwKV_GPvd2Wfh_6UO6bw4KmjoCVw@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: David Jacobson <dmjacobson@sbcglobal.net>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/bMxjWE3cI05_JNK00zp8bezFjJ8>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Soliciting EC signature scheme proposals
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: <https://mailarchive.ietf.org/arch/browse/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, 13 Jul 2015 01:30:52 -0000

On Sun, Jul 12, 2015 at 4:20 PM, David Jacobson
<dmjacobson@sbcglobal.net> wrote:
> FIPS 180-4 specifies how to compute the hash for a truncation of another
> hash.   Here is a quick summary by example using SHA-512/224.  Make a new
> hash function by XORin the SHA-512 IV with 0xa5a5a5....  Then use that ha=
sh
> function to compute the hash of the ASCII string "SHA-512/224".  The resu=
lt
> is the IV.
>
> The eprint paper http://eprint.iacr.org/2015/677 says
>
>     FIPS 180-4 defines SHA-512/224 s the 224- bit truncation of a modifie=
d
> version of SHA-512.
>     The modification consists of replacing the SHA-512 IV with an IV defi=
ned
> by hashing the
>     string "SHA512/224".
>
> That's not quite correct.  It would lead the reader to believe that the
> string "SHA-512/224" was simply hashed with SHA-512.  But it is actually
> hashed with a modified hash.
>
> I've not worked though the examples in the eprint to see whether the FIPS
> 180-4 scheme is actually followed, or whether it follows what the text se=
ems
> so say.
>
> Now on a different subtopic:
>
> Many high-end embedded devices have hardware hash engines with the IV in =
the
> silicon.  A scheme like this will force a pure software implementation of
> the hashing.  I join Bj=C3=B6rn and Eric in advocating caution about a de=
sign
> that makes existing HW hash engines and software libraries unusable.
>
> What the paper is trying to do is an expansion operation to get, in one
> example, 1056 bits out of SHA-512.  Would there be any security consequen=
ces
> to just prefixing the message with "SHA-512/1056part0" (etc)  zero-padded
> out to the input block size and hashing with SHA-512 4 times?  That way a=
ny
> SHA-512 HW engine or software implementation would work.  It could be
> optimized by taking the state after the first block has been processed an=
d
> using that as the IV (4 IVs, of course).

This is almost the scheme the eprint proposes, except with a change in
how the length of the message is used. It's clear to me that there is
very little to differentiate between different schemes at this point.

>
>     --David
>
>
>
> On 7/12/15 2:59 PM, Eric Rescorla wrote:
>
> Caution: I have not reviewed the EdDSA proposal yet, so I'm operating sol=
ely
> on
> Bjorn's summary. With that said, it would be very nice to be able to use =
a
> stock
> SHA-2 implementation.
>
> -Ekr
>
>
> On Sun, Jul 12, 2015 at 1:50 PM, Bj=C3=B6rn Edstr=C3=B6m <be@bjrn.se> wro=
te:
>>
>> Re: the EdDSA proposal from Lange et.al: My software engineer perspectiv=
e:
>>
>> I'd also express some concern with the SHA-2 IV modification. The
>> implementer now suddenly has to ship his code with a second
>> implementation of SHA-2, because I know of no libraries that allow for
>> changing the IV easily. If I were to implement this proposal for say
>> OpenSSL or OpenSSH I'd have to do some intrusive internal changes if I
>> don't want to ship with a completely separate implementation just for
>> this schema. For example OpenSSL, as well as many other similar
>> projects, make the assumption that the IV:s are internal and are thus
>> abstracted away from their library implementation. My 2 cents would
>> prefer something more standard (instead of changing the IV, maybe use
>> the strings as an HMAC key, for example - see ideas in my previous
>> email on this very topic).
>>
>> (Of course, with algorithms such as Keccak etc the old assumptions
>> about how a "hash API" should look like have to change anyway, but
>> that's a separate topic.)
>>
>> Cheers
>> Bj=C3=B6rn
>>
>>
>>
>>
>> On Mon, Jul 6, 2015 at 8:45 AM, Ilari Liusvaara
>> <ilari.liusvaara@elisanet.fi> wrote:
>> > On Sun, Jul 05, 2015 at 08:14:57PM +0200, Tanja Lange wrote:
>> >>
>> >> Please find our suggestion for a generalized EdDSA signature scheme a=
t
>> >>       http://eprint.iacr.org/2015/677
>> >
>> > Some quick comments:
>> >
>> > - Replacing IVs in SHA-2 computations is pretty unsupported.
>> > - If one allowed asymmetric splits, generating the 1056 bits for E-521
>> >   would only take 3 rounds, not 4.
>> > - Ed448 could use Curve448-compatible basepoint instead.
>> > - Could be possible to use SHA-512 for the verifier-visible hash
>> >   (which would likely cause a nasty mess on hashes to use)?
>> > - Some earlier discussions brought up variable hash truncation.
>> >   Looks like SHAKE* actually truncates, so one has to keep
>> >   output length constant.
>> > - Specifying prehash on key takes preknowledge on key on IUF
>> >   (unless one guesses, possibly multiple guesses).
>> >
>> >
>> > -Ilari
>> >
>> > _______________________________________________
>> > Cfrg mailing list
>> > Cfrg@irtf.org
>> > http://www.irtf.org/mailman/listinfo/cfrg
>>
>> _______________________________________________
>> Cfrg mailing list
>> Cfrg@irtf.org
>> http://www.irtf.org/mailman/listinfo/cfrg
>
>
>
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg
>
>
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg
>



--=20
"Man is born free, but everywhere he is in chains".
--Rousseau.


From nobody Mon Jul 13 02:19:06 2015
Return-Path: <djb-dsn2-1406711340.7506@cr.yp.to>
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 88E7D1A1A24 for <cfrg@ietfa.amsl.com>; Mon, 13 Jul 2015 02:19:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.896
X-Spam-Level: **
X-Spam-Status: No, score=2.896 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HELO_EQ_NL=0.55, HOST_EQ_NL=1.545, UNPARSEABLE_RELAY=0.001] 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 WZnS4pHgJ8PU for <cfrg@ietfa.amsl.com>; Mon, 13 Jul 2015 02:19:03 -0700 (PDT)
Received: from calvin.win.tue.nl (calvin.win.tue.nl [131.155.70.11]) by ietfa.amsl.com (Postfix) with SMTP id 78A281A1A1E for <cfrg@irtf.org>; Mon, 13 Jul 2015 02:19:03 -0700 (PDT)
Received: (qmail 7714 invoked by uid 1017); 13 Jul 2015 09:19:21 -0000
Received: from unknown (unknown) by unknown with QMTP; 13 Jul 2015 09:19:21 -0000
Received: (qmail 17895 invoked by uid 1000); 13 Jul 2015 09:18:38 -0000
Date: 13 Jul 2015 09:18:38 -0000
Message-ID: <20150713091838.17893.qmail@cr.yp.to>
From: "D. J. Bernstein" <djb@cr.yp.to>
To: cfrg@irtf.org
Mail-Followup-To: cfrg@irtf.org
In-Reply-To: <20150706064546.GB5437@LK-Perkele-VII>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/vJLI4uFiLiP4oX2B5-5VrC6SlhI>
Subject: [Cfrg] principles in choosing hash functions for signatures
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: <https://mailarchive.ietf.org/arch/browse/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, 13 Jul 2015 09:19:05 -0000

Ilari Liusvaara writes:
> - Specifying prehash on key takes preknowledge on key on IUF
>   (unless one guesses, possibly multiple guesses).

All of our prehashing parameter examples for EdDSA use SHA-512 as the
prehash. This means that, no matter what happens in the final signing
process, you start by computing SHA-512(m). The key and curve size
aren't relevant until the finalization (the constant-size PureEdDSA
computation). IUF is fully supported; there's no guesswork.

Of course, any protocol that doesn't need single-pass IUF, or that
controls its message lengths, can and should simply use PureEdDSA: i.e.,
use the identity function as the prehashing function.

> - Could be possible to use SHA-512 for the verifier-visible hash
>   (which would likely cause a nasty mess on hashes to use)?

All of our examples use SHA-512. I'm not sure what your question is.

> - If one allowed asymmetric splits, generating the 1056 bits for E-521
>   would only take 3 rounds, not 4.

Sure, but if an implementation wants to integrate the hash details into
the key derivation then having an even split simplifies the data flow.
The cost difference is negligible either way.

> - Replacing IVs in SHA-2 computations is pretty unsupported.

The great thing about standards is that there are so many of them to
choose from. :-)

Our long-hash examples follow the pattern of the SHA-512/224 and
SHA-512/256 standards from FIPS 180-4. It's of course possible to
replace the FIPS 180-4 approach with prefixed SHA-512, but would this
actually produce any simplifications for a library designer who wants to
add support for a new signature system?

A cleaner possibility (with other advantages) is SHA-3, specifically
SHAKE256. The SHA-3 draft standard is reported to be completely stable,
simply waiting for a final signature from the Secretary of Commerce.

It would be useful to collect data regarding any actual difficulties of
implementing these standards. For example, in every IUF API I've seen
for SHA-512, changing the IV is a trivial matter of overwriting the IV
copied by the Init function, but maybe there are tougher situations.

> - Some earlier discussions brought up variable hash truncation.
>   Looks like SHAKE* actually truncates, so one has to keep
>   output length constant.

EdDSA already has several levels of defense against this type of attack,
so this really isn't an issue for the hash-function selection.

As a reminder, two signatures (R,r+H(R,A,M)s) and (R',r'+H(R',A,M')s)
reveal the difference (r-r')+(H(R,A,M)-H(R',A,M'))s. If r-r' is limited
to an interval, and H(R,A,M)-H(R',A,M') is nonzero, then this limits s
to an interval divided by a public number. A well-known extreme case is
that repetitions r=r' with M!=M' are an instant disaster. As a less
extreme case, if r-r' is in an interval of length 2^128 then "kangaroo"
discrete-log methods find s in 2^64 operations. Even a small bias in
r-r', say being limited to half of the whole discrete-log interval, is
breakable by "lattice attacks" if it happens often enough.

Normally we generate r and r' as secret-prefix hashes of M and M'
respectively. The attack under discussion takes M'=M, which normally
produces r'=r and thus H(R,A,M)-H(R',A,M')=0, revealing nothing; but the
attack hopes that the hash function producing r' is instead chosen as a
truncation of the hash function producing r, so that r-r' has only the
truncated bits and H(R,A,M)-H(R',A,M') is nonzero.

In EdDSA, the number of bits produced by the hash function is always 2b.
The size parameter b is also the length of the secret key. Consequently,
if one hash function used in EdDSA is a truncation of the other, then
the b values are different, so the secret keys don't have the same
lengths---e.g., one Ed41417 secret key and one Ed448 secret key. The
secret keys for different signature systems are of course chosen
independently, producing unrelated hash prefixes and thus completely
breaking the relationship between r and r'.

Even if someone violates standard key-management practice and tries,
e.g., padding an Ed41417 secret key to obtain an Ed448 secret key, the
attack doesn't work. These padded keys are hashed to produce s and the
hash prefix; the different input length for the hash again produces
unrelated outputs, and in particular unrelated hash prefixes, again
completely breaking the relationship between r and r'.

---Dan


From nobody Mon Jul 13 03:21:00 2015
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 0C9641A1B81 for <cfrg@ietfa.amsl.com>; Mon, 13 Jul 2015 03:20:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.799
X-Spam-Level: 
X-Spam-Status: No, score=0.799 tagged_above=-999 required=5 tests=[BAYES_50=0.8, 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 olEBb4TSpjJ2 for <cfrg@ietfa.amsl.com>; Mon, 13 Jul 2015 03:20:55 -0700 (PDT)
Received: from emh03.mail.saunalahti.fi (emh03.mail.saunalahti.fi [62.142.5.109]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4AFE41A1B7C for <cfrg@irtf.org>; Mon, 13 Jul 2015 03:20:54 -0700 (PDT)
Received: from LK-Perkele-VII (a91-155-194-207.elisa-laajakaista.fi [91.155.194.207]) by emh03.mail.saunalahti.fi (Postfix) with ESMTP id 6E32318879E for <cfrg@irtf.org>; Mon, 13 Jul 2015 13:20:52 +0300 (EEST)
Date: Mon, 13 Jul 2015 13:20:51 +0300
From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
To: cfrg@irtf.org
Message-ID: <20150713102051.GA18939@LK-Perkele-VII>
References: <20150706064546.GB5437@LK-Perkele-VII> <20150713091838.17893.qmail@cr.yp.to>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <20150713091838.17893.qmail@cr.yp.to>
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/mmL-VmBWDgLWUq1sr7DAgDu6NEA>
Subject: Re: [Cfrg] principles in choosing hash functions for signatures
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: <https://mailarchive.ietf.org/arch/browse/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, 13 Jul 2015 10:20:58 -0000

On Mon, Jul 13, 2015 at 09:18:38AM -0000, D. J. Bernstein wrote:
> Ilari Liusvaara writes:
> > - Specifying prehash on key takes preknowledge on key on IUF
> >   (unless one guesses, possibly multiple guesses).
> 
> All of our prehashing parameter examples for EdDSA use SHA-512 as the
> prehash. This means that, no matter what happens in the final signing
> process, you start by computing SHA-512(m). The key and curve size
> aren't relevant until the finalization (the constant-size PureEdDSA
> computation). IUF is fully supported; there's no guesswork.

If to prehash using SHA-512 or use PureEdDSA is controlled by the key,
right?
 
> Of course, any protocol that doesn't need single-pass IUF, or that
> controls its message lengths, can and should simply use PureEdDSA: i.e.,
> use the identity function as the prehashing function.

Aside: TLS 1.2 is practicularly odd case. Server signatures can
easily use offline mode (e.g. for Curve25519, the amount of data to
sign would be 100 bytes, all available in one shot, especially with
implementation support for scatter-gather message processing), whereas
Client signatures rather use prehashing (easily reaching multiple
kilobytes accumulated over multiple messages).

> > - Could be possible to use SHA-512 for the verifier-visible hash
> >   (which would likely cause a nasty mess on hashes to use)?
> 
> All of our examples use SHA-512. I'm not sure what your question is.

Using raw SHA-512 for H(R,A,M). But that's probably too messy, since
other hashes that have variable-length outputs (e.g. SHAKE256) are
supported too.

> > - Replacing IVs in SHA-2 computations is pretty unsupported.
> 
> The great thing about standards is that there are so many of them to
> choose from. :-)
> 
> Our long-hash examples follow the pattern of the SHA-512/224 and
> SHA-512/256 standards from FIPS 180-4. It's of course possible to
> replace the FIPS 180-4 approach with prefixed SHA-512, but would this
> actually produce any simplifications for a library designer who wants to
> add support for a new signature system?

Not a lot supports SHA-512/256. And even stuff that supports it, doesn't
support loading custom IVs.
 
> A cleaner possibility (with other advantages) is SHA-3, specifically
> SHAKE256. The SHA-3 draft standard is reported to be completely stable,
> simply waiting for a final signature from the Secretary of Commerce.

Unfortunately SHA-3 is regarded as bit "bleh" at current point (due
to slowish speeds combined with hardware focus). So I don't expect
real wide and fast uptake.

Blake2b seems to have gained fair bit of popularity (due to very
high speed together with high security margins), but it is limited to
512-bit output too.
 
> It would be useful to collect data regarding any actual difficulties of
> implementing these standards. For example, in every IUF API I've seen
> for SHA-512, changing the IV is a trivial matter of overwriting the IV
> copied by the Init function, but maybe there are tougher situations.

With any sort of "safe" languages, one can't just overwrite the IV,
and even with "unsafe" languages, overwriting IV is pretty hacky
(breaks encapsulation in really nasty way).

> > - Some earlier discussions brought up variable hash truncation.
> >   Looks like SHAKE* actually truncates, so one has to keep
> >   output length constant.
> 
> In EdDSA, the number of bits produced by the hash function is always 2b.
> The size parameter b is also the length of the secret key. Consequently,
> if one hash function used in EdDSA is a truncation of the other, then
> the b values are different, so the secret keys don't have the same
> lengths---e.g., one Ed41417 secret key and one Ed448 secret key. The
> secret keys for different signature systems are of course chosen
> independently, producing unrelated hash prefixes and thus completely
> breaking the relationship between r and r'.

Yeah, the hash length is fixed, which prevents attacks from hash
truncation. And using unrelated keys for different curves is the
safe way (it seems surprisingly difficult to deal with curves of
the same size, or worse, isogenous curves otherwise).


-Ilari


From nobody Mon Jul 13 05:30:20 2015
Return-Path: <quynh.dang@nist.gov>
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 173CD1B2A0F for <cfrg@ietfa.amsl.com>; Mon, 13 Jul 2015 05:30:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level: 
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, 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 4P_X0aB-JThC for <cfrg@ietfa.amsl.com>; Mon, 13 Jul 2015 05:30:17 -0700 (PDT)
Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0146.outbound.protection.outlook.com [65.55.169.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 877051B2A08 for <cfrg@irtf.org>; Mon, 13 Jul 2015 05:30:17 -0700 (PDT)
Received: from BN1PR09MB123.namprd09.prod.outlook.com (10.255.200.25) by BN1PR09MB0259.namprd09.prod.outlook.com (10.160.80.20) with Microsoft SMTP Server (TLS) id 15.1.213.14; Mon, 13 Jul 2015 12:30:16 +0000
Received: from BN1PR09MB124.namprd09.prod.outlook.com (10.255.200.27) by BN1PR09MB123.namprd09.prod.outlook.com (10.255.200.25) with Microsoft SMTP Server (TLS) id 15.1.213.14; Mon, 13 Jul 2015 12:30:15 +0000
Received: from BN1PR09MB124.namprd09.prod.outlook.com ([10.255.200.27]) by BN1PR09MB124.namprd09.prod.outlook.com ([10.255.200.27]) with mapi id 15.01.0213.000; Mon, 13 Jul 2015 12:30:15 +0000
From: "Dang, Quynh" <quynh.dang@nist.gov>
To: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
Thread-Topic: [Cfrg] principles in choosing hash functions for signatures
Thread-Index: AQHQvU0ASsTP85G4tU2mVzGTjE+HJ53ZMJWAgAAfulU=
Date: Mon, 13 Jul 2015 12:30:15 +0000
Message-ID: <BN1PR09MB124C40FA4F54DA8B45C9AE9F39C0@BN1PR09MB124.namprd09.prod.outlook.com>
References: <20150706064546.GB5437@LK-Perkele-VII> <20150713091838.17893.qmail@cr.yp.to>, <20150713102051.GA18939@LK-Perkele-VII>
In-Reply-To: <20150713102051.GA18939@LK-Perkele-VII>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: irtf.org; dkim=none (message not signed) header.d=none;
x-originating-ip: [129.6.230.6]
x-microsoft-exchange-diagnostics: 1; BN1PR09MB123; 5:BA1RXGLZsuRIF+OeBEdfguL3AL0u9BhxGQOi2rUhGLSjcn/BLTu2zD481MeVBGWlzQqq7+whRvdOpVilciJKV5UkYt/uY2yT4bSpRUh5F17sFML28tNZERkxl2oQI0s0RoA+DE3jFt4gZIwpipzurg==; 24:loNphuN9TM51uWUzbkQqyHZyATsAWyVj6D+90gcngdabjrcUHKY1rodtY7qx8TkqTbhr6dA4JQUBuSQCyndH96zhybHFsPCyWv/doSYNPUg=; 20:ru+ZgSF+JhhYh4hJtCUas9EQFFgwOLAOVdWUobQArBf+AMgS+mCq+EX2bibMzi2+kbhsyNK/3fM2+JmfpsBLCQ==
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:; SRVR:BN1PR09MB123; UriScan:; BCL:0; PCL:0; RULEID:; SRVR:BN1PR09MB0259; 
bn1pr09mb123: X-MS-Exchange-Organization-RulesExecuted
x-microsoft-antispam-prvs: <BN1PR09MB1235763F45F8F488B1D97B8F39C0@BN1PR09MB123.namprd09.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:BN1PR09MB123; BCL:0; PCL:0; RULEID:; SRVR:BN1PR09MB123; 
x-forefront-prvs: 0636271852
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(51704005)(24454002)(377454003)(92566002)(87936001)(2656002)(19580405001)(19580395003)(1720100001)(46102003)(54356999)(50986999)(86362001)(66066001)(76576001)(76176999)(106116001)(77156002)(62966003)(74316001)(5001960100002)(40100003)(110136002)(189998001)(2950100001)(77096005)(99286002)(5002640100001)(33656002)(5003600100002)(15975445007)(102836002)(2900100001); DIR:OUT; SFP:1102; SCL:1; SRVR:BN1PR09MB123; H:BN1PR09MB124.namprd09.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jul 2015 12:30:15.2712 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 2ab5d82f-d8fa-4797-a93e-054655c61dec
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1PR09MB123
X-Microsoft-Exchange-Diagnostics: 1; BN1PR09MB0259; 2:TsOh26Ebcg9ofl/cFP3zIDmlBudmO22ZovjHCsoOlXd1crvbPufUKqk+afoBPpiy; 3:UEJ0/3nLdGUdOHkHZqeMAiIt/8QXAP87eAwIwsqVLHeyMGyaq0YWjK6FNi3D/92Lv2qWBaXqxozA2k8Tbwg0J3LBvLOYvCvULPd923rqIDYXOz1aVinwLjLFamCfzsJKD8FLJwOaRljVMiFGfA2hNg==; 25:d0cs6+T8rOQP99ljZN4WeY7Mpn6Z2ZYcPx+KbGi/biPixyYhXANHjpx+ctLCirrHtMFlFuUXWYK27SiFDeghTELb2wbASOiEaLuO+2M4PiGbVxHNJAQXP9PsJ+G8GINdqom2M5oCijHk5wRAOWFwAOfKGqEKd03k4PRCo15YhQKJIvz7MRypiyS/9d4JtWnXeQq5peWB8/0wxIW/0QfutoaYPKxcmEx/8FaOpYUK2MuDhpN/Bzo3ll19rd/2RKlpqJbb1UWAwkUGvww2OoDezA==; 20:bUDzfHFPYKD1VAEZIviYRE7+JS4r4Dc113QDM5nzmhANvvvAI7JwBhhlgTQkOtyuSA2wTD8N4KXuH8vAb7hlpw==; 23:MhFyiVtRQdjL3qRpuSzMjGK/5iJpAN1mjIAjBFjqwryYo0k88N1C4oHXHc3WR/a4uSc/6bobsQwb3+Lfktx5anGmXuQzqgKlMyOdgj8ewum7DlMuL56642hDFXOd2IBsoCadlNSKU8jzQPVYbv2+6MLChfWyNjLn+ckvSZkirnxx+vYGakV/wqGHEFkbiNQuw8iavvUMMpKa/FyXRzfeI4ZtO9iubXhtXlGpZd1MZl7IQq1TNM/00fgY3vRoKoLv
BN1PR09MB0259: X-MS-Exchange-Organization-RulesExecuted
X-OriginatorOrg: nist.gov
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/Q7wkF57HBFRv5ZCva70OTuUbIIw>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] principles in choosing hash functions for signatures
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: <https://mailarchive.ietf.org/arch/browse/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, 13 Jul 2015 12:30:20 -0000

Hi Ilari,

>From the data on EBASH I showed you before, I think SHAKE256 has better per=
formance than SHA-512 over all.

One can always add encoding for output size at the end of an input message =
to SHAKE256 to prevent related outputs for different hash output sizes to h=
appen.

Quynh.=20

________________________________________
From: Cfrg <cfrg-bounces@irtf.org> on behalf of Ilari Liusvaara <ilari.lius=
vaara@elisanet.fi>
Sent: Monday, July 13, 2015 6:20 AM
To: cfrg@irtf.org
Subject: Re: [Cfrg] principles in choosing hash functions for signatures

On Mon, Jul 13, 2015 at 09:18:38AM -0000, D. J. Bernstein wrote:
> Ilari Liusvaara writes:
> > - Specifying prehash on key takes preknowledge on key on IUF
> >   (unless one guesses, possibly multiple guesses).
>
> All of our prehashing parameter examples for EdDSA use SHA-512 as the
> prehash. This means that, no matter what happens in the final signing
> process, you start by computing SHA-512(m). The key and curve size
> aren't relevant until the finalization (the constant-size PureEdDSA
> computation). IUF is fully supported; there's no guesswork.

If to prehash using SHA-512 or use PureEdDSA is controlled by the key,
right?

> Of course, any protocol that doesn't need single-pass IUF, or that
> controls its message lengths, can and should simply use PureEdDSA: i.e.,
> use the identity function as the prehashing function.

Aside: TLS 1.2 is practicularly odd case. Server signatures can
easily use offline mode (e.g. for Curve25519, the amount of data to
sign would be 100 bytes, all available in one shot, especially with
implementation support for scatter-gather message processing), whereas
Client signatures rather use prehashing (easily reaching multiple
kilobytes accumulated over multiple messages).

> > - Could be possible to use SHA-512 for the verifier-visible hash
> >   (which would likely cause a nasty mess on hashes to use)?
>
> All of our examples use SHA-512. I'm not sure what your question is.

Using raw SHA-512 for H(R,A,M). But that's probably too messy, since
other hashes that have variable-length outputs (e.g. SHAKE256) are
supported too.

> > - Replacing IVs in SHA-2 computations is pretty unsupported.
>
> The great thing about standards is that there are so many of them to
> choose from. :-)
>
> Our long-hash examples follow the pattern of the SHA-512/224 and
> SHA-512/256 standards from FIPS 180-4. It's of course possible to
> replace the FIPS 180-4 approach with prefixed SHA-512, but would this
> actually produce any simplifications for a library designer who wants to
> add support for a new signature system?

Not a lot supports SHA-512/256. And even stuff that supports it, doesn't
support loading custom IVs.

> A cleaner possibility (with other advantages) is SHA-3, specifically
> SHAKE256. The SHA-3 draft standard is reported to be completely stable,
> simply waiting for a final signature from the Secretary of Commerce.

Unfortunately SHA-3 is regarded as bit "bleh" at current point (due
to slowish speeds combined with hardware focus). So I don't expect
real wide and fast uptake.

Blake2b seems to have gained fair bit of popularity (due to very
high speed together with high security margins), but it is limited to
512-bit output too.

> It would be useful to collect data regarding any actual difficulties of
> implementing these standards. For example, in every IUF API I've seen
> for SHA-512, changing the IV is a trivial matter of overwriting the IV
> copied by the Init function, but maybe there are tougher situations.

With any sort of "safe" languages, one can't just overwrite the IV,
and even with "unsafe" languages, overwriting IV is pretty hacky
(breaks encapsulation in really nasty way).

> > - Some earlier discussions brought up variable hash truncation.
> >   Looks like SHAKE* actually truncates, so one has to keep
> >   output length constant.
>
> In EdDSA, the number of bits produced by the hash function is always 2b.
> The size parameter b is also the length of the secret key. Consequently,
> if one hash function used in EdDSA is a truncation of the other, then
> the b values are different, so the secret keys don't have the same
> lengths---e.g., one Ed41417 secret key and one Ed448 secret key. The
> secret keys for different signature systems are of course chosen
> independently, producing unrelated hash prefixes and thus completely
> breaking the relationship between r and r'.

Yeah, the hash length is fixed, which prevents attacks from hash
truncation. And using unrelated keys for different curves is the
safe way (it seems surprisingly difficult to deal with curves of
the same size, or worse, isogenous curves otherwise).


-Ilari

_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
http://www.irtf.org/mailman/listinfo/cfrg


From nobody Mon Jul 13 06:23:20 2015
Return-Path: <dmjacobson@sbcglobal.net>
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 350B51B2AA0 for <cfrg@ietfa.amsl.com>; Mon, 13 Jul 2015 06:23:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0
X-Spam-Level: 
X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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 o5A-ImqQy2je for <cfrg@ietfa.amsl.com>; Mon, 13 Jul 2015 06:23:17 -0700 (PDT)
Received: from nm10-vm5.access.bullet.mail.gq1.yahoo.com (nm10-vm5.access.bullet.mail.gq1.yahoo.com [216.39.63.128]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 52FC21B2A9E for <cfrg@irtf.org>; Mon, 13 Jul 2015 06:23:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s2048; t=1436793796; bh=75G7+Fn3AKv9Syk1rlQBSFGbwk+fcZ3ufIbmMRQmjko=; h=Date:From:To:Subject:References:In-Reply-To:From:Subject; b=JBu584h6hz/wyWYeA2rfMzXdkAKqeJonyhH7O0bboEFf3HBTACROjK3UBI3z57RAy3iQ+ONutkRK5vnkeYTLiIOPudmIRF47GD5fiwn/s6D/fpiOwDkAEwfHGAI0EnsaIomXW+JmOdduEbBZt8KcfCU8HnTQ7aYSufyZmmbJvUFA+F9e3+kwUA58I1f2dh/9gZkneVhJK/qb6dET5iSDV4p22tYTaZ2dpRwGs6jfV4lox8Dg5ZmVr2HN4hMTG6Co93LiI3dwbUztq+hhtp8ME68PIhRx5HZByzvmjhZYc8trra+UV/NatSZ4ISlWdEfGRTN9TUvn66+eqsgvql8cZg==
Received: from [216.39.60.175] by nm10.access.bullet.mail.gq1.yahoo.com with NNFMP; 13 Jul 2015 13:23:16 -0000
Received: from [67.195.22.118] by tm11.access.bullet.mail.gq1.yahoo.com with NNFMP; 13 Jul 2015 13:23:16 -0000
Received: from [127.0.0.1] by smtp113.sbc.mail.gq1.yahoo.com with NNFMP; 13 Jul 2015 13:23:16 -0000
X-Yahoo-Newman-Id: 722713.44818.bm@smtp113.sbc.mail.gq1.yahoo.com
X-Yahoo-Newman-Property: ymail-3
X-YMail-OSG: jPRVXgIVM1lovLuX3muek9IEB1qsIr.RHmDtZVHXEXsp5Hm DlpaiXvT4_fHcVJ3uLd_SajvHsF7yDjD0Mp4PDyxvvh01CFseDcDxFOHRfEZ v0CYT4aGpGkCattmX57qhbEBJdFUlZRDNQK4DjpBVzKHlILXo2TV8DV.I5AY mqPux8Gn7KQBkyo63HbtbNaGk2hNxppGCeraQvz_tSjux.zmLMGJzgTxo.0V ButYzp42GlLwBOOYV8REqbDwjRB_NVl2Fu6qq2vu5Tn8WPBE61bs87QlpeLJ jS3rCpkMcUVDf99.t1pz5HDQFqqIYET8aZS9lg.hmKTeaRvbnbMh1VvORGXr 0vVyFq9czf5_SPDCYkkVsiixRkmnF_0qXYAgvAZxTTgXWIpb1xemXZpjMMWd q4vZ6XlcJyJnuebXeJH5Aqs4oOLQhwG2OocCZIoLTc_PXevT9f.D0zakv8oF lmBOz2GnSVqkEMRPkwVySPwrJscSNAHgH.s3D2t53SFLYjAc5UZoHFfpdbec 3ppUvP.SG47dzhqld.OL7NouJPuVCACGfJkaMb5IPNcZtImFC2qIWG3YH
X-Yahoo-SMTP: nOrmCa6swBAE50FabWnlVFUpgFVJ9Gbi__8U5mpvhtQq7tTV1g--
Message-ID: <55A3BBC3.7030500@sbcglobal.net>
Date: Mon, 13 Jul 2015 06:23:15 -0700
From: David Jacobson <dmjacobson@sbcglobal.net>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: cfrg@irtf.org
References: <20150713091838.17893.qmail@cr.yp.to>
In-Reply-To: <20150713091838.17893.qmail@cr.yp.to>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/cn-iPAOp5gYxZ7F1w6UFOeZx8s0>
Subject: Re: [Cfrg] principles in choosing hash functions for signatures
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: <https://mailarchive.ietf.org/arch/browse/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, 13 Jul 2015 13:23:19 -0000

On 7/13/15 2:18 AM, D. J. Bernstein wrote:
> Ilari Liusvaara writes:
> [snip]
>> - Replacing IVs in SHA-2 computations is pretty unsupported.
> The great thing about standards is that there are so many of them to
> choose from. :-)
>
> Our long-hash examples follow the pattern of the SHA-512/224 and
> SHA-512/256 standards from FIPS 180-4. It's of course possible to
> replace the FIPS 180-4 approach with prefixed SHA-512, but would this
> actually produce any simplifications for a library designer who wants to
> add support for a new signature system?
>
> [snip]
>
> It would be useful to collect data regarding any actual difficulties of
> implementing these standards. For example, in every IUF API I've seen
> for SHA-512, changing the IV is a trivial matter of overwriting the IV
> copied by the Init function, but maybe there are tougher situations.
>

You are assuming an environment where the developer of the ECC code is 
also the developer of the hash.  But in industrial settings these are 
often developed by different groups.  The modularity police would not be 
at all happy to see the ECC code depending on the detailed layout of the 
context structure for the hash function.  In addition, in different 
products the code is linked with different hash function libraries.  On 
a low-end device, it will be a software implementation.  On higher end 
devices it will call into a hash engine.  (This is very common.)   That 
hash engine will likely have the IV fixed in silicon.  On an ARM V8A 
processor with the crypto extension, there are hardware instructions for 
accelerating SHA-256.  Right now, there are no instructions for SHA-512, 
but there might be in a future release.

Prefixed popular standard hash functions (e.g. SHA-256 and SHA-512) are 
much to be preferred over modifying IVs.  It is super simple: Just a one 
Update call passing in the appropriate literal.  It works with all 
Init-Update-Final implementations.

     --David Jacobson


From nobody Mon Jul 13 08:12:11 2015
Return-Path: <brian@briansmith.org>
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 EF1A91B2B93 for <cfrg@ietfa.amsl.com>; Mon, 13 Jul 2015 08:12:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.978
X-Spam-Level: 
X-Spam-Status: No, score=-1.978 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, 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 8XMP-3x297T2 for <cfrg@ietfa.amsl.com>; Mon, 13 Jul 2015 08:12:08 -0700 (PDT)
Received: from mail-ob0-f170.google.com (mail-ob0-f170.google.com [209.85.214.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 855901B2B7A for <cfrg@irtf.org>; Mon, 13 Jul 2015 08:12:08 -0700 (PDT)
Received: by obbgp5 with SMTP id gp5so118755362obb.0 for <cfrg@irtf.org>; Mon, 13 Jul 2015 08:12:08 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=GLvf7Uzy8+tVo+Ei99Psn2PVzSQgI5yx9/RHfyPS6p4=; b=BQVqUBPnS1f67ha+dCH9opxYERh8Q/BXCljGVy/K3Np1ri71fY+FreUK57ALoE+S5g RSKz3+3ubC0/UK8TCx+A6Gy6z6xPY7hRFjiL/1p+fo1B06zY5YP9ojrTDo1EoziNmUQC PNw9+f3w/PfUM8rAjQpWkid5Kl/IOHFblQtgPsEPGHi+LihpRkqa5YCLxtsYvzS3tvBI TSpgzToZCWiqwtzjX17Yfu+g608lpHj8u0Huzb9p/SkB+XvCir/emANyESV4fx6aaEwa 1YhqHkU+j15rIG33JKscnUC4xGcOeHGs1zunCNg5B0tK+Tm1Juubdje81jhwckznYON6 +nlg==
X-Gm-Message-State: ALoCoQkYWM+O+9RVgLU4/IGdHMZ0y5vSwGVnMNfi4yjDf5zR7DDfDc461aUTmleR42REx/sVhr7g
MIME-Version: 1.0
X-Received: by 10.60.98.40 with SMTP id ef8mr15997345oeb.7.1436800327971; Mon, 13 Jul 2015 08:12:07 -0700 (PDT)
Received: by 10.76.90.97 with HTTP; Mon, 13 Jul 2015 08:12:07 -0700 (PDT)
In-Reply-To: <55A3BBC3.7030500@sbcglobal.net>
References: <20150713091838.17893.qmail@cr.yp.to> <55A3BBC3.7030500@sbcglobal.net>
Date: Mon, 13 Jul 2015 11:12:07 -0400
Message-ID: <CAFewVt4CpSUUAizAv0Se5pBg=6RCX1LicDT40ehbP6qVHGQppw@mail.gmail.com>
From: Brian Smith <brian@briansmith.org>
To: David Jacobson <dmjacobson@sbcglobal.net>
Content-Type: multipart/alternative; boundary=089e013a18222993de051ac3250a
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/Ecrj-nLxN8EYGyk520UetMaZbaY>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] principles in choosing hash functions for signatures
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: <https://mailarchive.ietf.org/arch/browse/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, 13 Jul 2015 15:12:10 -0000

--089e013a18222993de051ac3250a
Content-Type: text/plain; charset=UTF-8

David Jacobson <dmjacobson@sbcglobal.net> wrote:

> On 7/13/15 2:18 AM, D. J. Bernstein wrote:
>
>> Our long-hash examples follow the pattern of the SHA-512/224 and
>> SHA-512/256 standards from FIPS 180-4. It's of course possible to
>> replace the FIPS 180-4 approach with prefixed SHA-512, but would this
>> actually produce any simplifications for a library designer who wants to
>> add support for a new signature system?
>>
>
<snip>

Prefixed popular standard hash functions (e.g. SHA-256 and SHA-512) are
> much to be preferred over modifying IVs.  It is super simple: Just a one
> Update call passing in the appropriate literal.  It works with all
> Init-Update-Final implementations.


I agree with this. Actually, it greatly simplifies things for some
implementations if only stock SHA-256 and SHA-384, at most, are required.
There would be no other use for SHA-512 with an IV other than the one used
for SHA-384 in many applications.

Cheers,
Brian

--089e013a18222993de051ac3250a
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">Davi=
d Jacobson <span dir=3D"ltr">&lt;<a href=3D"mailto:dmjacobson@sbcglobal.net=
" target=3D"_blank">dmjacobson@sbcglobal.net</a>&gt;</span> wrote:<br><bloc=
kquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #cc=
c solid;padding-left:1ex"><span class=3D"">On 7/13/15 2:18 AM, D. J. Bernst=
ein wrote:<br>
</span><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-=
left:1px #ccc solid;padding-left:1ex"><span class=3D"">Our long-hash exampl=
es follow the pattern of the SHA-512/224 and<br>
SHA-512/256 standards from FIPS 180-4. It&#39;s of course possible to<br>
replace the FIPS 180-4 approach with prefixed SHA-512, but would this<br>
actually produce any simplifications for a library designer who wants to<br=
>
add support for a new signature system?<br></span></blockquote></blockquote=
><div><br></div><div>&lt;snip&gt;=C2=A0</div><div><br></div><blockquote cla=
ss=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pa=
dding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8e=
x;border-left:1px #ccc solid;padding-left:1ex"><span class=3D""></span></bl=
ockquote>
Prefixed popular standard hash functions (e.g. SHA-256 and SHA-512) are muc=
h to be preferred over modifying IVs.=C2=A0 It is super simple: Just a one =
Update call passing in the appropriate literal.=C2=A0 It works with all Ini=
t-Update-Final implementations.</blockquote><div><br></div><div>I agree wit=
h this. Actually, it greatly simplifies things for some implementations if =
only stock SHA-256 and SHA-384, at most, are required. There would be no ot=
her use for SHA-512 with an IV other than the one used for SHA-384 in many =
applications.</div><div><br></div><div>Cheers,</div><div>Brian</div><div><b=
r></div></div>
</div></div>

--089e013a18222993de051ac3250a--


From nobody Mon Jul 13 09:39:53 2015
Return-Path: <hallam@gmail.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 33F531A1BF5 for <cfrg@ietfa.amsl.com>; Mon, 13 Jul 2015 09:39:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.576
X-Spam-Level: 
X-Spam-Status: No, score=-0.576 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, GB_I_LETTER=-2, HTML_MESSAGE=0.001, SPF_PASS=-0.001, URIBL_RED=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 9qvLPKbUrSx8 for <cfrg@ietfa.amsl.com>; Mon, 13 Jul 2015 09:39:50 -0700 (PDT)
Received: from mail-lb0-x22e.google.com (mail-lb0-x22e.google.com [IPv6:2a00:1450:4010:c04::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DAE6E1A1BE7 for <cfrg@ietf.org>; Mon, 13 Jul 2015 09:39:49 -0700 (PDT)
Received: by lblf12 with SMTP id f12so58722460lbl.2 for <cfrg@ietf.org>; Mon, 13 Jul 2015 09:39:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:sender:date:message-id:subject:from:to:content-type;  bh=hEDxM6xNmykaFkUad7v4RceJ9fJRqTlTkvgYKB+l2sU=; b=QM+vRGCSNY6vGU/xAvZEnZFFEsDIYMpMBpT2odR0jaCFB3j45uB+R53B1b3S/XgL7b i2dlWY1igRRJKMjNOsHhX4FfgtVhdCRbAZs6O6DxH3osu7ujgnov4T/HS8qz2xt/KUcA +4eOKg3wvPkm01hF3cyT6kLEjPELT1WG7ps9ho7LlLzm88voHT0fq9HcwfsaAjD/lTkk 4bU7pAsmReqqe4Ac/BQU1UzmI1cyL2xOmeaKtxC9l/ROE3pdlbJOhsx42WyqaaUsxryr 2CXccn7hk6CdEFeWjFEx47/+rzr+3ibfltaS623S4nq3UG8/GqJnd2QR9t14qHnxXjjY YJqQ==
MIME-Version: 1.0
X-Received: by 10.152.43.202 with SMTP id y10mr32448535lal.118.1436805588302;  Mon, 13 Jul 2015 09:39:48 -0700 (PDT)
Sender: hallam@gmail.com
Received: by 10.112.203.163 with HTTP; Mon, 13 Jul 2015 09:39:48 -0700 (PDT)
Date: Mon, 13 Jul 2015 12:39:48 -0400
X-Google-Sender-Auth: tC2JYqd5jzKGW2MQ7PWRJjDhigU
Message-ID: <CAMm+Lwi5meHrsbHaseqtmj_3qCDo+J2C8LAS51D=Z6DCtaku5w@mail.gmail.com>
From: Phillip Hallam-Baker <phill@hallambaker.com>
To: "cfrg@ietf.org" <cfrg@ietf.org>
Content-Type: multipart/alternative; boundary=001a11c223d8b3c1b7051ac45ea3
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/B58gFvSCLX6Xo5oNh_cgFi-y9iQ>
Subject: [Cfrg] Additional consequences of the move to ECC (and they are good)
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: <https://mailarchive.ietf.org/arch/browse/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, 13 Jul 2015 16:39:53 -0000

--001a11c223d8b3c1b7051ac45ea3
Content-Type: text/plain; charset=UTF-8

All,

So far people have been talking about the move to ECC as giving an
improvement in either speed or security. One other consequence that should
be considered seriously is that we are also moving to a DH based algorithm
and this has some important consequences:

1) Key generation is much faster (no need to generate primes).

2) Multiplying the parts of public key pair A by the corresponding parts of
key pair B produces a new key pair A.B.


I have used the second feature to produce a solution to the 'weak keys'
problem I will present in the meeting. But right now I want to point out an
interesting consequence for use of fingerprints to represent keys as is
popular in OpenPGP, Bitcoin and is the approach I am taking in what was
PRISMPROOF and is now the Mesh.


Earlier today, in another place, Christian Huitema described some work they
had done to make palatable identifiers of the form:

MB2GK-6DUF5-YGYYL-JNY5E-RWSHZ
<MB2GK-6DUF5-YGYYL-JNY5E-RWSHZ%3Aalice@cryptomesh.org>

This got me thinking about a hack I saw someone do on Bitcoin where they
made an identifier that had their company name embedded in the string.

So what does it take to make me:

MxHAL-LAMxx-xxxxx-xxxxx-xxxxx ?

Using a brute force approach (the only one that I hope is possible), if
selecting the first two letters causes the process to take a second,
selecting the third will cause it to take almost a minute, the fourth
quarter of an hour, the fifth a third of a day and a sixth more than a
week, the seventh a year and so on.

Going to ECC reduces the cost of each attempt by at least a letter,
probably two. It still takes a century or more to get a ten letter vanity
prefix and an exhaustive attack remains comfortably outside the realms of
practicality.

--001a11c223d8b3c1b7051ac45ea3
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">All,<div><br></div><div>So far people have been talking ab=
out the move to ECC as giving an improvement in either speed or security. O=
ne other consequence that should be considered seriously is that we are als=
o moving to a DH based algorithm and this has some important consequences:<=
/div><div><br></div><div>1) Key generation is much faster (no need to gener=
ate primes).</div><div><br></div><div>2) Multiplying the parts of public ke=
y pair A by the corresponding parts of key pair B produces a new key pair A=
.B.</div><div><br></div><div><br></div><div>I have used the second feature =
to produce a solution to the &#39;weak keys&#39; problem I will present in =
the meeting. But right now I want to point out an interesting consequence f=
or use of fingerprints to represent keys as is popular in OpenPGP, Bitcoin =
and is the approach I am taking in what was PRISMPROOF and is now the Mesh.=
=C2=A0</div><div><br></div><div><br></div><div>Earlier today, in another pl=
ace, Christian Huitema described some work they had done to make palatable =
identifiers of the form:</div><div><br></div><div><a href=3D"mailto:MB2GK-6=
DUF5-YGYYL-JNY5E-RWSHZ%3Aalice@cryptomesh.org" style=3D"font-family:Calibri=
;font-size:14.6666660308838px" target=3D"_blank">MB2GK-6DUF5-YGYYL-JNY5E-RW=
SHZ</a><br></div><div><br></div><div>This got me thinking about a hack I sa=
w someone do on Bitcoin where they made an identifier that had their compan=
y name embedded in the string.</div><div><br></div><div>So what does it tak=
e to make me:</div><div><br></div><div>MxHAL-LAMxx-xxxxx-xxxxx-xxxxx ?</div=
><div><br></div><div>Using a brute force approach (the only one that I hope=
 is possible), if selecting the first two letters causes the process to tak=
e a second, selecting the third will cause it to take almost a minute, the =
fourth quarter of an hour, the fifth a third of a day and a sixth more than=
 a week, the seventh a year and so on.</div><div><br></div><div>Going to EC=
C reduces the cost of each attempt by at least a letter, probably two. It s=
till takes a century or more to get a ten letter vanity prefix and an exhau=
stive attack remains comfortably outside the realms of practicality.</div><=
div><br></div><div><br></div></div>

--001a11c223d8b3c1b7051ac45ea3--


From neried7@gmail.com  Mon Jul 13 09:40:20 2015
Return-Path: <neried7@gmail.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 9DECB1A1C02 for <cfrg@ietfa.amsl.com>; Mon, 13 Jul 2015 09:40:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.551
X-Spam-Level: *
X-Spam-Status: No, score=1.551 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, J_CHICKENPOX_12=0.6, SPF_PASS=-0.001] 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 TxfEYP7n3xPN for <cfrg@ietfa.amsl.com>; Mon, 13 Jul 2015 09:40:18 -0700 (PDT)
Received: from mail-vn0-x234.google.com (mail-vn0-x234.google.com [IPv6:2607:f8b0:400c:c0f::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D8A541B2C3C for <cfrg@irtf.org>; Mon, 13 Jul 2015 09:40:14 -0700 (PDT)
Received: by vnbg190 with SMTP id g190so45204243vnb.2 for <cfrg@irtf.org>; Mon, 13 Jul 2015 09:40:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=7pIoYHguKRxqCsSp7mcktWpJzfUEyVSlPRpI1K27LMQ=; b=RuMoC5YFh3Peip5qE5effL5/Qm6noStloZyrhzJKOzDvgYEO2SiRlSGWX16DXRnl3p qGGhJWZUUXE6G9LAED38d3GeVd5fSg5ADZWuk8EHTISKo0GbJoPBiV5yrgHB7ZeGbjuA Pb+uJOb4TpK+KfIV27S1WHV5n4svM/29kKbzo2+oykGnWXIO8J//1Xg68sDVk+MN5wUM Z0W2mBCkCMLQbn/1PstwQHYDbfLP7+HtZwJhtQibYRBwX25IcXCCpXZLabpQqgqa87BU 67gZCdmpQpBOJTZ2UCMkeYfQx94mTl9VaiLT7E/7nMsbfl+oA+by+BRFE6NbEw1CKZ8q Oojg==
X-Received: by 10.52.167.105 with SMTP id zn9mr31688995vdb.83.1436805614106; Mon, 13 Jul 2015 09:40:14 -0700 (PDT)
MIME-Version: 1.0
Sender: neried7@gmail.com
Received: by 10.31.59.7 with HTTP; Mon, 13 Jul 2015 09:39:34 -0700 (PDT)
In-Reply-To: <20150702182951.GA5633@LK-Perkele-VII>
References: <20150622122321.GA28986@LK-Perkele-VII> <20150702182951.GA5633@LK-Perkele-VII>
From: Deirdre Connolly <durumcrustulum@gmail.com>
Date: Mon, 13 Jul 2015 12:39:34 -0400
X-Google-Sender-Auth: 7LoJ3euTezWX_B8OUWhMvqzqrHg
Message-ID: <CAFR824yUqVq1qYafKkRcZP94TjjGBErYM2QOwZBsW=sY2oQZRw@mail.gmail.com>
To: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>, cfrg@irtf.org
Content-Type: multipart/alternative; boundary=089e016347303d8162051ac46068
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/VbZkp40QD-JSY-fE60Zz86v86AU>
Subject: Re: [Cfrg] Signature proposal (quick-and-dirty additional material)
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: <https://mailarchive.ietf.org/arch/browse/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, 13 Jul 2015 16:41:33 -0000

--089e016347303d8162051ac46068
Content-Type: text/plain; charset=UTF-8

>
> Why not EdDSA:
> ==============

- EdDSA has requirements for curves Curve448 won't meet.

...
> Secondly, EdDSA has rather severe curve requirements,
> making Curve25519 effectively the only curve it is usable
> on.
>
>
Following these points up with Bernstein, Lange et al.'s paper
<https://eprint.iacr.org/2015/677.pdf> on applying EdDSA to more curves
over finite fields with any odd *q*, not just where *q *mod 4 = 1,
including examples using Ed41417, Ed448, and Ed521.

On Thu, Jul 2, 2015 at 2:30 PM Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
wrote:

> Here is some very quick-and dirty material about the algorithm
> (in presentation-like form, covering some of the design choices):
>
>
> EdDSA:
> ======
> - Advanced digital signature primitive, encompassing lots of
>   improvements to the original ElGamal scheme.
> - Free of inversions mod order.
>
> EdDSA is an advanced signature primitive, having undergone
> lots of improvements since the original ElGamal scheme.
>
> EdDSA is also free of inversions mod order. Those are
> annoying to implement and slow, especially if one is to
> do those in way not vulernable to timing attacks.
>
>
> Why not EdDSA:
> ==============
> - EdDSA does not support IUF (which is REQUIRED).
> - EdDSA has requirements for curves Curve448 won't meet.
> - EdDSA requires exotic hashes at >255 bits.
>
> Unfortunately, EdDSA won't do for three reasons:
>
> Firstly, IUF was requirement, and EdDSA doesn't do that.
>
> Secondly, EdDSA has rather severe curve requirements,
> making Curve25519 effectively the only curve it is usable
> on.
>
> Thirdly, EdDSA needs double-width hash, which means more
> than 512 bits if curve is more than 255 bits. And normal
> hashes cap at 512 bits.
>
>
> Modifications from EdDSA:
> =========================
> - Drop most restrictions on curve.
> - Modify seed/a generation.
> - IUF via prehashing
> - Hash firewalling
> - Add contexts
>
> So EdDSA has to be modified in multiple ways...
>
>
> Drop most restrictions on curve:
> ================================
> - Modify point encoding, allowing (twisted) edwards curves
>   over prime fields.
> - Plus some size restrictions for security.
>
> By modifying point encoding, one can allow pretty much arbitrary
> (twisted) edwards curves over prime fields.
>
> Also, some size restrictions are set for security.
>
>
> Modify seed/a generation:
> =========================
> - Modify seed/a generation from private key material.
>   - So that exotic hashes are not needed.
> - seed and a are generated separatedly, instead of just hashing
>   once and splitting.
>
> By modifying generation of seed for pseudorandom parameter and
> logarithm of public key, one can get rid of double-width hash.
>
> Specifically, generate those parts separatedly instead of at
> once and splitting. Then one only needs enough hash width to
> generate unbiased pseudorandom parameter.
>
>
> IUF via prehashing:
> ===================
> - Some protocols seem to prefer to sign hashes.
>   - E.g. TLS 1.2 CertificateVerify.
> - Some protocols have hash preferences.
>   - E.g. PRF-hash for TLS 1.2 CV.
> - Avoids need to know signing key beforehand.
>
>
> IUF is added via hashing the message before signing. It seems like
> some protocols like to sign hashes, and sometimes with certain
> hashes.
>
> E.g. TLS 1.2. CertificateVerify, which also prefers PRF-hash
> (which depends on TLS ciphersuite).
>
> Also, one avoids problems from having to know the signing key before
> one starts hashing for signature.
>
>
> Hash firewalling:
> =================
> - Weak hashes seem to be perennial problem.
> - More severe problems would arise from mixing up unhashed input
>   (somebody is probably going to do that) and hashed input.
> - -> Add indication of hash function used.
>
>
> Weak hashes seem to be persistent problem. Yes, those should be
> deimplemented, except that doesn't seem to happen as fast as we
> would like.
>
> Additionally, because the primitive takes unbounded amount of
> input, somebody is probably going to try to stick the message there,
> which tends to cause rather bad problems unless that is indicated.
>
> So indicate the prehash used.
>
>
> Add contexts:
> =============
> - Another perennial problem is cross-protocol attacks.
> - Difficult to avoid in-band
> - -> Add indication of context which both sides have to agree on.
>   - Designated by protocol.
>
> Another persistent, but much more obscure problem is using messages
> from one protocol to attack another.
>
> It is very difficult to design messages so that some other protocol
> won't interpret those in bad ways.
>
> A way to solve this would be to add input, designated by the protocol
> signer and verifier must agree on for verification to succeed.
>
>
> Other approaches:
> =================
> - Double-pipe v|m, m|rB.
>   - Requires signer to pick key beforehand.
> - Forking: m|pad|v, m|pad|rB.
>   - Is this even secure?
>   - Pad has to be picked carefully.
>   - Needs somewhat non-standard hash interface.
>
> Two other appoaches were either proposed or came into mind:
>
> Firstly, double pipe construction where hash is run twice, with seed
> at front of one of the hashes. This has properties of needing to
> compute hash twice, which might be bit slow and that signer needs
> to pick signing key at beginning.
>
> Secondly, one could hash message, some padding material, possibly
> containing lengths, then fork the context and add seed and point
> encoding. No idea if this is secure or not, and even if could be
> secure, one probably would have to be careful with pad construction.
> Also, this needs somewhat non-standard hash interface.
>
>
> -Ilari
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg
>

--089e016347303d8162051ac46068
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px =
0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-l=
eft-style:solid;padding-left:1ex"><span style=3D"color:rgb(33,33,33);font-f=
amily:&#39;Helvetica Neue&#39;,Helvetica,Arial,sans-serif;font-size:13.1999=
998092651px;line-height:19.7999992370605px">Why not=C2=A0</span><span class=
=3D"" style=3D"color:rgb(33,33,33);font-family:&#39;Helvetica Neue&#39;,Hel=
vetica,Arial,sans-serif;font-size:13.1999998092651px;line-height:19.7999992=
370605px;background-color:rgba(251,246,167,0.498039)">EdDSA</span><span sty=
le=3D"color:rgb(33,33,33);font-family:&#39;Helvetica Neue&#39;,Helvetica,Ar=
ial,sans-serif;font-size:13.1999998092651px;line-height:19.7999992370605px"=
>:<br></span><span style=3D"color:rgb(33,33,33);font-family:&#39;Helvetica =
Neue&#39;,Helvetica,Arial,sans-serif;font-size:13.1999998092651px;line-heig=
ht:19.7999992370605px">=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</span>=C2=
=A0=C2=A0</blockquote><blockquote class=3D"gmail_quote" style=3D"margin:0px=
 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);bor=
der-left-style:solid;padding-left:1ex"><span style=3D"color:rgb(33,33,33);f=
ont-family:&#39;Helvetica Neue&#39;,Helvetica,Arial,sans-serif;font-size:13=
.1999998092651px;line-height:19.7999992370605px">-=C2=A0</span><span class=
=3D"" style=3D"color:rgb(33,33,33);font-family:&#39;Helvetica Neue&#39;,Hel=
vetica,Arial,sans-serif;font-size:13.1999998092651px;line-height:19.7999992=
370605px;background-color:rgba(251,246,167,0.498039)">EdDSA</span><span sty=
le=3D"color:rgb(33,33,33);font-family:&#39;Helvetica Neue&#39;,Helvetica,Ar=
ial,sans-serif;font-size:13.1999998092651px;line-height:19.7999992370605px"=
>=C2=A0has requirements for curves Curve448 won&#39;t meet.</span>=C2=A0</b=
lockquote><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8=
ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-sty=
le:solid;padding-left:1ex">...<br style=3D"color:rgb(33,33,33);font-family:=
&#39;Helvetica Neue&#39;,Helvetica,Arial,sans-serif;font-size:13.1999998092=
651px;line-height:19.7999992370605px"><span style=3D"color:rgb(33,33,33);fo=
nt-family:&#39;Helvetica Neue&#39;,Helvetica,Arial,sans-serif;font-size:13.=
1999998092651px;line-height:19.7999992370605px">Secondly,=C2=A0</span><span=
 class=3D"" style=3D"color:rgb(33,33,33);font-family:&#39;Helvetica Neue&#3=
9;,Helvetica,Arial,sans-serif;font-size:13.1999998092651px;line-height:19.7=
999992370605px;background-color:rgba(251,246,167,0.498039)">EdDSA</span><sp=
an style=3D"color:rgb(33,33,33);font-family:&#39;Helvetica Neue&#39;,Helvet=
ica,Arial,sans-serif;font-size:13.1999998092651px;line-height:19.7999992370=
605px">=C2=A0has rather severe curve requirements,<br></span><span style=3D=
"color:rgb(33,33,33);font-family:&#39;Helvetica Neue&#39;,Helvetica,Arial,s=
ans-serif;font-size:13.1999998092651px;line-height:19.7999992370605px">maki=
ng Curve25519 effectively the only curve it is usable<br></span><span style=
=3D"color:rgb(33,33,33);font-family:&#39;Helvetica Neue&#39;,Helvetica,Aria=
l,sans-serif;font-size:13.1999998092651px;line-height:19.7999992370605px">o=
n.</span><br style=3D"color:rgb(33,33,33);font-family:&#39;Helvetica Neue&#=
39;,Helvetica,Arial,sans-serif;font-size:13.1999998092651px;line-height:19.=
7999992370605px"><br></blockquote><div><span style=3D"color:rgb(33,33,33);f=
ont-family:&#39;Helvetica Neue&#39;,Helvetica,Arial,sans-serif;font-size:13=
.1999998092651px;line-height:19.7999992370605px"><br></span></div><div>Foll=
owing these points up with<a href=3D"https://eprint.iacr.org/2015/677.pdf">=
 Bernstein, Lange et al.&#39;s paper</a>=C2=A0on applying EdDSA to more cur=
ves over finite fields with any odd <i>q</i>, not just where <i>q </i>mod 4=
 =3D 1, including examples using Ed41417, Ed448, and Ed521.</div><br><div c=
lass=3D"gmail_quote"><div dir=3D"ltr">On Thu, Jul 2, 2015 at 2:30 PM Ilari =
Liusvaara &lt;<a href=3D"mailto:ilari.liusvaara@elisanet.fi" target=3D"_bla=
nk">ilari.liusvaara@elisanet.fi</a>&gt; wrote:<br></div><blockquote class=
=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;bo=
rder-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">=
Here is some very quick-and dirty material about the algorithm<br>
(in presentation-like form, covering some of the design choices):<br>
<br>
<br>
EdDSA:<br>
=3D=3D=3D=3D=3D=3D<br>
- Advanced digital signature primitive, encompassing lots of<br>
=C2=A0 improvements to the original ElGamal scheme.<br>
- Free of inversions mod order.<br>
<br>
EdDSA is an advanced signature primitive, having undergone<br>
lots of improvements since the original ElGamal scheme.<br>
<br>
EdDSA is also free of inversions mod order. Those are<br>
annoying to implement and slow, especially if one is to<br>
do those in way not vulernable to timing attacks.<br>
<br>
<br>
Why not EdDSA:<br>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>
- EdDSA does not support IUF (which is REQUIRED).<br>
- EdDSA has requirements for curves Curve448 won&#39;t meet.<br>
- EdDSA requires exotic hashes at &gt;255 bits.<br>
<br>
Unfortunately, EdDSA won&#39;t do for three reasons:<br>
<br>
Firstly, IUF was requirement, and EdDSA doesn&#39;t do that.<br>
<br>
Secondly, EdDSA has rather severe curve requirements,<br>
making Curve25519 effectively the only curve it is usable<br>
on.<br>
<br>
Thirdly, EdDSA needs double-width hash, which means more<br>
than 512 bits if curve is more than 255 bits. And normal<br>
hashes cap at 512 bits.<br>
<br>
<br>
Modifications from EdDSA:<br>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
<br>
- Drop most restrictions on curve.<br>
- Modify seed/a generation.<br>
- IUF via prehashing<br>
- Hash firewalling<br>
- Add contexts<br>
<br>
So EdDSA has to be modified in multiple ways...<br>
<br>
<br>
Drop most restrictions on curve:<br>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D<br>
- Modify point encoding, allowing (twisted) edwards curves<br>
=C2=A0 over prime fields.<br>
- Plus some size restrictions for security.<br>
<br>
By modifying point encoding, one can allow pretty much arbitrary<br>
(twisted) edwards curves over prime fields.<br>
<br>
Also, some size restrictions are set for security.<br>
<br>
<br>
Modify seed/a generation:<br>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
<br>
- Modify seed/a generation from private key material.<br>
=C2=A0 - So that exotic hashes are not needed.<br>
- seed and a are generated separatedly, instead of just hashing<br>
=C2=A0 once and splitting.<br>
<br>
By modifying generation of seed for pseudorandom parameter and<br>
logarithm of public key, one can get rid of double-width hash.<br>
<br>
Specifically, generate those parts separatedly instead of at<br>
once and splitting. Then one only needs enough hash width to<br>
generate unbiased pseudorandom parameter.<br>
<br>
<br>
IUF via prehashing:<br>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>
- Some protocols seem to prefer to sign hashes.<br>
=C2=A0 - E.g. TLS 1.2 CertificateVerify.<br>
- Some protocols have hash preferences.<br>
=C2=A0 - E.g. PRF-hash for TLS 1.2 CV.<br>
- Avoids need to know signing key beforehand.<br>
<br>
<br>
IUF is added via hashing the message before signing. It seems like<br>
some protocols like to sign hashes, and sometimes with certain<br>
hashes.<br>
<br>
E.g. TLS 1.2. CertificateVerify, which also prefers PRF-hash<br>
(which depends on TLS ciphersuite).<br>
<br>
Also, one avoids problems from having to know the signing key before<br>
one starts hashing for signature.<br>
<br>
<br>
Hash firewalling:<br>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>
- Weak hashes seem to be perennial problem.<br>
- More severe problems would arise from mixing up unhashed input<br>
=C2=A0 (somebody is probably going to do that) and hashed input.<br>
- -&gt; Add indication of hash function used.<br>
<br>
<br>
Weak hashes seem to be persistent problem. Yes, those should be<br>
deimplemented, except that doesn&#39;t seem to happen as fast as we<br>
would like.<br>
<br>
Additionally, because the primitive takes unbounded amount of<br>
input, somebody is probably going to try to stick the message there,<br>
which tends to cause rather bad problems unless that is indicated.<br>
<br>
So indicate the prehash used.<br>
<br>
<br>
Add contexts:<br>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>
- Another perennial problem is cross-protocol attacks.<br>
- Difficult to avoid in-band<br>
- -&gt; Add indication of context which both sides have to agree on.<br>
=C2=A0 - Designated by protocol.<br>
<br>
Another persistent, but much more obscure problem is using messages<br>
from one protocol to attack another.<br>
<br>
It is very difficult to design messages so that some other protocol<br>
won&#39;t interpret those in bad ways.<br>
<br>
A way to solve this would be to add input, designated by the protocol<br>
signer and verifier must agree on for verification to succeed.<br>
<br>
<br>
Other approaches:<br>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>
- Double-pipe v|m, m|rB.<br>
=C2=A0 - Requires signer to pick key beforehand.<br>
- Forking: m|pad|v, m|pad|rB.<br>
=C2=A0 - Is this even secure?<br>
=C2=A0 - Pad has to be picked carefully.<br>
=C2=A0 - Needs somewhat non-standard hash interface.<br>
<br>
Two other appoaches were either proposed or came into mind:<br>
<br>
Firstly, double pipe construction where hash is run twice, with seed<br>
at front of one of the hashes. This has properties of needing to<br>
compute hash twice, which might be bit slow and that signer needs<br>
to pick signing key at beginning.<br>
<br>
Secondly, one could hash message, some padding material, possibly<br>
containing lengths, then fork the context and add seed and point<br>
encoding. No idea if this is secure or not, and even if could be<br>
secure, one probably would have to be careful with pad construction.<br>
Also, this needs somewhat non-standard hash interface.<br>
<br>
<br>
-Ilari<br>
<br>
_______________________________________________<br>
Cfrg mailing list<br>
<a href=3D"mailto:Cfrg@irtf.org" target=3D"_blank">Cfrg@irtf.org</a><br>
<a href=3D"http://www.irtf.org/mailman/listinfo/cfrg" rel=3D"noreferrer" ta=
rget=3D"_blank">http://www.irtf.org/mailman/listinfo/cfrg</a><br>
</blockquote></div></div>

--089e016347303d8162051ac46068--


From nobody Mon Jul 13 11:23:43 2015
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 C7A3E1B2D1C for <cfrg@ietfa.amsl.com>; Mon, 13 Jul 2015 11:23:41 -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 WTtI68d0qvrL for <cfrg@ietfa.amsl.com>; Mon, 13 Jul 2015 11:23:40 -0700 (PDT)
Received: from emh01.mail.saunalahti.fi (emh01.mail.saunalahti.fi [62.142.5.107]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9E9241B2D14 for <cfrg@irtf.org>; Mon, 13 Jul 2015 11:23:32 -0700 (PDT)
Received: from LK-Perkele-VII (a91-155-194-207.elisa-laajakaista.fi [91.155.194.207]) by emh01.mail.saunalahti.fi (Postfix) with ESMTP id A648890318; Mon, 13 Jul 2015 21:23:30 +0300 (EEST)
Date: Mon, 13 Jul 2015 21:23:30 +0300
From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
To: Deirdre Connolly <durumcrustulum@gmail.com>
Message-ID: <20150713182330.GA23397@LK-Perkele-VII>
References: <20150622122321.GA28986@LK-Perkele-VII> <20150702182951.GA5633@LK-Perkele-VII> <CAFR824yUqVq1qYafKkRcZP94TjjGBErYM2QOwZBsW=sY2oQZRw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <CAFR824yUqVq1qYafKkRcZP94TjjGBErYM2QOwZBsW=sY2oQZRw@mail.gmail.com>
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/E5-uU1t9PJ9uGWFBb7DkRjaFjyU>
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] Signature proposal (quick-and-dirty additional material)
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: <https://mailarchive.ietf.org/arch/browse/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, 13 Jul 2015 18:23:41 -0000

On Mon, Jul 13, 2015 at 12:39:34PM -0400, Deirdre Connolly wrote:
> 
> On Thu, Jul 2, 2015 at 2:30 PM Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
> wrote:
> >
> > Why not EdDSA:
> > ==============
> 
> - EdDSA has requirements for curves Curve448 won't meet.
> 
> ...
> > Secondly, EdDSA has rather severe curve requirements,
> > making Curve25519 effectively the only curve it is usable
> > on.
> >
> >
> Following these points up with Bernstein, Lange et al.'s paper
> <https://eprint.iacr.org/2015/677.pdf> on applying EdDSA to more curves
> over finite fields with any odd *q*, not just where *q *mod 4 = 1,
> including examples using Ed41417, Ed448, and Ed521.

The message I sent was from July 2nd, which was before I saw the
EdDSA update (or indeed before the EdDSA update was posted, which
was apparently July 4th).

When makign a presentation out of the info in that post, I did
include the fact that there was relevant EdDSA update.


-Ilari


From nobody Mon Jul 13 11:42:33 2015
Return-Path: <neried7@gmail.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 924481B2CFF for <cfrg@ietfa.amsl.com>; Mon, 13 Jul 2015 11:42:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.749
X-Spam-Level: 
X-Spam-Status: No, score=-1.749 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] 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 jN1eqcE5jMyA for <cfrg@ietfa.amsl.com>; Mon, 13 Jul 2015 11:42:30 -0700 (PDT)
Received: from mail-vn0-x233.google.com (mail-vn0-x233.google.com [IPv6:2607:f8b0:400c:c0f::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7166C1A8764 for <cfrg@irtf.org>; Mon, 13 Jul 2015 11:42:30 -0700 (PDT)
Received: by vnbf7 with SMTP id f7so39022726vnb.1 for <cfrg@irtf.org>; Mon, 13 Jul 2015 11:42:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=7JcbZs+i6gYzAk/BEK3zY0H2SNDU+exGmozdd78URWc=; b=XaZ+5jaWFBSwl8F6gQpWi2CMp+gmRXK33JLQWEzyT+MISc2+TvvZBDmx2rCI9jdLuT 7RcA9fWgtv/NsfT9sxrjyrFbSerJ5eLDOKzW7oFFMKd/UHpkkBQbN+zuC812727nJZ6Q Xd9f9lFgLWYoDWRylTRRMpKW2FKR/tp579xxAOgVruQxldhLpep0rWJhwPInV1AIqUqw U6QLD9q/OtKvvcsx0d1c6ttD+t+Jdz95fn660UyCIZlCf/nf1lRb4dIs7GEiMq3E4K9z B+P9zvUdShiOOPNdSBkhuDYIf0U06cQYo/xNG3wlsovvhS6KD2DnI0P5zU15qq21ibEG DyWA==
X-Received: by 10.52.164.130 with SMTP id yq2mr3926456vdb.73.1436812949681; Mon, 13 Jul 2015 11:42:29 -0700 (PDT)
MIME-Version: 1.0
Sender: neried7@gmail.com
Received: by 10.31.59.7 with HTTP; Mon, 13 Jul 2015 11:41:50 -0700 (PDT)
In-Reply-To: <20150713182330.GA23397@LK-Perkele-VII>
References: <20150622122321.GA28986@LK-Perkele-VII> <20150702182951.GA5633@LK-Perkele-VII> <CAFR824yUqVq1qYafKkRcZP94TjjGBErYM2QOwZBsW=sY2oQZRw@mail.gmail.com> <20150713182330.GA23397@LK-Perkele-VII>
From: Deirdre Connolly <durumcrustulum@gmail.com>
Date: Mon, 13 Jul 2015 14:41:50 -0400
X-Google-Sender-Auth: zLf8UB0cmwQlE3KwscMISREnnWw
Message-ID: <CAFR824x0S0gL-p+TCnBRE_=O=s9A+U1_bixWSqN8HiRL2EqZKQ@mail.gmail.com>
To: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
Content-Type: multipart/alternative; boundary=001a11c2c96079e1f4051ac6154d
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/nCcOMHv1A50Rt4En1FBksp997bA>
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] Signature proposal (quick-and-dirty additional material)
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: <https://mailarchive.ietf.org/arch/browse/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, 13 Jul 2015 18:42:31 -0000

--001a11c2c96079e1f4051ac6154d
Content-Type: text/plain; charset=UTF-8

On Mon, Jul 13, 2015 at 2:23 PM, Ilari Liusvaara <
ilari.liusvaara@elisanet.fi> wrote:
>
>
> When makign a presentation out of the info in that post, I did
> include the fact that there was relevant EdDSA update.
>
>
Great, thank you.

--001a11c2c96079e1f4051ac6154d
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On M=
on, Jul 13, 2015 at 2:23 PM, Ilari Liusvaara <span dir=3D"ltr">&lt;<a href=
=3D"mailto:ilari.liusvaara@elisanet.fi" target=3D"_blank">ilari.liusvaara@e=
lisanet.fi</a>&gt;</span> wrote:<blockquote class=3D"gmail_quote" style=3D"=
margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
When makign a presentation out of the info in that post, I did<br>
include the fact that there was relevant EdDSA update.<br><span class=3D"HO=
EnZb"><font color=3D"#888888"><br>
</font></span></blockquote></div><br></div><div class=3D"gmail_extra">Great=
, thank you.</div></div>

--001a11c2c96079e1f4051ac6154d--


From nobody Mon Jul 13 13:34:35 2015
Return-Path: <bascule@gmail.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 732B91A88A7 for <cfrg@ietfa.amsl.com>; Mon, 13 Jul 2015 13:34:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, 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 Hktd213mjstW for <cfrg@ietfa.amsl.com>; Mon, 13 Jul 2015 13:34:32 -0700 (PDT)
Received: from mail-oi0-x22e.google.com (mail-oi0-x22e.google.com [IPv6:2607:f8b0:4003:c06::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D4A231A886C for <cfrg@irtf.org>; Mon, 13 Jul 2015 13:34:31 -0700 (PDT)
Received: by oige126 with SMTP id e126so3982973oig.0 for <cfrg@irtf.org>; Mon, 13 Jul 2015 13:34:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=91SeKb+V0b5VeI1b33+BWjWPlvs60+4tBpj6TEckL/0=; b=Dntx9zVrE03jOIJ3J+CyK1wEjHm/uNQkvvJcLObkuzfsCXMbaot/RGMIKpS5hkpVgN V/8nst5wU5oxsjUh1LL1aM8bt/xQQc71cMhuznDwbagTdw06Melz7rN/Ey8JKzb53jXS nIFMQ5Z/9KdIKBYD/ch8mYIojONJhLQ9fGYJxfK2Bd+8taH+qigrR2S17cce1XTYrhDb OT1HpRC9phMS/ZGn/z+moEeMpR1yqEk3MsqFDWa9Br+gKzLrKtX7gnMnKyqMdUEVxIpx IEKgpM4zFQhuIAFExxEicQR57jdRMjD6lilNGZyjk3CidZxxRilLo3B5CJ5Unna0s8mN TSCg==
X-Received: by 10.182.76.100 with SMTP id j4mr31138767obw.14.1436819671387; Mon, 13 Jul 2015 13:34:31 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.76.94.176 with HTTP; Mon, 13 Jul 2015 13:34:12 -0700 (PDT)
In-Reply-To: <CAFR824yUqVq1qYafKkRcZP94TjjGBErYM2QOwZBsW=sY2oQZRw@mail.gmail.com>
References: <20150622122321.GA28986@LK-Perkele-VII> <20150702182951.GA5633@LK-Perkele-VII> <CAFR824yUqVq1qYafKkRcZP94TjjGBErYM2QOwZBsW=sY2oQZRw@mail.gmail.com>
From: Tony Arcieri <bascule@gmail.com>
Date: Mon, 13 Jul 2015 13:34:12 -0700
Message-ID: <CAHOTMVJHp=C5ykJKeoSCRm7edh7WMLSwz3BJpS9W2j16xgpyVw@mail.gmail.com>
To: Deirdre Connolly <durumcrustulum@gmail.com>
Content-Type: multipart/alternative; boundary=047d7b6729241e93c0051ac7a6b8
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/ziJbE6s235pzdkFoB-BfHP7PTUo>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Signature proposal (quick-and-dirty additional material)
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: <https://mailarchive.ietf.org/arch/browse/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, 13 Jul 2015 20:34:33 -0000

--047d7b6729241e93c0051ac7a6b8
Content-Type: text/plain; charset=UTF-8

On Mon, Jul 13, 2015 at 9:39 AM, Deirdre Connolly <durumcrustulum@gmail.com>
wrote:

> Following these points up with Bernstein, Lange et al.'s paper
> <https://eprint.iacr.org/2015/677.pdf> on applying EdDSA to more curves
> over finite fields with any odd *q*, not just where *q *mod 4 = 1,
> including examples using Ed41417, Ed448, and Ed521.
>

The main point of contention with this paper seems to be the requirement
for a custom SHA-512 IV, which is difficult for anyone working with either
fixed-function devices or codebases where the IV is not parameterized
already.

To implement the algorithm described in the paper, implementations may need
to ship a custom version of SHA-512, which is considered undesirable by
many.

If this were addressed, I think this approach would be more highly favored.

-- 
Tony Arcieri

--047d7b6729241e93c0051ac7a6b8
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On M=
on, Jul 13, 2015 at 9:39 AM, Deirdre Connolly <span dir=3D"ltr">&lt;<a href=
=3D"mailto:durumcrustulum@gmail.com" target=3D"_blank">durumcrustulum@gmail=
.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,=
204);border-left-style:solid;padding-left:1ex"><div>Following these points =
up with<a href=3D"https://eprint.iacr.org/2015/677.pdf" target=3D"_blank"> =
Bernstein, Lange et al.&#39;s paper</a>=C2=A0on applying EdDSA to more curv=
es over finite fields with any odd <i>q</i>, not just where <i>q </i>mod 4 =
=3D 1, including examples using Ed41417, Ed448, and Ed521.</div></blockquot=
e><div><br></div><div>The main point of contention with this paper seems to=
 be the requirement for a custom SHA-512 IV, which is difficult for anyone =
working with either fixed-function devices or codebases where the IV is not=
 parameterized already.</div><div><br></div><div>To implement the algorithm=
 described in the paper, implementations may need to ship a custom version =
of SHA-512, which is considered undesirable by many.</div><div><br></div><d=
iv>If this were addressed, I think this approach would be more highly favor=
ed.</div><div><br></div></div>-- <br><div class=3D"gmail_signature">Tony Ar=
cieri<br></div>
</div></div>

--047d7b6729241e93c0051ac7a6b8--


From nobody Mon Jul 13 15:29:40 2015
Return-Path: <djb-dsn2-1406711340.7506@cr.yp.to>
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 634541A7035 for <cfrg@ietfa.amsl.com>; Mon, 13 Jul 2015 15:29:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.596
X-Spam-Level: *
X-Spam-Status: No, score=1.596 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, HELO_EQ_NL=0.55, HOST_EQ_NL=1.545, UNPARSEABLE_RELAY=0.001] 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 iimG5gA31Fhi for <cfrg@ietfa.amsl.com>; Mon, 13 Jul 2015 15:29:37 -0700 (PDT)
Received: from calvin.win.tue.nl (calvin.win.tue.nl [131.155.70.11]) by ietfa.amsl.com (Postfix) with SMTP id ABDC91A7032 for <cfrg@irtf.org>; Mon, 13 Jul 2015 15:29:36 -0700 (PDT)
Received: (qmail 10922 invoked by uid 1017); 13 Jul 2015 22:29:55 -0000
Received: from unknown (unknown) by unknown with QMTP; 13 Jul 2015 22:29:55 -0000
Received: (qmail 7633 invoked by uid 1000); 13 Jul 2015 22:29:25 -0000
Date: 13 Jul 2015 22:29:25 -0000
Message-ID: <20150713222925.7631.qmail@cr.yp.to>
From: "D. J. Bernstein" <djb@cr.yp.to>
To: cfrg@irtf.org
Mail-Followup-To: cfrg@irtf.org
In-Reply-To: <55A2F62C.3040200@sbcglobal.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/qUW1mvbJhJ-oJMK8JNtprfN5bys>
Subject: Re: [Cfrg] Soliciting EC signature scheme proposals
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: <https://mailarchive.ietf.org/arch/browse/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, 13 Jul 2015 22:29:39 -0000

Here's a concise way to set up an OpenSSL SHA512_CTX to contain NIST's
standard IV for SHA-512/224:

   SHA512_Init(&c);
   for (i = 0;i < 8;++i) c.h[i] ^= 0xa5a5a5a5a5a5a5a5;
   SHA512_Update(&c,"SHA-512/224",11);
   SHA512_Final(md,&c);

An alternative approach is to directly call SHA512_Transform, but this
code is simpler since it doesn't have to set the padding bits. A faster,
slightly less concise approach is to directly set each c.h[i] to its
final value.

I'm not at all attached to the FIPS 180-4 hashing standard---the EdDSA
examples follow that approach simply because it's the closest standard
to what's needed; there are many other safe possibilities---but I'm also
puzzled by the comments saying that it's hard to implement.

I'm even more puzzled by the comments suggesting that (for external
users, supposing that the signature system isn't in the library itself)
OpenSSL provides some particular "abstraction" of SHA-512, allowing some
operations but not others. As far as I can tell, OpenSSL didn't actually
document _any_ portion of its SHA-512 C API until February 2015:

   https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=f7812493a0da6b740274135ce340ff7505027057

Users of the OpenSSL SHA-512 functions have been going beyond the
documented API for many years, and this really doesn't seem to have been
the biggest problem with crypto, or the biggest problem with OpenSSL.

David Jacobson writes:
> On an ARM V8A processor with the crypto extension, there are hardware
> instructions for accelerating SHA-256.

Don't the ARM SHA-256 instructions maintain the current hash value in
NEON registers in a well-understood format? Doesn't this make it easy
for the programmer to change the IV?

> The modularity police would not be at all happy to see the ECC code
> depending on the detailed layout of the context structure for the hash
> function.

EdDSA carefully separates the hashing details from the ECC details. What
we're talking about is something different, namely the relationship
between (e.g.) a SHA-512/224 module and a SHA-512 module, and then it's
much harder to make an information-hiding argument.

It seems reasonably obvious what a SHA-512 module designer will do if
asked to include support for SHA-512/224 etc. with minimum redundancy
(the same way that ARM handles both SHA-256 and SHA-224). Your concern,
if I understand it, is with SHA-512 modules that are set in stone and
that therefore can't include this support---but then what's the problem
with the SHA-512/224 module designer relying on the SHA-512 details?

> Would there be any security consequences to just prefixing the message
> with "SHA-512/1056part0" (etc)Â  zero-padded out to the input block
> size and hashing with SHA-512 4 times?

Properly prefixed SHA-512 is safe inside EdDSA.

The motivation for NIST's IV tweaks in FIPS 180-4 (and similarly for
"Sakura" in SHA-3) is to set up different contexts for different hash
lengths. The idea is to make it immediately obvious that attackers can't
transport hashes from one context to another. On the other hand, this
certainly isn't a substitute for doing a careful cross-protocol security
analysis---sufficiently agile protocol designs can leap over any number
of cryptographic firewalls into the pit of doom!---and it also isn't a
necessary component of such an analysis. As I said, I'm not at all
attached to the FIPS 180-4 approach.

---Dan


From nobody Tue Jul 14 00:13:30 2015
Return-Path: <crypto@brainhub.org>
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 7A5E51A86F1 for <cfrg@ietfa.amsl.com>; Tue, 14 Jul 2015 00:13:28 -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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, 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 d1OiF-V9M1hC for <cfrg@ietfa.amsl.com>; Tue, 14 Jul 2015 00:13:26 -0700 (PDT)
Received: from resqmta-po-05v.sys.comcast.net (resqmta-po-05v.sys.comcast.net [IPv6:2001:558:fe16:19:96:114:154:164]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 143331A1B47 for <cfrg@irtf.org>; Tue, 14 Jul 2015 00:13:25 -0700 (PDT)
Received: from resomta-po-10v.sys.comcast.net ([96.114.154.234]) by resqmta-po-05v.sys.comcast.net with comcast id s7DR1q00153iAfU017DR7L; Tue, 14 Jul 2015 07:13:25 +0000
Received: from [192.168.1.2] ([71.202.164.227]) by resomta-po-10v.sys.comcast.net with comcast id s7DP1q00R4uhcbK017DQWf; Tue, 14 Jul 2015 07:13:25 +0000
Message-ID: <55A4B693.2000301@brainhub.org>
Date: Tue, 14 Jul 2015 00:13:23 -0700
From: Andrey Jivsov <crypto@brainhub.org>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: cfrg@irtf.org
References: <20150713091838.17893.qmail@cr.yp.to> <55A3BBC3.7030500@sbcglobal.net> <CAFewVt4CpSUUAizAv0Se5pBg=6RCX1LicDT40ehbP6qVHGQppw@mail.gmail.com>
In-Reply-To: <CAFewVt4CpSUUAizAv0Se5pBg=6RCX1LicDT40ehbP6qVHGQppw@mail.gmail.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1436858005; bh=8kpzG3/zS3ASz5VxjGgCkyicvrS7/cXLXmu8y7Jwtzc=; h=Received:Received:Message-ID:Date:From:MIME-Version:To:Subject: Content-Type; b=mTXllH6CfpU6RRqlwEEt5cRDWdwzmmTGv7du3FfIu78NlrrIqnzcue2FplY1l8SGm u3IaLvrAi6UHVHT8qBpVNRG0OV5C/MqbMtZ3WsvY5XNPT0IyC4BNOYDMru/TvUGYuT vVu4R6rNslGflGLJb2VskWvwZtAwuodMacNUJqReQ/eW1rDA8VGVbyU7RC/t1SPZUg 0ALHPzPzexJ4uzt3/PTpsPFry5QhBVp6lYvtliekqZzKIjdpAUMds2MjAPSg6J5xLg 4BBJ2Wf4diF/V7G5zzBBLihes3WTMtsWyyZ+LlobCRsAgAkoZKo/6+TrLVjj6ByouB OlHs8iERAsrLg==
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/1lf2ODOnEd5mgMk5YYkX4qLMf_k>
Subject: Re: [Cfrg] principles in choosing hash functions for signatures
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: <https://mailarchive.ietf.org/arch/browse/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: Tue, 14 Jul 2015 07:13:28 -0000

On 07/13/2015 08:12 AM, Brian Smith wrote:
> David Jacobson <dmjacobson@sbcglobal.net
> <mailto:dmjacobson@sbcglobal.net>> wrote:
>
>     On 7/13/15 2:18 AM, D. J. Bernstein wrote:
>
>         Our long-hash examples follow the pattern of the SHA-512/224 and
>         SHA-512/256 standards from FIPS 180-4. It's of course possible to
>         replace the FIPS 180-4 approach with prefixed SHA-512, but would
>         this
>         actually produce any simplifications for a library designer who
>         wants to
>         add support for a new signature system?
>
>
> <snip>
>
>     Prefixed popular standard hash functions (e.g. SHA-256 and SHA-512)
>     are much to be preferred over modifying IVs.  It is super simple:
>     Just a one Update call passing in the appropriate literal.  It works
>     with all Init-Update-Final implementations.
>
>
> I agree with this. Actually, it greatly simplifies things for some
> implementations if only stock SHA-256 and SHA-384, at most, are
> required. There would be no other use for SHA-512 with an IV other than
> the one used for SHA-384 in many applications.

+1.

On 07/13/2015 02:18 AM, D. J. Bernstein wrote:
> It would be useful to collect data regarding any actual difficulties
> of implementing these standards. For example, in every IUF API I've
> seen for SHA-512, changing the IV is a trivial matter of overwriting
> the IV copied by the Init function, but maybe there are tougher
> situations.

This assumes software implementation with available source code as a 
starting point.

Unfortunately, this doesn't cover hardware-software implementations of 
SHA. These interfaces will likely have limited choices and we can't 
expect that they always offer extensibility through tweaking of the IVs. 
SHA-512/256 is rare anyway, but even if e.g. SHA-512 + SHA-384 are 
available, they are either offered as unrelated hash algorithms or as 
limited choices (e.g. I can't define my own flavor of SHA-512), in the 
examples I know.

Other notes:

On 07/13/2015 03:29 PM, D. J. Bernstein wrote:
 > Here's a concise way to set up an OpenSSL SHA512_CTX to contain NIST's
 > standard IV for SHA-512/224:
 >
 >     SHA512_Init(&c);
 >     for (i = 0;i < 8;++i) c.h[i] ^= 0xa5a5a5a5a5a5a5a5;
 >     SHA512_Update(&c,"SHA-512/224",11);
 >     SHA512_Final(md,&c);

I am curious whether this code is always correct on 32 bit build 
targets. IMO OpenSSL doesn't hide c.h because it expects cooperating 
developers. The 'c' was intended to be used as an opaque type through 
"accessor methods" like Init/Update/Final.

Finally, there would be a need for another set of test vectors for yet 
another SHA variant.

>
> Cheers,
> Brian
>
>
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg
>


From nobody Tue Jul 14 00:45:00 2015
Return-Path: <rsalz@akamai.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 A51B61A9008 for <cfrg@ietfa.amsl.com>; Tue, 14 Jul 2015 00:44:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.462
X-Spam-Level: *
X-Spam-Status: No, score=1.462 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FH_RELAY_NODNS=1.451, HELO_MISMATCH_COM=0.553, RDNS_NONE=0.793, SPF_SOFTFAIL=0.665] 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 GwwHaueezZaU for <cfrg@ietfa.amsl.com>; Tue, 14 Jul 2015 00:44:57 -0700 (PDT)
Received: from prod-mail-xrelay07.akamai.com (unknown [23.79.238.175]) by ietfa.amsl.com (Postfix) with ESMTP id 9F9A01A9006 for <cfrg@irtf.org>; Tue, 14 Jul 2015 00:44:57 -0700 (PDT)
Received: from prod-mail-xrelay07.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id A888248258; Tue, 14 Jul 2015 07:45:20 +0000 (GMT)
Received: from prod-mail-relay06.akamai.com (prod-mail-relay06.akamai.com [172.17.120.126]) by prod-mail-xrelay07.akamai.com (Postfix) with ESMTP id 9223F48255; Tue, 14 Jul 2015 07:45:20 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=akamai.com; s=a1; t=1436859920; bh=MqkrlYHQegQsXDf/XIq/NUd2XxejX9MNtTBQWxlUTWc=; h=From:To:Subject:Date:References:In-Reply-To:From; b=H1TS4/djwt39cSN4vcoNlmjddj17O/hkhpMc2/6L26prHFB05quW2J+GglMq2Fk0u uNzjxT9O9aAJrP4vlKjcX1Nc2ZSht4IkrCaQaRlBdDt9UeG3gBRp3xxnVPzOTDm4WV 8/2cX5+ZPjLd1aLtnzMDUocJFBU9K/AaogsNqslg=
Received: from email.msg.corp.akamai.com (ustx2ex-cas1.msg.corp.akamai.com [172.27.25.30]) by prod-mail-relay06.akamai.com (Postfix) with ESMTP id 5A6962035; Tue, 14 Jul 2015 07:44:56 +0000 (GMT)
Received: from USTX2EX-DAG1MB2.msg.corp.akamai.com (172.27.27.102) by ustx2ex-dag1mb2.msg.corp.akamai.com (172.27.27.102) with Microsoft SMTP Server (TLS) id 15.0.1076.9; Tue, 14 Jul 2015 02:44:55 -0500
Received: from USTX2EX-DAG1MB2.msg.corp.akamai.com ([172.27.6.132]) by ustx2ex-dag1mb2.msg.corp.akamai.com ([172.27.6.132]) with mapi id 15.00.1076.000; Tue, 14 Jul 2015 02:44:55 -0500
From: "Salz, Rich" <rsalz@akamai.com>
To: Andrey Jivsov <crypto@brainhub.org>, "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [Cfrg] principles in choosing hash functions for signatures
Thread-Index: AQHQvUz7pi+++hCbUEWtdEtfEdBE3p3Zt12AgAAea4CAAQyTgP//s6xw
Date: Tue, 14 Jul 2015 07:44:54 +0000
Message-ID: <d3a1599e13ca4d13a18795da8bc68f06@ustx2ex-dag1mb2.msg.corp.akamai.com>
References: <20150713091838.17893.qmail@cr.yp.to> <55A3BBC3.7030500@sbcglobal.net> <CAFewVt4CpSUUAizAv0Se5pBg=6RCX1LicDT40ehbP6qVHGQppw@mail.gmail.com> <55A4B693.2000301@brainhub.org>
In-Reply-To: <55A4B693.2000301@brainhub.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [172.19.221.16]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/TeSa6mVoWaHEUm1sd4XaBClmsug>
Subject: Re: [Cfrg] principles in choosing hash functions for signatures
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: <https://mailarchive.ietf.org/arch/browse/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: Tue, 14 Jul 2015 07:44:59 -0000

> OpenSSL doesn't hide c.h because it expects cooperating developers. The '=
c'
> was intended to be used as an opaque type through "accessor methods" like
> Init/Update/Final.

And the next release will make it opaque so you can't play this "trick" wit=
hout special support.

	/r$


From nobody Tue Jul 14 02:25:38 2015
Return-Path: <codesinchaos@gmail.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 486A61A9114 for <cfrg@ietfa.amsl.com>; Tue, 14 Jul 2015 02:25:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4
X-Spam-Level: 
X-Spam-Status: No, score=-4 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, GB_I_LETTER=-2, 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 awhEpk521Knw for <cfrg@ietfa.amsl.com>; Tue, 14 Jul 2015 02:25:35 -0700 (PDT)
Received: from mail-ig0-x234.google.com (mail-ig0-x234.google.com [IPv6:2607:f8b0:4001:c05::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2CBCD1A9116 for <cfrg@ietf.org>; Tue, 14 Jul 2015 02:25:35 -0700 (PDT)
Received: by iggp10 with SMTP id p10so94234308igg.0 for <cfrg@ietf.org>; Tue, 14 Jul 2015 02:25:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=zJS7iJlkfqU06ZXoTTvaaVBokhH2Jwf1rtDwwjmhIrM=; b=zsJKw7G2znsMGDcMoy7g5PyLgpeMSG+QjFNW8HaoguqkR8juf57XPNwdlYATHFU0hc Gf69kCQknS27E8a4/CRxpmMfussyidPZstfpVcATqp+pWQ7yH/1sLS/1QbP/ZczcG8bX dC3OSAMLWoTM2euEtlmgAPUguDmG/CR5H8Pc5kzt0wdyhzEcXfJfXbW4ziNWAqqqj6RK YtMUb89lbD/ZwnEg4QlgCTro8K8yjAqEdrVV5CjB55FXS2ZwhBaXNCLwX+Ecbh8PA7d1 8XcHmz4yNLY71sakTqE5l35MnS1WmVZ1A4vcupOf/XONDP40PFnIkxIXKtUffaFij67h BpZg==
MIME-Version: 1.0
X-Received: by 10.50.143.43 with SMTP id sb11mr8463470igb.69.1436865934560; Tue, 14 Jul 2015 02:25:34 -0700 (PDT)
Received: by 10.107.55.11 with HTTP; Tue, 14 Jul 2015 02:25:34 -0700 (PDT)
In-Reply-To: <CAMm+Lwi5meHrsbHaseqtmj_3qCDo+J2C8LAS51D=Z6DCtaku5w@mail.gmail.com>
References: <CAMm+Lwi5meHrsbHaseqtmj_3qCDo+J2C8LAS51D=Z6DCtaku5w@mail.gmail.com>
Date: Tue, 14 Jul 2015 11:25:34 +0200
Message-ID: <CAK9dnSw=kLDGNmWFuRnAaVyqmxZS7bzXNtOOxjCiO+-BCxifZg@mail.gmail.com>
From: CodesInChaos <codesinchaos@gmail.com>
To: Phillip Hallam-Baker <phill@hallambaker.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/_YLzeulPnJwex5OvuSEiQQPGiUU>
Cc: "cfrg@ietf.org" <cfrg@ietf.org>
Subject: Re: [Cfrg] Additional consequences of the move to ECC (and they are good)
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: <https://mailarchive.ietf.org/arch/browse/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: Tue, 14 Jul 2015 09:25:37 -0000

Extrapolating from the cost of a Curve25519 key exchange*, a CPU
should be able to produce new keypair in 1000 cycles or so. Hashing
costs another 1000 cycles or so (depending on the hash). This amounts
to about 4 letters per second. Using GPUs and custom hardware speed it
up further.

To avoid these issues it's a good idea to include some kind of
proof-of-work into computing human comparable fingerprints. I'd use
the first letter for the logarithm of the amount of work, so if the
defender put in a lot of work, the attacker needs to put in a lot of
work as well to match even the first letter.


From nobody Tue Jul 14 08:34:00 2015
Return-Path: <djb-dsn2-1406711340.7506@cr.yp.to>
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 BC5471A0373 for <cfrg@ietfa.amsl.com>; Tue, 14 Jul 2015 08:33:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.095
X-Spam-Level: **
X-Spam-Status: No, score=2.095 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, HELO_EQ_NL=0.55, HOST_EQ_NL=1.545, UNPARSEABLE_RELAY=0.001] 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 cP7ISnlwJSPj for <cfrg@ietfa.amsl.com>; Tue, 14 Jul 2015 08:33:58 -0700 (PDT)
Received: from calvin.win.tue.nl (calvin.win.tue.nl [131.155.70.11]) by ietfa.amsl.com (Postfix) with SMTP id 0AB201A0393 for <cfrg@irtf.org>; Tue, 14 Jul 2015 08:33:44 -0700 (PDT)
Received: (qmail 9599 invoked by uid 1017); 14 Jul 2015 15:34:03 -0000
Received: from unknown (unknown) by unknown with QMTP; 14 Jul 2015 15:34:03 -0000
Received: (qmail 30820 invoked by uid 1000); 14 Jul 2015 15:33:37 -0000
Date: 14 Jul 2015 15:33:37 -0000
Message-ID: <20150714153337.30819.qmail@cr.yp.to>
From: "D. J. Bernstein" <djb@cr.yp.to>
To: cfrg@irtf.org
Mail-Followup-To: cfrg@irtf.org
In-Reply-To: <20150713102051.GA18939@LK-Perkele-VII>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/refqX9oeb0LAB61-JCUKCRjLnTk>
Subject: Re: [Cfrg] principles in choosing hash functions for signatures
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: <https://mailarchive.ietf.org/arch/browse/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: Tue, 14 Jul 2015 15:33:59 -0000

Ilari Liusvaara writes:
> If to prehash using SHA-512 or use PureEdDSA is controlled by the key,
> right?

I don't understand the question. How do you imagine an EdDSA key
controlling the choice of prehash function?

A protocol that specifies HashEdDSA (for IUF) would normally specify the
prehash function as part of this. All of our HashEdDSA examples specify
SHA-512; this means that all messages are fed through SHA-512, without
regard to the key or the key length or the choice of curve.

It's of course possible to build a protocol that hashes some long
messages with SHA-256 and hashes other long messages with SHA-512, where
the choice between SHA-256 and SHA-512 is dynamically dictated by a bit
in a signature-key-plus-hash-choice blob, and then obviously a signer or
verifier would want to inspect the blob before hashing. But this sounds
like agility run amok. More to the point, this isn't specific to EdDSA;
exactly the same complication can be applied to any signature system.

---Dan


From nobody Tue Jul 14 09:37:49 2015
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 05D0C1A879D for <cfrg@ietfa.amsl.com>; Tue, 14 Jul 2015 09:37:48 -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 tpTxzs-YeGVs for <cfrg@ietfa.amsl.com>; Tue, 14 Jul 2015 09:37:46 -0700 (PDT)
Received: from emh03.mail.saunalahti.fi (emh03.mail.saunalahti.fi [62.142.5.109]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5A8011A8769 for <cfrg@irtf.org>; Tue, 14 Jul 2015 09:37:35 -0700 (PDT)
Received: from LK-Perkele-VII (a91-155-194-207.elisa-laajakaista.fi [91.155.194.207]) by emh03.mail.saunalahti.fi (Postfix) with ESMTP id 122BD188855 for <cfrg@irtf.org>; Tue, 14 Jul 2015 19:37:33 +0300 (EEST)
Date: Tue, 14 Jul 2015 19:37:32 +0300
From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
To: cfrg@irtf.org
Message-ID: <20150714163732.GA1094@LK-Perkele-VII>
References: <20150713102051.GA18939@LK-Perkele-VII> <20150714153337.30819.qmail@cr.yp.to>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <20150714153337.30819.qmail@cr.yp.to>
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/YB1eLF-auAO9pLr9368tF_H2_mk>
Subject: Re: [Cfrg] principles in choosing hash functions for signatures
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: <https://mailarchive.ietf.org/arch/browse/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: Tue, 14 Jul 2015 16:37:48 -0000

On Tue, Jul 14, 2015 at 03:33:37PM -0000, D. J. Bernstein wrote:
> Ilari Liusvaara writes:
> > If to prehash using SHA-512 or use PureEdDSA is controlled by the key,
> > right?
> 
> I don't understand the question. How do you imagine an EdDSA key
> controlling the choice of prehash function?

Well, apparently some misunderstanding based on lack of "firewalling"
plus some comments.
 
> A protocol that specifies HashEdDSA (for IUF) would normally specify the
> prehash function as part of this. All of our HashEdDSA examples specify
> SHA-512; this means that all messages are fed through SHA-512, without
> regard to the key or the key length or the choice of curve.

Let's take that TLS 1.2 (and likely 1.3) it has a field for hash
algorithm used in signature, offering choices including identity and
SHA-512 (with note that identity is intended for signature algorithms
that can take arbitrary length inputs to sign, but no presently
defined signature algorithm is capable of that, but e.g. Ed25519 certainly
would).

The structure is like:

- Signature algorithm (1 => RSA, 2 => DSA, 3 => ECDSA, ...)
- Hash algorithm (0 => Identity, 4 => SHA256, 5 => SHA384, 6 => SHA512, ...)
- Actual signature blob (octet string).

Where the opposite side advertises (signature, hash) pairs it supports,
and the signer picks one.


No two hash algorithms presently available have the same output length,
but in future algorithm colliding with one of the SHA-2 algorithms could
be added (and of course, identity can collide lengthwise with all).


This mostly affects client certificates in TLS 1.2. I'm having difficulty
imagining anything that would have problems using identity for TLS 1.2
server signature or either of the present TLS 1.3 signatures.


Also, note that server that is practicularly lazy might want to pick
SHA-256 or SHA-384 (or any other prf-hash) depending on cipher, as
servers need to keep running hash with intermediate results using
that algorithm anyway (and TLS security theorems rely on that being
CR).


-Ilari


From nobody Tue Jul 14 10:08:38 2015
Return-Path: <ynir.ietf@gmail.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 3186B1A899D for <cfrg@ietfa.amsl.com>; Tue, 14 Jul 2015 10:08:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, 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 GHTnNzGbk8Wd for <cfrg@ietfa.amsl.com>; Tue, 14 Jul 2015 10:08:36 -0700 (PDT)
Received: from mail-wi0-x235.google.com (mail-wi0-x235.google.com [IPv6:2a00:1450:400c:c05::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BB8D21A7011 for <cfrg@irtf.org>; Tue, 14 Jul 2015 10:08:35 -0700 (PDT)
Received: by wicmv11 with SMTP id mv11so19842156wic.1 for <cfrg@irtf.org>; Tue, 14 Jul 2015 10:08:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=0loevDw2/jMvg5ZpGgKYA+srwRCDwYx739QZ1B9LGvk=; b=VMciQcWufqs9Ki65ldawiVO+WGkVp9eBnQFbCJ316+QZ9W55qhjHcQUMO/A8/m6rZj Q8kMnGlnjGJC95V3lsSN6qTorxsJHgVmeLICY9Ryd2IaKQdJ5Ua0spWh5/P4AHbfn7wS sS9BL7tCjX0lPFh/d3Kfwis/JQwZspus1W8z32i1R++gMdhU9OSdUVo7iz1/468FTNd6 f7I/wrxbqbe9R26e/v7vc8OXttG+nWuXGeQzUu8MaisSGGgWr5WMoOX4l0h+22rgK20S 1zrd7JzmcSlF6LkY1yVMNcSZi+s7yoUAzDxFHVSyavTKQOHTmLST5GZ6nVuo2Mx7xOls 3DZQ==
X-Received: by 10.180.95.35 with SMTP id dh3mr35229951wib.30.1436893714442; Tue, 14 Jul 2015 10:08:34 -0700 (PDT)
Received: from [192.168.1.15] ([46.120.13.132]) by smtp.gmail.com with ESMTPSA id ck18sm3014038wjb.47.2015.07.14.10.08.32 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 14 Jul 2015 10:08:33 -0700 (PDT)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
From: Yoav Nir <ynir.ietf@gmail.com>
In-Reply-To: <20150714163732.GA1094@LK-Perkele-VII>
Date: Tue, 14 Jul 2015 20:08:31 +0300
Content-Transfer-Encoding: quoted-printable
Message-Id: <E45902E6-D8E8-4E21-AC89-39DF5E90F03F@gmail.com>
References: <20150713102051.GA18939@LK-Perkele-VII> <20150714153337.30819.qmail@cr.yp.to> <20150714163732.GA1094@LK-Perkele-VII>
To: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
X-Mailer: Apple Mail (2.2102)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/qGKUKTchb7Ff6wdlHlyF_U4x3cE>
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] principles in choosing hash functions for signatures
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: <https://mailarchive.ietf.org/arch/browse/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: Tue, 14 Jul 2015 17:08:37 -0000

On Jul 14, 2015, at 7:37 PM, Ilari Liusvaara =
<ilari.liusvaara@elisanet.fi> wrote:

> Let's take that TLS 1.2 (and likely 1.3) it has a field for hash
> algorithm used in signature, offering choices including identity and
> SHA-512 (with note that identity is intended for signature algorithms
> that can take arbitrary length inputs to sign, but no presently
> defined signature algorithm is capable of that, but e.g. Ed25519 =
certainly
> would).
>=20
> The structure is like:
>=20
> - Signature algorithm (1 =3D> RSA, 2 =3D> DSA, 3 =3D> ECDSA, ...)
> - Hash algorithm (0 =3D> Identity, 4 =3D> SHA256, 5 =3D> SHA384, 6 =3D> =
SHA512, ...)
> - Actual signature blob (octet string).

That=E2=80=99s only if TLS decides to define it that way. They might =
decide that EdDSA is only used with a pre-hash and then they don=E2=80=99t=
 need an identity hash.

Or they could decide that EdDSA is only used with an identity hash and =
then (4,4), (4,5), or (1,0) is illegal.=20

Or they could decide that each curve is assigned a fixed pre-hash so we =
use zero in the hash algorithm octet as a special value that means that =
the hash is dictated by RFC.

Or IPsecME might decide that all these signatures are acceptable, and =
each hash-EdDSA-anotherhahs combination gets its own OID as does =
PureEdDSA-hash and that is used in the signature payload of RFC 7427.

It=E2=80=99s up to the protocol WG to decide which combinations to use =
and how much freedom of choice to give implementers and users.=20

Yoav


From nobody Tue Jul 14 12:22:24 2015
Return-Path: <prvs=4637c5f7f8=uri@ll.mit.edu>
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 198B81AD244 for <cfrg@ietfa.amsl.com>; Tue, 14 Jul 2015 12:22:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.209
X-Spam-Level: 
X-Spam-Status: No, score=-4.209 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01, UNPARSEABLE_RELAY=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 UOhlQzh_Pvyl for <cfrg@ietfa.amsl.com>; Tue, 14 Jul 2015 12:22:21 -0700 (PDT)
Received: from mx1.ll.mit.edu (MX1.LL.MIT.EDU [129.55.12.45]) by ietfa.amsl.com (Postfix) with ESMTP id 2457C1B2AE4 for <cfrg@irtf.org>; Tue, 14 Jul 2015 12:22:10 -0700 (PDT)
Received: from LLE2K10-HUB01.mitll.ad.local (LLE2K10-HUB01.mitll.ad.local) by mx1.ll.mit.edu (unknown) with ESMTP id t6EJLw5W013153; Tue, 14 Jul 2015 15:22:07 -0400
From: "Blumenthal, Uri - 0553 - MITLL" <uri@ll.mit.edu>
To: "Salz, Rich" <rsalz@akamai.com>, Andrey Jivsov <crypto@brainhub.org>, "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [Cfrg] principles in choosing hash functions for signatures
Thread-Index: AQHQvU0Ghgq8pvKG3UWRDdtjCZFhkp3ZppmAgAAea4CAAQyTgIAACM8AgAB/tAA=
Date: Tue, 14 Jul 2015 19:22:03 +0000
Message-ID: <D1CAD977.1BF76%uri@ll.mit.edu>
References: <20150713091838.17893.qmail@cr.yp.to> <55A3BBC3.7030500@sbcglobal.net> <CAFewVt4CpSUUAizAv0Se5pBg=6RCX1LicDT40ehbP6qVHGQppw@mail.gmail.com> <55A4B693.2000301@brainhub.org> <d3a1599e13ca4d13a18795da8bc68f06@ustx2ex-dag1mb2.msg.corp.akamai.com>
In-Reply-To: <d3a1599e13ca4d13a18795da8bc68f06@ustx2ex-dag1mb2.msg.corp.akamai.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.5.2.150604
x-originating-ip: [172.25.177.187]
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha256; boundary="B_3519732118_36421635"
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.14.151, 1.0.33,  0.0.0000 definitions=2015-07-14_09:2015-07-14,2015-07-14,1970-01-01 signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1506180000 definitions=main-1507140270
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/xSmiPBBSxv5qlkPAiJ41E8MBO40>
Subject: Re: [Cfrg] principles in choosing hash functions for signatures
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: <https://mailarchive.ietf.org/arch/browse/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: Tue, 14 Jul 2015 19:22:23 -0000

--B_3519732118_36421635
Content-type: text/plain;
	charset="UTF-8"
Content-transfer-encoding: 7bit

On 7/14/15, 3:44 , "Cfrg on behalf of Salz, Rich" <cfrg-bounces@irtf.org
on behalf of rsalz@akamai.com> wrote:

>> OpenSSL doesn't hide c.h because it expects cooperating developers. The
>>'c'
>> was intended to be used as an opaque type through "accessor methods"
>>like
>> Init/Update/Final.
>
>And the next release will make it opaque so you can't play this "trick"
>without special support.

+10!  :-)

--B_3519732118_36421635
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"

MIIQ0AYJKoZIhvcNAQcCoIIQwTCCEL0CAQExDzANBglghkgBZQMEAgEFADALBgkqhkiG9w0B
BwGggg6fMIIE6jCCA9KgAwIBAgIKE5SxSwAAAABE8TANBgkqhkiG9w0BAQsFADBRMQswCQYD
VQQGEwJVUzEfMB0GA1UEChMWTUlUIExpbmNvbG4gTGFib3JhdG9yeTEMMAoGA1UECxMDUEtJ
MRMwEQYDVQQDEwpNSVRMTCBDQS0zMB4XDTE1MDYxNTE2MjQzOVoXDTE2MDYxNDE2MjQzOVow
YTELMAkGA1UEBhMCVVMxHzAdBgNVBAoTFk1JVCBMaW5jb2xuIExhYm9yYXRvcnkxDzANBgNV
BAsTBlBlb3BsZTEgMB4GA1UEAxMXQmx1bWVudGhhbC5VcmkuNTAwMTA1ODQwggEiMA0GCSqG
SIb3DQEBAQUAA4IBDwAwggEKAoIBAQC0tVFZOYvbDipiXfjylg0yIORem8AMZ4UQJ7EM2BI8
jKLj/h3RwH4w2DOMdepALLUqscSrpX6HPbo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/66DNM6wSm
i1Ti9F2f2/Are2a7a9E/IPXfleh39lVG7uTaneEJMSHzDltkB5k6DYMv/t28ntQm2jLI9adM
wccDlKSR2uIDsiA7jodiTxbqL/aRi+WC4ybWWhXuzSbkMesayt5QAKpuKLAr7newfZaWx8zP
nWU1nWZBbJR7cLKgUTaEiQu/NlCWIFJIC9yRhze+KR41vIa+7niQnUANjoYCCu32Z8xgxhK4
kQr5teUVUNDoCj02x781GFfwCknxpsWEm95OWM1iaXKCGJ8ciioulEzksZUrIHdImISaQVV+
Xdmbcd3OH6y8fNl1mZdXn8sxNJc+/g0xggH1MIIB8QIBATBfMFExCzAJBgNVBAYTAlVTMR8w
HQYDVQQKExZNSVQgTGluY29sbiBMYWJvcmF0b3J5MQwwCgYDVQQLEwNQS0kxEzARBgNVBAMT
Ck1JVExMIENBLTMCChOUsUsAAAAARPEwDQYJYIZIAWUDBAIBBQCgaTAvBgkqhkiG9w0BCQQx
IgQg/Gw6Th9bKxGt34KHj5R/wU3kJnPRE5s+krlSBTIt9zQwGAYJKoZIhvcNAQkDMQsGCSqG
SIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTUwNzE0MTkyMTU4WjANBgkqhkiG9w0BAQEFAASC
AQBJ83HWFs0wgpTjOCRTXsQM8qAR1sxlACMz1eumPcsj5TbiGTZSIaxN8H7jb43buhlxrHj9
QhyoC65Z13nE51tM1JbgFTUZG6NWV7wd2YdYsT3pStbgBKOu0K6+K6nO8QLgv+ESL8mZH04j
WlpYxwJ5Gn4yJNqXMxg0wLhbK6oBcX977JIZIxmx9GMw2LInzH1m+xJRL892p1u4ZFknRIGI
No1cYUmR87uUTyQ+zomCtOyiR1CXIgIagcYlQNMDt+atxx7BnXhaYVh/nPEo635nwmyXSUxU
KVQGNxzNfGcFzaEfZMae+TOqtzHJHWhpglkgBZNg/R1jAd+F5Gq1vSpH

--B_3519732118_36421635--


From nobody Tue Jul 14 16:18:54 2015
Return-Path: <djm@mindrot.org>
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 5C0841B2F6C for <cfrg@ietfa.amsl.com>; Tue, 14 Jul 2015 16:18:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.497
X-Spam-Level: 
X-Spam-Status: No, score=-3.497 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_AU=0.377, HOST_EQ_AU=0.327, RCVD_IN_DNSWL_MED=-2.3, 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 h4VHiAimyLg3 for <cfrg@ietfa.amsl.com>; Tue, 14 Jul 2015 16:18:52 -0700 (PDT)
Received: from newmailhub.uq.edu.au (mailhub2.soe.uq.edu.au [130.102.132.209]) by ietfa.amsl.com (Postfix) with ESMTP id 445F51B2F68 for <cfrg@irtf.org>; Tue, 14 Jul 2015 16:18:51 -0700 (PDT)
Received: from smtp2.soe.uq.edu.au (smtp2.soe.uq.edu.au [10.138.113.41]) by newmailhub.uq.edu.au (8.14.5/8.14.5) with ESMTP id t6ENIcil022600; Wed, 15 Jul 2015 09:18:38 +1000
Received: from mailhub.eait.uq.edu.au (holly.eait.uq.edu.au [130.102.79.58]) by smtp2.soe.uq.edu.au (8.14.5/8.14.5) with ESMTP id t6ENIcV2018682 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 15 Jul 2015 09:18:38 +1000
Received: from natsu.mindrot.org (natsu.mindrot.org [130.102.96.2]) by mailhub.eait.uq.edu.au (8.15.1/8.15.1) with ESMTP id t6ENIa1O000234; Wed, 15 Jul 2015 09:18:37 +1000 (AEST)
Received: by natsu.mindrot.org (Postfix, from userid 1000) id A3850A4F4E; Wed, 15 Jul 2015 09:18:36 +1000 (AEST)
Received: from localhost (localhost [127.0.0.1]) by natsu.mindrot.org (Postfix) with ESMTP id 9E089A4F4D; Wed, 15 Jul 2015 09:18:36 +1000 (AEST)
Date: Wed, 15 Jul 2015 09:18:36 +1000 (AEST)
From: Damien Miller <djm@mindrot.org>
To: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
In-Reply-To: <20150714163732.GA1094@LK-Perkele-VII>
Message-ID: <alpine.BSO.2.20.1507150900490.15766@natsu.mindrot.org>
References: <20150713102051.GA18939@LK-Perkele-VII> <20150714153337.30819.qmail@cr.yp.to> <20150714163732.GA1094@LK-Perkele-VII>
User-Agent: Alpine 2.20 (BSO 67 2015-01-07)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
X-Scanned-By: MIMEDefang 2.73 on UQ Mailhub
X-Scanned-By: MIMEDefang 2.75 on 130.102.79.58
X-UQ-FilterTime: 1436915919
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/wBpqP8NxvhIjcrEq8x8JVKBcBAs>
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] principles in choosing hash functions for signatures
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: <https://mailarchive.ietf.org/arch/browse/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: Tue, 14 Jul 2015 23:18:54 -0000

On Tue, 14 Jul 2015, Ilari Liusvaara wrote:

> The structure is like:
> 
> - Signature algorithm (1 => RSA, 2 => DSA, 3 => ECDSA, ...)
> - Hash algorithm (0 => Identity, 4 => SHA256, 5 => SHA384, 6 => SHA512, ...)
> - Actual signature blob (octet string).
> 
> Where the opposite side advertises (signature, hash) pairs it supports,
> and the signer picks one.

That yields a N*M explosion of possibilities, with only few of them useful
and increased opportunities for downgrade shennannigans.


From nobody Wed Jul 15 00:48:38 2015
Return-Path: <kato.akihiro@po.ntts.co.jp>
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 48C501A8857 for <cfrg@ietfa.amsl.com>; Wed, 15 Jul 2015 00:48:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.797
X-Spam-Level: *
X-Spam-Status: No, score=1.797 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, HELO_EQ_JP=1.244, HOST_EQ_JP=1.265, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 XEfmy2Jorj5c for <cfrg@ietfa.amsl.com>; Wed, 15 Jul 2015 00:48:35 -0700 (PDT)
Received: from mail12.ics.ntts.co.jp (mail12.ics.ntts.co.jp [210.232.35.65]) by ietfa.amsl.com (Postfix) with ESMTP id 5ABA41A8847 for <cfrg@irtf.org>; Wed, 15 Jul 2015 00:48:35 -0700 (PDT)
Received: from sadoku34.silk.ntts.co.jp (sadoku34 [10.7.18.34]) by mail12.ics.ntts.co.jp (8.14.4/8.14.4/NTTSOFT) with ESMTP id t6F7mYfq009485 for <cfrg@irtf.org>; Wed, 15 Jul 2015 16:48:34 +0900 (JST)
Received: (from root@localhost) by sadoku34.silk.ntts.co.jp (8.13.8/NTTSOFT) id t6F7mY9i006812 for cfrg@irtf.org; Wed, 15 Jul 2015 16:48:34 +0900 (JST)
Received: from ccmds31.silk.ntts.co.jp [10.107.0.31]  by sadoku34.silk.ntts.co.jp with SMTP id SAA06811; Wed, 15 Jul 2015 16:48:34 +0900
Received: from mail147.silk.ntts.co.jp (localhost.localdomain [127.0.0.1]) by ccmds31.silk.ntts.co.jp (8.14.3/8.14.3) with ESMTP id t6F7mYxA021383 for <cfrg@irtf.org>; Wed, 15 Jul 2015 16:48:34 +0900
Received: from mail147.silk.ntts.co.jp (localhost.localdomain [127.0.0.1]) by mail147.silk.ntts.co.jp (8.14.5/8.14.5/NTTSOFT) with ESMTP id t6F7mWQP032224 for <cfrg@irtf.org>; Wed, 15 Jul 2015 16:48:32 +0900
Received: from ccmds31 (mail145.silk.ntts.co.jp [10.107.0.145]) by mail147.silk.ntts.co.jp (8.14.5/8.14.5/NTTSOFT) with SMTP id t6F7mWWt032221 for <cfrg@irtf.org>; Wed, 15 Jul 2015 16:48:32 +0900
From: KATO Akihiro <kato.akihiro@po.ntts.co.jp>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Message-ID: <55A61043.9030301@po.ntts.co.jp>
Date: Wed, 15 Jul 2015 16:48:19 +0900
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
X-CC-Mail-RelayStamp: CC-Mail-V4.3-Client
X-CC-Mail-RelayStamp: CC-Mail-V4.3-Server
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/ZVLT_1xj1-k7DnHWYKFUeDTnr78>
Subject: [Cfrg] I submitted 3 drafts related to a pairing
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: <https://mailarchive.ietf.org/arch/browse/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: Wed, 15 Jul 2015 07:48:37 -0000

Hi cfrg folks,

A special map called a pairing on elliptic curves allow cryptographic
protocols to achieve functionally or efficiency.

We have recently submitted three I-Ds related paring.

draft-kato-fsu-key-exchange-00.txt
draft-kato-optimal-ate-pairings-00.txt
draft-kasamatsu-bncurves-01.txt

The I-Ds specifies key exchange protocols, pairing algorithm, and pairing
friendly curves respectively.

Those I-Ds are related to following Kasamatsu Kohei's post:
http://www.ietf.org/mail-archive/web/cfrg/current/msg04104.html

We would appreciate your comments and suggestions on our I-Ds and works.

Regards.

KATO, Akihiro


----------------------
A New Internet-Draft is available from the on-line Internet-Drafts
directories.


Title : FSU Key Exchange
Authors : Akihiro Kato
Thomas Hardjono
Tetsutaro Kobayashi
Tsunekazu Saito
Koutarou Suzuki
Filename : draft-kato-fsu-key-exchange-00.txt
Pages : 25
Date : 2015-07-06

Abstract:
This draft proposes an identity-based authenticated key exchange
protocol following the extended Canetti-Krawczyk (id-eCK) model. The
protocol is currently the most efficient among the id-eCK protocols.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-kato-fsu-key-exchange/

There's also a htmlized version available at:
https://tools.ietf.org/html/draft-kato-fsu-key-exchange-00

-------
A New Internet-Draft is available from the on-line Internet-Drafts
directories.


        Title           : Optimal Ate Pairing
        Authors         : Akihiro Kato
                          Michael Scott
                          Tetsutaro Kobayashi
                          Yuto Kawahara
	Filename        : draft-kato-optimal-ate-pairings-00.txt
	Pages           : 17
	Date            : 2015-07-06

Abstract:
   Pairing is a special map from two elliptic curve that called Pairing-
   friend curves to a finite field and is useful mathematical tools for
   constructing cryptographic primitives.  It allows us to construct
   powerful primitives. (e.g. [3] and [4])

   There are some types of pairing and its choice has an impact on the
   performance of the primitive.  For example, Tate Pairing [3] and Ate
   Pairing [4] are specified in IETF.  This memo focuses on Optimal Ate
   Pairing [2] which is an improvement of Ate Pairing.

   This memo defines Optimal Ate Pairing for any pairing-friendly curve.
   We can obtain concrete algorithm by deciding parameters and building
   blocks based on the form of a curve and the description in this memo.
   It enables us to reduce the cost for specifying Optimal Ate Pairing
   over additional curves.  Furthermore, this memo provides concrete
   algorithm for Optimal Ate Pairing over BN-curves [7] and its test
   vectors.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-kato-optimal-ate-pairings/

There's also a htmlized version available at:
https://tools.ietf.org/html/draft-kato-optimal-ate-pairings-00



--------------------------
A new Internet-Draft is available from the on-line Internet-Drafts
directories.


    Title         : Barreto-Naehrig Curves
    Author(s)     : K. Kasamatsu, et al
    Filename      : draft-kasamatsu-bncurves
    Pages         : 24
    Date          : 2015-07-06

   Elliptic curves with pairings are useful tools for constructing
   cryptographic primitives.  In this memo, we specify domain parameters
   of Barreto-Naehrig curves (BN-curves) [8].  The BN-curve is an
   elliptic curve suitable for pairings and allows us to achieve high
   security and efficiency of cryptographic schemes.  This memo
   specifies domain parameters of four 254-bit BN-curves [1] [2] [5]
   which allow us to obtain efficient implementations.


A URL for this Internet-Draft is:
https://www.ietf.org/internet-drafts/draft-kasamatsu-bncurves-01.txt


From nobody Wed Jul 15 03:31:54 2015
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 2AD121A049A for <cfrg@ietfa.amsl.com>; Wed, 15 Jul 2015 03:31:54 -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 GzFEStIkCjK4 for <cfrg@ietfa.amsl.com>; Wed, 15 Jul 2015 03:31:52 -0700 (PDT)
Received: from emh07.mail.saunalahti.fi (emh07.mail.saunalahti.fi [62.142.5.117]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2BF2A1A0470 for <cfrg@irtf.org>; Wed, 15 Jul 2015 03:31:50 -0700 (PDT)
Received: from LK-Perkele-VII (a91-155-194-207.elisa-laajakaista.fi [91.155.194.207]) by emh07.mail.saunalahti.fi (Postfix) with ESMTP id C90C2413B; Wed, 15 Jul 2015 13:31:47 +0300 (EEST)
Date: Wed, 15 Jul 2015 13:31:47 +0300
From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
To: Damien Miller <djm@mindrot.org>
Message-ID: <20150715103147.GA10479@LK-Perkele-VII>
References: <20150713102051.GA18939@LK-Perkele-VII> <20150714153337.30819.qmail@cr.yp.to> <20150714163732.GA1094@LK-Perkele-VII> <alpine.BSO.2.20.1507150900490.15766@natsu.mindrot.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <alpine.BSO.2.20.1507150900490.15766@natsu.mindrot.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/0-Yl9SDMYMZMn_6gLeoqnNHJCDA>
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] principles in choosing hash functions for signatures
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: <https://mailarchive.ietf.org/arch/browse/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: Wed, 15 Jul 2015 10:31:54 -0000

On Wed, Jul 15, 2015 at 09:18:36AM +1000, Damien Miller wrote:
> On Tue, 14 Jul 2015, Ilari Liusvaara wrote:
> 
> > The structure is like:
> > 
> > - Signature algorithm (1 => RSA, 2 => DSA, 3 => ECDSA, ...)
> > - Hash algorithm (0 => Identity, 4 => SHA256, 5 => SHA384, 6 => SHA512, ...)
> > - Actual signature blob (octet string).
> > 
> > Where the opposite side advertises (signature, hash) pairs it supports,
> > and the signer picks one.
> 
> That yields a N*M explosion of possibilities, with only few of them useful
> and increased opportunities for downgrade shennannigans.

Maybe, but that's how TLS 1.2 (and as of current editor's draft,
1.3) signatures apparently work as of currently.

And there is apparently an assumption that the hash algorithm identified
is calculated by the TLS code and the hash is passed to be signed, so
if signature algorithm is to take anything but hash to sign, then hash
algorithm indicated will be identity (called "none" in TLS RFC itself).


-Ilari


From nobody Thu Jul 16 13:36:28 2015
Return-Path: <djb-dsn2-1406711340.7506@cr.yp.to>
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 D48DC1A8A54 for <cfrg@ietfa.amsl.com>; Thu, 16 Jul 2015 13:36:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.095
X-Spam-Level: **
X-Spam-Status: No, score=2.095 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, HELO_EQ_NL=0.55, HOST_EQ_NL=1.545, UNPARSEABLE_RELAY=0.001] 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 HhfYtujgHyeY for <cfrg@ietfa.amsl.com>; Thu, 16 Jul 2015 13:36:25 -0700 (PDT)
Received: from calvin.win.tue.nl (calvin.win.tue.nl [131.155.70.11]) by ietfa.amsl.com (Postfix) with SMTP id 035CA1A8A47 for <cfrg@irtf.org>; Thu, 16 Jul 2015 13:36:24 -0700 (PDT)
Received: (qmail 17637 invoked by uid 1017); 16 Jul 2015 20:36:43 -0000
Received: from unknown (unknown) by unknown with QMTP; 16 Jul 2015 20:36:43 -0000
Received: (qmail 17366 invoked by uid 1000); 16 Jul 2015 20:36:12 -0000
Date: 16 Jul 2015 20:36:12 -0000
Message-ID: <20150716203612.17364.qmail@cr.yp.to>
From: "D. J. Bernstein" <djb@cr.yp.to>
To: cfrg@irtf.org
Mail-Followup-To: cfrg@irtf.org
In-Reply-To: <55A2F62C.3040200@sbcglobal.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/MdA5CVakBz3qSR0GT7NWKm66nH4>
Subject: [Cfrg] SHA-512+t, and more hash-function options
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: <https://mailarchive.ietf.org/arch/browse/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: Thu, 16 Jul 2015 20:36:27 -0000

David Jacobson writes:
> prefixing the message with "SHA-512/1056part0" (etc)Â  zero-padded out
> to the input block size and hashing with SHA-512 4 times?Â  That way
> any SHA-512 HW engine or software implementation would work.Â  It could
> be optimized by taking the state after the first block has been
> processed and using that as the IV (4 IVs, of course).

Just to explore this idea further: Since this is a more serious
deviation from the FIPS 180-4 approach, I'd suggest a slightly different
naming scheme, say "+" for prefixing instead of "/" for IV replacement.
This means that, e.g., the 114-byte "SHA-512+912" output for a message m
would be the concatenation of

   57 bytes of SHA-512("SHA-512+912part0/2"+zeropadding+m)
   57 bytes of SHA-512("SHA-512+912part1/2"+zeropadding+m)

with the padding expanding the prefix to one SHA-512 input block (128
bytes). As you said, the state after the first block can be precomputed,
similarly to HMAC.

Obviously this would work with SHA-512 (rather than just the SHA-512
compression function) as a black box, without the FIPS 180-4 IV tweaks.
>From a security perspective, the disadvantage of prefixing is that the
auditor has to watch out for the possibility of the prefixed hash of m
being transported to a protocol that uses SHA-512 directly and views the
same hash as coming from a modified message prefix+m; but this doesn't
matter for EdDSA.

Were there other concerns regarding the choices of hash functions?

A few of the comments on the mailing list sounded to me like objections
to any use of SHA-512 as requiring serious new implementation work for
devices that support only SHA-256 and SHA-384 (and that didn't use the
obvious modularization of SHA-384). I don't see adding SHA-512 code as a
significant fraction of the ECC implementation effort, and it's also not
a significant performance issue for normal signature applications,
_except_ that prehashing a very long message might be a significant
cost. The choice here is pretty much independent of the signature
proposal, but it does have to be settled one way or another if
signatures are going to be interoperable.

One of the nice features of SHA-3 is that all the different output sizes
can be easily supported with a single implementation. With SHA-2 there's
a real separation between the SHA-256 compression function, mapping 768
bits to 256 bits, and the SHA-512 compression function, mapping 1536
bits to 512 bits; everyone uses separate code, separate tables, etc.
With SHA-3, all output sizes are built straightforwardly from one
unified 1600-bit permutation module, which is also an obvious target for
tests and for optimizations.

---Dan


From nobody Fri Jul 17 01:21:21 2015
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 381CE1B317E for <cfrg@ietfa.amsl.com>; Fri, 17 Jul 2015 01:21:19 -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 4PIi0LZoCVmd for <cfrg@ietfa.amsl.com>; Fri, 17 Jul 2015 01:21:17 -0700 (PDT)
Received: from emh07.mail.saunalahti.fi (emh07.mail.saunalahti.fi [62.142.5.117]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B66AA1B317B for <cfrg@irtf.org>; Fri, 17 Jul 2015 01:21:16 -0700 (PDT)
Received: from LK-Perkele-VII (a91-155-194-207.elisa-laajakaista.fi [91.155.194.207]) by emh07.mail.saunalahti.fi (Postfix) with ESMTP id 5C3263FD3 for <cfrg@irtf.org>; Fri, 17 Jul 2015 11:21:14 +0300 (EEST)
Date: Fri, 17 Jul 2015 11:21:14 +0300
From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
To: cfrg@irtf.org
Message-ID: <20150717082114.GA6733@LK-Perkele-VII>
References: <55A2F62C.3040200@sbcglobal.net> <20150716203612.17364.qmail@cr.yp.to>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <20150716203612.17364.qmail@cr.yp.to>
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/9qIP4_lTNnP6vIaEzBVdzamn7e0>
Subject: Re: [Cfrg] SHA-512+t, and more hash-function options
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 17 Jul 2015 08:21:19 -0000

On Thu, Jul 16, 2015 at 08:36:12PM -0000, D. J. Bernstein wrote:
> David Jacobson writes:
> > prefixing the message with "SHA-512/1056part0" (etc)Â  zero-padded out
> > to the input block size and hashing with SHA-512 4 times?Â  That way
> > any SHA-512 HW engine or software implementation would work.Â  It could
> > be optimized by taking the state after the first block has been
> > processed and using that as the IV (4 IVs, of course).
> 
> Just to explore this idea further: Since this is a more serious
> deviation from the FIPS 180-4 approach, I'd suggest a slightly different
> naming scheme, say "+" for prefixing instead of "/" for IV replacement.
> This means that, e.g., the 114-byte "SHA-512+912" output for a message m
> would be the concatenation of
> 
>    57 bytes of SHA-512("SHA-512+912part0/2"+zeropadding+m)
>    57 bytes of SHA-512("SHA-512+912part1/2"+zeropadding+m)
> 
> with the padding expanding the prefix to one SHA-512 input block (128
> bytes). As you said, the state after the first block can be precomputed,
> similarly to HMAC.

Should work.
 
> Were there other concerns regarding the choices of hash functions?

Not really (using unextended H(R,A,M) is probably too nasty to specify).

Then there are prehash choices in various protocols, e.g. TLS 1.2:
- For server signature, there is no problem with PureEdDSA.
- However, for client signature, there is a problem: Even if the data
  to sign is only a few kB, the private key might very well be on a
  smartcard (with extremely limited resources).

Or PKIX:
- Certs and OCSP responses should be small enough (relative to devices
  used to sign those) that PureEdDSA works fine.
- CRLs can be pretty large. And might very well use the same signing
  keys as the two above.

> A few of the comments on the mailing list sounded to me like objections
> to any use of SHA-512 as requiring serious new implementation work for
> devices that support only SHA-256 and SHA-384 (and that didn't use the
> obvious modularization of SHA-384). I don't see adding SHA-512 code as a
> significant fraction of the ECC implementation effort, and it's also not
> a significant performance issue for normal signature applications,
> _except_ that prehashing a very long message might be a significant
> cost. The choice here is pretty much independent of the signature
> proposal, but it does have to be settled one way or another if
> signatures are going to be interoperable.

I haven't heard of any software where SHA-384 is supported but SHA-512
isn't either in already or could be easily be added.

It is completely different ballgame with IV replacements (where even
support for SHA-512/256 is no guarantee that arbitrary IV replacements
are supported).


-Ilari


From nobody Fri Jul 17 20:02:07 2015
Return-Path: <tom@ritter.vg>
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 B7BFB1A8F34 for <cfrg@ietfa.amsl.com>; Fri, 17 Jul 2015 20:02:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.379
X-Spam-Level: 
X-Spam-Status: No, score=-1.379 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, SPF_PASS=-0.001] 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 WaTFREAfanDM for <cfrg@ietfa.amsl.com>; Fri, 17 Jul 2015 20:02:05 -0700 (PDT)
Received: from mail-wi0-x230.google.com (mail-wi0-x230.google.com [IPv6:2a00:1450:400c:c05::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AAEF91A8F33 for <cfrg@ietf.org>; Fri, 17 Jul 2015 20:02:04 -0700 (PDT)
Received: by widic2 with SMTP id ic2so51120500wid.0 for <cfrg@ietf.org>; Fri, 17 Jul 2015 20:02:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ritter.vg; s=vg; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=tkHx7pJUuIaGqTY4xcuPTpvFh14BSRYwtxFFhQpkH10=; b=fmMrsKtGeWz3S7VAAnCm9TWXhhfcfrMf7Srn/3JTgn08UNYs286XZTCNBuITwm50QU j6nbb2y7uhdq7gnsK2wRy2UgAAntsSulGCvrrOxnvHADNwv5qgEi8A6kQQilhf+C9eNq 9HCVq0x/lYG7zyX/9qukuRDmeZKoNwZpUKSsA=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=tkHx7pJUuIaGqTY4xcuPTpvFh14BSRYwtxFFhQpkH10=; b=YqeEiN85riU+w6jE/zWqdZtTgFZnvBsFBbM2JknylC+g+y3MkNl7Ot5QHhtHsdDoRc no98avylpRDLvQxjYyqxAasbUw38hb8DuZDW9VNMUq8U7ZxezI7TvWoZ3L2/S7gdfI04 yoNt+TizJZE8d7qua9nvc7UizENtqippzQ3akajk9K5A0cNP4rupFW2lbs2no3MWZhju YjMIxui7ZT6iGGLtSRCV8Sk0P2fKtUj1rOZuPDWMQQXCQeWaXsSzSRlkPcObR2OSR6fU 6s5t9lKPWrbFdqn4ewSmY64NeFR0qJtqL1c1X8pEz0Rq+jL06iU4ohJJQj/sYqu5akVH T9tw==
X-Gm-Message-State: ALoCoQkBYJJz+NoIi1fbOUraqwRIVGgDSOG5v24oe48tLpQ9x2lsH0GTsZ/tsYW6TG7NdpETQF9P
X-Received: by 10.194.95.71 with SMTP id di7mr35862817wjb.125.1437188523446; Fri, 17 Jul 2015 20:02:03 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.28.139.83 with HTTP; Fri, 17 Jul 2015 20:01:43 -0700 (PDT)
In-Reply-To: <CAMm+Lwi5meHrsbHaseqtmj_3qCDo+J2C8LAS51D=Z6DCtaku5w@mail.gmail.com>
References: <CAMm+Lwi5meHrsbHaseqtmj_3qCDo+J2C8LAS51D=Z6DCtaku5w@mail.gmail.com>
From: Tom Ritter <tom@ritter.vg>
Date: Fri, 17 Jul 2015 22:01:43 -0500
Message-ID: <CA+cU71=dxC0ihavEhFtopmQomyCMZXxETMsPE=NSTdHMc7=t_g@mail.gmail.com>
To: Phillip Hallam-Baker <phill@hallambaker.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/mv0SqSHNvxsza9SmkA9NJW_e4L8>
Cc: "cfrg@ietf.org" <cfrg@ietf.org>
Subject: Re: [Cfrg] Additional consequences of the move to ECC (and they are good)
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: <https://mailarchive.ietf.org/arch/browse/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: Sat, 18 Jul 2015 03:02:05 -0000

On 13 July 2015 at 11:39, Phillip Hallam-Baker <phill@hallambaker.com> wrote:
> 2) Multiplying the parts of public key pair A by the corresponding parts of
> key pair B produces a new key pair A.B.

I've read a paper that enables generation of a single public ElGamal
key from multiple public ElGamal keys; allowing for distributed key
generation and decryption.  Simple question, complicated answer I'm
sure, but is the same thing documented/possible for ECC?  Any
pointers?

Thanks,
tom


From nobody Fri Jul 17 21:19:35 2015
Return-Path: <hallam@gmail.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 0E1411A8843 for <cfrg@ietfa.amsl.com>; Fri, 17 Jul 2015 21:19:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.277
X-Spam-Level: 
X-Spam-Status: No, score=-1.277 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, HTML_MESSAGE=0.001, SPF_PASS=-0.001] 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 ezYTTWdo7CJf for <cfrg@ietfa.amsl.com>; Fri, 17 Jul 2015 21:19:34 -0700 (PDT)
Received: from mail-la0-x235.google.com (mail-la0-x235.google.com [IPv6:2a00:1450:4010:c03::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 991761A8824 for <cfrg@ietf.org>; Fri, 17 Jul 2015 21:19:33 -0700 (PDT)
Received: by lahe2 with SMTP id e2so8188376lah.1 for <cfrg@ietf.org>; Fri, 17 Jul 2015 21:19:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=qugd5YN9uAmxtKeslESmPDlIlNNUb2kZ4/QNFfdmXHc=; b=EzKZh+5PBBSUufaCQmEVjfyzyHaQS+FAVzm139cEqgXMTaHxuHsVfdmt+qVuAnXe6x MUaJ2F1OEEyig/4qwZY0L4VjyxbO6WXtJA/3Kt8dV2ni0YkPzXX5IdohBlFFTPlX8LyI YfzEnAJk085sJmcfbdmlMPilphsYKeIV9eA9rmQUoihzNSLrXRZVKXJ4tFS4a/fIlnkS Q0PCN/CxRAQJZsn7z4mWZ1Xlkp/1wXTilI7jLk4lu85xSuVFPbi0/M2iocewPeHBj40y zhzMiJPXqA20ir/kK6jecBBFA1W+IyBCRMJ+lr3e9T8yY6xhOcw7PiEPTyX837vZgFw6 n3NQ==
MIME-Version: 1.0
X-Received: by 10.112.172.4 with SMTP id ay4mr17795138lbc.124.1437193172093; Fri, 17 Jul 2015 21:19:32 -0700 (PDT)
Sender: hallam@gmail.com
Received: by 10.112.203.163 with HTTP; Fri, 17 Jul 2015 21:19:31 -0700 (PDT)
In-Reply-To: <CA+cU71=dxC0ihavEhFtopmQomyCMZXxETMsPE=NSTdHMc7=t_g@mail.gmail.com>
References: <CAMm+Lwi5meHrsbHaseqtmj_3qCDo+J2C8LAS51D=Z6DCtaku5w@mail.gmail.com> <CA+cU71=dxC0ihavEhFtopmQomyCMZXxETMsPE=NSTdHMc7=t_g@mail.gmail.com>
Date: Sat, 18 Jul 2015 00:19:31 -0400
X-Google-Sender-Auth: pRF5NLVwMvSVWjHzaHYW5UsAcC0
Message-ID: <CAMm+LwgMvtsVRAas3HKAoGUTicUV84F6Pf-t5fWm9BCQojm+4g@mail.gmail.com>
From: Phillip Hallam-Baker <phill@hallambaker.com>
To: Tom Ritter <tom@ritter.vg>
Content-Type: multipart/alternative; boundary=001a11c345a87f1107051b1e9c3f
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/yRbajoKofIoZ8S5iNDFEWzjj3SI>
Cc: "cfrg@ietf.org" <cfrg@ietf.org>
Subject: Re: [Cfrg] Additional consequences of the move to ECC (and they are good)
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: <https://mailarchive.ietf.org/arch/browse/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: Sat, 18 Jul 2015 04:19:35 -0000

--001a11c345a87f1107051b1e9c3f
Content-Type: text/plain; charset=UTF-8

Yes, it works in any group

Which paper is that?

On Fri, Jul 17, 2015 at 11:01 PM, Tom Ritter <tom@ritter.vg> wrote:

> On 13 July 2015 at 11:39, Phillip Hallam-Baker <phill@hallambaker.com>
> wrote:
> > 2) Multiplying the parts of public key pair A by the corresponding parts
> of
> > key pair B produces a new key pair A.B.
>
> I've read a paper that enables generation of a single public ElGamal
> key from multiple public ElGamal keys; allowing for distributed key
> generation and decryption.  Simple question, complicated answer I'm
> sure, but is the same thing documented/possible for ECC?  Any
> pointers?
>
> Thanks,
> tom
>

--001a11c345a87f1107051b1e9c3f
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Yes, it works in any group<div><br></div><div>Which paper =
is that?</div></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quot=
e">On Fri, Jul 17, 2015 at 11:01 PM, Tom Ritter <span dir=3D"ltr">&lt;<a hr=
ef=3D"mailto:tom@ritter.vg" target=3D"_blank">tom@ritter.vg</a>&gt;</span> =
wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bord=
er-left:1px #ccc solid;padding-left:1ex"><span class=3D"">On 13 July 2015 a=
t 11:39, Phillip Hallam-Baker &lt;<a href=3D"mailto:phill@hallambaker.com">=
phill@hallambaker.com</a>&gt; wrote:<br>
&gt; 2) Multiplying the parts of public key pair A by the corresponding par=
ts of<br>
&gt; key pair B produces a new key pair A.B.<br>
<br>
</span>I&#39;ve read a paper that enables generation of a single public ElG=
amal<br>
key from multiple public ElGamal keys; allowing for distributed key<br>
generation and decryption.=C2=A0 Simple question, complicated answer I&#39;=
m<br>
sure, but is the same thing documented/possible for ECC?=C2=A0 Any<br>
pointers?<br>
<br>
Thanks,<br>
tom<br>
</blockquote></div><br></div>

--001a11c345a87f1107051b1e9c3f--


From nobody Fri Jul 17 21:50:58 2015
Return-Path: <bascule@gmail.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 54FA71AC3F0 for <cfrg@ietfa.amsl.com>; Fri, 17 Jul 2015 21:50:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, 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 G17p36eSZpfe for <cfrg@ietfa.amsl.com>; Fri, 17 Jul 2015 21:50:55 -0700 (PDT)
Received: from mail-ob0-x22d.google.com (mail-ob0-x22d.google.com [IPv6:2607:f8b0:4003:c01::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BF3E91AC3EF for <cfrg@ietf.org>; Fri, 17 Jul 2015 21:50:55 -0700 (PDT)
Received: by obbgp5 with SMTP id gp5so76484525obb.0 for <cfrg@ietf.org>; Fri, 17 Jul 2015 21:50:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=U3AB17YnSd6K4TPaFln3x92OlNvmtuQLrC1WW7dB/G4=; b=sXLuydvbo9HkDmKtKZrrXMQvAZubUpNfwlKh/TGVO0O9izjsrbRBsxYFchWk+ifh7U nHwohTsVzepvbIvmvA4LlJQmIcrw2lnIDL5UCyia/vxNAZ4jse59V/PoBCEHj7f0tKdn uPg7gmug8Mmy7X0VkuIafANje1HE0pM8uBT4Jgnj42lcxF5fuuvXIxgxvN+f80hYwutP 0tykvBBZNSfYZGYoZmx8pLVFPMcWwCqd78KLcpb09wFO4A/gxkBT15PPUkRIvsnas3Wf S9HHT4zPZrhWWtETs4oOusCRti202r4stoLVHhfwOWYoAeauZ5kDjYS/lWfm0qjxXKhH 7zYg==
X-Received: by 10.202.174.205 with SMTP id x196mr15884139oie.50.1437195055252;  Fri, 17 Jul 2015 21:50:55 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.76.94.176 with HTTP; Fri, 17 Jul 2015 21:50:35 -0700 (PDT)
In-Reply-To: <CA+cU71=dxC0ihavEhFtopmQomyCMZXxETMsPE=NSTdHMc7=t_g@mail.gmail.com>
References: <CAMm+Lwi5meHrsbHaseqtmj_3qCDo+J2C8LAS51D=Z6DCtaku5w@mail.gmail.com> <CA+cU71=dxC0ihavEhFtopmQomyCMZXxETMsPE=NSTdHMc7=t_g@mail.gmail.com>
From: Tony Arcieri <bascule@gmail.com>
Date: Fri, 17 Jul 2015 21:50:35 -0700
Message-ID: <CAHOTMV+_1Drkr456x+7zi6yoATsTLFwH5xDqMJSV42iV1s2vvA@mail.gmail.com>
To: Tom Ritter <tom@ritter.vg>
Content-Type: multipart/alternative; boundary=001a113cefe4bdcdeb051b1f0c42
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/vXnW23UsLXxX4SQ6EAp8VfP4X9Y>
Cc: "cfrg@ietf.org" <cfrg@ietf.org>
Subject: Re: [Cfrg] Additional consequences of the move to ECC (and they are good)
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: <https://mailarchive.ietf.org/arch/browse/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: Sat, 18 Jul 2015 04:50:57 -0000

--001a113cefe4bdcdeb051b1f0c42
Content-Type: text/plain; charset=UTF-8

On Fri, Jul 17, 2015 at 8:01 PM, Tom Ritter <tom@ritter.vg> wrote:

> I've read a paper that enables generation of a single public ElGamal
> key from multiple public ElGamal keys; allowing for distributed key
> generation and decryption.  Simple question, complicated answer I'm
> sure, but is the same thing documented/possible for ECC?  Any
> pointers?


Yes, you can do multi-party key agreement schemes with ECC:

http://www.ejournal.org.cn/Jweb_cje/EN/article/downloadArticleFile.do?attachType=PDF&id=3360

-- 
Tony Arcieri

--001a113cefe4bdcdeb051b1f0c42
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On F=
ri, Jul 17, 2015 at 8:01 PM, Tom Ritter <span dir=3D"ltr">&lt;<a href=3D"ma=
ilto:tom@ritter.vg" target=3D"_blank" onclick=3D"window.open(&#39;https://m=
ail.google.com/mail/?view=3Dcm&amp;tf=3D1&amp;to=3Dtom@ritter.vg&amp;cc=3D&=
amp;bcc=3D&amp;su=3D&amp;body=3D&#39;,&#39;_blank&#39;);return false;">tom@=
ritter.vg</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(20=
4,204,204);border-left-style:solid;padding-left:1ex">I&#39;ve read a paper =
that enables generation of a single public ElGamal<br>
key from multiple public ElGamal keys; allowing for distributed key<br>
generation and decryption.=C2=A0 Simple question, complicated answer I&#39;=
m<br>
sure, but is the same thing documented/possible for ECC?=C2=A0 Any<br>
pointers?</blockquote><div><br></div><div>Yes, you can do multi-party key a=
greement schemes with ECC:</div><div><br></div><div><a href=3D"http://www.e=
journal.org.cn/Jweb_cje/EN/article/downloadArticleFile.do?attachType=3DPDF&=
amp;id=3D3360">http://www.ejournal.org.cn/Jweb_cje/EN/article/downloadArtic=
leFile.do?attachType=3DPDF&amp;id=3D3360</a><br></div></div><div><br></div>=
-- <br><div class=3D"gmail_signature">Tony Arcieri<br></div>
</div></div>

--001a113cefe4bdcdeb051b1f0c42--


From nobody Fri Jul 17 22:07:53 2015
Return-Path: <hallam@gmail.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 76C141AC407 for <cfrg@ietfa.amsl.com>; Fri, 17 Jul 2015 22:07:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.277
X-Spam-Level: 
X-Spam-Status: No, score=-1.277 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, HTML_MESSAGE=0.001, SPF_PASS=-0.001] 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 wXvHeCTFIda0 for <cfrg@ietfa.amsl.com>; Fri, 17 Jul 2015 22:07:50 -0700 (PDT)
Received: from mail-la0-x230.google.com (mail-la0-x230.google.com [IPv6:2a00:1450:4010:c03::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DB1821AC405 for <cfrg@ietf.org>; Fri, 17 Jul 2015 22:07:49 -0700 (PDT)
Received: by lahh5 with SMTP id h5so70855922lah.2 for <cfrg@ietf.org>; Fri, 17 Jul 2015 22:07:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=3BT04HkmfqiBvg7NibpuQU7K2zgbAkVNqlFHxEJI+tY=; b=q1JZr8pZfNSm8gfL+F1c5NNbtd6iYPv8OlNuKJz1y5OBEiq0zAaR8E62ssYGZtgnZD sf9b0//mAkuBCsJ7jEZQjdJqSBGU7qzoTFTsEx6X7LuMPysnuGe0oSOyt205LNcLTbl8 OH6i5w2OJXeHqxt2EdtSt847yyjzWTu1dqv1ll6oBwKDYaHVz2pmgbZkCZJV4k+mDUMX yIkMeTnSJZjjvjpTUjymk8DxI5gX57y+Nqmv/xdNqZIxSX0Dk5O348IW9xIvtI9LOQyT 8EkU2qs9Wf9R0uZchHd75NRVhce5kKQMj/vDnvmP/OewHpHynJVk2af7dIMaN/NlcFoj cMdA==
MIME-Version: 1.0
X-Received: by 10.152.2.2 with SMTP id 2mr17973954laq.58.1437196068343; Fri, 17 Jul 2015 22:07:48 -0700 (PDT)
Sender: hallam@gmail.com
Received: by 10.112.203.163 with HTTP; Fri, 17 Jul 2015 22:07:48 -0700 (PDT)
In-Reply-To: <CAHOTMV+_1Drkr456x+7zi6yoATsTLFwH5xDqMJSV42iV1s2vvA@mail.gmail.com>
References: <CAMm+Lwi5meHrsbHaseqtmj_3qCDo+J2C8LAS51D=Z6DCtaku5w@mail.gmail.com> <CA+cU71=dxC0ihavEhFtopmQomyCMZXxETMsPE=NSTdHMc7=t_g@mail.gmail.com> <CAHOTMV+_1Drkr456x+7zi6yoATsTLFwH5xDqMJSV42iV1s2vvA@mail.gmail.com>
Date: Sat, 18 Jul 2015 01:07:48 -0400
X-Google-Sender-Auth: gi98emQwlDHrhFwNM9JyPdLJTsY
Message-ID: <CAMm+Lwgof93uFz8owAgseKXV9xWoQm3r0gHLxaFQnnpRGpNiKA@mail.gmail.com>
From: Phillip Hallam-Baker <phill@hallambaker.com>
To: Tony Arcieri <bascule@gmail.com>
Content-Type: multipart/alternative; boundary=089e013c647020577a051b1f49a5
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/LZvHRzw5DQu3nrZlKqXfR6hkBxU>
Cc: "cfrg@ietf.org" <cfrg@ietf.org>
Subject: Re: [Cfrg] Additional consequences of the move to ECC (and they are good)
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: <https://mailarchive.ietf.org/arch/browse/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: Sat, 18 Jul 2015 05:07:51 -0000

--089e013c647020577a051b1f49a5
Content-Type: text/plain; charset=UTF-8

There are lots of folk with schemes to do multiparty. But so far, I haven't
seen anyone propose just reassembling the pieces to make a traditional key.

Multiparty signatures don't interest me at all since I can get the exact
same effect by simply having the validator look for multiple signatures.





On Sat, Jul 18, 2015 at 12:50 AM, Tony Arcieri <bascule@gmail.com> wrote:

> On Fri, Jul 17, 2015 at 8:01 PM, Tom Ritter <tom@ritter.vg> wrote:
>
>> I've read a paper that enables generation of a single public ElGamal
>> key from multiple public ElGamal keys; allowing for distributed key
>> generation and decryption.  Simple question, complicated answer I'm
>> sure, but is the same thing documented/possible for ECC?  Any
>> pointers?
>
>
> Yes, you can do multi-party key agreement schemes with ECC:
>
>
> http://www.ejournal.org.cn/Jweb_cje/EN/article/downloadArticleFile.do?attachType=PDF&id=3360
>
> --
> Tony Arcieri
>

--089e013c647020577a051b1f49a5
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">There are lots of folk with schemes to do multiparty. But =
so far, I haven&#39;t seen anyone propose just reassembling the pieces to m=
ake a traditional key.<div><br></div><div>Multiparty signatures don&#39;t i=
nterest me at all since I can get the exact same effect by simply having th=
e validator look for multiple signatures.</div><div><br></div><div><br></di=
v><div><br></div><div><br></div></div><div class=3D"gmail_extra"><br><div c=
lass=3D"gmail_quote">On Sat, Jul 18, 2015 at 12:50 AM, Tony Arcieri <span d=
ir=3D"ltr">&lt;<a href=3D"mailto:bascule@gmail.com" target=3D"_blank">bascu=
le@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" sty=
le=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div d=
ir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote"><span clas=
s=3D"">On Fri, Jul 17, 2015 at 8:01 PM, Tom Ritter <span dir=3D"ltr">&lt;<a=
 href=3D"mailto:tom@ritter.vg" target=3D"_blank">tom@ritter.vg</a>&gt;</spa=
n> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px =
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-=
style:solid;padding-left:1ex">I&#39;ve read a paper that enables generation=
 of a single public ElGamal<br>
key from multiple public ElGamal keys; allowing for distributed key<br>
generation and decryption.=C2=A0 Simple question, complicated answer I&#39;=
m<br>
sure, but is the same thing documented/possible for ECC?=C2=A0 Any<br>
pointers?</blockquote><div><br></div></span><div>Yes, you can do multi-part=
y key agreement schemes with ECC:</div><div><br></div><div><a href=3D"http:=
//www.ejournal.org.cn/Jweb_cje/EN/article/downloadArticleFile.do?attachType=
=3DPDF&amp;id=3D3360" target=3D"_blank">http://www.ejournal.org.cn/Jweb_cje=
/EN/article/downloadArticleFile.do?attachType=3DPDF&amp;id=3D3360</a><span =
class=3D"HOEnZb"><font color=3D"#888888"><br></font></span></div></div><spa=
n class=3D"HOEnZb"><font color=3D"#888888"><div><br></div>-- <br><div>Tony =
Arcieri<br></div>
</font></span></div></div>
</blockquote></div><br></div>

--089e013c647020577a051b1f49a5--


From nobody Fri Jul 17 22:16:32 2015
Return-Path: <bascule@gmail.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 C0C181AC40A for <cfrg@ietfa.amsl.com>; Fri, 17 Jul 2015 22:16:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, 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 bio3K6wTGrUz for <cfrg@ietfa.amsl.com>; Fri, 17 Jul 2015 22:16:29 -0700 (PDT)
Received: from mail-ob0-x22a.google.com (mail-ob0-x22a.google.com [IPv6:2607:f8b0:4003:c01::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6AFAD1A8AC1 for <cfrg@ietf.org>; Fri, 17 Jul 2015 22:16:29 -0700 (PDT)
Received: by obbop1 with SMTP id op1so76594469obb.2 for <cfrg@ietf.org>; Fri, 17 Jul 2015 22:16:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=o1/D+e1OvOyQlLcbBTV2CCRPMywyHQPM7gP9pciYQmw=; b=r+ww0g1kqDgVzZROfBHrwFBsxyv/09D0hESG0jFaay7OVcw1Lo110vvCsEMM+bZK9v optHPmajadm6JD5d31mv5OV4USPA30IcuYGJT3bFDOFJO+GInY4+isMnB8oTvmDdGvox H8OgNAUUYCJnt99EBJ14QmgnMs6e01RF5lOsh0sunzimKtpv5s1zY8SBeQ/8ym1jT84e Ft113Jm2jV1B6hQl78Otbmk+34zWVhNP7ulFZ2NMeB2Bzklv9JL+VzyiV2VeW8H5yLlo HkQPsi5bmt27/4bHSWJ3woISKuzBpGXx80aKCf9vuj63rGZsLz1A4h6p+nX7b7gOb6c3 tMcw==
X-Received: by 10.182.186.2 with SMTP id fg2mr17282970obc.35.1437196588838; Fri, 17 Jul 2015 22:16:28 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.76.94.176 with HTTP; Fri, 17 Jul 2015 22:16:09 -0700 (PDT)
In-Reply-To: <CAMm+Lwgof93uFz8owAgseKXV9xWoQm3r0gHLxaFQnnpRGpNiKA@mail.gmail.com>
References: <CAMm+Lwi5meHrsbHaseqtmj_3qCDo+J2C8LAS51D=Z6DCtaku5w@mail.gmail.com> <CA+cU71=dxC0ihavEhFtopmQomyCMZXxETMsPE=NSTdHMc7=t_g@mail.gmail.com> <CAHOTMV+_1Drkr456x+7zi6yoATsTLFwH5xDqMJSV42iV1s2vvA@mail.gmail.com> <CAMm+Lwgof93uFz8owAgseKXV9xWoQm3r0gHLxaFQnnpRGpNiKA@mail.gmail.com>
From: Tony Arcieri <bascule@gmail.com>
Date: Fri, 17 Jul 2015 22:16:09 -0700
Message-ID: <CAHOTMV+oMEBpHtLe6Pk5FMRqc2kPhBfGSQC2WGTS6OK6AVod6Q@mail.gmail.com>
To: Phillip Hallam-Baker <phill@hallambaker.com>
Content-Type: multipart/alternative; boundary=089e0141a71a26788b051b1f6863
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/hCO7XTZtg6HhyyLkNtEjXXywFRY>
Cc: "cfrg@ietf.org" <cfrg@ietf.org>
Subject: Re: [Cfrg] Additional consequences of the move to ECC (and they are good)
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: <https://mailarchive.ietf.org/arch/browse/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: Sat, 18 Jul 2015 05:16:30 -0000

--089e0141a71a26788b051b1f6863
Content-Type: text/plain; charset=UTF-8

On Fri, Jul 17, 2015 at 10:07 PM, Phillip Hallam-Baker <
phill@hallambaker.com> wrote:

> There are lots of folk with schemes to do multiparty. But so far, I
> haven't seen anyone propose just reassembling the pieces to make a
> traditional key.
>

That's exactly how multiparty Diffie-Hellman schemes work. The
Diffie-Hellman protocol can be extended to N participants.

What you arrive at is a secret shared among multiple parties, and this
applies to cyclic groups and elliptic curve groups. It's either a shared
secret number or a point on an elliptic curve. Either way it can be fed
into a KDF and turned into symmetric key material.

-- 
Tony Arcieri

--089e0141a71a26788b051b1f6863
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On F=
ri, Jul 17, 2015 at 10:07 PM, Phillip Hallam-Baker <span dir=3D"ltr">&lt;<a=
 href=3D"mailto:phill@hallambaker.com" target=3D"_blank" onclick=3D"window.=
open(&#39;https://mail.google.com/mail/?view=3Dcm&amp;tf=3D1&amp;to=3Dphill=
@hallambaker.com&amp;cc=3D&amp;bcc=3D&amp;su=3D&amp;body=3D&#39;,&#39;_blan=
k&#39;);return false;">phill@hallambaker.com</a>&gt;</span> wrote:<br><bloc=
kquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #cc=
c solid;padding-left:1ex"><div dir=3D"ltr">There are lots of folk with sche=
mes to do multiparty. But so far, I haven&#39;t seen anyone propose just re=
assembling the pieces to make a traditional key.</div></blockquote><div><br=
></div><div>That&#39;s exactly how multiparty Diffie-Hellman schemes work. =
The Diffie-Hellman protocol can be extended to N participants.</div><div><b=
r></div><div>What you arrive at is a secret shared among multiple parties, =
and this applies to cyclic groups and elliptic curve groups. It&#39;s eithe=
r a shared secret number or a point on an elliptic curve. Either way it can=
 be fed into a KDF and turned into symmetric key material.</div></div><div>=
<br></div>-- <br><div class=3D"gmail_signature">Tony Arcieri<br></div>
</div></div>

--089e0141a71a26788b051b1f6863--


From nobody Fri Jul 17 22:23:37 2015
Return-Path: <bascule@gmail.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 8525C1AC432 for <cfrg@ietfa.amsl.com>; Fri, 17 Jul 2015 22:23:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, 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 S_y7UPaqk3WF for <cfrg@ietfa.amsl.com>; Fri, 17 Jul 2015 22:23:34 -0700 (PDT)
Received: from mail-oi0-x236.google.com (mail-oi0-x236.google.com [IPv6:2607:f8b0:4003:c06::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3DA411AC429 for <cfrg@ietf.org>; Fri, 17 Jul 2015 22:23:34 -0700 (PDT)
Received: by oigd21 with SMTP id d21so39868510oig.1 for <cfrg@ietf.org>; Fri, 17 Jul 2015 22:23:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=KNoqd2GsTyRVTZNLTnWh++3K451WD+pKmt+DhYg17Fg=; b=U03oAFBybj1h2Rz8CuJOJxCVcuDJm9MhsE6vdMiZvp6OMYpby9GiEOWUTgVO2NX1i9 n05pqVCAqHt0PLKjWhKB5HsU4snI8NsJctkBgz7T0yqWMTzk+vkHkgUP+RnwRVEZaZq3 VAczKzcznie5E+1M3eEw1Lw8JzgFaXo0jJ3xB+QC26/KyyRXTdcMfZc6tXOHZW928e1u UsOW889FNKx1s0WFThaZ4fZFp/6pN2417CE9WdCsnr3wJQAe/rzyii1SHHkoQoTHqO5q +ieDRlSYTfDb12UG0EFKHOCc4ZPC8OGR53631Mcw0wIKRmdQ5Pto7+nn36EULjsIVCAM sGag==
X-Received: by 10.202.1.67 with SMTP id 64mr15765479oib.6.1437197013675; Fri, 17 Jul 2015 22:23:33 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.76.94.176 with HTTP; Fri, 17 Jul 2015 22:23:14 -0700 (PDT)
In-Reply-To: <CAHOTMV+oMEBpHtLe6Pk5FMRqc2kPhBfGSQC2WGTS6OK6AVod6Q@mail.gmail.com>
References: <CAMm+Lwi5meHrsbHaseqtmj_3qCDo+J2C8LAS51D=Z6DCtaku5w@mail.gmail.com> <CA+cU71=dxC0ihavEhFtopmQomyCMZXxETMsPE=NSTdHMc7=t_g@mail.gmail.com> <CAHOTMV+_1Drkr456x+7zi6yoATsTLFwH5xDqMJSV42iV1s2vvA@mail.gmail.com> <CAMm+Lwgof93uFz8owAgseKXV9xWoQm3r0gHLxaFQnnpRGpNiKA@mail.gmail.com> <CAHOTMV+oMEBpHtLe6Pk5FMRqc2kPhBfGSQC2WGTS6OK6AVod6Q@mail.gmail.com>
From: Tony Arcieri <bascule@gmail.com>
Date: Fri, 17 Jul 2015 22:23:14 -0700
Message-ID: <CAHOTMVJdt_e9kX0qkrNC2Y0fd0fYHYW4HhdmW46ZrZ0zDqUgEg@mail.gmail.com>
To: Phillip Hallam-Baker <phill@hallambaker.com>
Content-Type: multipart/alternative; boundary=001a1137d51c78f4d2051b1f81a0
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/dPtMXqmJV0EPtJQ_JqdfWz2_sqg>
Cc: "cfrg@ietf.org" <cfrg@ietf.org>
Subject: Re: [Cfrg] Additional consequences of the move to ECC (and they are good)
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: <https://mailarchive.ietf.org/arch/browse/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: Sat, 18 Jul 2015 05:23:35 -0000

--001a1137d51c78f4d2051b1f81a0
Content-Type: text/plain; charset=UTF-8

Here's another interesting paper:

http://web.cs.ucla.edu/~vanishri/adaptiveNIKE.pdf

-- 
Tony Arcieri

--001a1137d51c78f4d2051b1f81a0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Here&#39;s another interesting paper:<div><br></div><div><=
a href=3D"http://web.cs.ucla.edu/~vanishri/adaptiveNIKE.pdf">http://web.cs.=
ucla.edu/~vanishri/adaptiveNIKE.pdf</a></div><div class=3D"gmail_extra"><di=
v><br></div>-- <br><div class=3D"gmail_signature">Tony Arcieri<br></div>
</div></div>

--001a1137d51c78f4d2051b1f81a0--


From nobody Fri Jul 17 22:55:18 2015
Return-Path: <hallam@gmail.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 34B731ACCF9 for <cfrg@ietfa.amsl.com>; Fri, 17 Jul 2015 22:55:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.277
X-Spam-Level: 
X-Spam-Status: No, score=-1.277 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, HTML_MESSAGE=0.001, SPF_PASS=-0.001] 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 VpgUYH5ij3_S for <cfrg@ietfa.amsl.com>; Fri, 17 Jul 2015 22:55:16 -0700 (PDT)
Received: from mail-la0-x233.google.com (mail-la0-x233.google.com [IPv6:2a00:1450:4010:c03::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A88DE1ACCE8 for <cfrg@ietf.org>; Fri, 17 Jul 2015 22:55:15 -0700 (PDT)
Received: by laem6 with SMTP id m6so71188806lae.0 for <cfrg@ietf.org>; Fri, 17 Jul 2015 22:55:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=tK0+zhU/mHxR0I/0o5uTjxkWVEPIsNBmF5UQCA3x8UU=; b=VWKPN89V4Gw8GgERjI56vywK/HAJdmkntPt4ZCRQAnWIhk2pWJg3FmE0aAMJxHMY+H X8BaVmi3P5hijvDJ+AdAqHDzSYJtzX0/UgZkAirvHUoYj/OZSK2eXY9r8EL/FgfToWZh v8RTF999oertzipaJB7GrnWcV/LbV0exLEAsv1ht80sL0hpgI1Ahq+51qMA+5++wDXA+ R32D77/q8Qwos5nCJZoKE24Fb/G9FuH+uDF1JxbqUpNKcadoAzMvXXNYQEFKji4M0X0F zGUf7CSbLlmwttf1SXjXPANf+CYYuRtS4ORbjmmm/jP2H6sg+FZF1mIXnsnkzHVtiefi GISA==
MIME-Version: 1.0
X-Received: by 10.152.2.2 with SMTP id 2mr18091234laq.58.1437198914127; Fri, 17 Jul 2015 22:55:14 -0700 (PDT)
Sender: hallam@gmail.com
Received: by 10.112.203.163 with HTTP; Fri, 17 Jul 2015 22:55:14 -0700 (PDT)
In-Reply-To: <CAHOTMV+oMEBpHtLe6Pk5FMRqc2kPhBfGSQC2WGTS6OK6AVod6Q@mail.gmail.com>
References: <CAMm+Lwi5meHrsbHaseqtmj_3qCDo+J2C8LAS51D=Z6DCtaku5w@mail.gmail.com> <CA+cU71=dxC0ihavEhFtopmQomyCMZXxETMsPE=NSTdHMc7=t_g@mail.gmail.com> <CAHOTMV+_1Drkr456x+7zi6yoATsTLFwH5xDqMJSV42iV1s2vvA@mail.gmail.com> <CAMm+Lwgof93uFz8owAgseKXV9xWoQm3r0gHLxaFQnnpRGpNiKA@mail.gmail.com> <CAHOTMV+oMEBpHtLe6Pk5FMRqc2kPhBfGSQC2WGTS6OK6AVod6Q@mail.gmail.com>
Date: Sat, 18 Jul 2015 01:55:14 -0400
X-Google-Sender-Auth: X6zYWxgRMf9t25pd9u0v2Rl2Fm8
Message-ID: <CAMm+LwhggHh4G6TGJsXUqOPXqOjtZRDNJcB2=B_xCmP5aEQGJg@mail.gmail.com>
From: Phillip Hallam-Baker <phill@hallambaker.com>
To: Tony Arcieri <bascule@gmail.com>
Content-Type: multipart/alternative; boundary=089e013c6470bf8ea8051b1ff2f2
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/o7MN2Z_tilK1saB9vO07Hxsh88o>
Cc: "cfrg@ietf.org" <cfrg@ietf.org>
Subject: Re: [Cfrg] Additional consequences of the move to ECC (and they are good)
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: <https://mailarchive.ietf.org/arch/browse/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: Sat, 18 Jul 2015 05:55:17 -0000

--089e013c6470bf8ea8051b1ff2f2
Content-Type: text/plain; charset=UTF-8

On Sat, Jul 18, 2015 at 1:16 AM, Tony Arcieri <bascule@gmail.com> wrote:

> On Fri, Jul 17, 2015 at 10:07 PM, Phillip Hallam-Baker <
> phill@hallambaker.com> wrote:
>
>> There are lots of folk with schemes to do multiparty. But so far, I
>> haven't seen anyone propose just reassembling the pieces to make a
>> traditional key.
>>
>
> That's exactly how multiparty Diffie-Hellman schemes work. The
> Diffie-Hellman protocol can be extended to N participants.
>
> What you arrive at is a secret shared among multiple parties, and this
> applies to cyclic groups and elliptic curve groups. It's either a shared
> secret number or a point on an elliptic curve. Either way it can be fed
> into a KDF and turned into symmetric key material.
>

No, they are generating a common symmetric key.

This is Alice and Bob generating a public key for Alice and Alice alone
that is used in exactly the same way as any other public key would be.


What you are describing is Alice has a public key and Bob has a public key
and they do something that has the effect of an Alice-Bob virtual key. That
is a different thing altogether.

--089e013c6470bf8ea8051b1ff2f2
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Sat, Jul 18, 2015 at 1:16 AM, Tony Arcieri <span dir=3D"ltr">&lt;<a =
href=3D"mailto:bascule@gmail.com" target=3D"_blank">bascule@gmail.com</a>&g=
t;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0=
 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div cl=
ass=3D"gmail_extra"><div class=3D"gmail_quote"><span class=3D"">On Fri, Jul=
 17, 2015 at 10:07 PM, Phillip Hallam-Baker <span dir=3D"ltr">&lt;<a href=
=3D"mailto:phill@hallambaker.com" target=3D"_blank">phill@hallambaker.com</=
a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0=
 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr">The=
re are lots of folk with schemes to do multiparty. But so far, I haven&#39;=
t seen anyone propose just reassembling the pieces to make a traditional ke=
y.</div></blockquote><div><br></div></span><div>That&#39;s exactly how mult=
iparty Diffie-Hellman schemes work. The Diffie-Hellman protocol can be exte=
nded to N participants.</div><div><br></div><div>What you arrive at is a se=
cret shared among multiple parties, and this applies to cyclic groups and e=
lliptic curve groups. It&#39;s either a shared secret number or a point on =
an elliptic curve. Either way it can be fed into a KDF and turned into symm=
etric key material.</div></div></div></div></blockquote><div><br></div><div=
>No, they are generating a common symmetric key.</div><div><br></div><div>T=
his is Alice and Bob generating a public key for Alice and Alice alone that=
 is used in exactly the same way as any other public key would be.</div><di=
v><br></div><div>=C2=A0</div></div>What you are describing is Alice has a p=
ublic key and Bob has a public key and they do something that has the effec=
t of an Alice-Bob virtual key. That is a different thing altogether.</div><=
/div>

--089e013c6470bf8ea8051b1ff2f2--


From nobody Fri Jul 17 23:06:12 2015
Return-Path: <bascule@gmail.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 0E9821ACD47 for <cfrg@ietfa.amsl.com>; Fri, 17 Jul 2015 23:06:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, 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 aJ33TwRGs3fA for <cfrg@ietfa.amsl.com>; Fri, 17 Jul 2015 23:06:09 -0700 (PDT)
Received: from mail-oi0-x231.google.com (mail-oi0-x231.google.com [IPv6:2607:f8b0:4003:c06::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 51F0B1ACD45 for <cfrg@ietf.org>; Fri, 17 Jul 2015 23:06:09 -0700 (PDT)
Received: by oigd21 with SMTP id d21so40135516oig.1 for <cfrg@ietf.org>; Fri, 17 Jul 2015 23:06:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=wmAw0GwSMowspWbNoIVH9ZLuYsDdIJeIEfgErO2O1F8=; b=AdDXmS4BOc3Cso1Glh0U5aKM85RXIuLT7pOn9lp7Itq750Frgtmylrn2xu+6quoAvr UelK+lF92GWswaCn13Za5o62aEdbV1F05IUkCoz8U5lKDuD1GZgVzX945Z9t7rGJK14g vnuOGg6Cm7DtQxbJn99Gtjy6KjUXbwV7wg0ubI+8vaZ+NQ1bbVxXoFJWY0JStd3yATdD BRVxw7l6jmOhNWvXS9SLTpgT02OGl5fwwXzAL280PEU+jPcBsxhj0GGSS9gCW+EwmEJz Fe0AEd1l09ZBUXADPiWDFe2YPtr4evT8QRQN/jpIsm3T9JH5qEn+yyukB7xDN/VGnjJO 3TcA==
X-Received: by 10.202.210.68 with SMTP id j65mr15930673oig.68.1437199568693; Fri, 17 Jul 2015 23:06:08 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.76.94.176 with HTTP; Fri, 17 Jul 2015 23:05:49 -0700 (PDT)
In-Reply-To: <CAMm+LwhggHh4G6TGJsXUqOPXqOjtZRDNJcB2=B_xCmP5aEQGJg@mail.gmail.com>
References: <CAMm+Lwi5meHrsbHaseqtmj_3qCDo+J2C8LAS51D=Z6DCtaku5w@mail.gmail.com> <CA+cU71=dxC0ihavEhFtopmQomyCMZXxETMsPE=NSTdHMc7=t_g@mail.gmail.com> <CAHOTMV+_1Drkr456x+7zi6yoATsTLFwH5xDqMJSV42iV1s2vvA@mail.gmail.com> <CAMm+Lwgof93uFz8owAgseKXV9xWoQm3r0gHLxaFQnnpRGpNiKA@mail.gmail.com> <CAHOTMV+oMEBpHtLe6Pk5FMRqc2kPhBfGSQC2WGTS6OK6AVod6Q@mail.gmail.com> <CAMm+LwhggHh4G6TGJsXUqOPXqOjtZRDNJcB2=B_xCmP5aEQGJg@mail.gmail.com>
From: Tony Arcieri <bascule@gmail.com>
Date: Fri, 17 Jul 2015 23:05:49 -0700
Message-ID: <CAHOTMVKDof6ab5rnq4tHWM3Rat27q-n7Bs+38gNU0NK9tLGw=g@mail.gmail.com>
To: Phillip Hallam-Baker <phill@hallambaker.com>
Content-Type: multipart/alternative; boundary=001a113d2b38c3709f051b2019ab
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/7t3TmEGsbxAmef_bAbkNjc4kOjI>
Cc: "cfrg@ietf.org" <cfrg@ietf.org>
Subject: Re: [Cfrg] Additional consequences of the move to ECC (and they are good)
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: <https://mailarchive.ietf.org/arch/browse/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: Sat, 18 Jul 2015 06:06:11 -0000

--001a113d2b38c3709f051b2019ab
Content-Type: text/plain; charset=UTF-8

On Fri, Jul 17, 2015 at 10:55 PM, Phillip Hallam-Baker <
phill@hallambaker.com> wrote:

> No, they are generating a common symmetric key.
>
> This is Alice and Bob generating a public key for Alice and Alice alone
> that is used in exactly the same way as any other public key would be.
>
> What you are describing is Alice has a public key and Bob has a public key
> and they do something that has the effect of an Alice-Bob virtual key. That
> is a different thing altogether.
>

I'm not sure if I really follow you. It'd be helpful, for me at least, if
you could describe the protocol in terms of the public and private keys of
all of the principals/parties involved in the exchange.

For example, we could concoct a multiparty key exchange scheme like this (I
believe this works):

Carol publishes her public key C, but has private key c.

Carol wants to share a secret only Alice and Bob can decrypt if they work
together.

Carol obtains Alice and Bob's public keys A and B respectively.

Carol does fixed-base scalar multiplication c*P=C to obtain her public key.
Carol does variable-base scalar multiplication c*A*B to obtain a multiparty
shared secret.

Carol encrypts some data under this multiparty shared secret and publishes
C to either Alice/Bob such that if Alice and Bob work together they can
recover c*A*B by calculating a*A*C or b*A*C.

I guess I don't understand what you have in mind. How would you describe
it? Who are the principals/parties involved, what keys do they have, and
how do they interact?

-- 
Tony Arcieri

--001a113d2b38c3709f051b2019ab
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On F=
ri, Jul 17, 2015 at 10:55 PM, Phillip Hallam-Baker <span dir=3D"ltr">&lt;<a=
 href=3D"mailto:phill@hallambaker.com" target=3D"_blank" onclick=3D"window.=
open(&#39;https://mail.google.com/mail/?view=3Dcm&amp;tf=3D1&amp;to=3Dphill=
@hallambaker.com&amp;cc=3D&amp;bcc=3D&amp;su=3D&amp;body=3D&#39;,&#39;_blan=
k&#39;);return false;">phill@hallambaker.com</a>&gt;</span> wrote:<br><bloc=
kquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #cc=
c solid;padding-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_extra"><div =
class=3D"gmail_quote"><div>No, they are generating a common symmetric key.<=
/div><div><br></div><div>This is Alice and Bob generating a public key for =
Alice and Alice alone that is used in exactly the same way as any other pub=
lic key would be.</div><div>=C2=A0<br></div></div>What you are describing i=
s Alice has a public key and Bob has a public key and they do something tha=
t has the effect of an Alice-Bob virtual key. That is a different thing alt=
ogether.</div></div>
</blockquote></div><br>I&#39;m not sure if I really follow you. It&#39;d be=
 helpful, for me at least, if you could describe the protocol in terms of t=
he public and private keys of all of the principals/parties involved in the=
 exchange.</div><div class=3D"gmail_extra"><br></div><div class=3D"gmail_ex=
tra">For example, we could concoct a multiparty key exchange scheme like th=
is (I believe this works):</div><div class=3D"gmail_extra"><br></div><div c=
lass=3D"gmail_extra">Carol publishes her public key C, but has private key =
c.</div><div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">Car=
ol wants to share a secret only Alice and Bob can decrypt if they work toge=
ther.</div><div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">=
Carol obtains Alice and Bob&#39;s public keys A and B respectively.</div><d=
iv class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">Carol does fi=
xed-base scalar multiplication c*P=3DC to obtain her public key.</div><div =
class=3D"gmail_extra">Carol does variable-base scalar multiplication c*A*B =
to obtain a multiparty shared secret.</div><div class=3D"gmail_extra"><br><=
/div><div class=3D"gmail_extra">Carol encrypts some data under this multipa=
rty shared secret and publishes C to either Alice/Bob such that if Alice an=
d Bob work together they can recover c*A*B by calculating a*A*C or b*A*C.</=
div><div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">I guess=
 I don&#39;t understand what you have in mind. How would you describe it? W=
ho are the principals/parties involved, what keys do they have, and how do =
they interact?<br clear=3D"all"><div><br></div>-- <br><div class=3D"gmail_s=
ignature">Tony Arcieri<br></div>
</div></div>

--001a113d2b38c3709f051b2019ab--


From nobody Fri Jul 17 23:34:18 2015
Return-Path: <bascule@gmail.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 EDC941ACDC2 for <cfrg@ietfa.amsl.com>; Fri, 17 Jul 2015 23:34:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, 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 3omM4-BwBOAn for <cfrg@ietfa.amsl.com>; Fri, 17 Jul 2015 23:34:15 -0700 (PDT)
Received: from mail-ob0-x22f.google.com (mail-ob0-x22f.google.com [IPv6:2607:f8b0:4003:c01::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9464B1ACDC1 for <cfrg@ietf.org>; Fri, 17 Jul 2015 23:34:15 -0700 (PDT)
Received: by obbop1 with SMTP id op1so77062323obb.2 for <cfrg@ietf.org>; Fri, 17 Jul 2015 23:34:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=+D8MwYFWIX833IT1N3OPRQhTgNAYkRvHNIZL0JaJsSU=; b=m0K/VwzPffM0PStoBU/ilP1EhIEjNsNhNNec0WucIj7AEIbHDQ75T9ga4FHEZKBBx7 5WH4Y+ft9k50HjJSsH3JxhYVzItOgtbwVsWJAGsz9Qcbwm3TfHzdBe25PSSUZFVEphf9 IoN0v2ZQDHs2s/3eWuQ6kGsQ0642SRtRF6QFurSujpST59IMnsOFW3TMqdbGybp69T1S /wuctTkTMdO8suX/mTQd2sIjG8Qp727y6B7aEZAz0QZOpStKbs/ZHeXubGsvGQtYdoIV PazK22h/Re2ibBnpmOXsILadaKoDO0Jb9mPIobW9K/aKTlAfiEzjw0UXNg0tEvGMiLzM LeGA==
X-Received: by 10.182.115.161 with SMTP id jp1mr16833087obb.53.1437201255148;  Fri, 17 Jul 2015 23:34:15 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.76.94.176 with HTTP; Fri, 17 Jul 2015 23:33:55 -0700 (PDT)
In-Reply-To: <CAHOTMVJdt_e9kX0qkrNC2Y0fd0fYHYW4HhdmW46ZrZ0zDqUgEg@mail.gmail.com>
References: <CAMm+Lwi5meHrsbHaseqtmj_3qCDo+J2C8LAS51D=Z6DCtaku5w@mail.gmail.com> <CA+cU71=dxC0ihavEhFtopmQomyCMZXxETMsPE=NSTdHMc7=t_g@mail.gmail.com> <CAHOTMV+_1Drkr456x+7zi6yoATsTLFwH5xDqMJSV42iV1s2vvA@mail.gmail.com> <CAMm+Lwgof93uFz8owAgseKXV9xWoQm3r0gHLxaFQnnpRGpNiKA@mail.gmail.com> <CAHOTMV+oMEBpHtLe6Pk5FMRqc2kPhBfGSQC2WGTS6OK6AVod6Q@mail.gmail.com> <CAHOTMVJdt_e9kX0qkrNC2Y0fd0fYHYW4HhdmW46ZrZ0zDqUgEg@mail.gmail.com>
From: Tony Arcieri <bascule@gmail.com>
Date: Fri, 17 Jul 2015 23:33:55 -0700
Message-ID: <CAHOTMVL3ronUm-E+RmYR70VWghtuLtfaYfyVnyTmJDRXNTBTPQ@mail.gmail.com>
To: Phillip Hallam-Baker <phill@hallambaker.com>
Content-Type: multipart/alternative; boundary=089e01182cf248b586051b207e7e
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/1g9hmf1qDumofY4DavGq3J8Rm_c>
Cc: "cfrg@ietf.org" <cfrg@ietf.org>
Subject: Re: [Cfrg] Additional consequences of the move to ECC (and they are good)
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: <https://mailarchive.ietf.org/arch/browse/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: Sat, 18 Jul 2015 06:34:17 -0000

--089e01182cf248b586051b207e7e
Content-Type: text/plain; charset=UTF-8

Another paper:

https://crypto.stanford.edu/~zhandry/docs/papers/IO-TRAITOR.pdf

On Fri, Jul 17, 2015 at 10:23 PM, Tony Arcieri <bascule@gmail.com> wrote:

> Here's another interesting paper:
>
> http://web.cs.ucla.edu/~vanishri/adaptiveNIKE.pdf
>
> --
> Tony Arcieri
>



-- 
Tony Arcieri

--089e01182cf248b586051b207e7e
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Another paper:<div><br></div><div><a href=3D"https://crypt=
o.stanford.edu/~zhandry/docs/papers/IO-TRAITOR.pdf">https://crypto.stanford=
.edu/~zhandry/docs/papers/IO-TRAITOR.pdf</a><br></div></div><div class=3D"g=
mail_extra"><br><div class=3D"gmail_quote">On Fri, Jul 17, 2015 at 10:23 PM=
, Tony Arcieri <span dir=3D"ltr">&lt;<a href=3D"mailto:bascule@gmail.com" t=
arget=3D"_blank">bascule@gmail.com</a>&gt;</span> wrote:<br><blockquote cla=
ss=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pa=
dding-left:1ex"><div dir=3D"ltr">Here&#39;s another interesting paper:<div>=
<br></div><div><a href=3D"http://web.cs.ucla.edu/~vanishri/adaptiveNIKE.pdf=
" target=3D"_blank">http://web.cs.ucla.edu/~vanishri/adaptiveNIKE.pdf</a></=
div><span class=3D"HOEnZb"><font color=3D"#888888"><div class=3D"gmail_extr=
a"><div><br></div>-- <br><div>Tony Arcieri<br></div>
</div></font></span></div>
</blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div class=
=3D"gmail_signature">Tony Arcieri<br></div>
</div>

--089e01182cf248b586051b207e7e--


From nobody Fri Jul 17 23:45:02 2015
Return-Path: <zaki@manian.org>
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 618891ACDD9 for <cfrg@ietfa.amsl.com>; Fri, 17 Jul 2015 23:45:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level: 
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 gt_b9rk7UiZo for <cfrg@ietfa.amsl.com>; Fri, 17 Jul 2015 23:45:00 -0700 (PDT)
Received: from mail-yk0-f178.google.com (mail-yk0-f178.google.com [209.85.160.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CAEAB1ACDDA for <cfrg@ietf.org>; Fri, 17 Jul 2015 23:44:59 -0700 (PDT)
Received: by ykax123 with SMTP id x123so105884753yka.1 for <cfrg@ietf.org>; Fri, 17 Jul 2015 23:44:59 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=PxQPQ4hikJ6lAUYl3gdsYWU4UW+ynuJxyQTSlolNfVQ=; b=d2QHoEQezwtVcChcjSd8r+girsfYJwuOF8AxRdUBAM+EOy2oFTL8pOyirq4FTUiAIK hfC0q0fABKbQPks6QRg3R7uzkBhT9c+XVxk5YD2ZsZfFN//7WNqXb4nRdXnysdb5M6/y llNH53RrGsDlyOjuf53jBd31RGFp0ma763ocAsMs/vBvK6xAHgxCC3ADpzzQNZ2B4/3z ctYJF22jc3iHa0Zim/RJgmeQe9/BasABw/nKlZSrm/eaNc4fsPdPw3FtkVwIgBrqkLPV rMOdD1TB4wpSHzRRxjUofzzi3wpQtDjk64FeFB7XdBI0tWojMmM8F5mYMd9PMCwBkMi+ Uaaw==
X-Gm-Message-State: ALoCoQmDYr+iDx1WurYqZtVrXD65NhM1zwPPAM8RT88RtrO/9T5dwO4Ndf/koEVEIkrPQL+EFHky
X-Received: by 10.129.49.214 with SMTP id x205mr19540815ywx.47.1437201899215;  Fri, 17 Jul 2015 23:44:59 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.74.130 with HTTP; Fri, 17 Jul 2015 23:44:39 -0700 (PDT)
In-Reply-To: <CAHOTMVL3ronUm-E+RmYR70VWghtuLtfaYfyVnyTmJDRXNTBTPQ@mail.gmail.com>
References: <CAMm+Lwi5meHrsbHaseqtmj_3qCDo+J2C8LAS51D=Z6DCtaku5w@mail.gmail.com> <CA+cU71=dxC0ihavEhFtopmQomyCMZXxETMsPE=NSTdHMc7=t_g@mail.gmail.com> <CAHOTMV+_1Drkr456x+7zi6yoATsTLFwH5xDqMJSV42iV1s2vvA@mail.gmail.com> <CAMm+Lwgof93uFz8owAgseKXV9xWoQm3r0gHLxaFQnnpRGpNiKA@mail.gmail.com> <CAHOTMV+oMEBpHtLe6Pk5FMRqc2kPhBfGSQC2WGTS6OK6AVod6Q@mail.gmail.com> <CAHOTMVJdt_e9kX0qkrNC2Y0fd0fYHYW4HhdmW46ZrZ0zDqUgEg@mail.gmail.com> <CAHOTMVL3ronUm-E+RmYR70VWghtuLtfaYfyVnyTmJDRXNTBTPQ@mail.gmail.com>
From: "zaki@manian.org" <zaki@manian.org>
Date: Fri, 17 Jul 2015 23:44:39 -0700
Message-ID: <CAJQ8TmBGWztPSCzj0xw1nCLCxQBug8EQOLyaW632u-g6vtk4Dw@mail.gmail.com>
To: Tony Arcieri <bascule@gmail.com>
Content-Type: multipart/alternative; boundary=001a11421b7eac90df051b20a45b
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/Yu1b1sRPhp6cxjrcEzSzy81tIVQ>
Cc: "cfrg@ietf.org" <cfrg@ietf.org>
Subject: Re: [Cfrg] Additional consequences of the move to ECC (and they are good)
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: <https://mailarchive.ietf.org/arch/browse/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: Sat, 18 Jul 2015 06:45:01 -0000

--001a11421b7eac90df051b20a45b
Content-Type: text/plain; charset=UTF-8

In your construction Tony,

Alice and Bob don't need to cooperate to recover the multiparty shared
secret.

Alice need a and B,C to recover the shared multiparty secret.

Bob needs b and A,C to recover the shared multiparty secret.

Everyone arrives at the same secret using their private key and the others
public keys.

I think you need a point addition in there along with the multiply to get
something close to the scheme Philip was asking for. It's late and the
construction isn't coming to me.


On Fri, Jul 17, 2015 at 11:33 PM, Tony Arcieri <bascule@gmail.com> wrote:

> Another paper:
>
> https://crypto.stanford.edu/~zhandry/docs/papers/IO-TRAITOR.pdf
>
> On Fri, Jul 17, 2015 at 10:23 PM, Tony Arcieri <bascule@gmail.com> wrote:
>
>> Here's another interesting paper:
>>
>> http://web.cs.ucla.edu/~vanishri/adaptiveNIKE.pdf
>>
>> --
>> Tony Arcieri
>>
>
>
>
> --
> Tony Arcieri
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg
>
>

--001a11421b7eac90df051b20a45b
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">In your construction Tony,<br><br>Alice and Bob don&#39;t =
need to cooperate to recover the multiparty shared secret. =C2=A0<div><br><=
/div><div>Alice need a and B,C to recover the shared multiparty secret.<br>=
<br>Bob needs b and A,C to recover the shared multiparty secret.<br><br>Eve=
ryone arrives at the same secret using their private key and the others pub=
lic keys.<br><br>I think you need a point addition in there along with the =
multiply to get something close to the scheme Philip was asking for. It&#39=
;s late and the construction isn&#39;t coming to me.=C2=A0<br><div class=3D=
"gmail_extra"><br clear=3D"all"><div><div class=3D"gmail_signature"><div di=
r=3D"ltr"><div><div dir=3D"ltr"><div><br></div></div></div></div></div></di=
v><div class=3D"gmail_quote">On Fri, Jul 17, 2015 at 11:33 PM, Tony Arcieri=
 <span dir=3D"ltr">&lt;<a href=3D"mailto:bascule@gmail.com" target=3D"_blan=
k">bascule@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_qu=
ote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex=
"><div dir=3D"ltr">Another paper:<div><br></div><div><a href=3D"https://cry=
pto.stanford.edu/~zhandry/docs/papers/IO-TRAITOR.pdf" target=3D"_blank">htt=
ps://crypto.stanford.edu/~zhandry/docs/papers/IO-TRAITOR.pdf</a><br></div><=
/div><div class=3D"gmail_extra"><div><div class=3D"h5"><br><div class=3D"gm=
ail_quote">On Fri, Jul 17, 2015 at 10:23 PM, Tony Arcieri <span dir=3D"ltr"=
>&lt;<a href=3D"mailto:bascule@gmail.com" target=3D"_blank">bascule@gmail.c=
om</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"marg=
in:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"=
>Here&#39;s another interesting paper:<div><br></div><div><a href=3D"http:/=
/web.cs.ucla.edu/~vanishri/adaptiveNIKE.pdf" target=3D"_blank">http://web.c=
s.ucla.edu/~vanishri/adaptiveNIKE.pdf</a></div><span><font color=3D"#888888=
"><div class=3D"gmail_extra"><div><br></div>-- <br><div>Tony Arcieri<br></d=
iv>
</div></font></span></div>
</blockquote></div><br><br clear=3D"all"><div><br></div></div></div><span c=
lass=3D"HOEnZb"><font color=3D"#888888">-- <br><div>Tony Arcieri<br></div>
</font></span></div>
<br>_______________________________________________<br>
Cfrg mailing list<br>
<a href=3D"mailto:Cfrg@irtf.org">Cfrg@irtf.org</a><br>
<a href=3D"http://www.irtf.org/mailman/listinfo/cfrg" rel=3D"noreferrer" ta=
rget=3D"_blank">http://www.irtf.org/mailman/listinfo/cfrg</a><br>
<br></blockquote></div><br></div></div></div>

--001a11421b7eac90df051b20a45b--


From nobody Fri Jul 17 23:49:42 2015
Return-Path: <bascule@gmail.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 178E61ACDDD for <cfrg@ietfa.amsl.com>; Fri, 17 Jul 2015 23:49:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, 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 c3Bj4W47w0eZ for <cfrg@ietfa.amsl.com>; Fri, 17 Jul 2015 23:49:39 -0700 (PDT)
Received: from mail-ob0-x231.google.com (mail-ob0-x231.google.com [IPv6:2607:f8b0:4003:c01::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B9A361ACDDC for <cfrg@ietf.org>; Fri, 17 Jul 2015 23:49:39 -0700 (PDT)
Received: by obbgp5 with SMTP id gp5so77204478obb.0 for <cfrg@ietf.org>; Fri, 17 Jul 2015 23:49:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=347AYtw5QblC46kYliR4oTWL4aIapS92tRX2r3XyBV4=; b=xKddPb6/EaMl4m21xV067jNm2uI0CoNZk8ZF8Ibd8B3MoolJXGLdSJxskJ9iXOp2dZ eQrshRtVhJbXPNtpSbyYpXivNeNAUOd+Bsm0faizLQXoIf2yC27bESN50maZHJDszQCr C8IKUTbJzPmCzB62hylIt4VCa4UnnosyqW7jXUQXdNiFFJovaNvFKNPl0eUjeHaOY87n SnnknPtvuHXm6rGBjZYdpobEe+AQWRKvlBd/d1u9cMtouMMVhw5I9ycDg9TpvjquudXs kaOLsOui6efido3raPmJbx+G+r7hZS5jLHnpRAI8Vvw6bIT70yvLXGPXtw3UYs2Riiov VNEw==
X-Received: by 10.182.76.100 with SMTP id j4mr16323523obw.14.1437202179288; Fri, 17 Jul 2015 23:49:39 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.76.94.176 with HTTP; Fri, 17 Jul 2015 23:49:19 -0700 (PDT)
In-Reply-To: <CAJQ8TmBGWztPSCzj0xw1nCLCxQBug8EQOLyaW632u-g6vtk4Dw@mail.gmail.com>
References: <CAMm+Lwi5meHrsbHaseqtmj_3qCDo+J2C8LAS51D=Z6DCtaku5w@mail.gmail.com> <CA+cU71=dxC0ihavEhFtopmQomyCMZXxETMsPE=NSTdHMc7=t_g@mail.gmail.com> <CAHOTMV+_1Drkr456x+7zi6yoATsTLFwH5xDqMJSV42iV1s2vvA@mail.gmail.com> <CAMm+Lwgof93uFz8owAgseKXV9xWoQm3r0gHLxaFQnnpRGpNiKA@mail.gmail.com> <CAHOTMV+oMEBpHtLe6Pk5FMRqc2kPhBfGSQC2WGTS6OK6AVod6Q@mail.gmail.com> <CAHOTMVJdt_e9kX0qkrNC2Y0fd0fYHYW4HhdmW46ZrZ0zDqUgEg@mail.gmail.com> <CAHOTMVL3ronUm-E+RmYR70VWghtuLtfaYfyVnyTmJDRXNTBTPQ@mail.gmail.com> <CAJQ8TmBGWztPSCzj0xw1nCLCxQBug8EQOLyaW632u-g6vtk4Dw@mail.gmail.com>
From: Tony Arcieri <bascule@gmail.com>
Date: Fri, 17 Jul 2015 23:49:19 -0700
Message-ID: <CAHOTMVLNtgiBapepmib26FNqWYbkwoFcU1K+cBwisfUNGTKjpA@mail.gmail.com>
To: "zaki@manian.org" <zaki@manian.org>
Content-Type: multipart/alternative; boundary=047d7b6729245df516051b20b5ee
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/4geDRqVbRUvOtp6gw6vx1nyCdig>
Cc: "cfrg@ietf.org" <cfrg@ietf.org>
Subject: Re: [Cfrg] Additional consequences of the move to ECC (and they are good)
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: <https://mailarchive.ietf.org/arch/browse/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: Sat, 18 Jul 2015 06:49:41 -0000

--047d7b6729245df516051b20b5ee
Content-Type: text/plain; charset=UTF-8

On Fri, Jul 17, 2015 at 11:44 PM, zaki@manian.org <zaki@manian.org> wrote:

> Alice and Bob don't need to cooperate to recover the multiparty shared
> secret.
>

Sure, if another peer (e.g. Carol) brokers their public keys there isn't
any requirement that Alice and Bob directly collude.

--047d7b6729245df516051b20b5ee
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On F=
ri, Jul 17, 2015 at 11:44 PM, <a href=3D"mailto:zaki@manian.org">zaki@mania=
n.org</a> <span dir=3D"ltr">&lt;<a href=3D"mailto:zaki@manian.org" target=
=3D"_blank" onclick=3D"window.open(&#39;https://mail.google.com/mail/?view=
=3Dcm&amp;tf=3D1&amp;to=3Dzaki@manian.org&amp;cc=3D&amp;bcc=3D&amp;su=3D&am=
p;body=3D&#39;,&#39;_blank&#39;);return false;">zaki@manian.org</a>&gt;</sp=
an> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr">Alice and Bob=
 don&#39;t need to cooperate to recover the multiparty shared secret. =C2=
=A0</div></blockquote><div><br></div><div>Sure, if another peer (e.g. Carol=
) brokers their public keys there isn&#39;t any requirement that Alice and =
Bob directly collude.</div></div>
</div></div>

--047d7b6729245df516051b20b5ee--


From nobody Sun Jul 19 10:00:15 2015
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 BBAB41B2A16 for <cfrg@ietfa.amsl.com>; Sun, 19 Jul 2015 10:00:14 -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 XIpwW5Prli_0 for <cfrg@ietfa.amsl.com>; Sun, 19 Jul 2015 10:00:13 -0700 (PDT)
Received: from emh01.mail.saunalahti.fi (emh01.mail.saunalahti.fi [62.142.5.107]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 118BB1B2A12 for <cfrg@irtf.org>; Sun, 19 Jul 2015 10:00:10 -0700 (PDT)
Received: from LK-Perkele-VII (a91-155-194-207.elisa-laajakaista.fi [91.155.194.207]) by emh01.mail.saunalahti.fi (Postfix) with ESMTP id EB598901CA; Sun, 19 Jul 2015 20:00:07 +0300 (EEST)
Date: Sun, 19 Jul 2015 20:00:07 +0300
From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
To: cfrg@irtf.org
Message-ID: <20150719170007.GA20651@LK-Perkele-VII>
References: <20150622122321.GA28986@LK-Perkele-VII> <20150702182951.GA5633@LK-Perkele-VII>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="jI8keyz6grp/JLjh"
Content-Disposition: inline
In-Reply-To: <20150702182951.GA5633@LK-Perkele-VII>
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/dZ5GuqxiCeU7lsGR4FLF0ggsCMo>
Subject: Re: [Cfrg] Signature proposal (quick presentation, v9)
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: <https://mailarchive.ietf.org/arch/browse/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: Sun, 19 Jul 2015 17:00:14 -0000

--jI8keyz6grp/JLjh
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline

And here's the previous material in presentation form after some
substantial editing (9th version[1]).

Notes formatted something resembling a presentation speech are
included.


[1] I like to keep version numbers internally consistent, even
if that means apparently skipping lots of versions.


-Ilari

--jI8keyz6grp/JLjh
Content-Type: application/vnd.oasis.opendocument.presentation
Content-Disposition: attachment; filename="eccsig-ilari-v9.odp"
Content-Transfer-Encoding: base64

UEsDBBQAAAgAAPlY8kYzJqyoLwAAAC8AAAAIAAAAbWltZXR5cGVhcHBsaWNhdGlvbi92bmQu
b2FzaXMub3BlbmRvY3VtZW50LnByZXNlbnRhdGlvblBLAwQUAAAIAAD5WPJG/HxD6kMXAABD
FwAAGAAAAFRodW1ibmFpbHMvdGh1bWJuYWlsLnBuZ4lQTkcNChoKAAAADUlIRFIAAAEAAAAA
wAgDAAAA3DNNVAAAAGZQTFRFAAAACwsLExMTHBwcIiIiLCwsMzMzPj4+Q0NDS0tLU1NTW1tb
Y2NjbGxsc3NzfX19g4ODi4uLk5OTnJyco6Ojq6urs7Ozvb29w8PDzMzM09PT3Nzc4+Pj6+vr
8/Pz/v7+AAAA////0Eh3GwAAFphJREFUeNrtXYmC3CgOrcNl8AXY2Bzm0P//5Urg6mOSzGY2
051kY3dXuQwCw0MIifMCf/h1OQE4ATgBOAE4ATgBOAE4ATgBOAE4ATgBOAE4ATgBOAE4Afj2
lW25Rf/iwv33hRSa/v/b9Y3Y/u4le5fxC9OU8CFR+sT6cQDYSiz5i4uM3xeSSdDuv6fF/hPn
UiTNRrEDTAjSeqP0hZv/cAAYsYHbX9zrz+Re0YguHF65eDP1LDGfKd2e3Iluf5/TVMMlVzOx
lyjfOBdyDJ2eBUBJSV3BYGmXy4vbxwD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AAAAAAAAAAA
AE9HAABDb25maWd1cmF0aW9uczIvYWNjZWxlcmF0b3IvY3VycmVudC54bWxQSwECFAAUAAAI
AAD5WPJGAAAAAAAAAAAAAAAAHwAAAAAAAAAAAAAAAACmRwAAQ29uZmlndXJhdGlvbnMyL2lt
YWdlcy9CaXRtYXBzL1BLAQIUABQAAAgAAPlY8kYAAAAAAAAAAAAAAAAaAAAAAAAAAAAAAAAA
AONHAABDb25maWd1cmF0aW9uczIvdG9vbHBhbmVsL1BLAQIUABQAAAgAAPlY8kYAAAAAAAAA
AAAAAAAcAAAAAAAAAAAAAAAAABtIAABDb25maWd1cmF0aW9uczIvcHJvZ3Jlc3NiYXIvUEsB
AhQAFAAICAgA+VjyRma3M8ESAQAA4gMAABUAAAAAAAAAAAAAAAAAVUgAAE1FVEEtSU5GL21h
bmlmZXN0LnhtbFBLBQYAAAAAEAAQADYEAACqSQAAAAA=

--jI8keyz6grp/JLjh--


From nobody Mon Jul 20 02:30:05 2015
Return-Path: <bjorn.edstrom@gmail.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 988E21A1A12 for <cfrg@ietfa.amsl.com>; Mon, 20 Jul 2015 02:30:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.978
X-Spam-Level: 
X-Spam-Status: No, score=-0.978 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, MIME_8BIT_HEADER=0.3, SPF_PASS=-0.001] 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 q4CDMHdpBu40 for <cfrg@ietfa.amsl.com>; Mon, 20 Jul 2015 02:29:55 -0700 (PDT)
Received: from mail-pd0-x22c.google.com (mail-pd0-x22c.google.com [IPv6:2607:f8b0:400e:c02::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C51591A1A1D for <cfrg@irtf.org>; Mon, 20 Jul 2015 02:29:53 -0700 (PDT)
Received: by pdbnt7 with SMTP id nt7so28427887pdb.0 for <cfrg@irtf.org>; Mon, 20 Jul 2015 02:29:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=mIRL5u6E+XVh7nawp33CO00HNZzD8NF+77E2p6oZeJk=; b=EEdFMcNV1eqNundMAgL8MyYwdNDfvoC5M+dGwdXmM6uuSjaCIQNSZ9sE/hz/Wr/tjA HTt3+AhkFtQUXmUCPLhA2cpjFpI5el3eqwE5bdHfwBEi2VSK8ZL3JcnnI5bdmNVq5hjr woIbtq4Gz53KixxT6C+RDDeBRgQEsoo5w74znwSeFQ40iHo2YEU3aKDlHqE/76iiKoph N7IDwdJ+zuzbdsvJW1zVs/OAkWw55OyEIdxO/1G4CXUMdwtmuuMJ20j6cwsl6QMwYTR4 QXJbP8hKIHtxKrRB4i3ULNyy2NkkKTup3zUPUEmQZanO3A+qscY8Ltvjm1YlW1ZZxO4W CWIg==
MIME-Version: 1.0
X-Received: by 10.70.126.193 with SMTP id na1mr35098159pdb.26.1437384593242; Mon, 20 Jul 2015 02:29:53 -0700 (PDT)
Sender: bjorn.edstrom@gmail.com
Received: by 10.66.179.72 with HTTP; Mon, 20 Jul 2015 02:29:53 -0700 (PDT)
In-Reply-To: <20150716203612.17364.qmail@cr.yp.to>
References: <55A2F62C.3040200@sbcglobal.net> <20150716203612.17364.qmail@cr.yp.to>
Date: Mon, 20 Jul 2015 11:29:53 +0200
X-Google-Sender-Auth: pMb-ch72YD2lfjMGNvQG8mMxO-w
Message-ID: <CAA4PzX1rAuQqK4C64JwycjiGaDtV7=FgatjOcscfB_ckdM97jw@mail.gmail.com>
From: =?UTF-8?B?QmrDtnJuIEVkc3Ryw7Zt?= <be@bjrn.se>
To: cfrg@irtf.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/lNYSfWczgePMJl7VvjQvxg71xJs>
Subject: Re: [Cfrg] SHA-512+t, and more hash-function options
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: <https://mailarchive.ietf.org/arch/browse/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, 20 Jul 2015 09:30:03 -0000

Since there aren't that many comments here I just want to chime in
that I believe this proposal (SHA512+t) is much nicer from an
implementation perspective than the original FIPS 180-4 based one. The
desired trait for me is to be able to use a hash implementation as a
black box, which I can in this case.

Best regards
Bj=C3=B6rn


On Thu, Jul 16, 2015 at 10:36 PM, D. J. Bernstein <djb@cr.yp.to> wrote:
> David Jacobson writes:
>> prefixing the message with "SHA-512/1056part0" (etc)  zero-padded out
>> to the input block size and hashing with SHA-512 4 times?  That way
>> any SHA-512 HW engine or software implementation would work.  It could
>> be optimized by taking the state after the first block has been
>> processed and using that as the IV (4 IVs, of course).
>
> Just to explore this idea further: Since this is a more serious
> deviation from the FIPS 180-4 approach, I'd suggest a slightly different
> naming scheme, say "+" for prefixing instead of "/" for IV replacement.
> This means that, e.g., the 114-byte "SHA-512+912" output for a message m
> would be the concatenation of
>
>    57 bytes of SHA-512("SHA-512+912part0/2"+zeropadding+m)
>    57 bytes of SHA-512("SHA-512+912part1/2"+zeropadding+m)
>
> with the padding expanding the prefix to one SHA-512 input block (128
> bytes). As you said, the state after the first block can be precomputed,
> similarly to HMAC.
>
> Obviously this would work with SHA-512 (rather than just the SHA-512
> compression function) as a black box, without the FIPS 180-4 IV tweaks.
> >From a security perspective, the disadvantage of prefixing is that the
> auditor has to watch out for the possibility of the prefixed hash of m
> being transported to a protocol that uses SHA-512 directly and views the
> same hash as coming from a modified message prefix+m; but this doesn't
> matter for EdDSA.
>
> Were there other concerns regarding the choices of hash functions?
>
> A few of the comments on the mailing list sounded to me like objections
> to any use of SHA-512 as requiring serious new implementation work for
> devices that support only SHA-256 and SHA-384 (and that didn't use the
> obvious modularization of SHA-384). I don't see adding SHA-512 code as a
> significant fraction of the ECC implementation effort, and it's also not
> a significant performance issue for normal signature applications,
> _except_ that prehashing a very long message might be a significant
> cost. The choice here is pretty much independent of the signature
> proposal, but it does have to be settled one way or another if
> signatures are going to be interoperable.
>
> One of the nice features of SHA-3 is that all the different output sizes
> can be easily supported with a single implementation. With SHA-2 there's
> a real separation between the SHA-256 compression function, mapping 768
> bits to 256 bits, and the SHA-512 compression function, mapping 1536
> bits to 512 bits; everyone uses separate code, separate tables, etc.
> With SHA-3, all output sizes are built straightforwardly from one
> unified 1600-bit permutation module, which is also an obvious target for
> tests and for optimizations.
>
> ---Dan
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg


From nobody Mon Jul 20 09:18:26 2015
Return-Path: <dbrown@certicom.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 AC3981AC3DB for <cfrg@ietfa.amsl.com>; Mon, 20 Jul 2015 09:18:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.499
X-Spam-Level: 
X-Spam-Status: No, score=0.499 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, J_CHICKENPOX_31=0.6, J_CHICKENPOX_34=0.6, RCVD_IN_DNSWL_LOW=-0.7] 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 Wh9Haena6ubZ for <cfrg@ietfa.amsl.com>; Mon, 20 Jul 2015 09:18:22 -0700 (PDT)
Received: from smtp-p01.blackberry.com (smtp-p01.blackberry.com [208.65.78.88]) by ietfa.amsl.com (Postfix) with ESMTP id 664701A903A for <cfrg@irtf.org>; Mon, 20 Jul 2015 09:18:22 -0700 (PDT)
Received: from xct102cnc.rim.net ([10.65.161.202]) by mhs211cnc.rim.net with ESMTP/TLS/AES128-SHA; 20 Jul 2015 12:18:01 -0400
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT102CNC.rim.net ([fe80::2066:5d4f:8c45:af55%17]) with mapi id 14.03.0210.002; Mon, 20 Jul 2015 12:18:00 -0400
From: Dan Brown <dbrown@certicom.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: ECDSA_CFRG details
Thread-Index: AdDDB4jxG2xFiiJpS1KLKfcd1e3jGw==
Date: Mon, 20 Jul 2015 16:17:59 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5E16693@XMB116CNC.rim.net>
Accept-Language: en-CA, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.65.160.249]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/ZdWyXJBn7b3eMgxyZvToSIq68yQ>
Subject: [Cfrg] ECDSA_CFRG details
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: <https://mailarchive.ietf.org/arch/browse/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, 20 Jul 2015 16:18:24 -0000

Dear CFRG,

Further detail about my ECDSA_CFRG proposal,

a high-level pseudocode,
hash choice,
pseudorandom function,
conversion of points to integers,
backwards/forwards (non-)inter-operation with ECDSA,

follows below.

(1) High-level pseudocode
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

The pseudocode consists of two C++-like files.  This pseudocode
assumes some functions that convert between various types of objects.
I will describe some of these functions further below.

Proviso: I have not run, or tested, this pseudocode.  If it has
errors, e.g. due to my typos, then these are overruled by the math in
my earlier description of ECDSA_CFRG.

////////////////////////////////////////////////////
// File ecdsa_cfrg_spec.cpp
// ECDSA_CFRG pseudocode spec only: not for real use
# include "ecdsa_cfrg.hh"
# define VERIFY verify // verify_via_ecdsa

static bool verify (point Q, bits M, ecdsa sig)
{
return sig.r =3D=3D f((hash(M)*G + sig.r*Q) / sig.s) ;
}

static bool verify (point Q, bits M, ecdsa_cfrg sig)
{
return sig.s*sig.R =3D=3D hash(M||sig.R)*G + f(sig.R)*Q ;
}

static bool verify_via_ecdsa (point Q, bits M, ecdsa_cfrg sig)
{
return verify (Q, M||sig.R, (to_ecdsa)(sig)) ;
}

bool verify_ecdsa_cfrg (bits Q, bits M, bits sig)
{
return VERIFY((to_point)(Q), M, (to_ecdsa_cfrg)(sig)) ;
}

bits verification_key_ecdsa_cfrg (bits key)
{
return (to_bits)(prf(key) * G) ;
}

bits sign_ecdsa_cfrg (bits key, bits M)
{
mult k =3D prf(key, M) ;
mult m =3D prf(key, k) ; // mask leaky / op
mult d =3D prf(key) ;
point R =3D k*G ;
mult s =3D (hash(M||R) + f(R)*d) / (k*m) ;
return (to_bits)((ecdsa_cfrg){R , (s*m)}) ;
}

////////////////////////////////////////////////////////
// File "ecdsa_cfrg.hh" (types and conversions)
typedef struct { /*...*/ } mult ;
typedef struct { /*...*/ } point ;
typedef struct { /*...*/ } bits ;
typedef struct {point R; mult s;} ecdsa_cfrg ;
typedef struct {mult r; mult s;} ecdsa ;
point G =3D { /*...*/ } ;
bits to_bits (point) ;
point to_point (bits) ;
bits to_bits (ecdsa_cfrg) ;
ecdsa_cfrg to_ecdsa_cfrg (bits) ;
mult to_mult (point P)
/* Weierstrass: { return (to_mult)((to_bits)(x(P)));} */ ;
# define f to_mult
ecdsa to_ecdsa (ecdsa_cfrg sig)
{
return (ecdsa){f(sig.R), sig.s} ;
}
mult hash (bits) ;
mult prf (bits) ; // MUST: deterministic
mult prf (bits, bits) ; // SHOULD: deterministic
mult prf (bits, mult) ; // SHOULD: non-deterministic
bool operator =3D=3D (mult, mult);
mult operator + (mult, mult);
mult operator * (mult, mult);
mult operator / (mult, mult);
bits operator || (bits, bits);
bits operator || (bits M, point R)
{ return M || (to_bits)(R) ; }
bool operator =3D=3D (point, point);
point operator + (point, point);
point operator * (mult , point);
point operator / (point, mult ); // ECDSA verify spec only

(2) Hash function
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

The choice of hash for ECDSA_CFRG is determined by the curve.

In the pseudocode a function hash is specified.  This is obtained by
using the following bit-string-outputting hash function, and then
reducing the corresponding integer modulo the based point order.

Implicit in this a conversion of bit string to an integer, which will
follow the same convention used for point coordinates,
i.e. little-endian or big-endian.

(2a) For curves (with base point order) of 256 bits or less,
e.g. P-256 or Curve25519, the hash is SHA-384 (one of the SHA2
hashes) truncated to the bit length of the base point order.

Rationale:
- This is effectively wide-pipe, because the SHA384 internal state is
  512 bits.
- I've heard that SHA-384 is widely available.
- The truncation pattern follows the old ECDSA practice, making it
  slightly easier to re-use a ECDSA verifier.

(2b) For curves (with base point order) of bit lengths between 257 and
512 inclusive, the hash is SHA3-512 (one of the SHA3 hashes) truncated
to one bit less than that bit length of the base point order.

Rationale:
- This is wide-pipe, because the internal SHA3-512 internal state is
  1024 bits.
- For higher strength curves, it makes sense to use best available
  hash in amount of review and provenance, i.e. SHA-3.
- The truncation chops one additional bit, so the hash output is
  smaller than the base point order, which fends off Vaudenay domain
  parameter attacks.

(2c) For curves with base point order of 571 bits of less, use the same
hash as determined by the rules of (2b).  This is nearly wide-pipe,
and a kind of grandfathering rule.

(2d) For curves with base point order of 572 bits or more, one must
one wait until a sufficiently wide-pipe hash is approved by CFRG.
Sorry.

(3) PRF for ephemeral key ("nonce") generation
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

In the pseudocode an overloaded function prf, which is now described,
in two stage.  The first stage assumes a hash-like PRF with two inputs
a key, and variable length message, and a fixed length output.  The
second stage defines the PRF.

Stage 1, using a PRF ...

prf(seed) =3D PRF(seed, 0^8), where 0^8 is the octet of all zero bits.

prf(seed,message) =3D PRF(seed,1^8 || message).

prf(seed,multiplier) =3D to be defined, used for masking, uses run-time
entropy.  Maybe prf(seed, multiplier) =3D PRF(seed, (01)^4 || multiplier
|| run-time-nonce)=20

A rationale for the key separation within the message input is to use
on the PRF security goals, that the PRF output with a fixed seed
reveals nothing about the messages.  This tries to avoid fiddling
with seed input to the PRF, since PRF do not promise resilience to
related key attacks.

The reason about being so pedantic with PRF goals, is that slight
biases in the keys are known to expose DL signatures.  So, let's stick
with the promised goals of PRFs.


Stage 2, choosing a PRF ...

The recommended of PRF will be related to the hash from section (2)
above.  The relatedness is for convenience.

When the hash is SHA-384, the PRF will be HMAC-SHA-384 with no
truncation.  The PRF seed is the HMAC key.

When the hash is SHA3-512, the PRF will be SHAKE256 using seed as a
prefix.  The output length will be set to be 50% above the base point
order bit length (rounding up).

A rationale for these PRFs is that HMAC is widely believed to provide
a good PRF in addition to a MAC property.  I'm hoping the same will be
true for SHAKE256.

If there are better variable-in and fixed-out length PRFs, then I
would like to know about them.

The extra 50% in the bit length of the output before reduction aims to
reduce the information-theoretic exposure of the static signing keys.

Also, if an implementer later opts to diverge from this recommendation
by truncating to the bit length of base point order, which also seems
secure for curves whose base point order is quite close to a power of
two, then the truncation attack that I sent an email about earlier
will not work because the truncated bits will be too many.

(4) Conversion of points to scalar integer multipliers
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D

The high-level pseudocode uses a function f, a macro for a function
to_mult that has input of a point, and output a scalar integer
multiplier.

For Weierstrass format curves, just follow the similar pattern used
for ECDSA curves.

For other curve formats, I recommend using the default compressed bit
string representation of a point, and then the default conversion of
bit strings to integers.  Or, if people prefer, using a single
coordinate, i.e. the one used in a Montgomery ladder, representing it
as a bit string, and then an integer.

The main, and very mild, security goal for f is that one should have a
good chance of recovering R from f(R).=20

(5) Backwards (and forwards) (non-)inter-operation
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

(5a) Backwards interoperability with ECDSA verifiers

Existing ECDSA verifiers that can adapt easily the curve and hash, _can_
be used to verify ECDSA_CFRG signatures by applying a simple
transformation to the signature and to the message.

This interoperability can be viewed as a convenience, but it is also
has a security benefit.  It is the reason why signer-absent forgery of
ECDSA_CFRG cannot be easier than signer-absent forgery of ECDSA.  In
other words, the modifications have not introduced new security risks
in the area of signer-absent forgery.


(5b) Non-interoperability with ECDSA=20

Existing ECDSA signers, some of which have severe implementation
faults, _cannot_ be used to generated ECDSA_CFRG unless they are
drastically modified.  This is backwards non-inter-operation of
signers.

Existing ECDSA signatures, _cannot_ be verified with a strict
ECDSA_CFRG verifier.  This is forward non-inter-operation of verifiers.

These two non-inter-operations are a security benefit in that they
prevent broken ECDSA signers, or the resulting ECDSA forgeries to be
used against ECDSA_CFRG.

(5c) Curve formats

In my ideal world, an old generic-curve ECDSA verifier could be used
to verify ECDSA_CFRG with new curves.  There seems to be strong
preference in CFRG to use incompatible formats for new curves, so this
ideal would not be feasible.

Best regards,

Daniel Brown
Certiom Research / BlackBerry Standards


From nobody Tue Jul 21 06:27:02 2015
Return-Path: <watsonbladd@gmail.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 D2C891B2C47 for <cfrg@ietfa.amsl.com>; Tue, 21 Jul 2015 06:26:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.522
X-Spam-Level: 
X-Spam-Status: No, score=0.522 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001, URI_HEX=1.122] 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 WMKevYPHrpag for <cfrg@ietfa.amsl.com>; Tue, 21 Jul 2015 06:26:54 -0700 (PDT)
Received: from mail-wi0-x232.google.com (mail-wi0-x232.google.com [IPv6:2a00:1450:400c:c05::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E87E01AD364 for <cfrg@irtf.org>; Tue, 21 Jul 2015 06:26:53 -0700 (PDT)
Received: by wicgb10 with SMTP id gb10so55672976wic.1 for <cfrg@irtf.org>; Tue, 21 Jul 2015 06:26:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:date:message-id:subject:from:to:content-type; bh=c/i5uphNcVWl1TFb9NgtLo83IYnIN1tU1hGOopn/QiE=; b=PKoALCAwuvpgVDDPIqTpeey0c8Ae/yFZojLZe/ARB0zn7u1tBxkXtE2g6u0Emu8X0r tovE/NSUK/8LcDr848tXaGDcyv/sG3JfNfMo46yyT9CzwhhakpWt+FmeDSwAL4itr6jD UuAeFzz+ulgZ7Qa9fDMUT5gCtb9qEsiIiJA9SUlWzGvymBEGMkEF9YTBc0tuHMC5OvRQ DX/xcEw45Pn17/PQudVQZrUPvA/A4UM+HLl1n0jj1WhIfOY/WgwSZCtU8ra8xexlHe3+ haHjFjB7LFWv20kM8amqFcFXJ2QSMJizry3qQqWDhW16zyNBh22hMZP0ZvU8DmNnwvBu +0uQ==
MIME-Version: 1.0
X-Received: by 10.180.36.16 with SMTP id m16mr31114213wij.26.1437485212706; Tue, 21 Jul 2015 06:26:52 -0700 (PDT)
Received: by 10.194.20.97 with HTTP; Tue, 21 Jul 2015 06:26:52 -0700 (PDT)
Date: Tue, 21 Jul 2015 06:26:52 -0700
Message-ID: <CACsn0cmBDhiJ_4m9ssUwONxqr_gwdmMALD2b-kz3vCpCD35SGA@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Content-Type: text/plain; charset=UTF-8
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/aH6xg1pyegUsApCc1ORhn1Wj9Qc>
Subject: [Cfrg] DJB's python script
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: <https://mailarchive.ietf.org/arch/browse/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: Tue, 21 Jul 2015 13:26:56 -0000

Dear all,
DJB has complained on Twitter about this link not going through, and I
don't see it, so I'll post it instead.

http://ed25519.cr.yp.to/cfrg/signatures.py

This demonstrates how similar most of the schemes are, and is a
reference implementation. He does mention some unclear choices: I hope
we can clear that up by Wednesday for all schemes.
Sincerely,
Watson Ladd


From nobody Tue Jul 21 06:33:35 2015
Return-Path: <msj@nthpermutation.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 352B31A8740 for <cfrg@ietfa.amsl.com>; Tue, 21 Jul 2015 06:33:34 -0700 (PDT)
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 FqNbMyp9supq for <cfrg@ietfa.amsl.com>; Tue, 21 Jul 2015 06:33:26 -0700 (PDT)
Received: from mail-wg0-f49.google.com (mail-wg0-f49.google.com [74.125.82.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 68FDD1ACF24 for <cfrg@irtf.org>; Tue, 21 Jul 2015 06:33:26 -0700 (PDT)
Received: by wgkl9 with SMTP id l9so156412436wgk.1 for <cfrg@irtf.org>; Tue, 21 Jul 2015 06:33:25 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:subject:to:message-id:date:user-agent :mime-version:content-type:content-transfer-encoding; bh=sd1PIUfxiUJoMNO5/ao0EMVZdmC1nPpvtSk0ZHAne2E=; b=ILJb9oe9B4GAxd+1cbHAWiCfEN7ixMErWV/cob1e9vbMixPOZe3NGWE2w5iT7dyCYo NtzKq+HdNgecRV32z87GztjjFKxxzGAhxOYW6Dk00AMyGtYXECjBYyly9DTmcVOhg1dG DKfT2eXkbMyrJ98IvbMOwnlS3hORQIv1GcPmnxktaf4ebfAuhPLvxKM8DdnaoRZnOB5H rMZFOKtFd20vgGLW5/QYhB1ROJb4j2k3e+vIQ9kwUiUd4mR/Hwn5uD9YXB3l7O4lg8t5 aD4esTa/LoTU7w5OfQztifxunnrwv6z4KT3wf9+g5TQbkhbM83A67ch+DXPjRK7W/GiY MB/w==
X-Gm-Message-State: ALoCoQnQx5TYGk5Hfj8M1PVe5dIqyq0JK2WXfMam6BjqmJZgCoLBB0vGGZ/VB+nJWUmCIHz6i7QG
X-Received: by 10.180.188.176 with SMTP id gb16mr30916636wic.18.1437485605058;  Tue, 21 Jul 2015 06:33:25 -0700 (PDT)
Received: from ?IPv6:2001:67c:370:176:a5e5:419:248c:bf99? ([2001:67c:370:176:a5e5:419:248c:bf99]) by smtp.gmail.com with ESMTPSA id l6sm16899014wib.18.2015.07.21.06.33.23 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Jul 2015 06:33:24 -0700 (PDT)
From: Michael StJohns <msj@nthpermutation.com>
To: msj@nthpermutation.com, cfrg@irtf.org
Message-ID: <55AE4A2B.9020608@nthpermutation.com>
Date: Tue, 21 Jul 2015 09:33:31 -0400
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1
MIME-Version: 1.0
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/20x1Z0vYlMtvfhzXShfoPUF2DYM>
Subject: [Cfrg] Fwd: I-D Action: draft-stjohns-kdf-with-assignment-00.txt
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: <https://mailarchive.ietf.org/arch/browse/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: Tue, 21 Jul 2015 13:33:34 -0000

On 7/21/2015 9:21 AM, Michael StJohns wrote:

FYI - This is my long delayed KDF document.  It may eventually be useful 
for the next group of protocol revisions.  This is a wrap around KDF 
with the property that the attributes of the keys or objects to be 
produced are mixed into the KDF derivation sequence.  This allows 
security modules to make "secure" decisions of how to treat those objects.

Thanks - Mike


>
>
>> From: internet-drafts@ietf.org
>> To: <i-d-announce@ietf.org>
>> Subject: I-D Action: draft-stjohns-kdf-with-assignment-00.txt

>>
>>
>>
>> A New Internet-Draft is available from the on-line Internet-Drafts directories.
>>
>>
>>         Title           : Key Derivation Functions with Assignment
>>         Author          : Michael C StJohns
>>         Filename        : draft-stjohns-kdf-with-assignment-00.txt
>>         Pages           : 20
>>         Date            : 2015-07-21
>>
>> Abstract:
>>    This document describes a key derivation function (KDF) wrap-around
>>    or a meta-KDF that's designed to mix in key assignment parameters to
>>    the key stream generation phase.  This allows a security module to
>>    rely upon and enforce the key assignment parameters during the
>>    assigment of key material from the generated key stream to the
>>    cryptographic objects.
>>
>>
>> The IETF datatracker status page for this draft is:
>> https://datatracker.ietf.org/doc/draft-stjohns-kdf-with-assignment/
>>
>> There's also a htmlized version available at:
>> https://tools.ietf.org/html/draft-stjohns-kdf-with-assignment-00
>>
>>
>> Please note that it may take a couple of minutes from the time of submission
>> until the htmlized version and diff are available at tools.ietf.org.
>>
>> Internet-Drafts are also available by anonymous FTP at:
>> ftp://ftp.ietf.org/internet-drafts/
>>
>> _______________________________________________
>> I-D-Announce mailing list
>> I-D-Announce@ietf.org
>> https://www.ietf.org/mailman/listinfo/i-d-announce
>> Internet-Draft directories: http://www.ietf.org/shadow.html
>> or ftp://ftp.ietf.org/ietf/1shadow-sites.txt
>
>


From nobody Tue Jul 21 06:36:20 2015
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 5E0C91B2D8E for <cfrg@ietfa.amsl.com>; Tue, 21 Jul 2015 06:36:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.779
X-Spam-Level: 
X-Spam-Status: No, score=-0.779 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URI_HEX=1.122] 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 S7ef7FShnNVO for <cfrg@ietfa.amsl.com>; Tue, 21 Jul 2015 06:36:18 -0700 (PDT)
Received: from emh06.mail.saunalahti.fi (emh06.mail.saunalahti.fi [62.142.5.116]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 166131B2DAA for <cfrg@irtf.org>; Tue, 21 Jul 2015 06:36:18 -0700 (PDT)
Received: from LK-Perkele-VII (a91-155-194-207.elisa-laajakaista.fi [91.155.194.207]) by emh06.mail.saunalahti.fi (Postfix) with ESMTP id 1AD8069B1F for <cfrg@irtf.org>; Tue, 21 Jul 2015 16:36:16 +0300 (EEST)
Date: Tue, 21 Jul 2015 16:36:16 +0300
From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Message-ID: <20150721133615.GA23009@LK-Perkele-VII>
References: <CACsn0cmBDhiJ_4m9ssUwONxqr_gwdmMALD2b-kz3vCpCD35SGA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <CACsn0cmBDhiJ_4m9ssUwONxqr_gwdmMALD2b-kz3vCpCD35SGA@mail.gmail.com>
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/A02cUuw7cOWPmQUWabKDCxRL_eY>
Subject: Re: [Cfrg] DJB's python script
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: <https://mailarchive.ietf.org/arch/browse/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: Tue, 21 Jul 2015 13:36:19 -0000

On Tue, Jul 21, 2015 at 06:26:52AM -0700, Watson Ladd wrote:
> Dear all,
> DJB has complained on Twitter about this link not going through, and I
> don't see it, so I'll post it instead.
> 
> http://ed25519.cr.yp.to/cfrg/signatures.py
> 
> This demonstrates how similar most of the schemes are, and is a
> reference implementation. He does mention some unclear choices: I hope
> we can clear that up by Wednesday for all schemes.

Looks like my spec wasn't clear enough, it specifies "unsigned LEB128"
as lengths. Which is that "low 7 bits are little endian number, MSB
is set for all except last octet" (not 128-bit little-endian number).

I.e. something like:
input v: Integer
s = ""
while v > 128
	s = s + octet(128 + v % 128)
	v = v / 128;
end
s = s + octet(v)
return s


-Ilari


From nobody Tue Jul 21 06:39:26 2015
Return-Path: <rsalz@akamai.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 E5F531B2DB7 for <cfrg@ietfa.amsl.com>; Tue, 21 Jul 2015 06:39:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.584
X-Spam-Level: **
X-Spam-Status: No, score=2.584 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FH_RELAY_NODNS=1.451, HELO_MISMATCH_COM=0.553, RDNS_NONE=0.793, SPF_SOFTFAIL=0.665, URI_HEX=1.122] 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 bSIboBM__Pu4 for <cfrg@ietfa.amsl.com>; Tue, 21 Jul 2015 06:39:24 -0700 (PDT)
Received: from prod-mail-xrelay07.akamai.com (unknown [23.79.238.175]) by ietfa.amsl.com (Postfix) with ESMTP id DFF311B2D96 for <cfrg@irtf.org>; Tue, 21 Jul 2015 06:39:23 -0700 (PDT)
Received: from prod-mail-xrelay07.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id D070947320; Tue, 21 Jul 2015 13:40:01 +0000 (GMT)
Received: from prod-mail-relay07.akamai.com (prod-mail-relay07.akamai.com [172.17.121.112]) by prod-mail-xrelay07.akamai.com (Postfix) with ESMTP id B1633472BC; Tue, 21 Jul 2015 13:40:01 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=akamai.com; s=a1; t=1437486001; bh=vQCY0f+qkLDVvr6gdxcdiWIkzavdYzV6NwbJclTcYQs=; h=From:To:Subject:Date:References:In-Reply-To:From; b=iDfQfdOjS9WEHYJ1JoCfcqNuVRVsg6y/fokZgfc4QJpLT538XtTNeCXL3paGFpsC3 fI4VLi5vUBttsDjxjHYQTHK9cr6sM30mJGXkU6AfQNh+SOVktMnNoRVofQN3+93QqB W44eA+l+083AtrWwDWWXxOkryN/WjoRfNYM7pS90=
Received: from email.msg.corp.akamai.com (ustx2ex-cas4.msg.corp.akamai.com [172.27.25.33]) by prod-mail-relay07.akamai.com (Postfix) with ESMTP id 58212808B1; Tue, 21 Jul 2015 13:39:22 +0000 (GMT)
Received: from USTX2EX-DAG1MB2.msg.corp.akamai.com (172.27.27.102) by ustx2ex-dag1mb2.msg.corp.akamai.com (172.27.27.102) with Microsoft SMTP Server (TLS) id 15.0.1076.9; Tue, 21 Jul 2015 08:39:21 -0500
Received: from USTX2EX-DAG1MB2.msg.corp.akamai.com ([172.27.6.132]) by ustx2ex-dag1mb2.msg.corp.akamai.com ([172.27.6.132]) with mapi id 15.00.1076.000; Tue, 21 Jul 2015 08:39:21 -0500
From: "Salz, Rich" <rsalz@akamai.com>
To: Watson Ladd <watsonbladd@gmail.com>, "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [Cfrg] DJB's python script
Thread-Index: AQHQw7j2cLSJE+kbLkqkMpxCA60XfJ3l7ROg
Date: Tue, 21 Jul 2015 13:39:21 +0000
Message-ID: <3d96858bc49b4970a01d20de46f32b0b@ustx2ex-dag1mb2.msg.corp.akamai.com>
References: <CACsn0cmBDhiJ_4m9ssUwONxqr_gwdmMALD2b-kz3vCpCD35SGA@mail.gmail.com>
In-Reply-To: <CACsn0cmBDhiJ_4m9ssUwONxqr_gwdmMALD2b-kz3vCpCD35SGA@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [172.19.152.207]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/pI_255j8-HBvbYwrd3W6RGS3PXk>
Subject: Re: [Cfrg] DJB's python script
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: <https://mailarchive.ietf.org/arch/browse/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: Tue, 21 Jul 2015 13:39:25 -0000

> http://ed25519.cr.yp.to/cfrg/signatures.py
>=20
> This demonstrates how similar most of the schemes are, and is a reference
> implementation.

This is really useful.  And an impressive feat of refactoring :)


From nobody Tue Jul 21 07:07:02 2015
Return-Path: <dbrown@certicom.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 E1C521A9024 for <cfrg@ietfa.amsl.com>; Tue, 21 Jul 2015 07:07:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.421
X-Spam-Level: 
X-Spam-Status: No, score=0.421 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, RCVD_IN_DNSWL_LOW=-0.7, URI_HEX=1.122] 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 MIcTMpCJJ4c2 for <cfrg@ietfa.amsl.com>; Tue, 21 Jul 2015 07:06:59 -0700 (PDT)
Received: from smtp-p01.blackberry.com (smtp-p01.blackberry.com [208.65.78.88]) by ietfa.amsl.com (Postfix) with ESMTP id 347241A9055 for <cfrg@irtf.org>; Tue, 21 Jul 2015 07:06:59 -0700 (PDT)
Received: from xct106cnc.rim.net ([10.65.161.206]) by mhs211cnc.rim.net with ESMTP/TLS/AES128-SHA; 21 Jul 2015 10:06:36 -0400
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT106CNC.rim.net ([fe80::d824:6c98:60dc:3918%16]) with mapi id 14.03.0210.002; Tue, 21 Jul 2015 10:06:35 -0400
From: Dan Brown <dbrown@certicom.com>
To: "'watsonbladd@gmail.com'" <watsonbladd@gmail.com>, "'cfrg@irtf.org'" <cfrg@irtf.org>
Thread-Topic: [Cfrg] DJB's python script
Thread-Index: AQHQw7j8qwAPnrN/HkGtd7kFPN8yPZ3l7waQ
Date: Tue, 21 Jul 2015 14:06:35 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5E17EA7@XMB116CNC.rim.net>
References: <CACsn0cmBDhiJ_4m9ssUwONxqr_gwdmMALD2b-kz3vCpCD35SGA@mail.gmail.com>
In-Reply-To: <CACsn0cmBDhiJ_4m9ssUwONxqr_gwdmMALD2b-kz3vCpCD35SGA@mail.gmail.com>
Accept-Language: en-CA, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [10.65.160.249]
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_0009_01D0C39C.ED19A620"
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/VPtJ-AjJNXitxefVndvVITb8fJI>
Subject: Re: [Cfrg] DJB's python script
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: <https://mailarchive.ietf.org/arch/browse/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: Tue, 21 Jul 2015 14:07:01 -0000

------=_NextPart_000_0009_01D0C39C.ED19A620
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Thanks for providing this link.

Some of the details in my ECDSA_CFRG proposal were described yesterday, and
weren't yet incorporated into the python script as of this morning.  So, I
can suggest some corresponding updates to script, if it helps.

For now, I'll just note that the function f _does not_ hash (as described in
python script).  Rather, it a point to a scalar integer multiplier, via a
byte string (and perhaps restricting to one coordinate).  This f is what
ECDSA does when it computes r from R, as r = f(R) = field_to_int(x-coord(R))
mod n.

The python script uses Curve25519.  If we're not aiming to support a generic
ECDSA verifier, then I would suggest f(P) to be decodeint(encodepoint(P)).
If one wants to retrofit to a generic ECDSA, then one needs to use the f
above for ECDSA and also select some Weierstrass representation for
Curve25519, which generally seems to an unpopular approach.

On the brief notation "f": I've used (and so did Neven, Smart, and
Warinschi):
http://eprint.iacr.org/2002/026 (also published in DCC)
http://eprint.iacr.org/2008/286 (no refereed publication)
Advances in ECC (London Math Society) chapter 2
http://www.neven.org/papers/schnorr.pdf
http://eprint.iacr.org/2015/169
http://eprint.iacr.org/2015/509

By the way, all these papers discuss math security arguments for signatures,
although they do not address implementation security.


> -----Original Message-----
> From: Cfrg [mailto:cfrg-bounces@irtf.org] On Behalf Of Watson Ladd
> Sent: Tuesday, July 21, 2015 9:27 AM
> To: cfrg@irtf.org
> Subject: [Cfrg] DJB's python script
> 
> Dear all,
> DJB has complained on Twitter about this link not going through, and I
don't
> see it, so I'll post it instead.
> 
> http://ed25519.cr.yp.to/cfrg/signatures.py
> 
> This demonstrates how similar most of the schemes are, and is a reference
> implementation. He does mention some unclear choices: I hope we can clear
> that up by Wednesday for all schemes.
> Sincerely,
> Watson Ladd
> 
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg

------=_NextPart_000_0009_01D0C39C.ED19A620
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIUoDCCBo8w
ggV3oAMCAQICClvwCZYABAA8faIwDQYJKoZIhvcNAQEFBQAwUDETMBEGCgmSJomT8ixkARkWA25l
dDETMBEGCgmSJomT8ixkARkWA3JpbTEkMCIGA1UEAxMbUklNIFN1Ym9yZGluYXRlIENBIE1DQTAz
WUtGMB4XDTE1MDQxMDIxMjgwNFoXDTE2MDQwMjAxMTEwNVowgaQxEzARBgoJkiaJk/IsZAEZFgNu
ZXQxEzARBgoJkiaJk/IsZAEZFgNyaW0xDTALBgNVBAsTBEFNRVIxCzAJBgNVBAsTAkNBMRQwEgYD
VQQLEwtNaXNzaXNzYXVnYTEOMAwGA1UECxMFVXNlcnMxEjAQBgNVBAMTCURhbiBCcm93bjEiMCAG
CSqGSIb3DQEJARYTZGJyb3duQGNlcnRpY29tLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkC
gYEAnqyPpiXJ8uIKCHaqpEmU2q/9KYQJi6yizaJruUGAoUstFzjV7XymMDqnaZqLR/QQoR3Qojm2
pjb3luP0P+37tro+PlKEgODyauhfaT78GLlJHq3GZxI6N27UHyYHWGFglAh6uCaHcGBitBZCyEFr
n+FDG5cYb89jhPuiZWu48ocCAwEAAaOCA5gwggOUMAsGA1UdDwQEAwIFoDB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0C39C.ED19A620--


From nobody Tue Jul 21 23:23:57 2015
Return-Path: <tanja@hyperelliptic.org>
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 F2C561ACD97 for <cfrg@ietfa.amsl.com>; Tue, 21 Jul 2015 23:23:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 4.017
X-Spam-Level: ****
X-Spam-Status: No, score=4.017 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HELO_EQ_NL=0.55, HOST_EQ_NL=1.545, URI_HEX=1.122] 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 y3tgEwh0jYh2 for <cfrg@ietfa.amsl.com>; Tue, 21 Jul 2015 23:23:54 -0700 (PDT)
Received: from calvin.win.tue.nl (calvin.win.tue.nl [131.155.70.11]) by ietfa.amsl.com (Postfix) with SMTP id B37961ACD91 for <cfrg@irtf.org>; Tue, 21 Jul 2015 23:23:53 -0700 (PDT)
Received: (qmail 30255 invoked from network); 22 Jul 2015 06:24:12 -0000
Received: from pcdhz005.win.tue.nl (HELO hyperelliptic.org) (131.155.71.33) by calvin.win.tue.nl with SMTP; 22 Jul 2015 06:24:12 -0000
Received: (qmail 12542 invoked by uid 1000); 22 Jul 2015 06:24:03 -0000
Date: Wed, 22 Jul 2015 08:24:03 +0200
From: Tanja Lange <tanja@hyperelliptic.org>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Message-ID: <20150722062403.GZ12152@cph.win.tue.nl>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.11
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/U1kQqmkRICdcUmEhwV-7lj7NwvY>
Subject: [Cfrg] CFRG presentation on EdDSA
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: <https://mailarchive.ietf.org/arch/browse/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: Wed, 22 Jul 2015 06:23:56 -0000

Dear all,
Dan's and my presentation is at
	http://ed25519.cr.yp.to/cfrg/20150722.pdf

	Tanja



From nobody Wed Jul 22 01:26:17 2015
Return-Path: <djb-dsn2-1406711340.7506@cr.yp.to>
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 BB1B11A8A61 for <cfrg@ietfa.amsl.com>; Wed, 22 Jul 2015 01:26:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 4.018
X-Spam-Level: ****
X-Spam-Status: No, score=4.018 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HELO_EQ_NL=0.55, HOST_EQ_NL=1.545, UNPARSEABLE_RELAY=0.001, URI_HEX=1.122] 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 rmZA-aNXFndF for <cfrg@ietfa.amsl.com>; Wed, 22 Jul 2015 01:26:09 -0700 (PDT)
Received: from calvin.win.tue.nl (calvin.win.tue.nl [131.155.70.11]) by ietfa.amsl.com (Postfix) with SMTP id ABC3E1A009D for <cfrg@irtf.org>; Wed, 22 Jul 2015 01:26:08 -0700 (PDT)
Received: (qmail 16381 invoked by uid 1017); 22 Jul 2015 08:26:29 -0000
Received: from unknown (unknown) by unknown with QMTP; 22 Jul 2015 08:26:29 -0000
Received: (qmail 903 invoked by uid 1000); 22 Jul 2015 08:25:59 -0000
Date: 22 Jul 2015 08:25:59 -0000
Message-ID: <20150722082559.901.qmail@cr.yp.to>
From: "D. J. Bernstein" <djb@cr.yp.to>
To: cfrg@irtf.org
Mail-Followup-To: cfrg@irtf.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/0XFBOWUsBNX-0TpwGkpFen-MGh0>
Subject: [Cfrg] updated Python script for signature proposals
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: <https://mailarchive.ietf.org/arch/browse/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: Wed, 22 Jul 2015 08:26:10 -0000

http://ed25519.cr.yp.to/cfrg/signatures.py has various updates. It still
doesn't have the PRF details for 'brown'. The 128-bit hash and 320-bit
PRF for 'hamburg' are also wild guesses.

I see that one of the spec bugs---verification failing because of a
missing negation---has been resolved in Mike's slides the same way as in
the script, namely computing

   S = (r - inth * a) % l

but I also don't think this is the best resolution. EdDSA's

   S = (r + inth * a) % l

is slightly simpler than subtraction for small implementations, and it's
trivial to put the minus sign into the public key instead of the scalar.
EdDSA actually goes a step beyond this, juggling the order of operations
so that the simplest implementations can avoid all scalar negations and
all point negations; this seems to require (R,S) signatures rather than
(h,S) signatures, but it would clearly work as a tweak for all the
schemes except 'hamburg'.

Another way to simplify the script would be to switch 'ladd' to the
point encoding used by the other schemes. The point encoding is actually
underspecified in most proposals, so I just copied the EdDSA encoding;
but Watson's proposal clearly specifies an extra byte (33 bytes instead
of 32 for Curve25519) and clearly specifies a comparison to (q-1)/2,
which is slightly more complicated than extracting the bottom bit of x.
Does anyone have reasons to deviate from the EdDSA encoding?

It's clear that there are some particular issues where the proposals
have reasons for diverging, but there are some other discrepancies that
seem to be easily removable distractions.

---Dan


From nobody Wed Jul 22 02:37:24 2015
Return-Path: <internet-drafts@ietf.org>
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 D48901AD0AA; Wed, 22 Jul 2015 02:37:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] 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 L8kWj1Q1jX6D; Wed, 22 Jul 2015 02:37:19 -0700 (PDT)
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 6034B1A8F3C; Wed, 22 Jul 2015 02:37:19 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.1.0.p1
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20150722093719.24907.25074.idtracker@ietfa.amsl.com>
Date: Wed, 22 Jul 2015 02:37:19 -0700
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/wHUgUnbYUDVvkcgN8s-WKVjAWIQ>
Cc: cfrg@ietf.org
Subject: [Cfrg] I-D Action: draft-irtf-cfrg-augpake-04.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
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: <https://mailarchive.ietf.org/arch/browse/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: Wed, 22 Jul 2015 09:37:22 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
 This draft is a work item of the Crypto Forum Working Group of the IETF.

        Title           : Augmented Password-Authenticated Key Exchange (AugPAKE)
        Authors         : SeongHan Shin
                          Kazukuni Kobara
	Filename        : draft-irtf-cfrg-augpake-04.txt
	Pages           : 20
	Date            : 2015-07-22

Abstract:
   This document describes a secure and highly-efficient augmented
   password-authenticated key exchange (AugPAKE) protocol where a user
   remembers a low-entropy password and its verifier is registered in
   the intended server.  In general, the user password is chosen from a
   small set of dictionary whose space is within the off-line dictionary
   attacks.  The AugPAKE protocol described here is secure against
   passive attacks, active attacks and off-line dictionary attacks (on
   the obtained messages with passive/active attacks).  Also, this
   protocol provides resistance to server compromise in the context that
   an attacker, who obtained the password verifier from the server, must
   at least perform off-line dictionary attacks to gain any advantage in
   impersonating the user.  The AugPAKE protocol is not only provably
   secure in the random oracle model but also the most efficient over
   the previous augmented PAKE protocols (SRP and AMP).


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-irtf-cfrg-augpake/

There's also a htmlized version available at:
https://tools.ietf.org/html/draft-irtf-cfrg-augpake-04

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-irtf-cfrg-augpake-04


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


From nobody Wed Jul 22 03:20:41 2015
Return-Path: <hannes.tschofenig@gmx.net>
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 D984C1AD1DB for <cfrg@ietfa.amsl.com>; Wed, 22 Jul 2015 03:20:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.61
X-Spam-Level: 
X-Spam-Status: No, score=-2.61 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, 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 wSBDTt7aWzwT for <cfrg@ietfa.amsl.com>; Wed, 22 Jul 2015 03:20:34 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A20C11AD16B for <cfrg@irtf.org>; Wed, 22 Jul 2015 03:20:33 -0700 (PDT)
Received: from [192.168.10.138] ([31.133.152.120]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0M4GND-1YzV4W3OZ1-00rmXd for <cfrg@irtf.org>; Wed, 22 Jul 2015 12:20:32 +0200
Message-ID: <55AF6E6E.6040101@gmx.net>
Date: Wed, 22 Jul 2015 12:20:30 +0200
From: Hannes Tschofenig <hannes.tschofenig@gmx.net>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: "cfrg@irtf.org" <cfrg@irtf.org>
References: <55AE1C08.6070002@gmx.net>
In-Reply-To: <55AE1C08.6070002@gmx.net>
OpenPGP: id=4D776BC9
X-Forwarded-Message-Id: <55AE1C08.6070002@gmx.net>
Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="FkWOl9dshbhh4mh5VC1ssPNXOFKHO22rv"
X-Provags-ID: V03:K0:oYaNmfn4L4w/qLZA9k6VT7JG9RN66Vsa5RKaYnRATUspXOjMZ9E JERggWWkYCkwK2B8XwgakoaWZihbSuR6nfDaGUEhtwk/YY8vQK9VxxTS4iRpvaDQ7Ft3h0M 8aUATNMDur/QhFIn432c9uv8eTqpSS7HPn3nfYUMhd1UJkEOo71w0xRsK4xBYNjIwUU2gLu LD8XlqAFT6I4Avbi9lElw==
X-UI-Out-Filterresults: notjunk:1;V01:K0:Li2nwbiLtqk=:pGNjGPPpPGK7HC/HP45MDC dJ1afZbVfspnO7iFI39ZDS6sRGN8woXnXoqi+R2enh2xSfOsavjfir+53VDJHcwVYmxn6EyPI wfmIcwDfH9DecbLl4TPoKfEht7bm0S6RU8lPysjME6FLYfoA/5hevsxS06aAkCuxPm4eTiADZ n/tqIIyGzPABld4edHVQiWH3E3rnIQD5DpHPjXDtGbcQfzRD/PTBY931tZ6yED380FGTyqrkP sgpYcaMBsv7OSP2rfK/8bsBGSo3B3WBaKzLHSyk7ywjMahDndwg4cNz1cfktmSpsCd1P/SNqi ZvBAab/Nf34jdblLSkwonS/I50b6txDCOXxa2/nRS43IcOR6XzgkeoLzNUbIZtWvp9x064ER3 CmtKEvlxCybQsanZjy9ScX8y8HI8wN9tMaUxEaaWp2vMPQ/DBNA71BT10P7QEMg39SM6jJXtB uh9Gqlm8b0dcNApBZGDKIKDfL02OMMpQw/dFXsB14woa/CbQaw+ijFOpLjiy6regW9dplhIOi BAuUHFTb6VRc0fe89blqD19uFDSuLTfVlQQGt6LiBjHWjBfq48M3O/ykzB3tKlQu3P6E/5CGc /9akHtKhUQocTOj0iBiASoWBf3YIQhHse1Cl++7lDmdAUd1K2ix58sdcqYWC2//ByLtN8LeRE 1Z5hzc0Onxiunt3B1oUiGxlnPqnNNF0uQskBOShwiungqXg==
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/N1pEUykI2CJjDsIQGdn8OfMz5zU>
Subject: [Cfrg] Can ChaCha20 be recommended for deployments?
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: <https://mailarchive.ietf.org/arch/browse/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: Wed, 22 Jul 2015 10:20:39 -0000

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--FkWOl9dshbhh4mh5VC1ssPNXOFKHO22rv
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi all,

Stephen provided review review comments* to the 'TLS/DTLS Profiles for
the Internet of Things (IoT)' draft <draft-ietf-dice-profile> and
suggested that ChaCha20 and Poly1305 are included as a SHOULD or even a
MUST.

Currently, IoT devices often use AES in hardware. If this AES
implementation is not part of a separate crypto chip then it is part the
chip that implements the link layer protocol stack of a radio
technology. For example, Bluetooth Smart chips often have AES etc. in
hardware as part of their overall link layer stack implementation.

Unfortunately, due to the differences in nonce lengths used in AES
implementations for link layers (such as Bluetooth Smart) and nonce
lengths in TLS ciphersuites prevent easy re-use. Furthermore, chip
manufacturers are not always providing the APIs to access these crypto
functions for use with applications, i.e., only the link layer stack
uses the hardware crypto functions.

I believe that these points might give the impression that AES should
better be replaced with something else or enhanced with something else.
There may also be the desire to have a second algorithm in place in case
something goes wrong with AES, particularly considering that certain
types of IoT devices will have a very long lifetime.

On the other hand, AES has received a lot of review and ChaCha20 is
definitely not at that level. Furthermore, ChaCha20 seems to be designed
for software implementations and could therefore be added later to IoT
systems as part of a software update.

Today, there are very few software-based ChaCha20 implementations
available for IoT devices (such as the Apple Homekit) and I haven't seen
any hardware implementations yet.

Overall, I am not sure whether ChaCha20 and Poly1305 are useful
recommendations for IoT systems.

Does anyone in the CFRG have an opinion about this topic? What should we
recommend in the DTLS/TLS profile document?

Ciao
Hannes

*: http://trac.tools.ietf.org/wg/dice/trac/ticket/34




--FkWOl9dshbhh4mh5VC1ssPNXOFKHO22rv
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org

iQEcBAEBCgAGBQJVr25uAAoJEGhJURNOOiAtN/IIAItvBCa7Buu1YJqNRL8vQuyC
Yf+k/rfVCX7SGHhCm5dMOxBYBu9MW8OfQynh9ZSgxrsvaaznfZ+aoxBD6+Vq3Sfe
UUZs+1t04mFVFZAryyDwONTOBFbMXqfjLVAewPYqAcNHAyB92u0S6GGVUYTO9n1o
RzEuybiXE2MgJBboPb0GD6WFquAnVvWF/CgT+GzrMWzu6+IeFKjfuk5r5i0rbemg
wV3xcMvmamPYi0aaV0Dhahrl39UYtCAn4pR5ykD9ktRA+CgvrsK08vGbx30MMvpJ
ZGHFMNRsXQ7pXh/N6Sk4UU62oQfe2A2DF8IQlfw6M0j3ImT+d/HGm0wdWfVuV7w=
=vbqZ
-----END PGP SIGNATURE-----

--FkWOl9dshbhh4mh5VC1ssPNXOFKHO22rv--


From nobody Wed Jul 22 03:20:58 2015
Return-Path: <hannes.tschofenig@gmx.net>
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 47BFC1AD16B for <cfrg@ietfa.amsl.com>; Wed, 22 Jul 2015 03:20:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.61
X-Spam-Level: 
X-Spam-Status: No, score=-2.61 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, 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 QxUrRXCkT2vY for <cfrg@ietfa.amsl.com>; Wed, 22 Jul 2015 03:20:56 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B3A8F1AD218 for <cfrg@irtf.org>; Wed, 22 Jul 2015 03:20:55 -0700 (PDT)
Received: from [192.168.10.138] ([31.133.152.120]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0MV6PJ-1ZRNpA3hG9-00YQDu for <cfrg@irtf.org>; Wed, 22 Jul 2015 12:20:54 +0200
Message-ID: <55AF6E7E.5000300@gmx.net>
Date: Wed, 22 Jul 2015 12:20:46 +0200
From: Hannes Tschofenig <hannes.tschofenig@gmx.net>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: "cfrg@irtf.org" <cfrg@irtf.org>
References: <55AE1BB7.8070906@gmx.net>
In-Reply-To: <55AE1BB7.8070906@gmx.net>
OpenPGP: id=4D776BC9
X-Forwarded-Message-Id: <55AE1BB7.8070906@gmx.net>
Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="EIG7OJgcSMvU8iMQh17RLXedTn4eRSvqc"
X-Provags-ID: V03:K0:VzINEccrGfisTFx/6aLolQBqiMVfijfSBCfQ/4zWs9NKmoJ+9Ue LwmiTtDmEgbzjcnjNwvHjAXc8U2t3Ob70rh4sIMc1GXRz74VPJbbp3jMOW/ZVQo4pUXoNwh sAmNPvGzBibbqZwsQS5dGVXgYsB4q/u3yo9TZiL9zaKXJD/oDcnrGoYmfk7h8NSCo7rinSR is1OXKUlfPhCyUFXX0R9A==
X-UI-Out-Filterresults: notjunk:1;V01:K0:cZMGnDksVEo=:B7KtEgc4suGPLjXFh8xiMl 8LVt2LanDjQfcLpDhoPE2JfpXQbaz1d/yMFC/jzy2pcJ2DByaFpKNNzu55xrFG5pUBVVU95IJ lAUOVuPLY8BRTH/otNu7whJGYb/IG4L2oEz1j3bsmevT826y7+NWjktqQEJYk/hmydbpV3RK7 sYfRUnYtoOr67fPeEgesYQc3aa1VxrDGDyqBZ133AqKnJibUPJJRTEdYF39FuL6kkro5qmNEB /FnUL1YEqGTxlsHlShQcc+fTfvLjoIyTtKQdSsX/qg6WRj/nKzGVSQ8hz7fzEKoP4AiEo70A9 eAKKMHVL0Zy4EKPGFG8YEip3gom1TzHD/rDqxbna5zwdw3jBHwQIDEepk3vKlVYek2iybEwko x7u8YdOWw/iADtTQJQVdDtlmp/sr4N8Ap4TQOm+Piby1OqYJI51tWHQTaBd6wScpR/DHTJZu8 KWDWKCM5bRNyIBUwRx0zuw+Q1i3kPEg1Y0ItZJiVzwhiKwI/21DcvVdH/QKYjOOSVXub7ch4/ VQ21tyrZilUyBx4ggiZI5RUiYAhD0FLkpZOMtORQMxGrBO0cJ4ZenyPJ9IQKf1b+4IcHDH8on Z5iRVnmN7xJMrWi9xd0fUTAEBtYXpXBXCskEcXVGR7Pve3aMEdX6CaQzEmZmjZEiX+TSabuSn JT4iUryVdPut1GSum7OnH5v4j7N9g/9UORJnAkbUCY8qofQ==
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/4_L0ufYgtjCElqn80uJV74gv_yA>
Subject: [Cfrg] Short Authentication Tags in AES-128-CCM
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: <https://mailarchive.ietf.org/arch/browse/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: Wed, 22 Jul 2015 10:20:57 -0000

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--EIG7OJgcSMvU8iMQh17RLXedTn4eRSvqc
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi all,

in the Internet of Things context there has been some excitement to use
short authentication tags with AES-128-CCM. With short range, low power
radio technologies shorter frame sizes raise concerns about the number
of bytes that are available to the application layer.

The DTLS/TLS profile for IoT document <draft-ietf-dice-profile>
therefore recommends the TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8 ciphersuite,
following what the CoAP protocol and also Zigbee IP suggest.

When Stephen did a review of draft-ietf-dice-profile-13 he suggested to
rather focus on AES-128-CCM with the full-length authentication tag
instead. He motivates his suggestion based on the decision of the SRTP
guys to move away from short authentication tags used with AES-GCM-128.
Of course, AES-CCM and AES-GCM are different and attacks against AES-GCM
with short authentication tags have been published.

My question to this group is:

 * Are you aware of attacks against the AES-128-CCM-8?
 * Are there concerns with the use of short authentication tags, as we
recommend for the IoT context? (Needless to say that there is a tradeoff
between rekeying and the number of bits the tag has.)

Ciao
Hannes



--EIG7OJgcSMvU8iMQh17RLXedTn4eRSvqc
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org

iQEcBAEBCgAGBQJVr25+AAoJEGhJURNOOiAtoRcH/jg1THLy5e6eqMdZCBYGjkQ7
kkzUbBS/woL4LTNagGWaEQFI8fFE7laCqS0W/x9vMwvwD7xp3mFK5YLn7Uyn6avc
6djWGkRkV5eB/GQlDOr5+cOgCvi7UMaZvnKazEbmiFOC5q8yHt0rJv+FMeeSiK1x
B00JkPpLqLYGvNjxKv1LM9GNTwzdo20NJ8F0KJNelWKnMESefvvTCtR0UDPU5PhW
GRnPJAj7d7T6efYiiMfnME7tzV7TL6iBD36rBp/GJqfbzY97CEB7wyHjN7D/rcNB
pk6sdTdEhbDeah1wHvULGDtwIiglP9QKjpiTD9X8VH7+avi7i7yZw5UmE+fkh0U=
=QfLw
-----END PGP SIGNATURE-----

--EIG7OJgcSMvU8iMQh17RLXedTn4eRSvqc--


From nobody Wed Jul 22 03:49:21 2015
Return-Path: <seonghan.shin@aist.go.jp>
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 58CE11B29CF for <cfrg@ietfa.amsl.com>; Wed, 22 Jul 2015 03:49:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.601
X-Spam-Level: 
X-Spam-Status: No, score=-1.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] 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 n0yF87bxq1X3 for <cfrg@ietfa.amsl.com>; Wed, 22 Jul 2015 03:49:19 -0700 (PDT)
Received: from APC01-PU1-obe.outbound.protection.outlook.com (mail-pu1apc01on0048.outbound.protection.outlook.com [104.47.126.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BB9F41B29CB for <cfrg@ietf.org>; Wed, 22 Jul 2015 03:49:15 -0700 (PDT)
Received: from TY1PR01MB0079.jpnprd01.prod.outlook.com (10.161.133.145) by TY1PR01MB0079.jpnprd01.prod.outlook.com (10.161.133.145) with Microsoft SMTP Server (TLS) id 15.1.219.17; Wed, 22 Jul 2015 10:49:12 +0000
Received: from TY1PR01MB0079.jpnprd01.prod.outlook.com ([10.161.133.145]) by TY1PR01MB0079.jpnprd01.prod.outlook.com ([10.161.133.145]) with mapi id 15.01.0219.018; Wed, 22 Jul 2015 10:49:12 +0000
From: =?utf-8?B?6L6b5pif5ryi?= <seonghan.shin@aist.go.jp>
To: =?utf-8?B?U2NobWlkdCwgSsO2cm4tTWFyYw==?= <Joern-Marc.Schmidt@secunet.com>,  Paul Lambert <paul@marvell.com>, "cfrg@ietf.org" <cfrg@ietf.org>
Thread-Topic: [Cfrg] Requirements for PAKE schemes
Thread-Index: AQHQsyTLGvKyZPKkQUKzsy2M6NFzkp3PoR1ggBfFmg0=
Date: Wed, 22 Jul 2015 10:49:11 +0000
Message-ID: <TY1PR01MB0079A0575764C072885CAEC8C2830@TY1PR01MB0079.jpnprd01.prod.outlook.com>
References: <D1B7C462.6E7C4%paul@marvell.com>, <38634A9C401D714A92BB13BBA9CCD34F1665158B@mail-essen-01.secunet.de>
In-Reply-To: <38634A9C401D714A92BB13BBA9CCD34F1665158B@mail-essen-01.secunet.de>
Accept-Language: ja-JP, en-US
Content-Language: ja-JP
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: secunet.com; dkim=none (message not signed) header.d=none;
x-originating-ip: [2001:67c:370:160:d30:3e4b:da0f:cc73]
x-microsoft-exchange-diagnostics: 1; TY1PR01MB0079; 5:a2T4CZDYwb+AdJWLAW4/0Q/R3AKcHfh8EcfbMU5LUDtjtW4ApfcAeZcTRbT2BvsU2a/alFJ9FZ1bKlfMINuOJMpKj9CnJqS+pTO0ZPD0QPK8zpOu9TljWMOWAPt4y3W6pYkUxBOcgTTpSfmiE8okpg==; 24:22wIbmfKsj/dOz3O55Xrl4+2ilOKdW5Rz9qwPQq3Kjof8+1c5BTq5oQ8LQ5xZNbeBFOHM4DRY6NtcqsWF7nb2e8bjTwt7qmlCkflOyzKhLA=; 20:0fJnFcEsVG+RoBnr9qx3kbagzuxfLGQhLO40a/F4hFRj9buUrWbdyGbOoqYGgiV7cvGrOawemAYrJvzPHtKJdw==
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:TY1PR01MB0079;
ty1pr01mb0079: X-MS-Exchange-Organization-RulesExecuted
x-microsoft-antispam-prvs: <TY1PR01MB007962CA4A1F1560001CF0F3C2830@TY1PR01MB0079.jpnprd01.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(5005006)(3002001);  SRVR:TY1PR01MB0079; BCL:0; PCL:0; RULEID:; SRVR:TY1PR01MB0079; 
x-forefront-prvs: 0645BEB7AA
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(377424004)(33656002)(74316001)(5001770100001)(46102003)(76576001)(106116001)(2501003)(551544002)(74482002)(92566002)(5003600100002)(2900100001)(76176999)(19580405001)(77156002)(2950100001)(62966003)(102836002)(5002640100001)(50986999)(2656002)(5001960100002)(86362001)(40100003)(54356999)(85182001)(107886002)(122556002)(77096005)(189998001)(19580395003)(87936001)(3826002); DIR:OUT; SFP:1101; SCL:1; SRVR:TY1PR01MB0079; H:TY1PR01MB0079.jpnprd01.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
spamdiagnosticoutput: 1:23
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: aist.go.jp
X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Jul 2015 10:49:11.2667 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 18a7fec8-652f-409b-8369-272d9ce80620
X-MS-Exchange-Transport-CrossTenantHeadersStamped: TY1PR01MB0079
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/BW7zB2LU21g7wzvRQyjIQFbY1EU>
Subject: Re: [Cfrg] Requirements for PAKE schemes
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: <https://mailarchive.ietf.org/arch/browse/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: Wed, 22 Jul 2015 10:49:20 -0000

RGVhciBKw7ZybiwNCg0KVGhhbmsgeW91IGZvciB0aGUgZG9jdW1lbnQuDQoNCkhlcmUgYXJlIHNv
bWUgY29tbWVudHM6DQoxLiBJdCBpcyBzb21ld2hhdCBtaXNsZWFkaW5nIHRvIGRpZmZlciBiYWxh
bmNlZCBhbmQgYXVnbWVudGVkIGJ5IGEgdHlwZSBvZiBwYXNzd29yZCBzdG9yYWdlIGluIFNlY3Rp
b24gMy4xIGJlY2F1c2UgaW4gYmFsYW5jZWQgUEFLRSBwcm90b2NvbHMgcGFzc3dvcmRzIGNhbiBi
ZSBzdG9yZWQgYXMgZWxlbWVudHMgZ2VuZXJhdGVkIHdpdGggYSBvbmUtd2F5IGZ1bmN0aW9uLiBB
cyB5b3UgYWxyZWFkeSB3cm90ZSBpbiB0aGUgc2Vjb25kIHBhcmFncmFwaCwgdGhlIGRpZmZlcmVu
Y2UgaXMgd2hldGhlciBpdCBpcyBwcm92aWRpbmcgS0NJIG9yIG5vdC4NCg0KMi4gSW4gU2VjdGlv
biAzLjMsIOKAnH4gd2hpbGUgdGhlIHNlY29uZCBvbmUgcHJvcG9zZXMgY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NCmZvciBhdXRoZW50aWNhdGlvbi4NCg0KSSdsbCBhZGQgYSBN
QVkgcmVxdWlyZW1lbnQgaW4gdGhlIG5leHQgdmVyc2lvbi4NCg0KDQo+V2hlcmUgbG9uZy1saXZl
ZCBwdWJsaWMga2V5cyBhcmUgdXNlZCwgYSByZXF1aXJlbWVudCBzaG91bGQgYWxzbyBiZSBhZGRl
ZA0KdG8gZGlzY3VzcyB0aGUgcHJpdmFjeSBwcm9wZXJ0aWVzIG9mIHRoZSBzY2hlbWUuDQoNCkdv
b2QgcG9pbnQgLSBJJ20gaGFwcHkgdG8gYWRkcmVzcyBwcml2YWN5IGluIHRoZSBuZXh0IHZlcnNp
b24uDQoNCkNoZWVycywNCg0KSsO2cm4NCg==


From nobody Wed Jul 22 06:15:51 2015
Return-Path: <watsonbladd@gmail.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 CFCE21A1AB9 for <cfrg@ietfa.amsl.com>; Wed, 22 Jul 2015 06:15:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.822
X-Spam-Level: *
X-Spam-Status: No, score=1.822 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001, URI_HEX=1.122] 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 SUh6l_Z4JnzP for <cfrg@ietfa.amsl.com>; Wed, 22 Jul 2015 06:15:47 -0700 (PDT)
Received: from mail-wi0-x232.google.com (mail-wi0-x232.google.com [IPv6:2a00:1450:400c:c05::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4A2571A1AA3 for <cfrg@irtf.org>; Wed, 22 Jul 2015 06:15:47 -0700 (PDT)
Received: by wibxm9 with SMTP id xm9so101867473wib.1 for <cfrg@irtf.org>; Wed, 22 Jul 2015 06:15:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=XZ2CgrgUQJxoETL9Fkq13L9/mw7AjxoykqxIU5oy8Xo=; b=Zr2hrY2qJPC0zWc7H1k7IMwmOuBTDHwOV41NM0XkSjp02CAn+RXZ7COyBwzDVW+dsw +qq375kDUh/VFCA399eTOO+v+U/Yn9S+kp3mfj5LGmazzSQWjQCaEEt5GbaYg9J75KJj ou4mfIoC1DzD/sXXAfQbQNGjknFLcWnZVluaDjN6i21VIv6nX0vfC3HTj5e33eOTEH7b tTZpOKA52f7LCLdtrl8sWRjDxIufNKkU+lhilPSYGKOGiZ4PFKg6EfVfgKs25rIh+sKL 1uCLCIzXWRk213Rza5RZrYDEdTtthsraM20LuiV3tPz/ezqau2dQdjpf2KMrHiYLxOtb QYNA==
MIME-Version: 1.0
X-Received: by 10.194.209.167 with SMTP id mn7mr4911257wjc.64.1437570945963; Wed, 22 Jul 2015 06:15:45 -0700 (PDT)
Received: by 10.28.155.136 with HTTP; Wed, 22 Jul 2015 06:15:45 -0700 (PDT)
In-Reply-To: <20150722082559.901.qmail@cr.yp.to>
References: <20150722082559.901.qmail@cr.yp.to>
Date: Wed, 22 Jul 2015 06:15:45 -0700
Message-ID: <CACsn0ck4FiOiDwP_tF3Km8SC0QTDgDcdy1xoEpWCjT7W2v_-bg@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Content-Type: text/plain; charset=UTF-8
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/Z8PimqsX5s9W4Rc4JOsVA6GDLDI>
Subject: Re: [Cfrg] updated Python script for signature proposals
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: <https://mailarchive.ietf.org/arch/browse/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: Wed, 22 Jul 2015 13:15:49 -0000

On Wed, Jul 22, 2015 at 1:25 AM, D. J. Bernstein <djb@cr.yp.to> wrote:
> http://ed25519.cr.yp.to/cfrg/signatures.py has various updates. It still
> doesn't have the PRF details for 'brown'. The 128-bit hash and 320-bit
> PRF for 'hamburg' are also wild guesses.
>
> I see that one of the spec bugs---verification failing because of a
> missing negation---has been resolved in Mike's slides the same way as in
> the script, namely computing
>
>    S = (r - inth * a) % l
>
> but I also don't think this is the best resolution. EdDSA's
>
>    S = (r + inth * a) % l
>
> is slightly simpler than subtraction for small implementations, and it's
> trivial to put the minus sign into the public key instead of the scalar.
> EdDSA actually goes a step beyond this, juggling the order of operations
> so that the simplest implementations can avoid all scalar negations and
> all point negations; this seems to require (R,S) signatures rather than
> (h,S) signatures, but it would clearly work as a tweak for all the
> schemes except 'hamburg'.
>
> Another way to simplify the script would be to switch 'ladd' to the
> point encoding used by the other schemes. The point encoding is actually
> underspecified in most proposals, so I just copied the EdDSA encoding;
> but Watson's proposal clearly specifies an extra byte (33 bytes instead
> of 32 for Curve25519) and clearly specifies a comparison to (q-1)/2,
> which is slightly more complicated than extracting the bottom bit of x.
> Does anyone have reasons to deviate from the EdDSA encoding?

I'll switch to EdDSA encoding then.

>
> It's clear that there are some particular issues where the proposals
> have reasons for diverging, but there are some other discrepancies that
> seem to be easily removable distractions.
>
> ---Dan
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg



-- 
"Man is born free, but everywhere he is in chains".
--Rousseau.


From nobody Wed Jul 22 06:35:57 2015
Return-Path: <dbrown@certicom.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 21BDF1A8799 for <cfrg@ietfa.amsl.com>; Wed, 22 Jul 2015 06:35:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.7
X-Spam-Level: 
X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, HTML_MESSAGE=0.001, 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 uHrIy9K250T3 for <cfrg@ietfa.amsl.com>; Wed, 22 Jul 2015 06:35:54 -0700 (PDT)
Received: from smtp-p02.blackberry.com (smtp-p02.blackberry.com [208.65.78.89]) by ietfa.amsl.com (Postfix) with ESMTP id C00001A7025 for <cfrg@irtf.org>; Wed, 22 Jul 2015 06:35:53 -0700 (PDT)
Received: from xct105cnc.rim.net ([10.65.161.205]) by mhs214cnc.rim.net with ESMTP/TLS/AES128-SHA; 22 Jul 2015 09:35:47 -0400
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT105CNC.rim.net ([fe80::d13d:b7a2:ae5e:db06%16]) with mapi id 14.03.0210.002; Wed, 22 Jul 2015 09:35:46 -0400
From: Dan Brown <dbrown@certicom.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: Assisted EC key pair generation (via ECDSA)
Thread-Index: AdDEgz9aSGUPUfBORLmC88TVBJlw5A==
Date: Wed, 22 Jul 2015 13:35:46 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5E187EC@XMB116CNC.rim.net>
Accept-Language: en-CA, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [10.65.160.252]
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_001D_01D0C461.C95D2160"
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/BeTv7KQEXradVViVz6PeRpyrqfU>
Subject: [Cfrg] Assisted EC key pair generation (via ECDSA)
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: <https://mailarchive.ietf.org/arch/browse/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: Wed, 22 Jul 2015 13:35:56 -0000

------=_NextPart_000_001D_01D0C461.C95D2160
Content-Type: multipart/related;
	boundary="----=_NextPart_001_001E_01D0C461.C95D2160"


------=_NextPart_001_001E_01D0C461.C95D2160
Content-Type: multipart/alternative;
	boundary="----=_NextPart_002_001F_01D0C461.C95D2160"


------=_NextPart_002_001F_01D0C461.C95D2160
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi all,

 

SEC1 version 2, http://www.secg.org/sec1-v2.pdf, Section 3.2.4 talks about
(verifiable and) assisted key generation, by way of ECDSA.  There was
something similar done for RSA previous to that.

 

So, if CFRG is really interested in such a thing, then they might want to
consider that option.

 

Side note: I've been planning forever to write a paper on the benefits of
verifiable key generation, but other things keep popping up.

 

Best regards,

 


Daniel Brown


Research In Motion Limited 

 

	

 




	

 


------=_NextPart_002_001F_01D0C461.C95D2160
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><META =
HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 14 =
(filtered medium)"><!--[if !mso]><style>v\:* =
{behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span =
lang=3DEN-CA>Hi all,<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA>SEC1 version 2, <a =
href=3D"http://www.secg.org/sec1-v2.pdf">http://www.secg.org/sec1-v2.pdf<=
/a>, Section 3.2.4 talks about (verifiable and) assisted key generation, =
by way of ECDSA.&nbsp; There was something similar done for RSA previous =
to that.<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA>So, if CFRG is really interested in such a thing, then they =
might want to consider that option.<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA>Side note: I&#8217;ve been planning =
forever to write a paper on the benefits of verifiable key generation, =
but other things keep popping up.<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA>Best =
regards,<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><table class=3DMsoNormalTable =
border=3D0 cellspacing=3D0 cellpadding=3D0 width=3D750 =
style=3D'width:6.25in'><tr><td style=3D'padding:0in 0in 3.0pt 0in'><p =
class=3DMsoNormal style=3D'line-height:11.25pt'><span =
style=3D'font-size:9.0pt;font-family:"Arial","sans-serif";color:black'>Da=
niel Brown<o:p></o:p></span></p></td></tr><tr><td style=3D'padding:0in =
0in 0in 0in'><p class=3DMsoNormal style=3D'margin-top:3.75pt'><span =
style=3D'font-size:9.0pt;font-family:"Arial","sans-serif";color:#0073BC'>=
Research In Motion Limited</span><span =
style=3D'font-size:9.0pt;font-family:"Arial","sans-serif";color:black'> =
<o:p></o:p></span></p></td></tr></table><p class=3DMsoNormal><span =
style=3D'font-size:12.0pt;font-family:"Times New =
Roman","serif";display:none'><o:p>&nbsp;</o:p></span></p><table =
class=3DMsoNormalTable border=3D0 cellspacing=3D0 cellpadding=3D0 =
width=3D750 style=3D'width:6.25in'><tr><td style=3D'padding:0in 0in 0in =
0in'></td></tr></table><p class=3DMsoNormal><span =
style=3D'font-size:12.0pt;font-family:"Times New =
Roman","serif";display:none'><o:p>&nbsp;</o:p></span></p><table =
class=3DMsoNormalTable border=3D0 cellspacing=3D3 cellpadding=3D0 =
width=3D750 style=3D'width:6.25in'><tr><td style=3D'padding:9.75pt 0in =
0in 0in'><p class=3DMsoNormal><span =
style=3D'font-size:12.0pt;font-family:"Times New Roman","serif"'><img =
border=3D0 width=3D176 height=3D43 id=3D"_x0000_i1025" =
src=3D"cid:image001.jpg@01D0C461.C69F8800"></span><span =
style=3D'font-size:12.0pt;font-family:"Times New =
Roman","serif"'><o:p></o:p></span></p></td></tr><tr><td width=3D750 =
style=3D'width:6.25in;padding:9.75pt 0in 0in 0in'></td></tr></table><p =
class=3DMsoNormal><span =
lang=3DEN-CA><o:p>&nbsp;</o:p></span></p></div></body></html>
------=_NextPart_002_001F_01D0C461.C95D2160--

------=_NextPart_001_001E_01D0C461.C95D2160
Content-Type: image/jpeg;
	name="image001.jpg"
Content-Transfer-Encoding: base64
Content-ID: <image001.jpg@01D0C461.C69F8800>

/9j/4AAQSkZJRgABAQEAeAB4AAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0a
HBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2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SXU/GMc2sar48tdMuC58m2knKnjtgEbR+danhrw
Hrdx8L/EMr28kU16yTW9uy4LBMngds5/Sub0y+8G2uiGDWPDl/LrUeVAViqOe2e4oA9E+G3xGvjo
muw61OLttIhMyT5z5ijIxnv04+tYeiw+L/HS3Pi271x7PTbaUuI1YgMqHJQAflz61VurRNN+FWoa
nBob6ZcanLHBFGXZ2kjB5OMcV192G8N/s9rEkbJc3FsBtC8h3OTx9KAMDQovGHxU1K41NdYfT9Jg
m2pGpI4/ugD271e+FPiWfTV8V/21fSyRaf8AODM5OACw7+vFdp8IdMbTfh3YCRNksxaVwR6nj9K8
U8R6PqFz8UNW8O6c7gX12FZVPBXg5P05oA9E+Fv9seLPEmo+LNRubhbESMtrb7zsyfbuAOK9irO0
HRrbw/olrpdooEVugXOPvHuT7k1o0CCiiigAooooAhms7a4YNNbxSMOhdAafFDFAmyGNI1/uouBT
6KAKzafZvdi6a0gNwOkpjG4fj1psml6fNci5lsrd5wc+Y0QLfnVuigCGO1t4pWljgjSRvvMqAE/j
UVzplheuHurK3ncDAaSMMR+dW6KAIfstv9nFv5EfkjgR7Bt/KnpDHFEIo41WMDAVRgflT6KAIYbW
3t93kwRx7vvbEAz9ajGm2IYMLO3DA5B8sVaooAKpSaRps05nl0+1eUnJdolJz9cVdooAiltoJ0CT
QxyKvQOoIFElvBLEIpIY3jHRWUEflUtFAFDVJriw0e4k060E1xHGfJgXgM3YfSvPPhb4J1PTtQ1D
xH4khK6tdSEIrNuKKepz78D8K9SooAKKKKAP/9k=

------=_NextPart_001_001E_01D0C461.C95D2160--

------=_NextPart_000_001D_01D0C461.C95D2160
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIUoDCCBo8w
ggV3oAMCAQICClvwCZYABAA8faIwDQYJKoZIhvcNAQEFBQAwUD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AmWAAQAPH2iMG8GCyqGSIb3DQEJEAILMWCgXjBQMRMwEQYKCZImiZPyLGQBGRYDbmV0
MRMwEQYKCZImiZPyLGQBGRYDcmltMSQwIgYDVQQDExtSSU0gU3Vib3JkaW5hdGUgQ0EgTUNBMDNZ
S0YCClvwCZYABAA8faIwgasGCSqGSIb3DQEJDzGBnTCBmjALBglghkgBZQMEASowCwYJYIZIAWUD
BAEWMAoGCCqGSIb3DQMHMAsGCWCGSAFlAwQBAjAOBggqhkiG9w0DAgICAIAwBwYFKw4DAgcwDQYI
KoZIhvcNAwICAUAwDQYIKoZIhvcNAwICASgwBwYFKw4DAhowCwYJYIZIAWUDBAIDMAsGCWCGSAFl
AwQCAjALBglghkgBZQMEAgEwDQYJKoZIhvcNAQEBBQAEgYAFM5rtrdjhUX7HAFEvwJk+OTAZcsr4
L8c6P2X4b7U3W8y7+UwIYnUpUPEKPMJAvFkbC6iKrEmC3ul+hX9GA98HGLZlKtnEGo9YAyMgLL6e
2XwPe9hZiL5XQ2mZpK+bZysaov7c79qoTS95FD0omOKjR9oM3lmkAUH+3mGovAcomgAAAAAAAA==

------=_NextPart_000_001D_01D0C461.C95D2160--


From nobody Wed Jul 22 06:41:10 2015
Return-Path: <watsonbladd@gmail.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 3DA601A9149 for <cfrg@ietfa.amsl.com>; Wed, 22 Jul 2015 06:41:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, 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 6o79oFvkAJal for <cfrg@ietfa.amsl.com>; Wed, 22 Jul 2015 06:41:03 -0700 (PDT)
Received: from mail-wi0-x230.google.com (mail-wi0-x230.google.com [IPv6:2a00:1450:400c:c05::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 278401B337C for <cfrg@irtf.org>; Wed, 22 Jul 2015 06:40:35 -0700 (PDT)
Received: by wibxm9 with SMTP id xm9so103018092wib.1 for <cfrg@irtf.org>; Wed, 22 Jul 2015 06:40:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=UciTq/XYesmzOhZvAaM4PGKrK97w0CvWsYzO4UbD2fA=; b=xZGWtbcznXkACt/OdOzreAB+yw3kjJk/xgZFkVmllxOorPj8vFwxoiJRztzZVLxJSP A/fBu9ZyWLfnHJF45dQivOC9RHUFjGTB8/47QAqT+MXznnAcP8a018Ao7XF3RX8eqlgo 6+hP3LPqPyF7bpfXNqPKjCxKbsnPZDFWQeaTCRTHxpPLwCN7LXeG+L9HBq+hJWS+MHHH 73pgvXIaKdcOlt5spnUTUu4HERh29Z5CcPKYRPKhYqG37XFt+6CkoNXBdCEXqSa5+FPE cqaawxxowEc6jesWepqqn8syXpgjy8D1a7ooDsbt7/UklAQYmtYS9TpVKyhDbklOO0Ia zYQA==
MIME-Version: 1.0
X-Received: by 10.180.80.138 with SMTP id r10mr6459600wix.18.1437572433940; Wed, 22 Jul 2015 06:40:33 -0700 (PDT)
Received: by 10.28.155.136 with HTTP; Wed, 22 Jul 2015 06:40:33 -0700 (PDT)
In-Reply-To: <55AF6E7E.5000300@gmx.net>
References: <55AE1BB7.8070906@gmx.net> <55AF6E7E.5000300@gmx.net>
Date: Wed, 22 Jul 2015 06:40:33 -0700
Message-ID: <CACsn0c=u+02YCBRUTt+a+wkVtMt91BpDYF0qdK17D5RQ43Ga1g@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: Hannes Tschofenig <hannes.tschofenig@gmx.net>
Content-Type: text/plain; charset=UTF-8
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/58Ued9Dpz4NNifh1oG--taEAccU>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Short Authentication Tags in AES-128-CCM
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: <https://mailarchive.ietf.org/arch/browse/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: Wed, 22 Jul 2015 13:41:09 -0000

On Wed, Jul 22, 2015 at 3:20 AM, Hannes Tschofenig
<hannes.tschofenig@gmx.net> wrote:
> Hi all,
>
> in the Internet of Things context there has been some excitement to use
> short authentication tags with AES-128-CCM. With short range, low power
> radio technologies shorter frame sizes raise concerns about the number
> of bytes that are available to the application layer.
>
> The DTLS/TLS profile for IoT document <draft-ietf-dice-profile>
> therefore recommends the TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8 ciphersuite,
> following what the CoAP protocol and also Zigbee IP suggest.
>
> When Stephen did a review of draft-ietf-dice-profile-13 he suggested to
> rather focus on AES-128-CCM with the full-length authentication tag
> instead. He motivates his suggestion based on the decision of the SRTP
> guys to move away from short authentication tags used with AES-GCM-128.
> Of course, AES-CCM and AES-GCM are different and attacks against AES-GCM
> with short authentication tags have been published.
>
> My question to this group is:
>
>  * Are you aware of attacks against the AES-128-CCM-8?
>  * Are there concerns with the use of short authentication tags, as we
> recommend for the IoT context? (Needless to say that there is a tradeoff
> between rekeying and the number of bits the tag has.)

See Theorem 1 and 2 in
http://csrc.nist.gov/groups/ST/toolkit/BCM/documents/ccm-ad1.pdf. CCM
loses only the expected security as you shorten tags, and in
particular a single forgery does not enable more as with GCM.

Sincerely,
Watson Ladd

>
> Ciao
> Hannes
>
>
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg
>



-- 
"Man is born free, but everywhere he is in chains".
--Rousseau.


From nobody Wed Jul 22 07:38:04 2015
Return-Path: <dbrown@certicom.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 8BE8F1A888E for <cfrg@ietfa.amsl.com>; Wed, 22 Jul 2015 07:38:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, 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 tkxOm8ZyJfmy for <cfrg@ietfa.amsl.com>; Wed, 22 Jul 2015 07:38:00 -0700 (PDT)
Received: from smtp-p02.blackberry.com (smtp-p02.blackberry.com [208.65.78.89]) by ietfa.amsl.com (Postfix) with ESMTP id 12B2E1A87C2 for <cfrg@irtf.org>; Wed, 22 Jul 2015 07:37:59 -0700 (PDT)
Received: from xct106cnc.rim.net ([10.65.161.206]) by mhs214cnc.rim.net with ESMTP/TLS/AES128-SHA; 22 Jul 2015 10:37:56 -0400
Received: from XCT114CNC.rim.net (10.65.161.214) by XCT106CNC.rim.net (10.65.161.206) with Microsoft SMTP Server (TLS) id 14.3.210.2; Wed, 22 Jul 2015 10:37:55 -0400
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT114CNC.rim.net ([::1]) with mapi id 14.03.0210.002; Wed, 22 Jul 2015 10:37:55 -0400
From: Dan Brown <dbrown@certicom.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: ECDSA_CFRG: age of suffix
Thread-Index: AdDEiyt9WLhJyASMTeiJAIzREhRcWA==
Date: Wed, 22 Jul 2015 14:37:54 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5E18834@XMB116CNC.rim.net>
Accept-Language: en-CA, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [10.65.160.249]
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_0026_01D0C46A.77648C00"
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/xacknqkndpNfOOMjiLo0OJzA85k>
Subject: [Cfrg] ECDSA_CFRG: age of suffix
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: <https://mailarchive.ietf.org/arch/browse/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: Wed, 22 Jul 2015 14:38:02 -0000

------=_NextPart_000_0026_01D0C46A.77648C00
Content-Type: multipart/related;
	boundary="----=_NextPart_001_0027_01D0C46A.77648C00"


------=_NextPart_001_0027_01D0C46A.77648C00
Content-Type: multipart/alternative;
	boundary="----=_NextPart_002_0028_01D0C46A.77648C00"


------=_NextPart_002_0028_01D0C46A.77648C00
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi CFRG,

 

In June 2008, I proposed one of the features of ECDSA_CFRG.  Appendix A,
equation (6) of the my IACR eprint "One-Up Problem of (EC)DSA"
(http://eprint.iacr.org/2008/286) describes amending ECDSA by including in
the hash input, as a suffix to the message, the bit-representation of the
ECDSA small r (not to be confused the EdDSA secret small r).  ECDSA_CFRG
differs slightly in this feature by inclusion of the full R, not small r =
f(R), as well as having various other features.  Earlier publications of
this feature would not surprise me, I will have a look.

 

The report's appendix also briefly discusses the pros (precomputation
without prehashing) and cons (hash collision extension) of using suffix
instead of prefix. (The 2008 report does not seem to mention use of a
wide-pipe hash.)

 

Side note: this 2008 IACR eprint also proves the Slide 17 (which I almost
skipped verbally) theorem in my CFRG presentation of today.

 

In my CFRG presentation from today, I mentioned aegis = age * eyes, as one
type of security, so I might as well follow through by trying to apply the
metric to this feature.   Because this was work was un-refereed, and because
I also forgot about it, I'll score it with a half an eye, yielding an aegis
of about 3.5 year-eyes for this feature of ECDSA_CFRG.  Other publication
(especially refereed and cited) might increase the feature's aegis.

 

Best regards, 

 


Daniel Brown


Research In Motion Limited 

 

	

 




	

 


------=_NextPart_002_0028_01D0C46A.77648C00
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><META =
HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 14 =
(filtered medium)"><!--[if !mso]><style>v\:* =
{behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span =
lang=3DEN-CA>Hi CFRG,<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA>In June 2008, I proposed one of the features of =
ECDSA_CFRG.&nbsp; Appendix A, equation (6) of the my IACR eprint =
&#8220;One-Up Problem of (EC)DSA&#8221; (<a =
href=3D"http://eprint.iacr.org/2008/286">http://eprint.iacr.org/2008/286<=
/a>) describes amending ECDSA by including in the hash input, as a =
suffix to the message, the bit-representation of the ECDSA small r (not =
to be confused the EdDSA secret small r).&nbsp; ECDSA_CFRG differs =
slightly in this feature by inclusion of the full R, not small r =3D =
f(R), as well as having various other features.&nbsp; Earlier =
publications of this feature would not surprise me, I will have a =
look.<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA>The report&#8217;s appendix also briefly discusses the pros =
(precomputation without prehashing) and cons (hash collision extension) =
of using suffix instead of prefix. (The 2008 report does not seem to =
mention use of a wide-pipe hash.)<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA>Side note: this 2008 IACR eprint =
also proves the Slide 17 (which I almost skipped verbally) theorem in my =
CFRG presentation of today.<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA>In my CFRG presentation from today, =
I mentioned aegis =3D age * eyes, as one type of security, so I might as =
well follow through by trying to apply the metric to this feature.&nbsp; =
&nbsp;Because this was work was un-refereed, and because I also forgot =
about it, I&#8217;ll score it with a half an eye, yielding an aegis of =
about 3.5 year-eyes for this feature of ECDSA_CFRG. &nbsp;Other =
publication (especially refereed and cited) might increase the =
feature&#8217;s aegis.<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA>Best regards, <o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><table =
class=3DMsoNormalTable border=3D0 cellspacing=3D0 cellpadding=3D0 =
width=3D750 style=3D'width:6.25in'><tr><td style=3D'padding:0in 0in =
3.0pt 0in'><p class=3DMsoNormal style=3D'line-height:11.25pt'><span =
style=3D'font-size:9.0pt;font-family:"Arial","sans-serif";color:black'>Da=
niel Brown<o:p></o:p></span></p></td></tr><tr><td style=3D'padding:0in =
0in 0in 0in'><p class=3DMsoNormal style=3D'margin-top:3.75pt'><span =
style=3D'font-size:9.0pt;font-family:"Arial","sans-serif";color:#0073BC'>=
Research In Motion Limited</span><span =
style=3D'font-size:9.0pt;font-family:"Arial","sans-serif";color:black'> =
<o:p></o:p></span></p></td></tr></table><p class=3DMsoNormal><span =
style=3D'font-size:12.0pt;font-family:"Times New =
Roman","serif";display:none'><o:p>&nbsp;</o:p></span></p><table =
class=3DMsoNormalTable border=3D0 cellspacing=3D0 cellpadding=3D0 =
width=3D750 style=3D'width:6.25in'><tr><td style=3D'padding:0in 0in 0in =
0in'></td></tr></table><p class=3DMsoNormal><span =
style=3D'font-size:12.0pt;font-family:"Times New =
Roman","serif";display:none'><o:p>&nbsp;</o:p></span></p><table =
class=3DMsoNormalTable border=3D0 cellspacing=3D3 cellpadding=3D0 =
width=3D750 style=3D'width:6.25in'><tr><td style=3D'padding:9.75pt 0in =
0in 0in'><p class=3DMsoNormal><span =
style=3D'font-size:12.0pt;font-family:"Times New Roman","serif"'><img =
border=3D0 width=3D176 height=3D43 id=3D"_x0000_i1025" =
src=3D"cid:image001.jpg@01D0C46A.743A4E20"></span><span =
style=3D'font-size:12.0pt;font-family:"Times New =
Roman","serif"'><o:p></o:p></span></p></td></tr><tr><td width=3D750 =
style=3D'width:6.25in;padding:9.75pt 0in 0in 0in'></td></tr></table><p =
class=3DMsoNormal><span =
lang=3DEN-CA><o:p>&nbsp;</o:p></span></p></div></body></html>
------=_NextPart_002_0028_01D0C46A.77648C00--

------=_NextPart_001_0027_01D0C46A.77648C00
Content-Type: image/jpeg;
	name="image001.jpg"
Content-Transfer-Encoding: base64
Content-ID: <image001.jpg@01D0C46A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3h6W2bw39s82Qv8AaHUb
c4x6dK6DVNT1Lxn8Dkjgile+02dFu02ncyKCN2O/b8qjtfira6f4Mh0O18OTSzLbeQTJGdpYjBPT
nmgCv4GkXRrPXPiLO9tvVXigs4T0dz0I7dKzbSXU/GMc2sar48tdMuC58m2knKnjtgEbR+danhrw
Hrdx8L/EMr28kU16yTW9uy4LBMngds5/Sub0y+8G2uiGDWPDl/LrUeVAViqOe2e4oA9E+G3xGvjo
muw61OLttIhMyT5z5ijIxnv04+tYeiw+L/HS3Pi271x7PTbaUuI1YgMqHJQAflz61VurRNN+FWoa
nBob6ZcanLHBFGXZ2kjB5OMcV192G8N/s9rEkbJc3FsBtC8h3OTx9KAMDQovGHxU1K41NdYfT9Jg
m2pGpI4/ugD271e+FPiWfTV8V/21fSyRaf8AODM5OACw7+vFdp8IdMbTfh3YCRNksxaVwR6nj9K8
U8R6PqFz8UNW8O6c7gX12FZVPBXg5P05oA9E+Fv9seLPEmo+LNRubhbESMtrb7zsyfbuAOK9irO0
HRrbw/olrpdooEVugXOPvHuT7k1o0CCiiigAooooAhms7a4YNNbxSMOhdAafFDFAmyGNI1/uouBT
6KAKzafZvdi6a0gNwOkpjG4fj1psml6fNci5lsrd5wc+Y0QLfnVuigCGO1t4pWljgjSRvvMqAE/j
UVzplheuHurK3ncDAaSMMR+dW6KAIfstv9nFv5EfkjgR7Bt/KnpDHFEIo41WMDAVRgflT6KAIYbW
3t93kwRx7vvbEAz9ajGm2IYMLO3DA5B8sVaooAKpSaRps05nl0+1eUnJdolJz9cVdooAiltoJ0CT
QxyKvQOoIFElvBLEIpIY3jHRWUEflUtFAFDVJriw0e4k060E1xHGfJgXgM3YfSvPPhb4J1PTtQ1D
xH4khK6tdSEIrNuKKepz78D8K9SooAKKKKAP/9k=

------=_NextPart_001_0027_01D0C46A.77648C00--

------=_NextPart_000_0026_01D0C46A.77648C00
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="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IUMG0GCSsGAQQBgjcQBDFgMF4wUDETMBEGCgmSJomT8ixkARkWA25l
dDETMBEGCgmSJomT8ixkARkWA3JpbTEkMCIGA1UEAxMbUklNIFN1Ym9yZGluYXRlIENBIE1DQTAz
WUtGAgpb8AmWAAQAPH2iMG8GCyqGSIb3DQEJEAILMWCgXjBQMRMwEQYKCZImiZPyLGQBGRYDbmV0
MRMwEQYKCZImiZPyLGQBGRYDcmltMSQwIgYDVQQDExtSSU0gU3Vib3JkaW5hdGUgQ0EgTUNBMDNZ
S0YCClvwCZYABAA8faIwgasGCSqGSIb3DQEJDzGBnTCBmjALBglghkgBZQMEASowCwYJYIZIAWUD
BAEWMAoGCCqGSIb3DQMHMAsGCWCGSAFlAwQBAjAOBggqhkiG9w0DAgICAIAwBwYFKw4DAgcwDQYI
KoZIhvcNAwICAUAwDQYIKoZIhvcNAwICASgwBwYFKw4DAhowCwYJYIZIAWUDBAIDMAsGCWCGSAFl
AwQCAjALBglghkgBZQMEAgEwDQYJKoZIhvcNAQEBBQAEgYCPE0heQsBGuMjU15JR8acFNwCTfwpu
d6SpJnRvDYuamwhkQ6izvSPXcOYEX9u8vlSyMfTyalAJq749TbjihaqJKCKFAt5HKgJ3vDM45Vh2
236GXYP7HdlIkSxJwDWGA2SbimGC9JyPlK69RIasxzIADvinlDsrnIAGHcB4soPBxwAAAAAAAA==

------=_NextPart_000_0026_01D0C46A.77648C00--


From nobody Wed Jul 22 08:00:15 2015
Return-Path: <dbrown@certicom.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 E791C1A0018 for <cfrg@ietfa.amsl.com>; Wed, 22 Jul 2015 08:00:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, 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 pV6wu3I5Z5Yb for <cfrg@ietfa.amsl.com>; Wed, 22 Jul 2015 08:00:10 -0700 (PDT)
Received: from smtp-p01.blackberry.com (smtp-p01.blackberry.com [208.65.78.88]) by ietfa.amsl.com (Postfix) with ESMTP id 0D71D1A0021 for <cfrg@irtf.org>; Wed, 22 Jul 2015 08:00:03 -0700 (PDT)
Received: from xct101cnc.rim.net ([10.65.161.201]) by mhs212cnc.rim.net with ESMTP/TLS/AES128-SHA; 22 Jul 2015 11:00:03 -0400
Received: from XCT114CNC.rim.net (10.65.161.214) by XCT101CNC.rim.net (10.65.161.201) with Microsoft SMTP Server (TLS) id 14.3.210.2; Wed, 22 Jul 2015 11:00:02 -0400
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT114CNC.rim.net ([::1]) with mapi id 14.03.0210.002; Wed, 22 Jul 2015 11:00:02 -0400
From: Dan Brown <dbrown@certicom.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: ECDSA_CFRG theorems: quick summary
Thread-Index: AdDEjslVptOFwT3sTk6dKlfpqTgJNg==
Date: Wed, 22 Jul 2015 15:00:02 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5E18864@XMB116CNC.rim.net>
Accept-Language: en-CA, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [10.65.160.249]
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_002F_01D0C46D.8EF1E040"
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/N-KA3nCXBZXuth8FyrGIA0O981Y>
Subject: [Cfrg] ECDSA_CFRG theorems: quick summary
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: <https://mailarchive.ietf.org/arch/browse/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: Wed, 22 Jul 2015 15:00:14 -0000

------=_NextPart_000_002F_01D0C46D.8EF1E040
Content-Type: multipart/related;
	boundary="----=_NextPart_001_0030_01D0C46D.8EF1E040"


------=_NextPart_001_0030_01D0C46D.8EF1E040
Content-Type: multipart/alternative;
	boundary="----=_NextPart_002_0031_01D0C46D.8EF1E040"


------=_NextPart_002_0031_01D0C46D.8EF1E040
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi CFRG,

 

Kenny asked me today (I think paraphrasing DJB) to support the security
claims for ECDSA_CFRG in my presentation.  

 

Some of these security claims were presented as formal theorems.  

 

As a preliminary step, I'll briefly touch on some of these, with plans to
further elaborate later.

 

1.      The theorems with dates earlier than 2015 are from my existing
publications with that date.  

2.      The theorems with other people's names belong to other people.  

3.      The 2015 theorem on Slides 8 is relatively obvious.

4.      The 2015 theorems on Slide 9  support deletion-resistance, are
security claims for Schnorr signatures, including EdDSA variants.

5.      The first 2015 theorem on Slide 24 is informally proved in my
original ECDSA proposal.  It follows by virtue of the fact that an
ECDSA_CFRG signature can be converted into an ECDSA signature (allowing for
a curve and hash adjustment).  It concerns signer-absent forgery, so all one
needs is verifiers.

6.      The second 2015 theorem on Slide 24 regards a rather contrived
construction, which I will discuss in a separate email.

 

Best regards,

 


Daniel Brown


Research In Motion Limited 

 

	

 




	

 


------=_NextPart_002_0031_01D0C46D.8EF1E040
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><META =
HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 14 =
(filtered medium)"><!--[if !mso]><style>v\:* =
{behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:1694721387;
	mso-list-type:hybrid;
	mso-list-template-ids:-109574402 67698703 67698713 67698715 67698703 =
67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level2
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level3
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l0:level4
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level5
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level6
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l0:level7
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level8
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level9
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span =
lang=3DEN-CA>Hi CFRG,<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA>Kenny asked me today (I think paraphrasing DJB) to support =
the security claims for ECDSA_CFRG in my presentation.&nbsp; =
<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA>Some of these security claims were presented as formal =
theorems.&nbsp; <o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA>As a preliminary step, I&#8217;ll briefly touch on some of =
these, with plans to further elaborate later.<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoListParagraph style=3D'text-indent:-.25in;mso-list:l0 level1 =
lfo1'><![if !supportLists]><span lang=3DEN-CA><span =
style=3D'mso-list:Ignore'>1.<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
</span></span></span><![endif]><span lang=3DEN-CA>The theorems with =
dates earlier than 2015 are from my existing publications with that =
date.&nbsp; <o:p></o:p></span></p><p class=3DMsoListParagraph =
style=3D'text-indent:-.25in;mso-list:l0 level1 lfo1'><![if =
!supportLists]><span lang=3DEN-CA><span =
style=3D'mso-list:Ignore'>2.<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
</span></span></span><![endif]><span lang=3DEN-CA>The theorems with =
other people&#8217;s names belong to other people.&nbsp; =
<o:p></o:p></span></p><p class=3DMsoListParagraph =
style=3D'text-indent:-.25in;mso-list:l0 level1 lfo1'><![if =
!supportLists]><span lang=3DEN-CA><span =
style=3D'mso-list:Ignore'>3.<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
</span></span></span><![endif]><span lang=3DEN-CA>The 2015 theorem on =
Slides 8 is relatively obvious.<o:p></o:p></span></p><p =
class=3DMsoListParagraph style=3D'text-indent:-.25in;mso-list:l0 level1 =
lfo1'><![if !supportLists]><span lang=3DEN-CA><span =
style=3D'mso-list:Ignore'>4.<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
</span></span></span><![endif]><span lang=3DEN-CA>The 2015 theorems on =
Slide 9 &nbsp;support deletion-resistance, are security claims for =
Schnorr signatures, including EdDSA variants.<o:p></o:p></span></p><p =
class=3DMsoListParagraph style=3D'text-indent:-.25in;mso-list:l0 level1 =
lfo1'><![if !supportLists]><span lang=3DEN-CA><span =
style=3D'mso-list:Ignore'>5.<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
</span></span></span><![endif]><span lang=3DEN-CA>The first 2015 theorem =
on Slide 24 is informally proved in my original ECDSA proposal.&nbsp; It =
follows by virtue of the fact that an ECDSA_CFRG signature can be =
converted into an ECDSA signature (allowing for a curve and hash =
adjustment).&nbsp; It concerns signer-absent forgery, so all one needs =
is verifiers.<o:p></o:p></span></p><p class=3DMsoListParagraph =
style=3D'text-indent:-.25in;mso-list:l0 level1 lfo1'><![if =
!supportLists]><span lang=3DEN-CA><span =
style=3D'mso-list:Ignore'>6.<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
</span></span></span><![endif]><span lang=3DEN-CA>The second 2015 =
theorem on Slide 24 regards a rather contrived construction, which I =
will discuss in a separate email.<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-CA>Best =
regards,<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-CA><o:p>&nbsp;</o:p></span></p><table class=3DMsoNormalTable =
border=3D0 cellspacing=3D0 cellpadding=3D0 width=3D750 =
style=3D'width:6.25in'><tr><td style=3D'padding:0in 0in 3.0pt 0in'><p =
class=3DMsoNormal style=3D'line-height:11.25pt'><span =
style=3D'font-size:9.0pt;font-family:"Arial","sans-serif";color:black'>Da=
niel Brown<o:p></o:p></span></p></td></tr><tr><td style=3D'padding:0in =
0in 0in 0in'><p class=3DMsoNormal style=3D'margin-top:3.75pt'><span =
style=3D'font-size:9.0pt;font-family:"Arial","sans-serif";color:#0073BC'>=
Research In Motion Limited</span><span =
style=3D'font-size:9.0pt;font-family:"Arial","sans-serif";color:black'> =
<o:p></o:p></span></p></td></tr></table><p class=3DMsoNormal><span =
style=3D'font-size:12.0pt;font-family:"Times New =
Roman","serif";display:none'><o:p>&nbsp;</o:p></span></p><table =
class=3DMsoNormalTable border=3D0 cellspacing=3D0 cellpadding=3D0 =
width=3D750 style=3D'width:6.25in'><tr><td style=3D'padding:0in 0in 0in =
0in'></td></tr></table><p class=3DMsoNormal><span =
style=3D'font-size:12.0pt;font-family:"Times New =
Roman","serif";display:none'><o:p>&nbsp;</o:p></span></p><table =
class=3DMsoNormalTable border=3D0 cellspacing=3D3 cellpadding=3D0 =
width=3D750 style=3D'width:6.25in'><tr><td style=3D'padding:9.75pt 0in =
0in 0in'><p class=3DMsoNormal><span =
style=3D'font-size:12.0pt;font-family:"Times New Roman","serif"'><img =
width=3D176 height=3D43 id=3D"_x0000_i1025" =
src=3D"cid:image001.jpg@01D0C46D.8D6B4040"></span><span =
style=3D'font-size:12.0pt;font-family:"Times New =
Roman","serif"'><o:p></o:p></span></p></td></tr><tr><td width=3D750 =
style=3D'width:6.25in;padding:9.75pt 0in 0in 0in'></td></tr></table><p =
class=3DMsoNormal><span =
lang=3DEN-CA><o:p>&nbsp;</o:p></span></p></div></body></html>
------=_NextPart_002_0031_01D0C46D.8EF1E040--

------=_NextPart_001_0030_01D0C46D.8EF1E040
Content-Type: image/jpeg;
	name="image001.jpg"
Content-Transfer-Encoding: base64
Content-ID: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VS3dh647Vzngzx6PB3h6W2bw39s82Qv8AaHUb
c4x6dK6DVNT1Lxn8Dkjgile+02dFu02ncyKCN2O/b8qjtfira6f4Mh0O18OTSzLbeQTJGdpYjBPT
nmgCv4GkXRrPXPiLO9tvVXigs4T0dz0I7dKzbSXU/GMc2sar48tdMuC58m2knKnjtgEbR+danhrw
Hrdx8L/EMr28kU16yTW9uy4LBMngds5/Sub0y+8G2uiGDWPDl/LrUeVAViqOe2e4oA9E+G3xGvjo
muw61OLttIhMyT5z5ijIxnv04+tYeiw+L/HS3Pi271x7PTbaUuI1YgMqHJQAflz61VurRNN+FWoa
nBob6ZcanLHBFGXZ2kjB5OMcV192G8N/s9rEkbJc3FsBtC8h3OTx9KAMDQovGHxU1K41NdYfT9Jg
m2pGpI4/ugD271e+FPiWfTV8V/21fSyRaf8AODM5OACw7+vFdp8IdMbTfh3YCRNksxaVwR6nj9K8
U8R6PqFz8UNW8O6c7gX12FZVPBXg5P05oA9E+Fv9seLPEmo+LNRubhbESMtrb7zsyfbuAOK9irO0
HRrbw/olrpdooEVugXOPvHuT7k1o0CCiiigAooooAhms7a4YNNbxSMOhdAafFDFAmyGNI1/uouBT
6KAKzafZvdi6a0gNwOkpjG4fj1psml6fNci5lsrd5wc+Y0QLfnVuigCGO1t4pWljgjSRvvMqAE/j
UVzplheuHurK3ncDAaSMMR+dW6KAIfstv9nFv5EfkjgR7Bt/KnpDHFEIo41WMDAVRgflT6KAIYbW
3t93kwRx7vvbEAz9ajGm2IYMLO3DA5B8sVaooAKpSaRps05nl0+1eUnJdolJz9cVdooAiltoJ0CT
QxyKvQOoIFElvBLEIpIY3jHRWUEflUtFAFDVJriw0e4k060E1xHGfJgXgM3YfSvPPhb4J1PTtQ1D
xH4khK6tdSEIrNuKKepz78D8K9SooAKKKKAP/9k=

------=_NextPart_001_0030_01D0C46D.8EF1E040--

------=_NextPart_000_002F_01D0C46D.8EF1E040
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding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bEqpzuKJ+RcBBXCMPvMG0GCSsGAQQBgjcQBDFgMF4wUDETMBEGCgmSJomT8ixkARkWA25l
dDETMBEGCgmSJomT8ixkARkWA3JpbTEkMCIGA1UEAxMbUklNIFN1Ym9yZGluYXRlIENBIE1DQTAz
WUtGAgpb8AmWAAQAPH2iMG8GCyqGSIb3DQEJEAILMWCgXjBQMRMwEQYKCZImiZPyLGQBGRYDbmV0
MRMwEQYKCZImiZPyLGQBGRYDcmltMSQwIgYDVQQDExtSSU0gU3Vib3JkaW5hdGUgQ0EgTUNBMDNZ
S0YCClvwCZYABAA8faIwgasGCSqGSIb3DQEJDzGBnTCBmjALBglghkgBZQMEASowCwYJYIZIAWUD
BAEWMAoGCCqGSIb3DQMHMAsGCWCGSAFlAwQBAjAOBggqhkiG9w0DAgICAIAwBwYFKw4DAgcwDQYI
KoZIhvcNAwICAUAwDQYIKoZIhvcNAwICASgwBwYFKw4DAhowCwYJYIZIAWUDBAIDMAsGCWCGSAFl
AwQCAjALBglghkgBZQMEAgEwDQYJKoZIhvcNAQEBBQAEgYBIy6J7H7vodFQ95G7OvJ5/llPUSilg
NoKsd9+yPxCY3nSsIdr3NuqIvDYfVsPcMkVOJXrZFS75hkiwP0KjvP8GAQPBCg97i6cHyU87jpPd
AA36gor/1KJkEkN/Ppbx70ROhKpGRTohe47bho4Thcn5Agw9gGn4aUpjWdP+Y5e4KwAAAAAAAA==

------=_NextPart_000_002F_01D0C46D.8EF1E040--


From nobody Wed Jul 22 08:11:14 2015
Return-Path: <brynosaurus@gmail.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 C65941A00E3 for <cfrg@ietfa.amsl.com>; Wed, 22 Jul 2015 08:11:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, 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 NZms9X6m9FeQ for <cfrg@ietfa.amsl.com>; Wed, 22 Jul 2015 08:11:05 -0700 (PDT)
Received: from mail-wi0-x233.google.com (mail-wi0-x233.google.com [IPv6:2a00:1450:400c:c05::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DF7FC1A01F9 for <cfrg@irtf.org>; Wed, 22 Jul 2015 08:11:02 -0700 (PDT)
Received: by wibxm9 with SMTP id xm9so168003287wib.0 for <cfrg@irtf.org>; Wed, 22 Jul 2015 08:11:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to; bh=qckM1HYViLHruQrbRVbjNcp2gFv8GSFYpzHC6MeEFbM=; b=cVIBd75KH2b0lu60aRzh0my9NMa29k8BpW5b3VMtv5eZ5X7lKkKee7/JjImw0LVqeE qQO8vItvaEJBvNQRn1WOKIGGW3mF5+wIcA0MpiQK4WrbymZfwHlliZH2M1ErtxMW1qjW Za6eDmBpwqAqYzkTvSn9nU+p2HSVwIObRofwiVxoCeLTVZw1E0/rIrphj4uHl500Kqdy nkCI/Rub7nj4xuez2SadNQ9e092TLYoBvh46RSvjoFNVqMKJXzOgKU7sQjesrrHiCR6g O0GSEHHRjEgvsulLIYRxmpGoTmlERzK1/zYUSrQcBleRMjtAM619nVQcIbcEqneDCGMx cEpA==
X-Received: by 10.180.14.101 with SMTP id o5mr7711405wic.82.1437577861646; Wed, 22 Jul 2015 08:11:01 -0700 (PDT)
Received: from dhcp-894d.meeting.ietf.org ([31.133.139.77]) by smtp.gmail.com with ESMTPSA id fs8sm2862901wjb.7.2015.07.22.08.10.59 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 22 Jul 2015 08:11:00 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
Content-Type: multipart/signed; boundary="Apple-Mail=_CF31193F-BA88-4A24-9E06-D4E02CC7A2FA"; protocol="application/pkcs7-signature"; micalg=sha1
From: Bryan Ford <brynosaurus@gmail.com>
In-Reply-To: <810C31990B57ED40B2062BA10D43FBF5E187EC@XMB116CNC.rim.net>
Date: Wed, 22 Jul 2015 17:10:58 +0200
Message-Id: <34C1FBE8-E5ED-4223-8C27-F21C0F5D5491@gmail.com>
References: <810C31990B57ED40B2062BA10D43FBF5E187EC@XMB116CNC.rim.net>
To: Dan Brown <dbrown@certicom.com>
X-Mailer: Apple Mail (2.2102)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/9pMe0vISHAVhyqKVh5ZDBCxOLJE>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Assisted EC key pair generation (via ECDSA)
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: <https://mailarchive.ietf.org/arch/browse/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: Wed, 22 Jul 2015 15:11:06 -0000

--Apple-Mail=_CF31193F-BA88-4A24-9E06-D4E02CC7A2FA
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

> On Jul 22, 2015, at 3:35 PM, Dan Brown <dbrown@certicom.com> wrote:
> Hi all,
> =20
> SEC1 version 2, http://www.secg.org/sec1-v2.pdf, Section 3.2.4 talks =
about (verifiable and) assisted key generation, by way of ECDSA.  There =
was something similar done for RSA previous to that.

Interesting, I hadn=E2=80=99t seen that - thanks for the pointer.

Henry Corrigan-Gibbs and Dan Boneh at Stanford also developed different =
methods of verifiably-random keypair generation for both RSA and DSA =
keys in this CCS =E2=80=9913 paper:

	Ensuring High-Quality Randomness in Cryptographic Key Generation
	http://www.henrycg.com/pubs/ccs13ensuring/

Cheers
Bryan

>  So, if CFRG is really interested in such a thing, then they might =
want to consider that option.
> =20
> Side note: I=E2=80=99ve been planning forever to write a paper on the =
benefits of verifiable key generation, but other things keep popping up.
> =20
> Best regards,
> =20
> Daniel Brown
> Research In Motion Limited


--Apple-Mail=_CF31193F-BA88-4A24-9E06-D4E02CC7A2FA
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJ+DCCBK8w
ggOXoAMCAQICEQDgI8sVEoNTia1hbnpUZ2shMA0GCSqGSIb3DQEBCwUAMG8xCzAJBgNVBAYTAlNF
MRQwEgYDVQQKEwtBZGRUcnVzdCBBQjEmMCQGA1UECxMdQWRkVHJ1c3QgRXh0ZXJuYWwgVFRQIE5l
dHdvcmsxIjAgBgNVBAMTGUFkZFRydXN0IEV4dGVybmFsIENBIFJvb3QwHhcNMTQxMjIyMDAwMDAw
WhcNMjAwNTMwMTA0ODM4WjCBmzELMAkGA1UEBhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hl
c3RlcjEQMA4GA1UEBxMHU2FsZm9yZDEaMBgGA1UEChMRQ09NT0RPIENBIExpbWl0ZWQxQTA/BgNV
BAMTOENPTU9ETyBTSEEtMjU2IENsaWVudCBBdXRoZ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tnUXC3LaaWHEtF80fwJfv1WhZBqWkV4xiwMQAAAAAAAA==
--Apple-Mail=_CF31193F-BA88-4A24-9E06-D4E02CC7A2FA--


From nobody Wed Jul 22 08:39:57 2015
Return-Path: <brynosaurus@gmail.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 4EA5A1A000B for <cfrg@ietfa.amsl.com>; Wed, 22 Jul 2015 08:39:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, 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 0PRaxU2vkmPU for <cfrg@ietfa.amsl.com>; Wed, 22 Jul 2015 08:39:54 -0700 (PDT)
Received: from mail-wi0-x22d.google.com (mail-wi0-x22d.google.com [IPv6:2a00:1450:400c:c05::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 623B31A0113 for <cfrg@irtf.org>; Wed, 22 Jul 2015 08:39:19 -0700 (PDT)
Received: by wicmv11 with SMTP id mv11so86947188wic.0 for <cfrg@irtf.org>; Wed, 22 Jul 2015 08:39:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=from:content-type:subject:message-id:date:to:mime-version; bh=ymZANViiQiZiO6tLKXCGI5NRxRlOYB8gNSWVxWpRqL8=; b=XJAsGIXZeB4nY53WANSwrQXiLN0+oHrJzuEui7Rz6CLxbwiD9Indushw42LofwFPV3 5MhC98QVgLk8optDWHdc0uIjqAWTx/z8a4VA34hjJsZ7u14kyVhy3P3eETf84D51fwc2 3R3HnWIeSImEEcJeRZUIHwgMtqrcU1v+xsdX130ucnJIrsionjnyBTEZFPV01CKptcX1 GbMN24fu/4qgl60ISJFhrK43ncXRDfD2CMWOYiNIjn1OwVdjSRRr03RZTKxrLnNfVxzk H3KSq6KG1NI/58RjOTDogZa6zWLgcLNo31LscM0Z67atcrGjr0l66TA0FqeQG8HspEre nnrg==
X-Received: by 10.181.11.229 with SMTP id el5mr7579202wid.40.1437579557991; Wed, 22 Jul 2015 08:39:17 -0700 (PDT)
Received: from dhcp-894d.meeting.ietf.org ([31.133.139.77]) by smtp.gmail.com with ESMTPSA id ib9sm2984738wjb.2.2015.07.22.08.39.16 for <cfrg@irtf.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 22 Jul 2015 08:39:17 -0700 (PDT)
From: Bryan Ford <brynosaurus@gmail.com>
Content-Type: multipart/signed; boundary="Apple-Mail=_B5BA6916-8F55-4E06-9097-BBDA6ABBBB1E"; protocol="application/pkcs7-signature"; micalg=sha1
Message-Id: <9DF9AC6F-A9D9-4DF8-8D82-F6A238D9E609@gmail.com>
Date: Wed, 22 Jul 2015 17:39:15 +0200
To: "cfrg@irtf.org" <cfrg@irtf.org>
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
X-Mailer: Apple Mail (2.2102)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/eE584uhpY47SrVUXSGbtG5_J30o>
Subject: [Cfrg] Schnorr signature encodings
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: <https://mailarchive.ietf.org/arch/browse/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: Wed, 22 Jul 2015 15:39:56 -0000

--Apple-Mail=_B5BA6916-8F55-4E06-9097-BBDA6ABBBB1E
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

I wanted to thank Mike Hamburg again for a nice summary today of some of =
the tradeoffs between the (point,int) and (int,int) formats for Schnorr =
signatures.

The two formats appear to be - or could be defined to be - fully =
inter-convertible: a signature in either format can be converted to the =
other via a simple 1-to-1 transformation.  One format is a bit larger =
but amenable to batch verification; hence we might call this =E2=80=9CFast=
 Format.=E2=80=9D  The other format (challenge-response) can be ~25% =
shorter and requires no point parsing for verification; hence we might =
call this =E2=80=9CShort Format.=E2=80=9D

There seems to be a bit of a parallel between this choice and the two =
standard point encodings (=E2=80=9Cnormal=E2=80=9D versus =
=E2=80=9Ccompressed=E2=80=9D) that are defined for the established =
NIST-standard elliptic curves, and both of which are routinely used in =
practice.  As such, without suggesting that this is necessarily the =
right thing to do, it might be worth considering the possibility that =
any CFRG-standard signature scheme could simply specify both formats, =
with the simple and obvious method of converting either to the other, =
and leave it to the higher-level protocol or application to decide which =
format is used in that particular application/protocol context (or let =
the application protocol provide a way to select/negotiate between the =
two if that proves sufficiently desirable for a particular application).

Of course there are clear downsides to any standard specifying two =
different possible encoding formats for the same logical blob - e.g., =
size/complexity of the standard, accidental risk of breakage by =
communication parters failing to agree which format is being used, etc.  =
It=E2=80=99s not immediately clear to me whether the flexibility =
benefits of =E2=80=9Cproviding that choice=E2=80=9D justify the =
complexity cost.

Bryan


--Apple-Mail=_B5BA6916-8F55-4E06-9097-BBDA6ABBBB1E
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDg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3JkMRowGAYDVQQK
ExFDT01PRE8gQ0EgTGltaXRlZDFBMD8GA1UEAxM4Q09NT0RPIFNIQS0yNTYgQ2xpZW50IEF1dGhl
bnRpY2F0aW9uIGFuZCBTZWN1cmUgRW1haWwgQ0ECEBalm03EcGSFWgbYcpp5puowDQYJKoZIhvcN
AQEBBQAEggEAdZf3hbL7hONW5Ef1qRMY+siiebVeFrUqFcxlfjZSTgp7enILndU5hfvPVzG0X8gQ
tcogZlFsd7cYIyGO7JrjJ3YQEHVhRqvuPugnNzk6DyoOfE26quQ+aR1cWi13LdAh6S2v49kIFJ0B
Ul2kGXRXBJsJAeddTWU4hAeAOQV7Aq4Eg9t8srA+JFpsNpcrlSdMOFGu5x8lGPEcPJkkFdbgsvex
azS/WKrBdWxYzXsN3V3+YYV4ZuGbhvBiEXL1IRHNB8S+iCI3Efs5HsoWa3H91kM8VFdiqo/6RucS
arTDmp79ZEhDu3k3sKfSx0C9w+cgoP4ERPyNtTIQXkbrxmckGQAAAAAAAA==
--Apple-Mail=_B5BA6916-8F55-4E06-9097-BBDA6ABBBB1E--


From nobody Wed Jul 22 09:00:28 2015
Return-Path: <Kenny.Paterson@rhul.ac.uk>
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 497271A0406 for <cfrg@ietfa.amsl.com>; Wed, 22 Jul 2015 09:00:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level: 
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_PASS=-0.001, 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 DUcws_B95DNZ for <cfrg@ietfa.amsl.com>; Wed, 22 Jul 2015 09:00:24 -0700 (PDT)
Received: from emea01-am1-obe.outbound.protection.outlook.com (mail-am1on0672.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe00::672]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 37D111A0040 for <cfrg@irtf.org>; Wed, 22 Jul 2015 09:00:24 -0700 (PDT)
Received: from DBXPR03MB381.eurprd03.prod.outlook.com (10.141.10.11) by DBXPR03MB110.eurprd03.prod.outlook.com (10.242.139.14) with Microsoft SMTP Server (TLS) id 15.1.219.17; Wed, 22 Jul 2015 16:00:06 +0000
Received: from DBXPR03MB383.eurprd03.prod.outlook.com (10.141.10.15) by DBXPR03MB381.eurprd03.prod.outlook.com (10.141.10.11) with Microsoft SMTP Server (TLS) id 15.1.219.17; Wed, 22 Jul 2015 16:00:06 +0000
Received: from DBXPR03MB383.eurprd03.prod.outlook.com ([10.141.10.15]) by DBXPR03MB383.eurprd03.prod.outlook.com ([10.141.10.15]) with mapi id 15.01.0219.018; Wed, 22 Jul 2015 16:00:05 +0000
From: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: Draft minutes for CFRG@IETF93 available
Thread-Index: AQHQxJd523dJ8hDK6kyx9tSx9a6TZw==
Date: Wed, 22 Jul 2015 16:00:05 +0000
Message-ID: <D1D58A9F.4F82B%kenny.paterson@rhul.ac.uk>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.5.3.150624
authentication-results: irtf.org; dkim=none (message not signed) header.d=none;
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [31.133.179.105]
x-microsoft-exchange-diagnostics: 1; DBXPR03MB381; 5:wMf8qH3Z0QkILQNxwJmTZ3wAekOHLd3K81uTrN+7W3OKzj76OJcJva7c/kRw1aJBuJgXJHA1beNcL6TfkxNJRrXbRdHBwIV0bMHMSX/NUsVNK8FthUFXAtYs23pMrpyzXlKwa0m/ADjutCRuqCKm+w==; 24:JINtu6LFXVwaSM0o/7+1RXirh/l2Wmk0Crk8FJa6fjBCi/NcbB5kPvIPCqp5s93YiRf3c3axmxQCQwhvMijhJmRhMNuq57cF+3oXgQyykN8=; 20:aSYL1e9aycDuPgaf0nTCNlUqRpJ75X59iOITrowNM+GpXZfzbAvEaRP3TgX/CjqYYEDqd2e+XYDEuTbBeeBhHA==
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:; SRVR:DBXPR03MB381; UriScan:; BCL:0; PCL:0; RULEID:; SRVR:DBXPR03MB110; 
dbxpr03mb381: X-MS-Exchange-Organization-RulesExecuted
x-microsoft-antispam-prvs: <DBXPR03MB381DB76E4F1467ED612014ABC830@DBXPR03MB381.eurprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:DBXPR03MB381; BCL:0; PCL:0; RULEID:; SRVR:DBXPR03MB381; 
x-forefront-prvs: 0645BEB7AA
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(5001960100002)(83506001)(189998001)(46102003)(110136002)(5002640100001)(86362001)(2656002)(229853001)(2501003)(2351001)(87936001)(2900100001)(77096005)(4001350100001)(66066001)(15975445007)(102836002)(77156002)(62966003)(19580395003)(92566002)(74482002)(106116001)(54356999)(122556002)(50986999)(40100003)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:DBXPR03MB381; H:DBXPR03MB383.eurprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
Content-Type: text/plain; charset="us-ascii"
Content-ID: <B9302892FAA7D144BF5D66BADCAB5612@eurprd03.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Jul 2015 16:00:05.8530 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 2efd699a-1922-4e69-b601-108008d28a2e
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBXPR03MB381
X-Microsoft-Exchange-Diagnostics: 1; DBXPR03MB110; 2:X5t6XOARyk14UuVbc/eMknQoK2LUpTcwpuBiguBBcd1auEp5Rz71/x4/XahCNkgi; 3:yv2vNnjK320+fCbKYeUA8Oqfnb/NL1VtwBaKrQlj337Ke6zdXP0tsuj81mlFNuk735k0D/pRbckv+wFZH35KeKjrrUnTlCK69b7s79j6LgwQaIfYN72N0DaGerTugVctDnoYX1M244Om/FPW8WYmtA==; 25:QOrMLW2VZKgCnIZ++nUvAvZzjBMKS/N7htbPL5GcAXzePZA2MgTHKl/nG2kdo/9Z2yzWtS1jS9b64VXuMX3QYBiM7wjuLv53avjkDrGIlG5l5H7y+9CHJUXsYfNZpBTWgIQOnF9l7NMsdv5RaR8NDzugMU1lJctYycrMQioW/rSZWqO5GAYIyZY8L5EanHc2G03Ty07hc0jfuxLUFFxXYjMIp5s6znciYHKdWDzmCt8KIGB9YDpjXMmMCMADrJTTj2ea1+zmbRBL3R6AYsXHbQ==; 20:fgBM71Ex0zYO9x97FoV1vAJsjp7wayALxU5o9yXiaziXPZjl50ovAFrGl7MKsGbxI1BfQzB78AN+wDyUlx52NQ==; 23:zokvgGgPAN7NSimRQAkhhElCs688l7krfHWUkTAnqdAJW9ZipGElX0KTnPMYfsFcfs+BIBxh9fdkXw8NaJby+3ynXD8QzrzDq8hskmrL+M3oA7Uvf2uBap8vw8bT3jOxzHPw5/pRgqCeMTxTzohHFztl4pQer5+r9QIMElVgdw/x4ase0fx2rF7qRk2qD+Rs6vucznlnmOglNaE5Ncp5EdEBF7V/pX+P1U+GYV/5UbRR1MEsjGBlEyv25ebWJrCM
DBXPR03MB110: X-MS-Exchange-Organization-RulesExecuted
X-OriginatorOrg: rhul.ac.uk
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/4ul7VX2PkI9m5JYeVxwtaK4Edm8>
Subject: [Cfrg] Draft minutes for CFRG@IETF93 available
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: <https://mailarchive.ietf.org/arch/browse/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: Wed, 22 Jul 2015 16:00:27 -0000

Dear CFRG,

Draft minutes from the CFRG meeting at IETF 93 held this afternoon in
Prague are available here:

https://www.ietf.org/proceedings/93/minutes/minutes-93-cfrg


Thanks to Yoav Nir for taking notes. All remaining errors and omissions
are due to the chairs. Please send any corrections to the chairs (off-list
preferable).

Regards,

Kenny (for the chairs)


From nobody Wed Jul 22 11:52:14 2015
Return-Path: <paul@marvell.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 C31CB1A8981 for <cfrg@ietfa.amsl.com>; Wed, 22 Jul 2015 11:52:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.267
X-Spam-Level: 
X-Spam-Status: No, score=-2.267 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, IP_NOT_FRIENDLY=0.334, RCVD_IN_DNSWL_LOW=-0.7, 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 QPkEFMmhgm2p for <cfrg@ietfa.amsl.com>; Wed, 22 Jul 2015 11:52:12 -0700 (PDT)
Received: from mx0a-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0D6241A893F for <cfrg@irtf.org>; Wed, 22 Jul 2015 11:52:09 -0700 (PDT)
Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.15.0.59/8.15.0.59) with SMTP id t6MInvpT025080; Wed, 22 Jul 2015 11:52:05 -0700
Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0a-0016f401.pphosted.com with ESMTP id 1vqm5jmxhw-1 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 22 Jul 2015 11:52:05 -0700
Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1044.25; Wed, 22 Jul 2015 11:52:04 -0700
Received: from SC-EXCH03.marvell.com ([fe80::6cb0:4dfa:f3f3:b8b6]) by SC-EXCH03.marvell.com ([fe80::6cb0:4dfa:f3f3:b8b6%21]) with mapi id 15.00.1044.021; Wed, 22 Jul 2015 11:52:04 -0700
From: Paul Lambert <paul@marvell.com>
To: Hannes Tschofenig <hannes.tschofenig@gmx.net>, "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [Cfrg] Short Authentication Tags in AES-128-CCM
Thread-Index: AQHQxGgdd/PwK5le4Uuy3nsSSaTz153n1i6A
Date: Wed, 22 Jul 2015 18:52:03 +0000
Message-ID: <D1D5328F.737E3%paul@marvell.com>
References: <55AE1BB7.8070906@gmx.net> <55AF6E7E.5000300@gmx.net>
In-Reply-To: <55AF6E7E.5000300@gmx.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.5.3.150624
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.94.250.30]
Content-Type: text/plain; charset="us-ascii"
Content-ID: <C1123F4E1908E043A341EE7F89C30819@marvell.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2015-07-22_06:, , signatures=0
X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 kscore.is_bulkscore=0 kscore.compositescore=1 compositescore=0.9 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 kscore.is_spamscore=0 rbsscore=0.9 spamscore=0 urlsuspectscore=0.9 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1506180000 definitions=main-1507220269
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/yK_J7H7UREKvQnxV4anDp6LmC1Q>
Subject: Re: [Cfrg] Short Authentication Tags in AES-128-CCM
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: <https://mailarchive.ietf.org/arch/browse/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: Wed, 22 Jul 2015 18:52:14 -0000

Another option that has been picked up by byte-senstive standards groups
is to use AES-SIV.  The IV and integrity check are combined saving overall
encapsulation size.  Also, AES-SIV has a significant advantage that it
does not require nonce/IV uniqueness.  Setup is simplified for a pair-wise
links.  Broadcast/multicast is viable without complex nonce coordination.

AES-128-SIV is a much better option for small messages than tweaking
AES-128-CCM. =20

Paul



On 7/22/15, 3:20 AM, "Cfrg on behalf of Hannes Tschofenig"
<cfrg-bounces@irtf.org on behalf of hannes.tschofenig@gmx.net> wrote:

>Hi all,
>
>in the Internet of Things context there has been some excitement to use
>short authentication tags with AES-128-CCM. With short range, low power
>radio technologies shorter frame sizes raise concerns about the number
>of bytes that are available to the application layer.
>
>The DTLS/TLS profile for IoT document <draft-ietf-dice-profile>
>therefore recommends the TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8 ciphersuite,
>following what the CoAP protocol and also Zigbee IP suggest.
>
>When Stephen did a review of draft-ietf-dice-profile-13 he suggested to
>rather focus on AES-128-CCM with the full-length authentication tag
>instead. He motivates his suggestion based on the decision of the SRTP
>guys to move away from short authentication tags used with AES-GCM-128.
>Of course, AES-CCM and AES-GCM are different and attacks against AES-GCM
>with short authentication tags have been published.
>
>My question to this group is:
>
> * Are you aware of attacks against the AES-128-CCM-8?
> * Are there concerns with the use of short authentication tags, as we
>recommend for the IoT context? (Needless to say that there is a tradeoff
>between rekeying and the number of bits the tag has.)
>
>Ciao
>Hannes
>
>


From nobody Thu Jul 23 06:37:13 2015
Return-Path: <azet@azet.org>
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 0812D1ACCF0 for <cfrg@ietfa.amsl.com>; Thu, 23 Jul 2015 06:37:10 -0700 (PDT)
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 ata6MYpcbMJ8 for <cfrg@ietfa.amsl.com>; Thu, 23 Jul 2015 06:37:08 -0700 (PDT)
Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com [209.85.212.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 431191ACC8D for <cfrg@irtf.org>; Thu, 23 Jul 2015 06:37:03 -0700 (PDT)
Received: by wibud3 with SMTP id ud3so219508543wib.0 for <cfrg@irtf.org>; Thu, 23 Jul 2015 06:37:02 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type; bh=M8+Gbs9IBtL+DgOOx//DS+48e3kpBJ4HhNi2Odwrg+E=; b=OK7Ios+Nia3mCbFrPOhxMk7OB/sagS1sDdToG7tzlhyoxpZ/fJomG72dxyUo9W0VBH Fhn+llaFF5wRvIgItGVnGR0+ZqHrwD1hxH4EpvQ850065SixvBSAWtuF3RKaqD3yB48c f5L/WnmCFUTa8d71r5k4viMmTezQ0j6TQPSmICOsZod4uYtL8pcc+JqcdDIhZGujBBOD xHPA1+7zH0C3TWtDJT9IKzD+utZ/FdGsf9gEGKsmD8Bf9HmEjpJjlPnkvErak6CGky8I UXevSUJUGrnhGZyLs8iOxAjc0zzb8+SNr9mgQKOqcBbFgtDA3gIyQsZHhRsYA4znG7QR x8SQ==
X-Gm-Message-State: ALoCoQl9fR5ed9WPUu38dqM2cf3id0j2x9qaOEp1l2UxIBkqTBldtDKHZ1mCCwZmMsXDLOtT0dvC
X-Received: by 10.180.91.40 with SMTP id cb8mr40774906wib.54.1437658621951; Thu, 23 Jul 2015 06:37:01 -0700 (PDT)
Received: from ?IPv6:2001:67c:370:160:2525:4a42:bd8b:104? ([2001:67c:370:160:2525:4a42:bd8b:104]) by smtp.gmail.com with ESMTPSA id hd6sm27242395wib.19.2015.07.23.06.37.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 Jul 2015 06:37:01 -0700 (PDT)
Message-ID: <55B0EDF9.8000000@azet.org>
Date: Thu, 23 Jul 2015 15:36:57 +0200
From: Aaron Zauner <azet@azet.org>
User-Agent: Postbox 3.0.11 (Macintosh/20140602)
MIME-Version: 1.0
To: Paul Lambert <paul@marvell.com>
References: <55AE1BB7.8070906@gmx.net> <55AF6E7E.5000300@gmx.net> <D1D5328F.737E3%paul@marvell.com>
In-Reply-To: <D1D5328F.737E3%paul@marvell.com>
X-Enigmail-Version: 1.2.3
Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigD001B4426B0D942D7050A66C"
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/wGPT2855pd5qu85E9uij-euoE4M>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Short Authentication Tags in AES-128-CCM
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: <https://mailarchive.ietf.org/arch/browse/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: Thu, 23 Jul 2015 13:37:10 -0000

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigD001B4426B0D942D7050A66C
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable



Paul Lambert wrote:
> Another option that has been picked up by byte-senstive standards group=
s
> is to use AES-SIV.  The IV and integrity check are combined saving over=
all
> encapsulation size.  Also, AES-SIV has a significant advantage that it
> does not require nonce/IV uniqueness.  Setup is simplified for a pair-w=
ise
> links.  Broadcast/multicast is viable without complex nonce coordinatio=
n.
>=20
> AES-128-SIV is a much better option for small messages than tweaking
> AES-128-CCM. =20
>=20

FYI: I've an individual draft on AES-OCB. Rogaway filed an IPR exemption
today with IETF. OCB could be interesting for IoT stuff, but I guess CCM
is already used with some IEEE protocols.

https://datatracker.ietf.org/ipr/2640/
https://datatracker.ietf.org/doc/draft-zauner-tls-aes-ocb/

(A similar exemption is pending from IBM, they assured me it's coming
though)

Aaron


--------------enigD001B4426B0D942D7050A66C
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJVsO36AAoJEOTbZJL9ubXVsiYP/iis1T6waX6RjwgAemZZQION
fIlzUR3JvUbVmt2AHlKmexQ9kdujXVX5wJapyF6XhUx9zBI3ewYr32v8gq82uBwT
T3y9wBsynxo3Hxk5o7pIUpycI/QYM02wlcLjujs/bH5nKfdwQUa1KF/QPdgK9XER
9myBD9q5IY97Z6MgLohp3mT28Z1Vzb0f5e4v776m7fdgAsB38nmv3PuqshxX3yRy
KbCnFXk70mkdlS69PBwCcR616j2BHlcHXKvGTbDt0MqB/JRv2D1LJYyahkx6FPXm
SKZOvR3n33cmIJ6d56B2JA+DKrsu7UeOpmV+ZsRHU0wT1hqrzl7O26OqyxeGr+r+
W7ZlG7GofKlPVX8jjQJe0U2nv9D2s6sBrUg7k8I8hCvbdFyZRCTwtGp+QSmtFReh
4UdFmrnmZ/UbHaiidYPf/bHgCBUaV5WXcfsUzsIkAhGeemNa42unaw0/EBKlP0WH
V2Vv+X12MiMC69vkh9OP8B6GyYFiUOowme3ueZzay0/IW6dZoy/XOycigylnUub1
i5mmq4IwZRNqyP1BfgGbAmCSjgUrc7pCpHmSbuIKLE4CIXHRhnPK5+WWjtXB1y97
6wSRx4DcoUQt/mSxWt3RwgRNJ8wzyuRpY2M4AwQ46EV6JC4R/415yrcZ1JxwV1V3
oaH/cwoCJBwvbNc/6W47
=rqs+
-----END PGP SIGNATURE-----

--------------enigD001B4426B0D942D7050A66C--


From nobody Thu Jul 23 06:58:21 2015
Return-Path: <prvs=46462dd596=uri@ll.mit.edu>
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 CF62D1ACD83 for <cfrg@ietfa.amsl.com>; Thu, 23 Jul 2015 06:58:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.209
X-Spam-Level: 
X-Spam-Status: No, score=-4.209 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01, UNPARSEABLE_RELAY=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 E7beZX-1zlwu for <cfrg@ietfa.amsl.com>; Thu, 23 Jul 2015 06:58:17 -0700 (PDT)
Received: from mx1.ll.mit.edu (MX1.LL.MIT.EDU [129.55.12.45]) by ietfa.amsl.com (Postfix) with ESMTP id 796F51ACD13 for <cfrg@irtf.org>; Thu, 23 Jul 2015 06:58:14 -0700 (PDT)
Received: from LLE2K10-HUB02.mitll.ad.local (LLE2K10-HUB02.mitll.ad.local) by mx1.ll.mit.edu (unknown) with ESMTP id t6NDwDet022979; Thu, 23 Jul 2015 09:58:13 -0400
From: "Blumenthal, Uri - 0553 - MITLL" <uri@ll.mit.edu>
To: Aaron Zauner <azet@azet.org>, Paul Lambert <paul@marvell.com>
Thread-Topic: [Cfrg] Short Authentication Tags in AES-128-CCM
Thread-Index: AdDFT5xHtrXcTu0CNUa0aKt3zmWhKg==
Date: Thu, 23 Jul 2015 13:58:12 +0000
Message-ID: <20150723135819.17789003.99577.11014@ll.mit.edu>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="===============1756143129=="
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.14.151, 1.0.33,  0.0.0000 definitions=2015-07-23_07:2015-07-22,2015-07-23,1970-01-01 signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1506180000 definitions=main-1507230199
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/KmD77cpG-tI1HmjF1Y_pJyEaT3g>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Short Authentication Tags in AES-128-CCM
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: <https://mailarchive.ietf.org/arch/browse/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: Thu, 23 Jul 2015 13:58:20 -0000

--===============1756143129==
Content-Type: text/plain; charset="iso-8859-1"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable

I think OCB is a strong contender.

Sent=A0from=A0my=A0BlackBerry=A010=A0smartphone=A0on=A0the Verizon=A0Wirele=
ss=A04G=A0LTE=A0network.
=A0 Original Message =A0
From: Aaron Zauner
Sent: Thursday, July 23, 2015 09:50
To: Paul Lambert
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] Short Authentication Tags in AES-128-CCM



Paul Lambert wrote:
> Another option that has been picked up by byte-senstive standards groups
> is to use AES-SIV. The IV and integrity check are combined saving overall
> encapsulation size. Also, AES-SIV has a significant advantage that it
> does not require nonce/IV uniqueness. Setup is simplified for a pair-wise
> links. Broadcast/multicast is viable without complex nonce coordination.
>=20
> AES-128-SIV is a much better option for small messages than tweaking
> AES-128-CCM.=20
>=20

FYI: I've an individual draft on AES-OCB. Rogaway filed an IPR exemption
today with IETF. OCB could be interesting for IoT stuff, but I guess CCM
is already used with some IEEE protocols.

https://datatracker.ietf.org/ipr/2640/
https://datatracker.ietf.org/doc/draft-zauner-tls-aes-ocb/

(A similar exemption is pending from IBM, they assured me it's coming
though)

Aaron



--===============1756143129==
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"

MIAGCSqGSIb3DQEHAqCAMIACAQExDTALBglghkgBZQMEAgEwgAYJKoZIhvcNAQcBAACggg7NMIIE
6jCCA9KgAwIBAgIKTM8n7QAAAABB0TANBgkqhkiG9w0BAQsFADBRMQswCQYDVQQGEwJVUzEfMB0G
A1UEChMWTUlUIExpbmNvbG4gTGFib3JhdG9yeTEMMAoGA1UECxMDUEtJMRMwEQYDVQQDEwpNSVRM
TCBDQS0zMB4XDTE1MDYwNTE4MTY0NFoXDTE2MDYwNDE4MTY0NFowYTELMAkGA1UEBhMCVVMxHzAd
BgNVBAoTFk1JVCBMaW5jb2xuIExhYm9yYXRvcnkxDzANBgNVBAsTBlBlb3BsZTEgMB4GA1UEAxMX
Qmx1bWVudGhhbC5VcmkuNTAwMTA1ODQwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDQ
0ZYk84x0NrbLSMf9w+9rvO8Z3d5dfpynEt9it4HkQ3Fht5wpD1DOICbdPmcuoNGv73LUI6oRn7XT
CnAFOeW9dGZetOUBIL44l0BoMYlUOvqOhtXUIoxm6PNbnDsYW3HpNuiskGO+jjH5CrvSFsZ//GHA
dMGsQpRNBU7ZHCoOZF7+rv9RUh5pN5OgKumv9p24nWtGHNR1AHHDjB50Df9/1DVGhpe6aqf5DBhe
f+1rf/dgAhjFSzrj3lTgNuczkZcB9Xs6fktq1jRC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qbiiwK+53
sH2WlsfMz51lNZ1mQWyUe3CyoFE2hIkLvzZQliBSSAvckYc3vikeNbyGvu54kJ1ADY6GAgrt9mfM
YMYSuJEK+bXlFVDQ6Ao9Nse/NRhX8ApJ8abFhJveTljNYmlyghifHIoqLpRM5LGVKyB3SJiEmkFV
fl3Zm3Hdzh+svHzZdZmXV5/LMTSXPv4NMYIB8TCCAe0CAQEwXzBRMQswCQYDVQQGEwJVUzEfMB0G
A1UEChMWTUlUIExpbmNvbG4gTGFib3JhdG9yeTEMMAoGA1UECxMDUEtJMRMwEQYDVQQDEwpNSVRM
TCBDQS0zAgpMzyftAAAAAEHRMAsGCWCGSAFlAwQCAaBpMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0B
BwEwHAYJKoZIhvcNAQkFMQ8XDTE1MDcyMzEzNTgxOFowLwYJKoZIhvcNAQkEMSIEIFwL2fahreOX
0xAW+JTgUsrWxGOVYSxneeLOLrqy91RdMAsGCSqGSIb3DQEBCwSCAQAeBERe4C152Ty5rDwq2A3f
yjb8zjEyCGDuVWhxquHXCfRKs40er2rRoqKaM5fSILpkOz05728DDxRCd7t2a3IWXQ9KGPTTAqi0
/yO22J0v5jgtodkeVhN0bnsY+9QsvJxN4+fv7SbWM9NOI0Aj6q98Zb5pgp6gn4CEpfAvzep8k0wz
q6armnBlT5rlqWusNiop1aHUf7hOwQLOOktrrTqzcPkgDpwSeCFLogcqX7pmn3qVHvcDKqstGvzv
V81TWl7BGKfJZ/84smZMCgkZ5GDydJChDQGJg6tDNl5urYwuAqMK96ZZFnuCaHZ8932DRkc/c+f+
U0fRFlfTyMqwxHjDAAAAAAAA

--===============1756143129==--


From nobody Thu Jul 23 07:53:09 2015
Return-Path: <housley@vigilsec.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 568B21A8773 for <cfrg@ietfa.amsl.com>; Thu, 23 Jul 2015 07:53:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.9
X-Spam-Level: 
X-Spam-Status: No, score=-101.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, USER_IN_WHITELIST=-100] 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 YjhOEp2AgL88 for <cfrg@ietfa.amsl.com>; Thu, 23 Jul 2015 07:53:06 -0700 (PDT)
Received: from odin.smetech.net (x-bolt-wan.smeinc.net [209.135.219.146]) by ietfa.amsl.com (Postfix) with ESMTP id 7A45A1A8777 for <cfrg@irtf.org>; Thu, 23 Jul 2015 07:52:56 -0700 (PDT)
Received: from localhost (unknown [209.135.209.5]) by odin.smetech.net (Postfix) with ESMTP id 229E09A404F; Thu, 23 Jul 2015 10:52:46 -0400 (EDT)
X-Virus-Scanned: amavisd-new at smetech.net
Received: from odin.smetech.net ([209.135.209.4]) by localhost (ronin.smeinc.net [209.135.209.5]) (amavisd-new, port 10024) with ESMTP id c563RNHcX2re; Thu, 23 Jul 2015 10:51:27 -0400 (EDT)
Received: from [10.0.5.160] (unknown [62.168.35.125]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by odin.smetech.net (Postfix) with ESMTP id D726F9A4029; Thu, 23 Jul 2015 10:52:24 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1085)
Content-Type: text/plain; charset=us-ascii
From: Russ Housley <housley@vigilsec.com>
In-Reply-To: <55B0EDF9.8000000@azet.org>
Date: Thu, 23 Jul 2015 10:51:12 -0400
Content-Transfer-Encoding: quoted-printable
Message-Id: <2F97F398-55E7-4F8A-A76C-7AB1BF14EFD3@vigilsec.com>
References: <55AE1BB7.8070906@gmx.net> <55AF6E7E.5000300@gmx.net> <D1D5328F.737E3%paul@marvell.com> <55B0EDF9.8000000@azet.org>
To: Aaron Zauner <azet@azet.org>
X-Mailer: Apple Mail (2.1085)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/omHDo5YciqoIe-HqRG3nsRrZ0t0>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Short Authentication Tags in AES-128-CCM
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: <https://mailarchive.ietf.org/arch/browse/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: Thu, 23 Jul 2015 14:53:08 -0000

On Jul 23, 2015, at 9:36 AM, Aaron Zauner wrote:

> Paul Lambert wrote:
>> Another option that has been picked up by byte-senstive standards =
groups
>> is to use AES-SIV.  The IV and integrity check are combined saving =
overall
>> encapsulation size.  Also, AES-SIV has a significant advantage that =
it
>> does not require nonce/IV uniqueness.  Setup is simplified for a =
pair-wise
>> links.  Broadcast/multicast is viable without complex nonce =
coordination.
>>=20
>> AES-128-SIV is a much better option for small messages than tweaking
>> AES-128-CCM. =20
>>=20
>=20
> FYI: I've an individual draft on AES-OCB. Rogaway filed an IPR =
exemption
> today with IETF. OCB could be interesting for IoT stuff, but I guess =
CCM
> is already used with some IEEE protocols.
>=20
> https://datatracker.ietf.org/ipr/2640/
> https://datatracker.ietf.org/doc/draft-zauner-tls-aes-ocb/
>=20
> (A similar exemption is pending from IBM, they assured me it's coming
> though)

In the past, we have been told that Gligor (University of Maryland), =
Joux (IBM), and Rogaway all have patents that read on AES-OCB.  I have =
never heard anyone refute that.  So, it seems that two more IPR =
declarations are needed.

Russ


From nobody Thu Jul 23 08:04:09 2015
Return-Path: <dbrown@certicom.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 29F9D1A0007 for <cfrg@ietfa.amsl.com>; Thu, 23 Jul 2015 08:04:08 -0700 (PDT)
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 q5vuAdkybfVS for <cfrg@ietfa.amsl.com>; Thu, 23 Jul 2015 08:04:06 -0700 (PDT)
Received: from smtp-p01.blackberry.com (smtp-p01.blackberry.com [208.65.78.88]) by ietfa.amsl.com (Postfix) with ESMTP id 6C0531A0016 for <cfrg@irtf.org>; Thu, 23 Jul 2015 08:04:06 -0700 (PDT)
Received: from smtp-pop.rim.net (HELO XCT103CNC.rim.net) ([10.65.161.203]) by mhs211cnc.rim.net with ESMTP/TLS/AES128-SHA; 23 Jul 2015 11:04:05 -0400
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT103CNC.rim.net ([fe80::b8:d5e:26a5:f4d6%17]) with mapi id 14.03.0210.002; Thu, 23 Jul 2015 11:04:05 -0400
From: Dan Brown <dbrown@certicom.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: ECDSA_CFRG: retraction of a theorem
Thread-Index: AdDFWKph5pXq/irbS5iWT2xw9J/r3w==
Date: Thu, 23 Jul 2015 15:04:04 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5E18EBB@XMB116CNC.rim.net>
Accept-Language: en-CA, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [10.65.160.249]
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_0044_01D0C537.49582150"
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/sH7LEyIMsQbD2M3a_KECQ8cG4xw>
Subject: [Cfrg] ECDSA_CFRG: retraction of a theorem
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: <https://mailarchive.ietf.org/arch/browse/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: Thu, 23 Jul 2015 15:04:08 -0000

------=_NextPart_000_0044_01D0C537.49582150
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi CFRG,

I retract the 3rd theorem on slide 24 on my 2015 July 22 presentation on
ECDSA_CFRG.  

Consequently, if you believe that: 
(i) ECDSA and ECDSA_CFRG is severely forgeable (despite the aegis security
of ECDSA and the argued security of ECDSA and ECDSA_CFRG independent of
Schnorr) and 
(ii) Schnorr signatures are unforgeable even for some really weird hash
functions, 
then I have no argument against this combination of beliefs.  Although I
disagree with part (i), for the reasons above, I expect holders of these
beliefs to reject ECDSA_CFRG.

I request that the online version of the slides be amended to clearly
indicate that the theorem was claimed but subsequently retracted, to avoid
possible further confusion.  I had labeled this as Theorem (2015?) to
indicate it was new (2015) and vaguely questionable (?).  I suggest adding
the terms "subsequently retracted".

The defect in my attempted proof was the "contrived hash" mentioned in the
theorem was too contrived: it could only be computed using the private key.
As such, the result is nearly meaningless, because it is no longer correct
to call the resulting scheme a signature scheme: a signature scheme requires
public verification, and possibly worse, it might be circular reasoning.

I should have vetted this result more carefully before claiming it.  Sorry. 

Best regards,

Dan





------=_NextPart_000_0044_01D0C537.49582150
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIUoDCCBo8w
ggV3oAMCAQICClvwCZYABAA8faIwDQYJKoZIhvcNAQEFBQAwUDETMBEGCgmSJomT8ixkARkWA25l
dDETMBEGCgmSJomT8ixkARkWA3JpbTEkMCIGA1UEAxMbUklNIFN1Ym9yZGluYXRlIENBIE1DQTAz
WUtGMB4XDTE1MDQxMDIxMjgwNFoXDTE2MDQwMjAxMTEwNVowgaQxEzARBgoJkiaJk/IsZAEZFgNu
ZXQxEzARBgoJkiaJk/IsZAEZFgNyaW0xDTALBgNVBAsTBEFNRVIxCzAJBgNVBAsTAkNBMRQwEgYD
VQQLEwtNaXNzaXNzYXVnYTEOMAwGA1UECxMFVXNlcnMxEjAQBgNVBAMTCURhbiBCcm93bjEiMCAG
CSqGSIb3DQEJARYTZGJyb3duQGNlcnRpY29tLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkC
gYEAnqyPpiXJ8uIKCHaqpEmU2q/9KYQJi6yizaJruUGAoUstFzjV7XymMDqnaZqLR/QQoR3Qojm2
pjb3luP0P+37tro+PlKEgODyauhfaT78GLlJHq3GZxI6N27UHyYHWGFglAh6uCaHcGBitBZCyEFr
n+FDG5cYb89jhPuiZWu48ocCAwEAAaOCA5gwggOUMAsGA1UdDwQEAwIFoDBEBgkqhkiG9w0BCQ8E
NzA1MA4GCCqGSIb3DQMCAgIAgDAOBggqhkiG9w0DBAICAIAwBwYFKw4DAgcwCgYIKoZIhvcNAwcw
FwYJKwYBBAGCNxQCBAoeCABVAHMAZQByMCkGA1UdJQQiMCAGCisGAQQBgjcKAwQGCCsGAQUFBwME
BggrBgEFBQcDAjBBBgNVHREEOjA4oCEGCisGA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
hkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTE1MDcyMzE1MDQwM1owIwYJKoZIhvcNAQkEMRYEFNA+
pRNYTA7tLANGY5jXX22yptziMG0GCSsGAQQBgjcQBDFgMF4wUDETMBEGCgmSJomT8ixkARkWA25l
dDETMBEGCgmSJomT8ixkARkWA3JpbTEkMCIGA1UEAxMbUklNIFN1Ym9yZGluYXRlIENBIE1DQTAz
WUtGAgpb8AmWAAQAPH2iMG8GCyqGSIb3DQEJEAILMWCgXjBQMRMwEQYKCZImiZPyLGQBGRYDbmV0
MRMwEQYKCZImiZPyLGQBGRYDcmltMSQwIgYDVQQDExtSSU0gU3Vib3JkaW5hdGUgQ0EgTUNBMDNZ
S0YCClvwCZYABAA8faIwgasGCSqGSIb3DQEJDzGBnTCBmjALBglghkgBZQMEASowCwYJYIZIAWUD
BAEWMAoGCCqGSIb3DQMHMAsGCWCGSAFlAwQBAjAOBggqhkiG9w0DAgICAIAwBwYFKw4DAgcwDQYI
KoZIhvcNAwICAUAwDQYIKoZIhvcNAwICASgwBwYFKw4DAhowCwYJYIZIAWUDBAIDMAsGCWCGSAFl
AwQCAjALBglghkgBZQMEAgEwDQYJKoZIhvcNAQEBBQAEgYB3A6cH4zdvCKG715miKdxfi14JQkMy
OhBzP8UDSCI8Bvk5u2nhwMxY0NjCOz/NEPJf2TyYn9K1TcAr9jEk1K+eAq7YPvpQjc2tHy5NZXTY
qosbNzlUwpBUkrzJgEJwvaCrQM8iSSo6uURMPGsQHtFcHEMtpkSKhL2bgmsAOBlb4wAAAAAAAA==

------=_NextPart_000_0044_01D0C537.49582150--


From nobody Thu Jul 23 09:45:56 2015
Return-Path: <dbrown@certicom.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 46C741AD289 for <cfrg@ietfa.amsl.com>; Thu, 23 Jul 2015 09:45:54 -0700 (PDT)
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 891UQGHsK2kS for <cfrg@ietfa.amsl.com>; Thu, 23 Jul 2015 09:45:52 -0700 (PDT)
Received: from smtp-p02.blackberry.com (smtp-p02.blackberry.com [208.65.78.89]) by ietfa.amsl.com (Postfix) with ESMTP id F051D1AC3BB for <cfrg@irtf.org>; Thu, 23 Jul 2015 09:44:44 -0700 (PDT)
Received: from smtp-pop.rim.net (HELO XCT104CNC.rim.net) ([10.65.161.204]) by mhs215cnc.rim.net with ESMTP/TLS/AES128-SHA; 23 Jul 2015 12:44:41 -0400
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT104CNC.rim.net ([::1]) with mapi id 14.03.0210.002; Thu, 23 Jul 2015 12:44:40 -0400
From: Dan Brown <dbrown@certicom.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: Why hash verifier's key?
Thread-Index: AdDFYo63SjSg1sDHSDKi2hQ/xGCx3Q==
Date: Thu, 23 Jul 2015 16:44:39 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5E1904C@XMB116CNC.rim.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [10.65.160.249]
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_0000_01D0C545.572CE640"
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/XEmGK2oMSLVOe4_E_zbUnqxgCEk>
Subject: [Cfrg] Why hash verifier's key?
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: <https://mailarchive.ietf.org/arch/browse/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: Thu, 23 Jul 2015 16:45:54 -0000

------=_NextPart_000_0000_01D0C545.572CE640
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Dear EC signature proposers,

Three of the five submissions hash the verifier's public key, as done in
EdDSA.

The original EdDSA article justifies this step: "the use of A is an
inexpensive way to alleviate the concerns that several public keys could be
attacked simultaneously".

Could one the EdDSA proposers more formally expand on what these "concerns"
might be?  

In case it helps, I will expand on one theoretical concern.  In slide 8 of
my IETF 93 presentation on ECDSA_CFRG, I refer to a hypothetical hash
deletion.  A hash deletion would indeed mean that "several public keys could
be attacked simultaneously".  

In the notation I used on that slide, my Q is EdDSA's A, and if Q had to be
hashed too, then M' would have to begin with Q.  This would force a
hypothetical attacker to find one M' for each target public key Q, which
might well be more difficult.

Of course, that's just one peculiar possibility: perhaps the concerns
alluded to in the EdDSA paper address something more worrisome.

Does inclusion of the verifier's public key in the hash precludes derivation
of the verifier's public key from the signature?

If so, then that might be viewed as a weak form of anonymity, and thus a
slight security bonus.  On the other hand, being able to recover the public
key from a signature might have some other advantages.  For example, one
could compress certificate chain by omitting the issuer's public keys.

Finally, when was inclusion of the verifier's public key in the signature
hash first proposed?

Best regards,

Daniel Brown


------=_NextPart_000_0000_01D0C545.572CE640
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCS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mSJomT8ixkARkWA3JpbTEkMCIGA1UEAxMbUklNIFN1Ym9yZGluYXRlIENBIE1DQTAz
WUtGAgpb8AmWAAQAPH2iMG8GCyqGSIb3DQEJEAILMWCgXjBQMRMwEQYKCZImiZPyLGQBGRYDbmV0
MRMwEQYKCZImiZPyLGQBGRYDcmltMSQwIgYDVQQDExtSSU0gU3Vib3JkaW5hdGUgQ0EgTUNBMDNZ
S0YCClvwCZYABAA8faIwgasGCSqGSIb3DQEJDzGBnTCBmjALBglghkgBZQMEASowCwYJYIZIAWUD
BAEWMAoGCCqGSIb3DQMHMAsGCWCGSAFlAwQBAjAOBggqhkiG9w0DAgICAIAwBwYFKw4DAgcwDQYI
KoZIhvcNAwICAUAwDQYIKoZIhvcNAwICASgwBwYFKw4DAhowCwYJYIZIAWUDBAIDMAsGCWCGSAFl
AwQCAjALBglghkgBZQMEAgEwDQYJKoZIhvcNAQEBBQAEgYBpXHwSTjMVxDWSCMPCWpBjS9ZvYGYI
ywr2XgkRoeosUYppCEx7wFwv6+XD4Pd08xRBS7COT28Qxidf7QyC4P63u+KeEWP00r9tWu+5AMFd
sgE0fv/novp3vwARFOj+YUfIvPU8+jaKeTuwbMLclJLVdJnu/5Ev2A7FFjAE+RSgBAAAAAAAAA==

------=_NextPart_000_0000_01D0C545.572CE640--


From nobody Thu Jul 23 10:35:58 2015
Return-Path: <john.mattsson@ericsson.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 CE1F31A8973 for <cfrg@ietfa.amsl.com>; Thu, 23 Jul 2015 10:35:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.201
X-Spam-Level: 
X-Spam-Status: No, score=-4.201 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, 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 YIEfckexC_QP for <cfrg@ietfa.amsl.com>; Thu, 23 Jul 2015 10:35:55 -0700 (PDT)
Received: from sessmg23.ericsson.net (sessmg23.ericsson.net [193.180.251.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4AB131A89FE for <cfrg@irtf.org>; Thu, 23 Jul 2015 10:35:50 -0700 (PDT)
X-AuditID: c1b4fb2d-f79176d00000321c-17-55b125f4602e
Received: from ESESSHC007.ericsson.se (Unknown_Domain [153.88.253.124]) by sessmg23.ericsson.net (Symantec Mail Security) with SMTP id 39.A4.12828.4F521B55; Thu, 23 Jul 2015 19:35:48 +0200 (CEST)
Received: from ESESSMB307.ericsson.se ([169.254.7.7]) by ESESSHC007.ericsson.se ([153.88.183.39]) with mapi id 14.03.0210.002; Thu, 23 Jul 2015 19:35:48 +0200
From: John Mattsson <john.mattsson@ericsson.com>
To: Hannes Tschofenig <hannes.tschofenig@gmx.net>, "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [Cfrg] Short Authentication Tags in AES-128-CCM
Thread-Index: AQHQxGgepvgFaguHDUiqOm+Elv69jZ3pUzSA
Date: Thu, 23 Jul 2015 17:35:47 +0000
Message-ID: <D1D6F1D9.3967B%john.mattsson@ericsson.com>
References: <55AE1BB7.8070906@gmx.net> <55AF6E7E.5000300@gmx.net>
In-Reply-To: <55AF6E7E.5000300@gmx.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.5.1.150515
x-originating-ip: [153.88.183.150]
Content-Type: multipart/mixed; boundary="_002_D1D6F1D93967Bjohnmattssonericssoncom_"
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrKIsWRmVeSWpSXmKPExsUyM+Jvje4X1Y2hBmdmqVp0/zjIZLF05z1W ByaPxZv2s3lM3niYLYApissmJTUnsyy1SN8ugSujZ+FK9oIbLhWvN/5ga2A849TFyMkhIWAi 8fnnTUYIW0ziwr31bF2MXBxCAkcZJU5eaGSHcBYxSjzf1sYCUsUmYCAxd08DG4gtIhAi8ePJ NmYQW1jARuLO5N9MEHFbieOfF7JA2EYSD7/vYAWxWQRUJT4dbgWL8wqYS3y8cAjMFhJwlHj/ 8hjYTE4BdYk9i0+BxRmBLvp+ag3YTGYBcYlbT+YzQVwqIvHw4mk2CFtU4uXjf2DzRQX0JKZf hLhHQkBJYsX2S4wQvWESx89uYYLYKyhxcuYTlgmMorOQjJ2FpGwWkrJZjBxAcU2J9bv0IUqs JV4fvsQCYStKTOl+yA5hG0r8PzOLGaJcQWLlHqByLiBzBaPE9MsNLDC9b09/YULWu4CRexWj aHFqcXFuupGxXmpRZnJxcX6eXl5qySZGYDwf3PJbdwfj6teOhxgFOBiVeHgfNG0IFWJNLCuu zD3EKM3BoiTOO2NzXqiQQHpiSWp2ampBalF8UWlOavEhRiYOTqkGxpqC+po5kzkijlWoFUxp P2Fb1b5/Xe2z7L4HwS23XheIh2S+Tf2X6hJ2VPLKgS+vTv2uudUYFxRzer6NwJOgmLmhjUG1 dy7zLPCdsO2k1f1ITb2aG2r7WG6fbO74H2pY33Zb9cXDYK6E7MivHX5yKndn+KzZ9mzSh/kH HwRpmltkCZz8wnLhrxJLcUaioRZzUXEiAON6Z0zIAgAA
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/wCnkXDwzBFx9T4THJ2Q1loViySM>
Subject: Re: [Cfrg] Short Authentication Tags in AES-128-CCM
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: <https://mailarchive.ietf.org/arch/browse/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: Thu, 23 Jul 2015 17:35:57 -0000

--_002_D1D6F1D93967Bjohnmattssonericssoncom_
Content-Type: text/plain; charset="utf-8"
Content-ID: <23C39CED517AE14EAC681FD5E28364C7@ericsson.com>
Content-Transfer-Encoding: base64

SGksDQoNCiANCkF2dGNvcmUvSUVTRyBkZWNpZGVkIHRvIG5vdCBzdGFuZGFyZGl6ZSBDQ01fOCBh
bmQgR0NNXzgsIGJ1dCBmb3IgZGlmZmVyZW50DQpyZWFzb25zLiBDQ00gKGFsbCB0YWcgbGVuZ3Ro
cykgd2FzIHJlbW92ZWQgYXMgU3RlcGhlbiB3YW50ZWQgdG8gbGltaXQgdGhlDQpudW1iZXIgb2Yg
YWxnb3JpdGhtcywgYW5kIG5vYm9keSBleHByZXNzZWQgYW55IGltbWluZW50IHBsYW5zIHRvIGlt
cGxlbWVudA0KU1JUUCB3aXRoIENDTS4gR0NNXzggd2FzIHJlbW92ZWQgYmVjYXVzZSBvZiB0aGUg
dGhlb3JldGljYWwgd2Vha25lc3Nlcw0Kd2l0aCBHQ00gYW5kIHNob3J0IHRhZ3MgKHN1bW1hcml6
ZWQgaW4gaHR0cHM6Ly9lcHJpbnQuaWFjci5vcmcvMjAxNS80NzcpDQphbmQgdGhlaXIgYXBwbGlj
YWJpbGl0eSB0byBTUlRQDQooaHR0cHM6Ly9tYWlsYXJjaGl2ZS5pZXRmLm9yZy9hcmNoL21zZy9h
dnQvY0tIbWZhaTJTSVNkN2l0TF9ObGdYUkpVUG93KS4NCiANCg0KSSBhbSBub3QgYXdhcmUgb2Yg
YW55IHdlYWtuZXNzZXMgd2l0aCBDQ01fOCB0aGF0IGRlcGVuZHMgb24gdGhlIHRhZw0KbGVuZ3Ro
LCBleGNlcHQgdG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EhlIG1vdGl2YXRlcyBoaXMgc3VnZ2Vz
dGlvbiBiYXNlZCBvbiB0aGUgZGVjaXNpb24gb2YgdGhlIFNSVFANCj5ndXlzIHRvIG1vdmUgYXdh
eSBmcm9tIHNob3J0IGF1dGhlbnRpY2F0aW9uIHRhZ3MgdXNlZCB3aXRoIEFFUy1HQ00tMTI4Lg0K
Pk9mIGNvdXJzZSwgQUVTLUNDTSBhbmQgQUVTLUdDTSBhcmUgZGlmZmVyZW50IGFuZCBhdHRhY2tz
IGFnYWluc3QgQUVTLUdDTQ0KPndpdGggc2hvcnQgYXV0aGVudGljYXRpb24gdGFncyBoYXZlIGJl
ZW4gcHVibGlzaGVkLg0KPg0KPk15IHF1ZXN0aW9uIHRvIHRoaXMgZ3JvdXAgaXM6DQo+DQo+ICog
QXJlIHlvdSBhd2FyZSBvZiBhdHRhY2tzIGFnYWluc3QgdGhlIEFFUy0xMjgtQ0NNLTg/DQo+ICog
QXJlIHRoZXJlIGNvbmNlcm5zIHdpdGggdGhlIHVzZSBvZiBzaG9ydCBhdXRoZW50aWNhdGlvbiB0
YWdzLCBhcyB3ZQ0KPnJlY29tbWVuZCBmb3IgdGhlIElvVCBjb250ZXh0PyAoTmVlZGxlc3MgdG8g
c2F5IHRoYXQgdGhlcmUgaXMgYSB0cmFkZW9mZg0KPmJldHdlZW4gcmVrZXlpbmcgYW5kIHRoZSBu
dW1iZXIgb2YgYml0cyB0aGUgdGFnIGhhcy4pDQo+DQo+Q2lhbw0KPkhhbm5lcw0KPg0KPg0KDQo=

--_002_D1D6F1D93967Bjohnmattssonericssoncom_
Content-Type: application/xml; name="default.xml"
Content-Description: default.xml
Content-Disposition: attachment; filename="default.xml"; size=3222;
	creation-date="Thu, 23 Jul 2015 17:35:47 GMT";
	modification-date="Thu, 23 Jul 2015 17:35:47 GMT"
Content-ID: <26510F386011AE4D94B37EA8BE0E233F@ericsson.com>
Content-Transfer-Encoding: base64

UEsDBBQABgAIAAAAIQCb6HBP/AAAABwCA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IwsAAAAA

--_002_D1D6F1D93967Bjohnmattssonericssoncom_--


From nobody Thu Jul 23 11:09:03 2015
Return-Path: <mike@shiftleft.org>
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 B71781B2A84 for <cfrg@ietfa.amsl.com>; Thu, 23 Jul 2015 11:08:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.555
X-Spam-Level: *
X-Spam-Status: No, score=1.555 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FH_HOST_EQ_D_D_D_D=0.765, FH_HOST_EQ_D_D_D_DB=0.888, HELO_MISMATCH_ORG=0.611, HOST_MISMATCH_NET=0.311, RDNS_DYNAMIC=0.982, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] 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 yn52H15mQzBn for <cfrg@ietfa.amsl.com>; Thu, 23 Jul 2015 11:08:58 -0700 (PDT)
Received: from aspartame.shiftleft.org (199-116-74-168-v301.PUBLIC.monkeybrains.net [199.116.74.168]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6CC5A1B2A8E for <cfrg@irtf.org>; Thu, 23 Jul 2015 11:08:42 -0700 (PDT)
Received: from [10.184.148.249] (unknown [209.36.6.242]) by aspartame.shiftleft.org (Postfix) with ESMTPSA id 86A26F210A; Thu, 23 Jul 2015 11:03:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=shiftleft.org; s=sldo; t=1437674616; bh=ss6jak1a2aYNirqq5qC/54vpIvCg56VE2R111fq3Nqs=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=NJOQDGhxKThbzuNOqWNbzfgxJzDGWk0zAf6wHCQ8htzZb1nVyBi+LMIYuCUTMRT1e 5RdYN+VVtlZxpMdjI6z1AzaMYoepQkZWpOykxLLuJIOxLBzudJ1KYfjtU0tqIohI9q O6+k1AZPxNdDOvnCBMuWzNRofWupzgS8QYaL4MEM=
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
From: Michael Hamburg <mike@shiftleft.org>
In-Reply-To: <810C31990B57ED40B2062BA10D43FBF5E1904C@XMB116CNC.rim.net>
Date: Thu, 23 Jul 2015 11:08:40 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <4DA73E58-1CE3-44D5-8C85-A6391D80E1AA@shiftleft.org>
References: <810C31990B57ED40B2062BA10D43FBF5E1904C@XMB116CNC.rim.net>
To: Dan Brown <dbrown@certicom.com>
X-Mailer: Apple Mail (2.2102)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/OJ4pKiNT-LPV3riROA0B2wg9yyg>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Why hash verifier's key?
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: <https://mailarchive.ietf.org/arch/browse/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: Thu, 23 Jul 2015 18:08:59 -0000

Hm.  Public key recovery is incompatible with short Schnorr, but it =
could
be done with EdDSA-style Schnorr if you dropped the verifier=E2=80=99s =
key hash.

You could even explicitly design for recovery by making the response
challenge*ephemeral + secret instead of challenge*secret + ephemeral.
That would allow recovery without implementing inversion. But for =
ordinary
verifications that would require decompressing the ephemeral and so
increase the attack surface if your library has bugs.  It would also =
make
precomputation on the public key less effective.  Overall, I think this =
is
probably going too far unless you=E2=80=99re in an embedded environment =
and
need the space savings, but it=E2=80=99s a thought.

Cheers,
=E2=80=94 Mike

> On Jul 23, 2015, at 9:44 AM, Dan Brown <dbrown@certicom.com> wrote:
>=20
> Dear EC signature proposers,
>=20
> Three of the five submissions hash the verifier's public key, as done =
in
> EdDSA.
>=20
> The original EdDSA article justifies this step: "the use of A is an
> inexpensive way to alleviate the concerns that several public keys =
could be
> attacked simultaneously".
>=20
> Could one the EdDSA proposers more formally expand on what these =
"concerns"
> might be? =20
>=20
> In case it helps, I will expand on one theoretical concern.  In slide =
8 of
> my IETF 93 presentation on ECDSA_CFRG, I refer to a hypothetical hash
> deletion.  A hash deletion would indeed mean that "several public keys =
could
> be attacked simultaneously". =20
>=20
> In the notation I used on that slide, my Q is EdDSA's A, and if Q had =
to be
> hashed too, then M' would have to begin with Q.  This would force a
> hypothetical attacker to find one M' for each target public key Q, =
which
> might well be more difficult.
>=20
> Of course, that's just one peculiar possibility: perhaps the concerns
> alluded to in the EdDSA paper address something more worrisome.
>=20
> Does inclusion of the verifier's public key in the hash precludes =
derivation
> of the verifier's public key from the signature?
>=20
> If so, then that might be viewed as a weak form of anonymity, and thus =
a
> slight security bonus.  On the other hand, being able to recover the =
public
> key from a signature might have some other advantages.  For example, =
one
> could compress certificate chain by omitting the issuer's public keys.
>=20
> Finally, when was inclusion of the verifier's public key in the =
signature
> hash first proposed?
>=20
> Best regards,
>=20
> Daniel Brown
>=20
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg


From nobody Thu Jul 23 13:00:18 2015
Return-Path: <dbrown@certicom.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 029C41A87C9 for <cfrg@ietfa.amsl.com>; Thu, 23 Jul 2015 13:00:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  J_CHICKENPOX_14=0.6, 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 vxV7e6qd8wG0 for <cfrg@ietfa.amsl.com>; Thu, 23 Jul 2015 13:00:14 -0700 (PDT)
Received: from smtp-p01.blackberry.com (smtp-p01.blackberry.com [208.65.78.88]) by ietfa.amsl.com (Postfix) with ESMTP id AA0E51A8912 for <cfrg@irtf.org>; Thu, 23 Jul 2015 12:59:35 -0700 (PDT)
Received: from xct101cnc.rim.net ([10.65.161.201]) by mhs211cnc.rim.net with ESMTP/TLS/AES128-SHA; 23 Jul 2015 15:59:34 -0400
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT101CNC.rim.net ([fe80::9c22:d9c:c906:c488%16]) with mapi id 14.03.0210.002; Thu, 23 Jul 2015 15:59:34 -0400
From: Dan Brown <dbrown@certicom.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: EdDSA signer's PRF conservative enough, or as possible?
Thread-Index: AdDFgU90kJ51s2BAQLma3xVE/pZ7lA==
Date: Thu, 23 Jul 2015 19:59:33 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5E1928C@XMB116CNC.rim.net>
Accept-Language: en-CA, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [10.65.160.249]
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_0009_01D0C560.9102DA80"
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/ixStuT0UeNE2i8Fsn0J7OEMNd50>
Subject: [Cfrg] EdDSA signer's PRF conservative enough, or as possible?
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: <https://mailarchive.ietf.org/arch/browse/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: Thu, 23 Jul 2015 20:00:17 -0000

------=_NextPart_000_0009_01D0C560.9102DA80
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Dear CFRG,

The generalized EdDSA proposal can be viewed as defining the following PRF
function r:

 r(seed,M) = (H(seed || M) mod l)

where || is concatenation and l is the base point order.  The function H
seems to depend on the curve, but is generally a 2b-bit hash where l has b
bits (or slightly fewer).  Further, H is based on SHA-512, perhaps by
truncating and concatenating multiple SHA-512 outputs.

Intuitively, this function r(.,.) is a good PRF, even though technically
H(seed || M) is not a good PRF.  

I say H alone is not a good PRF because it is subject to extension attacks.
Given h = H(seed | M) but not seed, I may be able to compute h' = H( seed |
M | N) for some choices of N. If this H-based construction were a PRF, then
I should not be able to extend it without the seed.  Even if the outputs of
H are kept secret (as ephemeral private keys would be), I could generated a
known (but non-linear) relation between the secrets.

As far as I can tell, the mod l reduction prevents such extension attacks.
So, that's why I say it is intuitive that the r function ought to be a good
PRF.

Q1) Is there some kind of formal argument why the mod l reduction can
elevate a non-PRF into a PRF?

Of course, it is not strictly necessary for the nonces r (ephemeral private
keys) be generated by a PRF, but it is a conservative choice, given that
linear known relations between different r values can expose s, the log of
the verifier's public key, which suffices to be able to forge signatures
(despite not being called the secret key).

In other words, even if EdDSA had instead used a non-PRF for r, such one in
which H was SHA-256 for Curve25519, known non-linear relations between
different r that an adversary could create by using hash extensions, are not
known to expose s.  That would be intuitively fine, but even less
conservative.

Q2) Why not tweak the PRF design to make it more conservative?  

In other words, instead of relying on the non-linearity of extension-based
known relations, and the effect of the mod l reduction on improving the PRF
quality, why not start (before mod l reduction) with a PRF something that is
free of extensions, and also a widely trusted good PRF (with "aegis")?

Other features of EdDSA aim to be conservative to address concerns. For
example, (i) hashing the verifier's public key to address potential
multi-user attacks, and (ii) using 2b bits for the ephemeral, instead of
3b/2 bits. So why be less conservative with the pre-reduction PRF for r?  

Maybe the answer is that the EdDSA PRF function for r is just simpler than
alternatives, and thereby less prone to implementation fault. If so, then,
yes, it can indeed be viewed as a conservative design.

Anyway, the concerns above partly explain why I proposed using HMAC or SHAKE
for this task in ECDSA_CFRG, because at least they are free of known
extension attacks.  Furthermore, they are believed to be good PRFs before
mod l reduction.  (Actually, I'm not 100% sure about SHAKE: it only promises
to be an extendable-output hash.  Maybe sponge designers also promise a good
PRF?)  Perhaps, using HMAC or SHAKE here is just too complicated: and likely
to lead to implementation faults.  If so, then maybe a simpler,
non-extendable, pre-reduction function could be used, like this:

 r(seed,M) = (H(seed||M||seed) mod l).

I think that construction has been called "sandwich" in other contexts. I
recall there being some good reason for not using it in HMAC, though I do
not know if that reason would carry over to ephemeral key generation.
Nevertheless, maybe the simplicity of the sandwich construction plus its
lack of extension attacks combine to be a suitably conservative PRF here
(again, all presuming HMAC or SHAKE are for some reason not simple enough).

Best regards,

Daniel Brown



------=_NextPart_000_0009_01D0C560.9102DA80
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIUoDCCBo8w
ggV3oAMCAQICClvwCZYABAA8faIwDQYJKoZIhvcNAQEFBQ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pb8AmWAAQAPH2iMG8GCyqGSIb3DQEJEAILMWCgXjBQMRMwEQYKCZImiZPyLGQBGRYDbmV0
MRMwEQYKCZImiZPyLGQBGRYDcmltMSQwIgYDVQQDExtSSU0gU3Vib3JkaW5hdGUgQ0EgTUNBMDNZ
S0YCClvwCZYABAA8faIwgasGCSqGSIb3DQEJDzGBnTCBmjALBglghkgBZQMEASowCwYJYIZIAWUD
BAEWMAoGCCqGSIb3DQMHMAsGCWCGSAFlAwQBAjAOBggqhkiG9w0DAgICAIAwBwYFKw4DAgcwDQYI
KoZIhvcNAwICAUAwDQYIKoZIhvcNAwICASgwBwYFKw4DAhowCwYJYIZIAWUDBAIDMAsGCWCGSAFl
AwQCAjALBglghkgBZQMEAgEwDQYJKoZIhvcNAQEBBQAEgYB7SOWIAnhW2Gk6EQSIBeYdOLuAWnL+
S0tRQp8rVVApnCHGS/DBKVgh29ALPN61762NsstmiMYLkuQa9yQ9ldcUjkEExaU5xlTg4Fmpcnex
Py6g1r6uWh9xSURS3oSrsMXvpihnz83L6tnUZUAg5lUM5fMKX/KfVrtVdGlV+CBF8gAAAAAAAA==

------=_NextPart_000_0009_01D0C560.9102DA80--


From nobody Thu Jul 23 13:15:17 2015
Return-Path: <mike@shiftleft.org>
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 B89B81A8952 for <cfrg@ietfa.amsl.com>; Thu, 23 Jul 2015 13:15:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 3.455
X-Spam-Level: ***
X-Spam-Status: No, score=3.455 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FH_HOST_EQ_D_D_D_D=0.765, FH_HOST_EQ_D_D_D_DB=0.888, HELO_MISMATCH_ORG=0.611, HOST_MISMATCH_NET=0.311, HTML_MESSAGE=0.001, RDNS_DYNAMIC=0.982, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] 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 eTxt0Iv5e7Uz for <cfrg@ietfa.amsl.com>; Thu, 23 Jul 2015 13:15:14 -0700 (PDT)
Received: from aspartame.shiftleft.org (199-116-74-168-v301.PUBLIC.monkeybrains.net [199.116.74.168]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 42DD31A1B22 for <cfrg@irtf.org>; Thu, 23 Jul 2015 13:15:14 -0700 (PDT)
Received: from [10.184.148.249] (unknown [209.36.6.242]) by aspartame.shiftleft.org (Postfix) with ESMTPSA id E8F87F210A for <cfrg@irtf.org>; Thu, 23 Jul 2015 13:10:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=shiftleft.org; s=sldo; t=1437682209; bh=fKLxhgon6CmX45g9kJQ4tR8Dt23ieImvFfQQ364BNGs=; h=From:Subject:Date:References:To:In-Reply-To:From; b=b9MYiBW3/9AsD8fwZvFTOTWM0eXcJntkMOQywQy/M0Y6gK8zdnmvascLrLl9BxIkl KYcI8hKvCFBl1plI0De0imDmk7Tm2wdxSLdOLY87b37HubQReH+7oDE4C4gvoFMk/S ii11ZqrJE4jKrBMqn6XLoRw+L++co4Ym6YFfGVa0=
From: Michael Hamburg <mike@shiftleft.org>
Content-Type: multipart/alternative; boundary="Apple-Mail=_8C6856DA-24DA-487E-BB5A-19A78442A298"
Message-Id: <B089DE1B-0B06-465E-8029-F23A8636B7D8@shiftleft.org>
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
Date: Thu, 23 Jul 2015 13:15:14 -0700
References: <9A043F3CF02CD34C8E74AC1594475C73AB06B5CB@uxcn10-tdc05.UoA.auckland.ac.nz>
To: IRTF Crypto Forum Research Group <cfrg@irtf.org>
In-Reply-To: <9A043F3CF02CD34C8E74AC1594475C73AB06B5CB@uxcn10-tdc05.UoA.auckland.ac.nz>
X-Mailer: Apple Mail (2.2102)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/O9AwqqQz3HKcMCItr4ahuAQ98OQ>
Subject: Re: [Cfrg] [TLS] A la carte handshake negotiation
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: <https://mailarchive.ietf.org/arch/browse/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: Thu, 23 Jul 2015 20:15:16 -0000

--Apple-Mail=_8C6856DA-24DA-487E-BB5A-19A78442A298
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8


> On Jul 22, 2015, at 7:50 PM, Peter Gutmann <pgut001@cs.auckland.ac.nz =
<mailto:pgut001@cs.auckland.ac.nz>> wrote:
>=20
> Kyle Rose <krose@krose.org <mailto:krose@krose.org>> writes:
>=20
>> In that case, we should dispense with any larger key sizes and =
recommend
>> exactly one per algorithm, and vary only on algorithm. Adopting this =
would
>> simplify things even further by reducing the cipher set list by an =
order of
>> magnitude.
>=20
> Yup.
>=20
>> Sadly, I'm guessing there are numerological requirements in various =
standards
>> and regulations that make it necessary to keep both AES-128 and =
AES-256
>> around, for example. There are also a ton of existing 2048-bit RSA =
keys that
>> aren't going anywhere for a while.
>=20
> You could just say "anything over 1536 bits, 1536 or 2048 =
recommended", which
> would deal with both.
>=20
>> I'm also skeptical of statements like "Using any known technology =
it's
>> unlikely that humans can ever get beyond about 2^^100 operations", =
because
>> that's true exactly up until it isn't.
>=20
> Right, but if you're going to use that argument then AES is breakable =
until it
> isn't, you can't find SHA-256 collisions until you can, quantum crypto =
can be
> broken by whoever you're afraid of, and so on.

But I think that=E2=80=99s his point.  That=E2=80=99s why SHA-512 and =
AES-256 exist, not to mention
ChaCha and Camellia and GOST, and why several groups are looking at
post-quantum signatures and key exchange.  That=E2=80=99s why some users =
will want to
use them, and why it=E2=80=99s reasonable for TLS to support them in =
cipher suites.
Requiring the minimal secure crypto will be seen as dangerous, =
especially because=20
computers are pretty fast and using a stronger cipher doesn=E2=80=99t =
cost very much.

Personally, I don=E2=80=99t think matching exact cipher strength levels =
always makes sense.
Going from AES-128 to AES-256 gives a 40% slowdown in the fastest, most
hardware-accelerated part of the system, but going from the matching =
RSA-3072
to RSA-15360 gives probably a 60x slowdown in the slowest part.  But =
having
ciphersuites which are balanced in terms of =E2=80=9Cdo extra effort, =
get an extra hedge
against a breakthrough=E2=80=9D makes sense.

> One thing we've become pretty good at doing is taking current progress =
on
> breaking crypto and mapping out what'll happen in the future, to the =
point
> where there have been zero sudden breaks of properly-designed =
algorithms (DES,
> AES, IDEA, SHA, RSA, DH, and so on), ever.  In every case we've been =
able to
> see, from a long way off, what's in store.

I don=E2=80=99t agree.  While MD5 and small-characteristic discrete log =
were considered
somewhat sketchy before they were broken, they were both considered =
acceptable
right up until they were broken wide open.

Consider discrete log in particular.  Numbers below are from
https://www1.lip6.fr/~pierrot/papers/DLogSurvey.pdf =
<https://www1.lip6.fr/~pierrot/papers/DLogSurvey.pdf>

As of 2011, the record for discrete logs in prime fields was 530 bits, =
set in 2007
using 20k CPU hours.  For tiny-char it was 613 bits, set in 2005 using =
26k CPU
hours.  For medium characteristic it was 556 bits, set in 2005 with only =
200 CPU
hours.  For comparison, RSA-768 was factored in 2009, but using ~17M =
core
hours.  No major progress had been made on tiny-characteristic since the
function field sieve in 1999, though Joux had made advances for small- =
and
medium-characteristic in 2006.  Tiny-characteristic discrete log systems =
are
considered questionable for general use, but acceptable for pairings, =
and are
about as popular as BN curves.

As of 2014, the attacks on tiny-char are quasipolynomial time, and =
9234-bit
discrete log has been broken.  Perhaps more relevantly, a 1303-bit =
pairing
group (3^(6*137)) was broken in sub-1k CPU hours.

Or perhaps algorithms which got suddenly broken were not =E2=80=9Cproperly=
 designed=E2=80=9D
in the first place.  For the record, do you think binary elliptic curves =
have
acceptable security properties?  Would it be =E2=80=9Cproper design=E2=80=9D=
 to use them today,
eg in a hardware product where the acceleration matters?  Are the =
attacks on
them more or less realistic than XSL attacks on AES?  If binary curves =
are not
acceptable, then what about endomorphisms, or hyperelliptic curves / =
Kummer
surfaces?  Hindsight is 20/20.

> And to see what's in store for PKCs, you can't use the computers used =
by
> mathematicians/numerologists, which all have infinite amounts of
> zero-cycle-time memory, but the ones that actually exist in the real =
world.
> For a 1024-bit RSA key that's around 40 terabytes of memory for the =
final
> step, and a 1280-bit key would require roughly a petabyte of RAM, all =
in a
> single machine or a single-machine equivalent (a standard distributed =
cluster
> won't work because of interconnect latency problems).  So you'd need =
to
> dedicate the entire Tianhe-2 to breaking a single 1280-bit key (I =
don't know
> how its memory architecture will affect performance, I just chose the =
world's
> most powerful supercomputer because that happens to be barely enough =
to attack
> a 1280-bit key, so I'm not sure how many years of time you'd need).

And then a small improvement to factorization and a small improvement to =
computer
design, and we=E2=80=99ll realize that actually you can break a million =
such keys in a batch in
6 months.  Then we=E2=80=99ll wonder how long China and NSA and whoever =
else have
known this, and how long they=E2=80=99ve been exploiting it.

> Or you could just backdoor the server, which is what'll actually =
happen to
> anyone who wants to get in.  Heck, just the interest on the power bill =
for the
> Tianhe-2 (if you assume the computer itself comes for free) would be =
enough to
> bribe most of the maintenance staff to plug in a trojan USB key for a =
minute
> or two while they're cleaning.

See LOGJAM, where the authors conclude that it=E2=80=99s reasonable to =
believe that NSA
can use precomputation to break 1024-bit finite field discrete log, and =
that they may
have been doing it for years.  Instead of or in addition to compromising =
servers and
backdooring RNGs.

Or maybe they haven=E2=80=99t, who knows?  But some conservatism is =
warranted here.

Cheers,
=E2=80=94 Mike

> And if you really are concerned about China secretly building a second
> Tianhe-2 and using it to attack your mail server, just change your key =
once a
> year and you're OK.
>=20
> Peter.



--Apple-Mail=_8C6856DA-24DA-487E-BB5A-19A78442A298
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D""><br class=3D""><div class=3D""><blockquote type=3D"cite" =
class=3D""><div class=3D"">On Jul 22, 2015, at 7:50 PM, Peter Gutmann =
&lt;<a href=3D"mailto:pgut001@cs.auckland.ac.nz" =
class=3D"">pgut001@cs.auckland.ac.nz</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D"">Kyle Rose &lt;<a =
href=3D"mailto:krose@krose.org" class=3D"">krose@krose.org</a>&gt; =
writes:<br class=3D""><br class=3D""><blockquote type=3D"cite" =
class=3D"">In that case, we should dispense with any larger key sizes =
and recommend<br class=3D"">exactly one per algorithm, and vary only on =
algorithm. Adopting this would<br class=3D"">simplify things even =
further by reducing the cipher set list by an order of<br =
class=3D"">magnitude.<br class=3D""></blockquote><br class=3D"">Yup.<br =
class=3D""><br class=3D""><blockquote type=3D"cite" class=3D"">Sadly, =
I'm guessing there are numerological requirements in various =
standards<br class=3D"">and regulations that make it necessary to keep =
both AES-128 and AES-256<br class=3D"">around, for example. There are =
also a ton of existing 2048-bit RSA keys that<br class=3D"">aren't going =
anywhere for a while.<br class=3D""></blockquote><br class=3D"">You =
could just say "anything over 1536 bits, 1536 or 2048 recommended", =
which<br class=3D"">would deal with both.<br class=3D""><br =
class=3D""><blockquote type=3D"cite" class=3D"">I'm also skeptical of =
statements like "Using any known technology it's<br class=3D"">unlikely =
that humans can ever get beyond about 2^^100 operations", because<br =
class=3D"">that's true exactly up until it isn't.<br =
class=3D""></blockquote><br class=3D"">Right, but if you're going to use =
that argument then AES is breakable until it<br class=3D"">isn't, you =
can't find SHA-256 collisions until you can, quantum crypto can be<br =
class=3D"">broken by whoever you're afraid of, and so on.<br =
class=3D""></div></blockquote><div class=3D""><br class=3D""></div><div =
class=3D"">But I think that=E2=80=99s his point. &nbsp;That=E2=80=99s =
why SHA-512 and AES-256 exist, not to mention</div><div class=3D"">ChaCha =
and Camellia and GOST, and why several groups are looking at</div><div =
class=3D"">post-quantum signatures and key exchange. &nbsp;That=E2=80=99s =
why some users will want to</div><div class=3D"">use them, and why =
it=E2=80=99s reasonable for TLS to support them in cipher =
suites.</div><div class=3D"">Requiring the minimal secure crypto will be =
seen as dangerous, especially because&nbsp;</div><div class=3D"">computers=
 are pretty fast and using a stronger cipher doesn=E2=80=99t cost very =
much.</div><div class=3D""><br class=3D""></div><div =
class=3D"">Personally, I don=E2=80=99t think matching exact cipher =
strength levels always makes sense.</div><div class=3D"">Going from =
AES-128 to AES-256 gives a 40% slowdown in the fastest, most</div><div =
class=3D"">hardware-accelerated part of the system, but going from the =
matching RSA-3072</div><div class=3D"">to RSA-15360 gives probably a 60x =
slowdown in the slowest part. &nbsp;But having</div><div =
class=3D"">ciphersuites which are balanced in terms of =E2=80=9Cdo extra =
effort, get an extra hedge</div><div class=3D"">against a =
breakthrough=E2=80=9D makes sense.</div><br class=3D""><blockquote =
type=3D"cite" class=3D""><div class=3D"">One thing we've become pretty =
good at doing is taking current progress on<br class=3D"">breaking =
crypto and mapping out what'll happen in the future, to the point<br =
class=3D"">where there have been zero sudden breaks of properly-designed =
algorithms (DES,<br class=3D"">AES, IDEA, SHA, RSA, DH, and so on), =
ever. &nbsp;In every case we've been able to<br class=3D"">see, from a =
long way off, what's in store.<br class=3D""></div></blockquote><div =
class=3D""><br class=3D""></div><div class=3D"">I don=E2=80=99t agree. =
&nbsp;While MD5 and small-characteristic discrete log were =
considered</div><div class=3D"">somewhat sketchy before they were =
broken, they were both considered acceptable</div><div class=3D"">right =
up until they were broken wide open.</div><div class=3D""><br =
class=3D""></div><div class=3D"">Consider discrete log in particular. =
&nbsp;Numbers below are from</div><div class=3D""><a =
href=3D"https://www1.lip6.fr/~pierrot/papers/DLogSurvey.pdf" =
class=3D"">https://www1.lip6.fr/~pierrot/papers/DLogSurvey.pdf</a></div><d=
iv class=3D""><br class=3D""></div><div class=3D"">As of 2011, the =
record for discrete logs in prime fields was 530 bits, set in =
2007</div><div class=3D"">using 20k CPU hours. &nbsp;For tiny-char it =
was 613 bits, set in 2005 using 26k CPU</div><div class=3D"">hours. =
&nbsp;For medium characteristic it was 556 bits, set in 2005 with only =
200 CPU</div><div class=3D"">hours. &nbsp;For comparison, RSA-768 was =
factored in 2009, but using ~17M core</div><div class=3D"">hours. =
&nbsp;No major progress had been made on tiny-characteristic since =
the</div><div class=3D"">function field sieve in 1999, though Joux had =
made advances for small- and</div><div class=3D"">medium-characteristic =
in 2006. &nbsp;Tiny-characteristic discrete log systems are</div><div =
class=3D"">considered questionable for general use, but acceptable for =
pairings, and are</div><div class=3D"">about as popular as BN =
curves.</div><div class=3D""><br class=3D""></div><div class=3D"">As of =
2014, the attacks on tiny-char are quasipolynomial time, and =
9234-bit</div><div class=3D"">discrete log has been broken. =
&nbsp;Perhaps more relevantly, a 1303-bit pairing</div><div =
class=3D"">group (3^(6*137)) was broken in sub-1k CPU hours.</div><div =
class=3D""><br class=3D""></div><div class=3D"">Or perhaps algorithms =
which got suddenly broken were not =E2=80=9Cproperly =
designed=E2=80=9D</div><div class=3D"">in the first place. &nbsp;For the =
record, do you think binary elliptic curves have</div><div =
class=3D"">acceptable security properties? &nbsp;Would it be =E2=80=9Cprop=
er design=E2=80=9D to use them today,</div><div class=3D"">eg in a =
hardware product where the acceleration matters? &nbsp;Are the attacks =
on</div><div class=3D"">them more or less realistic than XSL attacks on =
AES? &nbsp;If binary curves are not</div><div class=3D"">acceptable, =
then what about endomorphisms, or hyperelliptic curves / =
Kummer</div><div class=3D"">surfaces? &nbsp;Hindsight is 20/20.</div><br =
class=3D""><blockquote type=3D"cite" class=3D""><div class=3D"">And to =
see what's in store for PKCs, you can't use the computers used by<br =
class=3D"">mathematicians/numerologists, which all have infinite amounts =
of<br class=3D"">zero-cycle-time memory, but the ones that actually =
exist in the real world.<br class=3D"">For a 1024-bit RSA key that's =
around 40 terabytes of memory for the final<br class=3D"">step, and a =
1280-bit key would require roughly a petabyte of RAM, all in a<br =
class=3D"">single machine or a single-machine equivalent (a standard =
distributed cluster<br class=3D"">won't work because of interconnect =
latency problems). &nbsp;So you'd need to<br class=3D"">dedicate the =
entire Tianhe-2 to breaking a single 1280-bit key (I don't know<br =
class=3D"">how its memory architecture will affect performance, I just =
chose the world's<br class=3D"">most powerful supercomputer because that =
happens to be barely enough to attack<br class=3D"">a 1280-bit key, so =
I'm not sure how many years of time you'd need).<br =
class=3D""></div></blockquote><div class=3D""><br class=3D""></div><div =
class=3D"">And then a small improvement to factorization and a small =
improvement to computer<div class=3D"">design, and we=E2=80=99ll realize =
that actually you can break a million such keys in a batch in</div><div =
class=3D"">6 months. &nbsp;Then we=E2=80=99ll wonder how long China and =
NSA and whoever else have</div><div class=3D"">known this, and how long =
they=E2=80=99ve been exploiting it.</div></div><br class=3D""><blockquote =
type=3D"cite" class=3D""><div class=3D"">Or you could just backdoor the =
server, which is what'll actually happen to<br class=3D"">anyone who =
wants to get in. &nbsp;Heck, just the interest on the power bill for =
the<br class=3D"">Tianhe-2 (if you assume the computer itself comes for =
free) would be enough to<br class=3D"">bribe most of the maintenance =
staff to plug in a trojan USB key for a minute<br class=3D"">or two =
while they're cleaning.<br class=3D""></div></blockquote><div =
class=3D""><br class=3D""></div><div class=3D""><div class=3D"">See =
LOGJAM, where the authors conclude that it=E2=80=99s reasonable to =
believe that NSA</div><div class=3D"">can use precomputation to break =
1024-bit finite field discrete log, and that they may</div><div =
class=3D"">have been doing it for years. &nbsp;Instead of or in addition =
to compromising servers and</div><div class=3D"">backdooring =
RNGs.</div><div class=3D""><br class=3D""></div><div class=3D"">Or maybe =
they haven=E2=80=99t, who knows? &nbsp;But some conservatism is =
warranted here.</div><div class=3D""></div></div><div class=3D""><br =
class=3D""></div><div class=3D"">Cheers,</div><div class=3D"">=E2=80=94 =
Mike</div><div class=3D""><br class=3D""></div><blockquote type=3D"cite" =
class=3D""><div class=3D"">And if you really are concerned about China =
secretly building a second<br class=3D"">Tianhe-2 and using it to attack =
your mail server, just change your key once a<br class=3D"">year and =
you're OK.<br class=3D""><br =
class=3D"">Peter.</div></blockquote></div><div class=3D""><br =
class=3D""></div></body></html>=

--Apple-Mail=_8C6856DA-24DA-487E-BB5A-19A78442A298--


From nobody Thu Jul 23 13:31:55 2015
Return-Path: <rsalz@akamai.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 29B9C1A8A84 for <cfrg@ietfa.amsl.com>; Thu, 23 Jul 2015 13:31:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.796
X-Spam-Level: 
X-Spam-Status: No, score=0.796 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FH_RELAY_NODNS=1.451, HELO_MISMATCH_COM=0.553, RDNS_NONE=0.793, SPF_PASS=-0.001] 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 OeExsFHoNsEB for <cfrg@ietfa.amsl.com>; Thu, 23 Jul 2015 13:31:53 -0700 (PDT)
Received: from prod-mail-xrelay07.akamai.com (unknown [23.79.238.175]) by ietfa.amsl.com (Postfix) with ESMTP id 8444C1A8A72 for <cfrg@irtf.org>; Thu, 23 Jul 2015 13:31:53 -0700 (PDT)
Received: from prod-mail-xrelay07.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 3C1174DEFC; Thu, 23 Jul 2015 20:32:36 +0000 (GMT)
Received: from prod-mail-relay07.akamai.com (prod-mail-relay07.akamai.com [172.17.121.112]) by prod-mail-xrelay07.akamai.com (Postfix) with ESMTP id 25C204DEFB; Thu, 23 Jul 2015 20:32:36 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=akamai.com; s=a1; t=1437683556; bh=d+JbDWQ16vvFmeZMUPxjoyiauE61MT6dx7fZVJV6NFE=; h=From:To:CC:Subject:Date:References:In-Reply-To:From; b=EX2zprR/127pW5g2aKsWLH1RfmV7vVDCG1l1hKFaLWRPhAdEApjFC4PW1ZMUMBKu3 gqo0G5ek5XLYo8hC1qOh2GA1G6COQIbQBj5yJoSHmvfIHOlMhkd4JbZuaR06Wo87KM 0oufnXQsAadfm1OYworv38zLUkIr3iyxE+1GPHlk=
Received: from email.msg.corp.akamai.com (ustx2ex-cas1.msg.corp.akamai.com [172.27.25.30]) by prod-mail-relay07.akamai.com (Postfix) with ESMTP id 1CC0B800A2; Thu, 23 Jul 2015 20:31:52 +0000 (GMT)
Received: from USTX2EX-DAG1MB2.msg.corp.akamai.com (172.27.27.102) by ustx2ex-dag1mb3.msg.corp.akamai.com (172.27.27.103) with Microsoft SMTP Server (TLS) id 15.0.1076.9; Thu, 23 Jul 2015 15:31:51 -0500
Received: from USTX2EX-DAG1MB2.msg.corp.akamai.com ([172.27.6.132]) by ustx2ex-dag1mb2.msg.corp.akamai.com ([172.27.6.132]) with mapi id 15.00.1076.000; Thu, 23 Jul 2015 15:31:51 -0500
From: "Salz, Rich" <rsalz@akamai.com>
To: Aaron Zauner <azet@azet.org>, Paul Lambert <paul@marvell.com>
Thread-Topic: [Cfrg] Short Authentication Tags in AES-128-CCM
Thread-Index: AQHQxGgvbpAkAW8CD0Kmb06UhVhvOJ3oKgCAgAE6S4CAAB2rEA==
Date: Thu, 23 Jul 2015 20:31:50 +0000
Message-ID: <7f3e38bb54b74eb3b5f85a2a27f291e4@ustx2ex-dag1mb2.msg.corp.akamai.com>
References: <55AE1BB7.8070906@gmx.net> <55AF6E7E.5000300@gmx.net> <D1D5328F.737E3%paul@marvell.com> <55B0EDF9.8000000@azet.org>
In-Reply-To: <55B0EDF9.8000000@azet.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [172.19.152.120]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/9NNdYtQvyjThe7cfKExJ-jkdLb4>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Short Authentication Tags in AES-128-CCM
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: <https://mailarchive.ietf.org/arch/browse/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: Thu, 23 Jul 2015 20:31:54 -0000

PiBGWUk6IEkndmUgYW4gaW5kaXZpZHVhbCBkcmFmdCBvbiBBRVMtT0NCLiBSb2dhd2F5IGZpbGVk
IGFuIElQUiBleGVtcHRpb24NCj4gdG9kYXkgd2l0aCBJRVRGLiBPQ0IgY291bGQgYmUgaW50ZXJl
c3RpbmcgZm9yIElvVCBzdHVmZiwgYnV0IEkgZ3Vlc3MgQ0NNDQo+IGlzIGFscmVhZHkgdXNlZCB3
aXRoIHNvbWUgSUVFRSBwcm90b2NvbHMuDQoNClRoYW5rcyBmb3IgZm9sbG93aW5nIHRoaXMgZG93
bi4NCg0KVGhlIElQUiBleGVtcHRpb24gaXMgb25seSBmb3IgVExTLCBqdXN0IGFzIGFuIEZZSSB0
byBvdGhlcnMuDQo=


From nobody Thu Jul 23 16:13:53 2015
Return-Path: <djb-dsn2-1406711340.7506@cr.yp.to>
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 1D9741B2A47 for <cfrg@ietfa.amsl.com>; Thu, 23 Jul 2015 16:13:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 4.618
X-Spam-Level: ****
X-Spam-Status: No, score=4.618 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HELO_EQ_NL=0.55, HOST_EQ_NL=1.545, J_CHICKENPOX_14=0.6, UNPARSEABLE_RELAY=0.001, URI_HEX=1.122] 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 mYrrOXD_an3y for <cfrg@ietfa.amsl.com>; Thu, 23 Jul 2015 16:13:49 -0700 (PDT)
Received: from calvin.win.tue.nl (calvin.win.tue.nl [131.155.70.11]) by ietfa.amsl.com (Postfix) with SMTP id 31FB61B2A46 for <cfrg@irtf.org>; Thu, 23 Jul 2015 16:13:48 -0700 (PDT)
Received: (qmail 21478 invoked by uid 1017); 23 Jul 2015 23:14:08 -0000
Received: from unknown (unknown) by unknown with QMTP; 23 Jul 2015 23:14:08 -0000
Received: (qmail 12998 invoked by uid 1000); 23 Jul 2015 23:13:40 -0000
Date: 23 Jul 2015 23:13:40 -0000
Message-ID: <20150723231340.12996.qmail@cr.yp.to>
From: "D. J. Bernstein" <djb@cr.yp.to>
To: cfrg@irtf.org
Mail-Followup-To: cfrg@irtf.org
In-Reply-To: <CACsn0ck4FiOiDwP_tF3Km8SC0QTDgDcdy1xoEpWCjT7W2v_-bg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/2s5euDiMRmmN6gp9z4MqviXZi_Y>
Subject: Re: [Cfrg] updated Python script for signature proposals
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: <https://mailarchive.ietf.org/arch/browse/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: Thu, 23 Jul 2015 23:13:51 -0000

Watson Ladd writes:
> I'll switch to EdDSA encoding then.

Script updated: http://ed25519.cr.yp.to/cfrg/signatures.py

Perhaps another issue where easy consensus is possible is the size of
the secret key:

   * Three schemes ('brown', 'eddsa', 'hamburg') start from a 256-bit
     secret key. Signing uses two hash/PRF calls to derive the long-term
     scalar and one-time scalars (a,k). For 'brown' and 'eddsa' this is
     structured as sk->a,seed and then seed,m->k; for 'hamburg' it's
     structured as sk->a and separately sk,m->k.

   * Two schemes ('ladd', 'liusvaara') start from a 512-bit secret key
     (a,seed). Signing uses one hash call.

One could argue that, since secret keys are rarely communicated, there's
not much performance benefit in having a short secret key. However:

   * I'm told that, for small devices (including HSMs), secure long-term
     key storage is a serious cost, and people appreciate having this
     cost chopped in half.

   * Saving a hash call is only a small signing speedup. (For larger
     curve sizes, the savings would be two SHA-512 calls, but this is
     even less noticeable compared to the larger curve computations.)

   * More importantly, if an 'eddsa' user cares more about this hash
     call than about the space for the secret key, then the user is free
     to store the sk->a,seed output, eliminating this cost from signing.
     (Similarly, Mike mentioned the option of storing sk,a.)
     
     In other words, specifying a 512-bit secret key a,seed is really
     just skipping the specification of the sk->a,seed hash function.
     Choosing this function to fit nicely with subsequent hashing steps
     is beneficial for small signing implementations.

Furthermore, this initial hashing helps protect the user if sk has less
randomness than expected. Nobody knows any attacks against, e.g., a
randomness burp that clears the first 64 bits of sk, while clearing the
first 64 bits of the long-term scalar would bring the scalar within
range of feasible "kangaroo" attacks. For DH this argument has to be
weighed against code-size/auditing arguments, since many DH applications
don't need hashing; but for signatures there's a hash function anyway,
and this particular usage of hashing has extremely low cost.

---Dan


From nobody Fri Jul 24 00:05:01 2015
Return-Path: <cabo@tzi.org>
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 0407C1A8AB1 for <cfrg@ietfa.amsl.com>; Fri, 24 Jul 2015 00:05:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.55
X-Spam-Level: 
X-Spam-Status: No, score=-1.55 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35] 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 JoE3nTzwnq-x for <cfrg@ietfa.amsl.com>; Fri, 24 Jul 2015 00:04:58 -0700 (PDT)
Received: from mailhost.informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8582B1A700E for <cfrg@irtf.org>; Fri, 24 Jul 2015 00:04:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from submithost.informatik.uni-bremen.de (submithost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::b]) by mailhost.informatik.uni-bremen.de (8.14.5/8.14.5) with ESMTP id t6O74rqe013402; Fri, 24 Jul 2015 09:04:53 +0200 (CEST)
Received: from alma.local (unknown [IPv6:2001:67c:370:152:d477:f054:bc6b:606d]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by submithost.informatik.uni-bremen.de (Postfix) with ESMTPSA id 3md1kD73Z6zDMNp; Fri, 24 Jul 2015 09:04:52 +0200 (CEST)
Message-ID: <55B1E397.2000206@tzi.org>
Date: Fri, 24 Jul 2015 09:04:55 +0200
From: Carsten Bormann <cabo@tzi.org>
User-Agent: Postbox 4.0.1 (Macintosh/20150514)
MIME-Version: 1.0
To: John Mattsson <john.mattsson@ericsson.com>
References: <55AE1BB7.8070906@gmx.net> <55AF6E7E.5000300@gmx.net> <D1D6F1D9.3967B%john.mattsson@ericsson.com>
In-Reply-To: <D1D6F1D9.3967B%john.mattsson@ericsson.com>
X-Enigmail-Version: 1.2.3
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/bf1x10gnrwZ96-QRpMmtSsbcBjI>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Short Authentication Tags in AES-128-CCM
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 24 Jul 2015 07:05:00 -0000

> Avtcore/IESG decided to not standardize CCM_8 and GCM_8, but for different
> reasons. CCM (all tag lengths) was removed as Stephen wanted to limit the
> number of algorithms, and nobody expressed any imminent plans to implement
> SRTP with CCM. GCM_8 was removed because of the theoretical weaknesses
> with GCM and short tags (summarized in https://eprint.iacr.org/2015/477)
> and their applicability to SRTP
> (https://mailarchive.ietf.org/arch/msg/avt/cKHmfai2SISd7itL_NlgXRJUPow).

Right, SRTP applications typically don't run in the hardware/software
environments described by RFC 7228, so there is little reason to have
CCM-based cipher suites around.

> I am not aware of any weaknesses with CCM_8 that depends on the tag
> length, except the general weakness that the forgery probability is the
> expected 2^-64. In his recent evaluation for Cryptec
> (http://www.cryptrec.go.jp/estimation/techrep_id2012_2.pdf), Rogaway
> states as one of the conclusions â€œCCM achieves good provable-security
> results, even with truncated tagsâ€� Given the constrained radio
> technologies targeted by dice, I think that 64-bit tags are a reasonable
> tradeoff.

+1

> Looking at the dice profile, I am more concerned with the lack of forward
> security in TLS_PSK_WITH_AES_128_CCM_8 and the fact that this cipher suite
> will likely be forbidden in DTLS 1.3 (as far as I understand). I would
> recommend changing this to ECDHE_PSK, or convincing the TLS wg to continue
> supporting PSK. 

Actually, we should move to ECDHE_PSK...CCM_8 as our default profile,
but there is still a set of applications where
TLS_PSK_WITH_AES_128_CCM_8 is a perfect fit. Qualifying this cipher
suite as a special-use one (don't put it into your Web browser for
HTTPS) is probably already a good idea because of the 64-but authenticator.

(One question that is lurking in my mind is whether we should be moving
to CMAC for the MAC part that is CBC-MAC in CCM.  That might be worth it
for the ECDHE version, but probably not for the basic PSK.)

> Standardizing a new profile that will not work with DTLS
> 1.3 would be strange

Indeed.

GrÃ¼ÃŸe, Carsten


From nobody Fri Jul 24 02:22:59 2015
Return-Path: <john.mattsson@ericsson.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 D31011A874F for <cfrg@ietfa.amsl.com>; Fri, 24 Jul 2015 02:22:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.201
X-Spam-Level: 
X-Spam-Status: No, score=-4.201 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, 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 ioLLbkBYWLUs for <cfrg@ietfa.amsl.com>; Fri, 24 Jul 2015 02:22:54 -0700 (PDT)
Received: from sesbmg23.ericsson.net (sesbmg23.ericsson.net [193.180.251.37]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4E8AB1A88D3 for <cfrg@irtf.org>; Fri, 24 Jul 2015 02:22:50 -0700 (PDT)
X-AuditID: c1b4fb25-f79046d000007f53-2a-55b203e87ce5
Received: from ESESSHC020.ericsson.se (Unknown_Domain [153.88.253.124]) by sesbmg23.ericsson.net (Symantec Mail Security) with SMTP id 9F.E3.32595.8E302B55; Fri, 24 Jul 2015 11:22:48 +0200 (CEST)
Received: from ESESSMB307.ericsson.se ([169.254.7.7]) by ESESSHC020.ericsson.se ([153.88.183.78]) with mapi id 14.03.0210.002; Fri, 24 Jul 2015 11:22:48 +0200
From: John Mattsson <john.mattsson@ericsson.com>
To: Carsten Bormann <cabo@tzi.org>
Thread-Topic: [Cfrg] Short Authentication Tags in AES-128-CCM
Thread-Index: AQHQxGgepvgFaguHDUiqOm+Elv69jZ3pUzSAgADAi4CAAEgKAA==
Date: Fri, 24 Jul 2015 09:22:46 +0000
Message-ID: <D1D7CEF0.396E9%john.mattsson@ericsson.com>
References: <55AE1BB7.8070906@gmx.net> <55AF6E7E.5000300@gmx.net> <D1D6F1D9.3967B%john.mattsson@ericsson.com> <55B1E397.2000206@tzi.org>
In-Reply-To: <55B1E397.2000206@tzi.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.5.1.150515
x-originating-ip: [153.88.183.148]
Content-Type: text/plain; charset="utf-8"
Content-ID: <DCAC84D178B64E43858AFA520C144D81@ericsson.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprFIsWRmVeSWpSXmKPExsUyM+Jvje4L5k2hBkdWqVocmXKX1aL7x0Em i6U777E6MHss3rSfzWPyxsNsHtMWZQYwR3HZpKTmZJalFunbJXBlNPzpYivYJl1xav4LxgbG O1JdjJwcEgImEie+rmWGsMUkLtxbz9bFyMUhJHCUUWL7/V5GCGcRo8TtlTdZQarYBAwk5u5p YAOxRQSUJC5cXANmMwuESMzftBJskrCAjcSdyb+ZIGpsJY5/XsgCYTtJ3Nx9ESzOIqAqMatx DVicV8BcYtn5L0wQy7oYJR72bQYbyimgLrF8yTSwIkag876fWsMEsUxc4taT+UwQZwtILNlz HuoFUYmXj/+BHSoqoCcx/eI2qLiSROOSJ0BxDqBeTYn1u/QhxlhLTDx3gRnCVpSY0v2QHeIe QYmTM5+wTGCUmIVk2yyE7llIumch6Z6FpHsBI+sqRtHi1OKk3HQjY73Uoszk4uL8PL281JJN jMDIPLjlt+oOxstvHA8xCnAwKvHwKszZGCrEmlhWXJl7iFGag0VJnHfG5rxQIYH0xJLU7NTU gtSi+KLSnNTiQ4xMHJxSDYz6IoUHFhvFGZXpLnkXePPegm/t7+zffG18vSlh8/7vN/UMFhs0 XBA7ML0kNZfHvX3Z9AQdxjNXdprPWvntwc7d353W9T80kZ0nFPqlx8e8l31p6O3MSWEzoxfP CA/rvMDisk+68fPvx23nbononLqSXb7p/U7tzI9rbzA8v1mkKBDt7GW5mDNKiaU4I9FQi7mo OBEAVrl2xK0CAAA=
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/VfGbUY9hUOhUkSsO3hELT3L0hRI>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Short Authentication Tags in AES-128-CCM
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 24 Jul 2015 09:22:58 -0000

DQoNCk9uIDI0LzA3LzE1IDA5OjA0LCAiQ2Fyc3RlbiBCb3JtYW5uIiA8Y2Fib0B0emkub3JnPiB3
cm90ZToNCg0KPj4gQXZ0Y29yZS9JRVNHIGRlY2lkZWQgdG8gbm90IHN0YW5kYXJkaXplIENDTV84
IGFuZCBHQ01fOCwgYnV0IGZvcg0KPj5kaWZmZXJlbnQNCj4+IHJlYXNvbnMuIENDTSAoYWxsIHRh
ZyBsZW5ndGhzKSB3YXMgcmVtb3ZlZCBhcyBTdGVwaGVuIHdhbnRlZCB0byBsaW1pdA0KPj50aGUN
Cj4+IG51bWJlciBvZiBhbGdvcml0aG1zLCBhbmQgbm9ib2R5IGV4cHJlc3NlZCBhbnkgaW1taW5l
bnQgcGxhbnMgdG8NCj4+aW1wbGVtZW50DQo+PiBTUlRQIHdpdGggQ0NNLiBHQ01fOCB3YXMgcmVt
b3ZlZCBiZWNhdXNlIG9mIHRoZSB0aGVvcmV0aWNhbCB3ZWFrbmVzc2VzDQo+PiB3aXRoIEdDTSBh
bmQgc2hvcnQgdGFncyAoc3VtbWFyaXplZCBpbiBodHRwczovL2VwcmludC5pYWNyLm9yZy8yMDE1
LzQ3NykNCj4+IGFuZC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yYmlkIG5vbi1QRlMgX1BTS18uIE15IG1pc3Rha2UsIEkNCm1pc2hl
YXJkIEVyaWMNClJlc2NvcmxhIHdoZW4gaGUgY29tbWVudGVkIG9uIG15IGRyYWZ0IGluIHRoZSBU
TFMgd2cuIEJ1dCBtb3ZpbmcgdG8NCkVDREhFX1BTSyBhbmQgUEZTIGFzDQp0aGUgZ2VuZXJhbCBy
ZWNvbW1lbmRhdGlvbiBpcyBkZWZpbml0ZWx5IHRoZSByaWdodCBjaG9pY2UgYW55d2F5Li4uDQoN
Cj4oT25lIHF1ZXN0aW9uIHRoYXQgaXMgbHVya2luZyBpbiBteSBtaW5kIGlzIHdoZXRoZXIgd2Ug
c2hvdWxkIGJlIG1vdmluZw0KPnRvIENNQUMgZm9yIHRoZSBNQUMgcGFydCB0aGF0IGlzIENCQy1N
QUMgaW4gQ0NNLiAgVGhhdCBtaWdodCBiZSB3b3J0aCBpdA0KPmZvciB0aGUgRUNESEUgdmVyc2lv
biwgYnV0IHByb2JhYmx5IG5vdCBmb3IgdGhlIGJhc2ljIFBTSy4pDQo+DQo+PiBTdGFuZGFyZGl6
aW5nIGEgbmV3IHByb2ZpbGUgdGhhdCB3aWxsIG5vdCB3b3JrIHdpdGggRFRMUw0KPj4gMS4zIHdv
dWxkIGJlIHN0cmFuZ2UNCj4NCj5JbmRlZWQuDQo+DQo+R3LDvMOfZSwgQ2Fyc3Rlbg0KPg0KDQo=


From nobody Fri Jul 24 02:56:43 2015
Return-Path: <pgut001@cs.auckland.ac.nz>
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 475BC1A8782 for <cfrg@ietfa.amsl.com>; Fri, 24 Jul 2015 02:56:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.791
X-Spam-Level: 
X-Spam-Status: No, score=0.791 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, 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 MjK5bu1oJdIm for <cfrg@ietfa.amsl.com>; Fri, 24 Jul 2015 02:56:36 -0700 (PDT)
Received: from mx4.auckland.ac.nz (mx4.auckland.ac.nz [130.216.125.248]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E3D2D1A8999 for <cfrg@irtf.org>; Fri, 24 Jul 2015 02:56:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=auckland.ac.nz; i=@auckland.ac.nz; q=dns/txt; s=mail; t=1437731790; x=1469267790; h=from:to:subject:date:message-id:references:in-reply-to: mime-version; bh=2T/5eaVQsR9907GZc+M3XDzp/yThp7ErBRjBpsZRVyY=; b=sdKGYGEtfBc3I4ph/9y2f0mFtt5I9o3MLKxnw4XbO5Sd3Oc/aEKN2Kzc p6E+Ij4SHgQ590H4RYbkl1r2p6Xa4I66E9zc79zzyij+yZC+QjR8yxxDJ O2T9ll0LU/7BeN12HsPy3PEK380gNXt1Gy0C65z2qa9K/NeYWfO2LIEtg P/sGn3e+z78trpYCbmcniAaBIs4kj9HdSHyU6ywC+s9RBNC/iZeGLwjar 70YXlJg/hm+ajKJTOj/XtLMJtWIqJesJ8kI56SXYnouG1AZTwUemQAVLf n0r7q2nsfyRihmcY9txnjPB6eN5YT+qk2OErFjnQ8DlqETUgDaJZEXWda w==;
X-IronPort-AV: E=Sophos; i="5.15,537,1432555200"; d="scan'208,217"; a="30485584"
X-Ironport-HAT: MAIL-SERVERS - $RELAYED
X-Ironport-Source: 130.216.4.125 - Outgoing - Outgoing
Received: from uxchange10-fe3.uoa.auckland.ac.nz ([130.216.4.125]) by mx4-int.auckland.ac.nz with ESMTP/TLS/AES128-SHA; 24 Jul 2015 21:56:28 +1200
Received: from UXCN10-TDC05.UoA.auckland.ac.nz ([169.254.9.151]) by uxchange10-fe3.UoA.auckland.ac.nz ([169.254.143.234]) with mapi id 14.03.0174.001; Fri, 24 Jul 2015 21:56:27 +1200
From: Peter Gutmann <pgut001@cs.auckland.ac.nz>
To: Michael Hamburg <mike@shiftleft.org>, IRTF Crypto Forum Research Group <cfrg@irtf.org>
Thread-Topic: [Cfrg] [TLS] A la carte handshake negotiation
Thread-Index: AdDE8mNqdt9tbqxyQpSNJggOd5zCFgALVAUAADXBXrY=
Date: Fri, 24 Jul 2015 09:56:27 +0000
Message-ID: <9A043F3CF02CD34C8E74AC1594475C73AB06CACC@uxcn10-tdc05.UoA.auckland.ac.nz>
References: <9A043F3CF02CD34C8E74AC1594475C73AB06B5CB@uxcn10-tdc05.UoA.auckland.ac.nz>,  <B089DE1B-0B06-465E-8029-F23A8636B7D8@shiftleft.org>
In-Reply-To: <B089DE1B-0B06-465E-8029-F23A8636B7D8@shiftleft.org>
Accept-Language: en-NZ, en-GB, en-US
Content-Language: en-NZ
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [130.216.158.4]
Content-Type: multipart/alternative; boundary="_000_9A043F3CF02CD34C8E74AC1594475C73AB06CACCuxcn10tdc05UoAa_"
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/CIYmEqO6HLiGAnO5GNF3aVpZIBk>
Subject: Re: [Cfrg] [TLS] A la carte handshake negotiation
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 24 Jul 2015 09:56:41 -0000

--_000_9A043F3CF02CD34C8E74AC1594475C73AB06CACCuxcn10tdc05UoAa_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

Michael Hamburg <mike@shiftleft.org> writes:

>While MD5 and small-characteristic discrete log were considered somewhat
>sketchy before they were broken, they were both considered acceptable righ=
t
>up until they were broken wide open.

Uhh, that's wrong on both counts, MD5 has been known to be problematic sinc=
e
Dobbertin's work twenty years ago (so it's only "considered acceptable" if
you've been living in a cave for at least the last fifteen years), and it's
not "broken wide open" even now, you can generate collisions under certain
circumstances, but not if some basic protective measures like randomisation
are used, and can't generate preimages at all.  It's been a slow (nearly) 2=
5-
year slide, not a sudden break.

>small-characteristic discrete log

... as used in which (mainstream, standardised) security protocol?

>That=92s why some users will want to use them, and why it=92s reasonable f=
or TLS
>to support them in cipher suites.

So far the only thing that backup cipher suites (or whatever you want to ca=
ll
them, the also-rans that accompany the default cipher suite that's first on
the list) has given us is security vulnerabilities.  Lots and lots of secur=
ity
vulnerabilities.  In over two decades of SSL and TLS use, we've never actua=
lly
needed them.

Peter.

--_000_9A043F3CF02CD34C8E74AC1594475C73AB06CACCuxcn10tdc05UoAa_
Content-Type: text/html; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<html dir=3D"ltr">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1=
252">
<style id=3D"owaParaStyle" type=3D"text/css">P {margin-top:0;margin-bottom:=
0;}</style>
</head>
<body ocsi=3D"0" fpstyle=3D"1" class=3D"" style=3D"word-wrap:break-word">
<div style=3D"direction: ltr;font-family: Tahoma;color: #000000;font-size: =
10pt;"><font size=3D"2">Michael Hamburg &lt;mike@shiftleft.org&gt; writes:<=
br>
<br>
</font>
<div style=3D"font-family: Times New Roman; color: #000000; font-size: 16px=
"><font face=3D"Tahoma" size=3D"2">&gt;While MD5 and small-characteristic d=
iscrete log were considered somewhat<br>
&gt;sketchy before they were broken, they were both considered acceptable r=
ight<br>
&gt;up until they were broken wide open.<br>
<br>
Uhh, that's wrong on both counts, MD5 has been known to be problematic sinc=
e<br>
Dobbertin's work twenty years ago (so it's only &quot;considered acceptable=
&quot; if<br>
you've been living in a cave for at least the last fifteen years), and it's=
<br>
not &quot;broken wide open&quot; even now, you can generate collisions unde=
r certain<br>
circumstances, but not if some basic protective measures like randomisation=
<br>
are used, and can't generate preimages at all.&nbsp; It's been a slow (near=
ly) 25-<br>
year slide, not a sudden break.<br>
<br>
&gt;small-characteristic discrete log<br>
<br>
... as used in which (mainstream, standardised) security protocol?<br>
<br>
&gt;That=92s why some users will want to use them, and why it=92s reasonabl=
e for TLS<br>
&gt;to support them in cipher suites.<br>
<br>
So far the only thing that backup cipher suites (or whatever you want to ca=
ll<br>
them, the also-rans that accompany the default cipher suite that's first on=
<br>
the list) has given us is security vulnerabilities.&nbsp; Lots and lots of =
security<br>
vulnerabilities.&nbsp; In over two decades of SSL and TLS use, we've never =
actually<br>
needed them.<br>
<br>
Peter.</font><br>
</div>
</div>
</body>
</html>

--_000_9A043F3CF02CD34C8E74AC1594475C73AB06CACCuxcn10tdc05UoAa_--


From nobody Fri Jul 24 04:46:41 2015
Return-Path: <azet@azet.org>
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 C9F771A0383 for <cfrg@ietfa.amsl.com>; Fri, 24 Jul 2015 04:46:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, LOTS_OF_MONEY=0.001, 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 O9z_T1eGsV0L for <cfrg@ietfa.amsl.com>; Fri, 24 Jul 2015 04:46:33 -0700 (PDT)
Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 88D241A21B5 for <cfrg@irtf.org>; Fri, 24 Jul 2015 04:46:33 -0700 (PDT)
Received: by wibud3 with SMTP id ud3so61994499wib.1 for <cfrg@irtf.org>; Fri, 24 Jul 2015 04:46:32 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type; bh=6m+pYaPM8XBRn+Mkt8UYCvkOANF3FytN7/ilXRXeJqc=; b=WdbxSF1YrSGQrwJMJLGXR+80NCOXHVJNtKmp1mqw7S2af6gS/Mjn+9eO9zc6MAPS0d Ab+jmHNhpgFbjCVIlE3JzSZMxFMBLcCI5LLZYj9uuXBRv7CgVLfN9AT4sEB+BfJ1BO1m 3iWlIhwy6wbOExBUIHy276BEEaPzuc3dWkaAOdRbUnqBq4ZM7CPmh+44e1zQ04Se8QXM hBsbz1vcSQP3sIOr81erjz9CDwYRfJ5jtXAas66P/M/GGEow+xXkVGTj6jmrCG9SgyBY f1f4gWusTpyskACPT5XHgz3eao6XmJG2yid9qazKRpMxDrYSUBRZ9lTcoZTG4ciu2fdE 0fQg==
X-Gm-Message-State: ALoCoQltr8EwxFLmjzlVeVfQUenoQPu9AaH3kc15d1KJnseRSCZlXipJkdRoZbBsgqmW0c0tHVey
X-Received: by 10.194.192.72 with SMTP id he8mr26064064wjc.11.1437738392193; Fri, 24 Jul 2015 04:46:32 -0700 (PDT)
Received: from [10.22.29.228] ([194.112.182.218]) by smtp.gmail.com with ESMTPSA id be9sm12245991wjb.26.2015.07.24.04.46.29 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 24 Jul 2015 04:46:31 -0700 (PDT)
Message-ID: <55B22592.80102@azet.org>
Date: Fri, 24 Jul 2015 13:46:26 +0200
From: Aaron Zauner <azet@azet.org>
User-Agent: Postbox 3.0.11 (Macintosh/20140602)
MIME-Version: 1.0
To: Russ Housley <housley@vigilsec.com>
References: <55AE1BB7.8070906@gmx.net> <55AF6E7E.5000300@gmx.net> <D1D5328F.737E3%paul@marvell.com> <55B0EDF9.8000000@azet.org> <2F97F398-55E7-4F8A-A76C-7AB1BF14EFD3@vigilsec.com>
In-Reply-To: <2F97F398-55E7-4F8A-A76C-7AB1BF14EFD3@vigilsec.com>
X-Enigmail-Version: 1.2.3
Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig07FFE8B73577045F2F199580"
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/tyyakNuOjCB5pOP63QtYwez5efs>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Short Authentication Tags in AES-128-CCM
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 24 Jul 2015 11:46:40 -0000

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig07FFE8B73577045F2F199580
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi Russ,

Russ Housley wrote:
> In the past, we have been told that Gligor (University of Maryland), Jo=
ux (IBM), and Rogaway all have patents that read on AES-OCB.  I have neve=
r heard anyone refute that.  So, it seems that two more IPR declarations =
are needed.

I'm aware of the following patents:

Rogaway (multiple)
Juntla-Rabin/IBM (multiple)

To my knowledge it is unclear if Gligor has patents that actually relate
to OCB or not. Rogaway has included them though in his initial IPR
declarations for the general AES-OCB spec. document.

IPR:
https://datatracker.ietf.org/ipr/search/?submit=3Ddraft&id=3Ddraft-irtf-c=
frg-ocb

Gilgor's patent:
https://www.google.com/patents/US6973187?dq=3Dpatent:6973187&hl=3Den&sa=3D=
X&ved=3D0CB0Q6AEwAGoVChMI2bnM5tfzxgIVhkAUCh3OzAt0

(Thus this patent expires in 2021)

I will try to follow up with Gilgor on that (haven't previously as I
assumed his patent is too general to have any impact on OCB. Rogaway
also didn't specifically point me to Gilgor).

Thanks,
Aaron


--------------enig07FFE8B73577045F2F199580
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJVsiWTAAoJEOTbZJL9ubXVmAUP/07Mwh4XExuY4cmWBKzc0+pY
UXvOjwVDvk6h7Q2cW+rwNPoCTCFjtGu9dyaR+WGRiJKKNrrxXWdapT8R+IGefPW+
1aDO69PPXGfwIHdX9x1MdPDLvECWPzlEzyUmZDoqTlZX2WM587fjb/1lCPmeMlV4
3n3s2lVvEDc5ey6FhafXSJtUZue8idO/vBJ4dV2V6+CHFWh7qJYjhzw+UB+Kyvnr
XkWEgFjPfX/T9Mj14SFM0Oi7I+fJLgWkysIkH32wyXa3ek/UHHg/8hgW5c+EDvfj
IDAvUPuX2vrBSYTnqmEejM+WM0kdr5Cs2ioL0jdkb8h5UJXqgZ/1f7IfaqjElN58
jn+XaRtDyb6k9k4FstSlGG1VidDKLfU7KldX7kIu7qaTKfh4cgT5tOSzUkVX+vvC
GX5MK7LPVgp3OI4Xue0l8z3wW5mzE7hX2t9CnUuaXvhusP/v27tloLSjXlFj2r/q
Gv0Y7cCglQvgCIViicnKQwhjUN2eFZvS9J73/oGieV0qL7Qe3Qt+mpRu3M87Kt95
HtuIhTfNMytITu/9+F073EMHia8B24T6wJK4qlOI4XTvBwX3prVyYU9765I8NVh5
WM944/CwY1Qbq6dMIUI4KTNQ7Vu5yFTcQDReaN2tTBgXdLJ8cZlwnWx+5hO59BwE
TPvdrtBFWN/fDhztW+50
=E5Qk
-----END PGP SIGNATURE-----

--------------enig07FFE8B73577045F2F199580--


From nobody Fri Jul 24 06:29:04 2015
Return-Path: <housley@vigilsec.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 51AF81A8F43 for <cfrg@ietfa.amsl.com>; Fri, 24 Jul 2015 06:29:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.899
X-Spam-Level: 
X-Spam-Status: No, score=-101.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, LOTS_OF_MONEY=0.001, USER_IN_WHITELIST=-100] 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 wMTIqLstPz4J for <cfrg@ietfa.amsl.com>; Fri, 24 Jul 2015 06:29:01 -0700 (PDT)
Received: from odin.smetech.net (x-bolt-wan.smeinc.net [209.135.219.146]) by ietfa.amsl.com (Postfix) with ESMTP id 297A41A8A3C for <cfrg@irtf.org>; Fri, 24 Jul 2015 06:29:01 -0700 (PDT)
Received: from localhost (unknown [209.135.209.5]) by odin.smetech.net (Postfix) with ESMTP id 9023E9A4019; Fri, 24 Jul 2015 09:28:50 -0400 (EDT)
X-Virus-Scanned: amavisd-new at smetech.net
Received: from odin.smetech.net ([209.135.209.4]) by localhost (ronin.smeinc.net [209.135.209.5]) (amavisd-new, port 10024) with ESMTP id 9axG5awF8ZN7; Fri, 24 Jul 2015 09:27:32 -0400 (EDT)
Received: from dhcp-a3bb.meeting.ietf.org (dhcp-a3bb.meeting.ietf.org [31.133.163.187]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by odin.smetech.net (Postfix) with ESMTP id 4F3F19A4017; Fri, 24 Jul 2015 09:28:29 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1085)
Content-Type: text/plain; charset=us-ascii
From: Russ Housley <housley@vigilsec.com>
In-Reply-To: <55B22592.80102@azet.org>
Date: Fri, 24 Jul 2015 09:28:17 -0400
Content-Transfer-Encoding: quoted-printable
Message-Id: <417866A7-0244-4F79-A5FF-E7F33D3A84DF@vigilsec.com>
References: <55AE1BB7.8070906@gmx.net> <55AF6E7E.5000300@gmx.net> <D1D5328F.737E3%paul@marvell.com> <55B0EDF9.8000000@azet.org> <2F97F398-55E7-4F8A-A76C-7AB1BF14EFD3@vigilsec.com> <55B22592.80102@azet.org>
To: Aaron Zauner <azet@azet.org>
X-Pgp-Agent: GPGMail 1.4.1
X-Mailer: Apple Mail (2.1085)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/JB-CyJ74NQvMI9-1ICh5rAmgay8>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Short Authentication Tags in AES-128-CCM
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 24 Jul 2015 13:29:03 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

You are right, the three patents are from Gligor, Juntla (not Joux), and =
Rogaway.

Russ


On Jul 24, 2015, at 7:46 AM, Aaron Zauner wrote:

> Hi Russ,
>=20
> Russ Housley wrote:
>> In the past, we have been told that Gligor (University of Maryland), =
Joux (IBM), and Rogaway all have patents that read on AES-OCB.  I have =
never heard anyone refute that.  So, it seems that two more IPR =
declarations are needed.
>=20
> I'm aware of the following patents:
>=20
> Rogaway (multiple)
> Juntla-Rabin/IBM (multiple)
>=20
> To my knowledge it is unclear if Gligor has patents that actually =
relate
> to OCB or not. Rogaway has included them though in his initial IPR
> declarations for the general AES-OCB spec. document.
>=20
> IPR:
> =
https://datatracker.ietf.org/ipr/search/?submit=3Ddraft&id=3Ddraft-irtf-cf=
rg-ocb
>=20
> Gilgor's patent:
> =
https://www.google.com/patents/US6973187?dq=3Dpatent:6973187&hl=3Den&sa=3D=
X&ved=3D0CB0Q6AEwAGoVChMI2bnM5tfzxgIVhkAUCh3OzAt0
>=20
> (Thus this patent expires in 2021)
>=20
> I will try to follow up with Gilgor on that (haven't previously as I
> assumed his patent is too general to have any impact on OCB. Rogaway
> also didn't specifically point me to Gilgor).
>=20
> Thanks,
> Aaron
>=20

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.18 (Darwin)
Comment: GPGTools - http://gpgtools.org

iEYEARECAAYFAlWyPXEACgkQiuTu0PWcEcsmKwCg6sJ3rnzvjzEF196wVbliRmiJ
m/UAoNMTvX2vIIGgUuWT/oINUTRcZIF/
=3DlzSI
-----END PGP SIGNATURE-----


From nobody Fri Jul 24 07:05:29 2015
Return-Path: <Kenny.Paterson@rhul.ac.uk>
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 2F9781A916B for <cfrg@ietfa.amsl.com>; Fri, 24 Jul 2015 07:05:28 -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, LOTS_OF_MONEY=0.001, SPF_HELO_PASS=-0.001, 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 cd7-0HtrDlWX for <cfrg@ietfa.amsl.com>; Fri, 24 Jul 2015 07:05:25 -0700 (PDT)
Received: from emea01-db3-obe.outbound.protection.outlook.com (mail-db3on0639.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe04::639]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 77C441A00C1 for <cfrg@irtf.org>; Fri, 24 Jul 2015 07:05:25 -0700 (PDT)
Received: from DBXPR03MB383.eurprd03.prod.outlook.com (10.141.10.15) by DBXPR03MB382.eurprd03.prod.outlook.com (10.141.10.12) with Microsoft SMTP Server (TLS) id 15.1.219.17; Fri, 24 Jul 2015 14:05:06 +0000
Received: from DBXPR03MB383.eurprd03.prod.outlook.com ([10.141.10.15]) by DBXPR03MB383.eurprd03.prod.outlook.com ([10.141.10.15]) with mapi id 15.01.0219.018; Fri, 24 Jul 2015 14:05:06 +0000
From: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
To: Russ Housley <housley@vigilsec.com>, Aaron Zauner <azet@azet.org>
Thread-Topic: [Cfrg] Short Authentication Tags in AES-128-CCM
Thread-Index: AQHQxGgi0nRBK3OzSU+WgtPvVv2TEJ3n1i6AgAE6S4CAABS/AIABXrUAgAAcdYCAABsFgA==
Date: Fri, 24 Jul 2015 14:05:06 +0000
Message-ID: <D1D8047A.4FEA8%kenny.paterson@rhul.ac.uk>
References: <55AE1BB7.8070906@gmx.net> <55AF6E7E.5000300@gmx.net> <D1D5328F.737E3%paul@marvell.com> <55B0EDF9.8000000@azet.org> <2F97F398-55E7-4F8A-A76C-7AB1BF14EFD3@vigilsec.com> <55B22592.80102@azet.org> <417866A7-0244-4F79-A5FF-E7F33D3A84DF@vigilsec.com>
In-Reply-To: <417866A7-0244-4F79-A5FF-E7F33D3A84DF@vigilsec.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.5.3.150624
authentication-results: vigilsec.com; dkim=none (message not signed) header.d=none;
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [134.219.227.30]
x-microsoft-exchange-diagnostics: 1; DBXPR03MB382; 5:OPVRvsLSMfcpotxRNwpCOLnyaoOiVYwyv+/u3JaR0TqEjKJ081u9fSMjbBDzcX0PKEY+inSVKrDSeohSJkJ2+KbnfBM039rxm54uA6wDr8WsFoFHl1NT/AKJtrAG6ZjWKAi3iz85aDOmQKAK0EybwA==; 24:2FP7/38jVjstUxmPHoX+MPZ74Eagn94OiHt56QySM7qhrsIf/oxlhu5t1Xt4EVORKejKYQzEJHrGzltepoylux6FJiuycMCnNE66/Anhi6E=; 20:+18JDShMP5H8J598hgEeowBRV2VP5cDQxDRJNgvHc7PWZgzcB6rQbvgEAEjumOL/NLw9mVfVZ4Gtu3XsfrEN3w==
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DBXPR03MB382;
dbxpr03mb382: X-MS-Exchange-Organization-RulesExecuted
x-microsoft-antispam-prvs: <DBXPR03MB3822D872C5903DCC804FDC2BC810@DBXPR03MB382.eurprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:DBXPR03MB382; BCL:0; PCL:0; RULEID:; SRVR:DBXPR03MB382; 
x-forefront-prvs: 0647963F84
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(24454002)(479174004)(54524002)(164054003)(377454003)(76176999)(19580395003)(36756003)(66066001)(93886004)(106116001)(189998001)(5001960100002)(230783001)(54356999)(5002640100001)(87936001)(92566002)(40100003)(16601075003)(50986999)(2950100001)(62966003)(122556002)(2656002)(86362001)(46102003)(2900100001)(102836002)(74482002)(5001770100001)(4001350100001)(575784001)(77156002)(15975445007)(1720100001)(83506001)(19580405001)(77096005); DIR:OUT; SFP:1101; SCL:1; SRVR:DBXPR03MB382; H:DBXPR03MB383.eurprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
Content-Type: text/plain; charset="us-ascii"
Content-ID: <48DB817D1AA9E9429008C434FB9ECF8B@eurprd03.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: rhul.ac.uk
X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jul 2015 14:05:06.3654 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 2efd699a-1922-4e69-b601-108008d28a2e
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBXPR03MB382
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/9BeBJz4ZV8MMkP60RzbakhDz-a0>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Short Authentication Tags in AES-128-CCM
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 24 Jul 2015 14:05:28 -0000

Hi

On 24/07/2015 14:28, "Cfrg on behalf of Russ Housley"
<cfrg-bounces@irtf.org on behalf of housley@vigilsec.com> wrote:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>You are right, the three patents are from Gligor, Juntla (not Joux), and
>Rogaway.


And it's Jutla, not Juntla.

Cheers

Kenny=20





>
>Russ
>
>
>On Jul 24, 2015, at 7:46 AM, Aaron Zauner wrote:
>
>> Hi Russ,
>>=20
>> Russ Housley wrote:
>>> In the past, we have been told that Gligor (University of Maryland),
>>>Joux (IBM), and Rogaway all have patents that read on AES-OCB.  I have
>>>never heard anyone refute that.  So, it seems that two more IPR
>>>declarations are needed.
>>=20
>> I'm aware of the following patents:
>>=20
>> Rogaway (multiple)
>> Juntla-Rabin/IBM (multiple)
>>=20
>> To my knowledge it is unclear if Gligor has patents that actually relate
>> to OCB or not. Rogaway has included them though in his initial IPR
>> declarations for the general AES-OCB spec. document.
>>=20
>> IPR:
>>=20
>>https://datatracker.ietf.org/ipr/search/?submit=3Ddraft&id=3Ddraft-irtf-c=
frg-
>>ocb
>>=20
>> Gilgor's patent:
>>=20
>>https://www.google.com/patents/US6973187?dq=3Dpatent:6973187&hl=3Den&sa=
=3DX&ved
>>=3D0CB0Q6AEwAGoVChMI2bnM5tfzxgIVhkAUCh3OzAt0
>>=20
>> (Thus this patent expires in 2021)
>>=20
>> I will try to follow up with Gilgor on that (haven't previously as I
>> assumed his patent is too general to have any impact on OCB. Rogaway
>> also didn't specifically point me to Gilgor).
>>=20
>> Thanks,
>> Aaron
>>=20
>
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG/MacGPG2 v2.0.18 (Darwin)
>Comment: GPGTools - http://gpgtools.org
>
>iEYEARECAAYFAlWyPXEACgkQiuTu0PWcEcsmKwCg6sJ3rnzvjzEF196wVbliRmiJ
>m/UAoNMTvX2vIIGgUuWT/oINUTRcZIF/
>=3DlzSI
>-----END PGP SIGNATURE-----
>
>_______________________________________________
>Cfrg mailing list
>Cfrg@irtf.org
>http://www.irtf.org/mailman/listinfo/cfrg


From nobody Fri Jul 24 07:39:01 2015
Return-Path: <mcgrew@cisco.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 CA9D21B2FFD for <cfrg@ietfa.amsl.com>; Fri, 24 Jul 2015 07:38:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.511
X-Spam-Level: 
X-Spam-Status: No, score=-14.511 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_DKIM_WL=-7.5] 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 N9mIqFdlkd8e for <cfrg@ietfa.amsl.com>; Fri, 24 Jul 2015 07:38:58 -0700 (PDT)
Received: from rcdn-iport-3.cisco.com (rcdn-iport-3.cisco.com [173.37.86.74]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 454D51B2F7E for <cfrg@irtf.org>; Fri, 24 Jul 2015 07:38:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1730; q=dns/txt; s=iport; t=1437748708; x=1438958308; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=cVKDr6bYFal23/rVRvCMAm99MDDv8ORCiEMTj5q3y4k=; b=Jj9w9VzbztAbj7v+cxlgeK8A3ONMGYOVgzrPF+ZAgIlrjRBZq1Yw+YTw 8e7E/dZzqT8mNLOo5HzjReAk3vadCZJZ/lHKZmoHfX3ybvh8IsOAsZxW7 hpwizTj7sTjeBuNIixdBwZW/SGCLXEOhZisWyAs/Ih5eYf4CZwTUyToNm M=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0ACBQDjTLJV/4YNJK1GFoMVVGkGvT+GAQKBQDwQAQEBAQEBAYEKhCQBAQICOj8QAgEIIgkCCRAyJQIEAQ0NiCYNzWIBAQEBAQEBAQEBAQEBAQEBAQEBAQEXi02BPYJfEigxBwqDDoEUBZRjAYR1iVGXGSZkgSkBHIFTbwGBA0OBBAEBAQ
X-IronPort-AV: E=Sophos;i="5.15,538,1432598400"; d="scan'208";a="18447233"
Received: from alln-core-12.cisco.com ([173.36.13.134]) by rcdn-iport-3.cisco.com with ESMTP; 24 Jul 2015 14:38:27 +0000
Received: from xhc-aln-x12.cisco.com (xhc-aln-x12.cisco.com [173.36.12.86]) by alln-core-12.cisco.com (8.14.5/8.14.5) with ESMTP id t6OEcRbv002765 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Fri, 24 Jul 2015 14:38:27 GMT
Received: from xmb-rcd-x04.cisco.com ([169.254.8.177]) by xhc-aln-x12.cisco.com ([173.36.12.86]) with mapi id 14.03.0195.001; Fri, 24 Jul 2015 09:38:27 -0500
From: "David McGrew (mcgrew)" <mcgrew@cisco.com>
To: Watson Ladd <watsonbladd@gmail.com>, Hannes Tschofenig <hannes.tschofenig@gmx.net>
Thread-Topic: [Cfrg] Short Authentication Tags in AES-128-CCM
Thread-Index: AQHQxGgdG3Iig8iq3Emp3myGtB9DRZ3n0viAgALTwAA=
Date: Fri, 24 Jul 2015 14:38:25 +0000
Message-ID: <747787E65E3FBD4E93F0EB2F14DB556B1A021259@xmb-rcd-x04.cisco.com>
References: <55AE1BB7.8070906@gmx.net>	<55AF6E7E.5000300@gmx.net> <CACsn0c=u+02YCBRUTt+a+wkVtMt91BpDYF0qdK17D5RQ43Ga1g@mail.gmail.com>
In-Reply-To: <CACsn0c=u+02YCBRUTt+a+wkVtMt91BpDYF0qdK17D5RQ43Ga1g@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.117.10.228]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/Et9m4YW6BdEhTq-NsCYBzAlbCWE>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Short Authentication Tags in AES-128-CCM
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 24 Jul 2015 14:39:00 -0000

Hi Hannes,

Hannes said:
>  * Are you aware of attacks against the AES-128-CCM-8?
>  * Are there concerns with the use of short authentication tags, as we=20
> recommend for the IoT context? (Needless to say that there is a=20
> tradeoff between rekeying and the number of bits the tag has.)

Watson said:
> See Theorem 1 and 2 in
> http://csrc.nist.gov/groups/ST/toolkit/BCM/documents/ccm-ad1.pdf.=20
> CCM loses only the expected security as you shorten tags,  and in=20
> particular a single forgery does not enable more as with GCM.

As Waston suggests, CCM is the best standard AEAD algorithm to use if you w=
ant to use short tags. =20

Short authentication tags are acceptable when the effect of a successful fo=
rgery are well understood and are contained (and when the cryptographic alg=
orithm does not suffer from repeat forgery attacks, as with GCM and many ot=
her universal hash based systems).   For instance, if the authenticated pay=
load is compressed audio that will be decoded and played out during a fract=
ion of a second, a small chance of forgery seems acceptable.   But if the e=
ffect of a successful forgery would be to cause the receiver/victim to stor=
e some forged long-term state, that would be a problem.   A good example of=
 this sort of thing is desynchronization due to a forgery, or the classic "=
change the account number on the bank transaction".   In my opinion, whenev=
er a standard decides to allow short authentication tags, it should explici=
tly describe the requirement that an application should be able to tolerate=
 a limited number of forgeries.   Even if we all understand the issues, fut=
ure adopters of the standard may not.

Best

David


From nobody Fri Jul 24 09:00:41 2015
Return-Path: <brynosaurus@gmail.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 6AC5F1B3091 for <cfrg@ietfa.amsl.com>; Fri, 24 Jul 2015 09:00:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 4.3
X-Spam-Level: ****
X-Spam-Status: No, score=4.3 tagged_above=-999 required=5 tests=[BAYES_50=0.8,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, J_CHICKENPOX_101=0.6, J_CHICKENPOX_32=0.6, J_CHICKENPOX_61=0.6, J_CHICKENPOX_71=0.6, J_CHICKENPOX_84=0.6, J_CHICKENPOX_91=0.6, SPF_PASS=-0.001] 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 17ZpbkcyatAo for <cfrg@ietfa.amsl.com>; Fri, 24 Jul 2015 09:00:38 -0700 (PDT)
Received: from mail-wi0-x230.google.com (mail-wi0-x230.google.com [IPv6:2a00:1450:400c:c05::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A1C121ACEC3 for <cfrg@irtf.org>; Fri, 24 Jul 2015 09:00:23 -0700 (PDT)
Received: by wibxm9 with SMTP id xm9so35133183wib.0 for <cfrg@irtf.org>; Fri, 24 Jul 2015 09:00:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=from:content-type:subject:message-id:date:to:mime-version; bh=z5K/iqW8XOnQ9jD2AdyKVA9BomxGUwODGMkwpjk2ICw=; b=iec5uZe3Fb1Rj1FJ1b/mOhGJk7xSgXcm354Tb0hUE9TzS49yiSEzutiqfVOugDmRhx IyQpDv3VJ4YwxNpR19Vk2AHt08T9ZzFLTLJeprcTnUUlDH6qrextWTOvAzy2MMAKLURp Y478HPQXZd91UdNodolBQnrN7JNNL0G4Yhku5SRqEvfG4CJcvHvvYrYiSpztmJDe3dqD rhwZ3L/ukUS32PdzFtAc9IBT+KHe6mZt6AdBHe5dymc6IxJ1w3941qsUj/81FxOM1Bqg 6JL029LRfL/ruaphLw98oeK1SpR70jc0ae+teEmzplJ9cCsZDWPqpJ8/q0csoVtBBngE YSOg==
X-Received: by 10.194.57.170 with SMTP id j10mr27331194wjq.140.1437753622408;  Fri, 24 Jul 2015 09:00:22 -0700 (PDT)
Received: from [10.12.14.178] (198.151.broadband16.iol.cz. [90.183.151.198]) by smtp.gmail.com with ESMTPSA id js3sm13305668wjc.5.2015.07.24.09.00.21 for <cfrg@irtf.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 24 Jul 2015 09:00:21 -0700 (PDT)
From: Bryan Ford <brynosaurus@gmail.com>
Content-Type: multipart/signed; boundary="Apple-Mail=_FD41C651-C9C7-44E1-B274-757B4D4151C9"; protocol="application/pkcs7-signature"; micalg=sha1
Message-Id: <F5BE5D93-FFED-4CB1-AF2C-491C2D9A6120@gmail.com>
Date: Fri, 24 Jul 2015 18:00:20 +0200
To: cfrg@irtf.org
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
X-Mailer: Apple Mail (2.2102)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/1jfoX5_KGIjwIJJuSpGcd8JQP8Y>
Subject: [Cfrg] Using SHAKE as the hash scheme
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 24 Jul 2015 16:00:40 -0000

--Apple-Mail=_FD41C651-C9C7-44E1-B274-757B4D4151C9
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Following up on Dan Brown=E2=80=99s suggestion of considering SHAKE as a =
hash, I would like to elaborate on this a bit further and offer a =
concrete proposal in this direction.  I=E2=80=99ll use eddsa as a base =
and fiddle only with the hash stuff, treating all other issues as =
orthogonal (at least among the Schnorr-based schemes).

Let=E2=80=99s call this scheme =E2=80=98edshake=E2=80=99 for lack of a =
better name.  edshake differs from eddsa only in hash functions.  For =
the 25519 curve, we set H to be SHAKE128(M,512) or SHAKE128 with 512-bit =
output; for Goldilocks we use SHAKE256(M,1024).  We rely on the fact =
that the SHAKE functions can produce arbitrary-length output, specifying =
below which and how many output bytes are taken from each call to the =
SHAKE function H.  We also rely on SHAKE not having the length-extension =
weaknesses that SHA2 do; this design is likely NOT suitable for use with =
SHA2.

secret key expansion/elaboration:
	a =3D H(sk)[0:b/8]
	seed =3D H(sk)[b/8:2*b/8]

signing:
	r =3D H(m || seed || =E2=80=98r')[0:2*b/8]
	h =3D H(m || R || A || =E2=80=98c=E2=80=99)[0:2*b/8]

All else works the same as eddsa.

Key benefits:

- Simplicity of construction, leveraging both SHAKE=E2=80=99s lack of =
length-extension attacks and its ability to produce arbitrary-length =
output.

- Just one size of hash algorithm used for everything, for a given =
security parameter - in contrast with, for example, Ed25519 using =
SHA-512 internally but most plausibly SHA-256 for the prehash to support =
IUF.

- Further, just one underlying symmetric crypto primitive (Keccak-1600) =
supports both the 128-bit and 256-bit security modes to be matched with =
the 25519 vs Goldilocks curves - in contrast with SHA256 vs SHA512, =
which require different underlying hash function implementations.  This =
can reduce the size of implementations that wish to support both =
security strengths.

- For small messages this construction requires only two calls to the =
underlying hash/sponge function during signing, in contrast with the =
schemes that use a prehash, all of which I believe require at least =
three calls to the hash in total.  Of course we might not care that much =
about the number of hash calls for a minimum-sized signature since the =
public-key calculations will dominate, but we might care a little.

- The construction supports IUF efficiently without either using a =
prehash or running large messages through the hash function twice.  In =
an optimized implementation of this signature scheme, the Initialization =
function just initializes a single SHAKE instance, and the Update =
function incrementally feeds only complete blocks of the possibly-long =
message m into it, and caches partial blocks without immediately =
absorbing them.  The Finalize+Sign function then (1) clones the SHAKE =
state, (2) absorbs (final partial message block || seed || =E2=80=98r=E2=80=
=99) into one copy of the state to compute r, (3) computes R, (4) =
absorbs (final partial message block || R || A || =E2=80=98c=E2=80=99) =
into the other copy of the state to compute the Schnorr challenge h.  =
(Incidentally, I would prefer =E2=80=98h=E2=80=99 to be called =E2=80=98c=E2=
=80=99 because it=E2=80=99s a challenge and there are several hashes =
here that could as well be called =E2=80=98h', but that=E2=80=99s a =
minor point of taste.)

- In the hopefully unlikely event that a signature implementation must =
use an underlying Keccak/SHA3 implementation that offers no way to clone =
the sponge state, all is not lost.  That signature implementation can =
simply absorb the message twice into two separate Keccak sponge =
instances, which remain in lock-step throughout the message and hence =
still support IUF but diverge only at the end.  But this seems unlikely =
to be an issue for SHA3 since there aren=E2=80=99t so many =E2=80=9Clegacy=
=E2=80=9D implementations of SHA3 out there yet.

Note: The =E2=80=98r=E2=80=99 and =E2=80=98c=E2=80=99 suffixes appended =
in signing are just for clean domain-separation, although I think they =
are actually unnecessary and could safely be dropped.  There should be a =
negligible probability the secret =E2=80=98seed=E2=80=99 could collide =
with (R || A), and in any case (R || A) will be twice as long as seed =
and thus always differentiated on length (which SHAKE=E2=80=99s padding =
and extension-attack-resistance ensures is adequate for =
differentiation).

Of course this construction would not provide as much conservative =
strength against internal collision weaknesses in the hash function as =
using a =E2=80=9Cdouble-width-pipe=E2=80=9D hash like SHA3-256 (for =
curve25519) and SHA3-512 (for Goldilocks) would.  But the SHAKEs will =
also be faster because they process more data for each sponge function =
call.

In keeping with DJB=E2=80=99s great prototyping spirit, here is a quick =
patch adding edshake to signatures.py.  Since I couldn=E2=80=99t in 10 =
minutes find a handy Python implementation of SHAKE, the code rather =
incorrectly uses SHA2-512(M) in lieu of SHAKE128(M,512) - i.e., SHAKE128 =
with 512-bit output.  Again, this is just to explore potential =
advantages of using SHAKE as the hash and is not intended to weigh in =
one way or another on the many other orthogonal design issues under =
discussion.

Cheers
Bryan

diff --git a/ietf/cfrg/signatures.py b/ietf/cfrg/signatures.py
index 7563c17..19a48b2 100644
--- a/ietf/cfrg/signatures.py
+++ b/ietf/cfrg/signatures.py
@@ -119,13 +119,14 @@ assert expmod(I,2,q) =3D=3D q-1
 assert isoncurve(B)
 assert scalarmult(B,l) =3D=3D (0,1)
=20
-for scheme in ['brown','eddsa','hamburg','ladd','liusvaara']:
+for scheme in ['brown','eddsa','hamburg','ladd','liusvaara','edshake']:
=20
   brown =3D (scheme =3D=3D 'brown')
   eddsa =3D (scheme =3D=3D 'eddsa')
   hamburg =3D (scheme =3D=3D 'hamburg')
   ladd =3D (scheme =3D=3D 'ladd')
   liusvaara =3D (scheme =3D=3D 'liusvaara')
+  edshake =3D (scheme =3D=3D 'edshake')
=20
   if hamburg:
     def H(m):
@@ -137,6 +138,10 @@ for scheme in =
['brown','eddsa','hamburg','ladd','liusvaara']:
   if eddsa or ladd or liusvaara:
     def H(m):
       return hashlib.sha512(m).digest()
+  if edshake:
+    def H(m):
+      return hashlib.sha512(m).digest()	# XXX pretend this is =
SHAKE128(M,512)
+      # return somelib.shake128(m,512).digest()		# what =
we want
=20
   if eddsa or hamburg or liusvaara:
     def prehash(m):
@@ -178,6 +183,8 @@ for scheme in =
['brown','eddsa','hamburg','ladd','liusvaara']:
         a -=3D a % 8
         a %=3D 2**(b-2)
         a +=3D 2**(b-2)
+      if edshake:
+        return a,(sk + 'r')
       return a,sk[b/8:]
  =20
     def secretscalar(sk):
@@ -203,6 +210,8 @@ for scheme in =
['brown','eddsa','hamburg','ladd','liusvaara']:
     if liusvaara:
       m =3D selfdelim(hashid) + selfdelim(context) + =
selfdelim(prehash(m))
       rinput =3D '\x02' + selfdelim(seed) + m
+    if edshake:
+      rinput =3D m + seed + 'r'	# should pad to sponge rate
=20
     if hamburg:
       r =3D prf(sk,rinput)
@@ -220,12 +229,14 @@ for scheme in =
['brown','eddsa','hamburg','ladd','liusvaara']:
       hinput =3D 'CHAL' + context + pk + R + m
     if liusvaara:
       hinput =3D '\x03' + encodeint(b,16) + R + pk + m
+    if edshake:
+      hinput =3D m + R + pk + 'c'
=20
     h =3D H(hinput)
     inth =3D decodeint(h)
     if brown:
       S =3D ((truncate(inth) + a * decodeint(R)) * linv(r)) % l
-    if eddsa:
+    if eddsa or edshake:
       S =3D (r + inth * a) % l
     if hamburg or ladd or liusvaara:
       S =3D (r - inth * a) % l
@@ -256,13 +267,15 @@ for scheme in =
['brown','eddsa','hamburg','ladd','liusvaara']:
       if liusvaara:
         m =3D selfdelim(hashid) + selfdelim(context) + =
selfdelim(prehash(m))
         hinput =3D '\x03' + encodeint(b,16) + encodepoint(R) + pk + m
+      if edshake:
+        hinput =3D m + encodepoint(R) + pk + 'c'
       h =3D decodeint(H(hinput))
  =20
       if brown:
         h =3D truncate(h)
         h2 =3D decodeint(encodepoint(R))
         if scalarmult(R,S) =3D=3D =
edwards(scalarmult(B,h),scalarmult(A,h2)): return
-      if eddsa:
+      if eddsa or edshake:
         if scalarmult(B,S) =3D=3D edwards(R,scalarmult(A,h)): return
       if ladd or liusvaara:
         if R =3D=3D edwards(scalarmult(B,S),scalarmult(A,h)): return



--Apple-Mail=_FD41C651-C9C7-44E1-B274-757B4D4151C9
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJ+DCCBK8w
ggOXoAMCAQICEQDgI8sVEoNTia1hbnpUZ2shMA0GCSqGSIb3DQEBCwUAMG8xCzAJBgNVBAYTAlNF
MRQwEgYDVQQKEwtBZGRUcnVzdCBBQjEmMCQGA1UECxMdQWRkVHJ1c3QgRXh0ZXJuYWwgVFRQIE5l
dHdvcmsxIjAgBgNVBAMTGUFkZFRydXN0IEV4dGVybmFsIENBIFJvb3QwHhcNMTQxMjIyMDAwMDAw
WhcNMjAwNTMwMTA0ODM4WjCBmzELMAkGA1UEBhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hl
c3RlcjEQMA4GA1UEBxMHU2FsZm9yZDEaMBgGA1UEChMRQ09NT0RPIENBIExpbWl0ZWQxQTA/BgNV
BAMTOENPTU9ETyBTSEEtMjU2IENsaWVudCBBdXRoZW50aWNhdGlvbiBhbmQgU2VjdXJlIEVtYWls
IENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAibEN2npTGU5wUh28VqYGJre4SeCW
51Gr8fBaE0kVo7SMG2C8elFCp3mMpCLfF2FOkdV2IwoU00oCf7YdCYBupQQ92bq7Fv6hh6kuQ1JD
FnyvMlDIpk9a6QjYz5MlnHuI6DBk5qT4VoD9KiQUMxeZrETlaYujRgZLwjPU6UCfBrCxrJNAubUI
kzqcKlOjENs9IGE8VQOO2U52JQIhKfqjfHF2T+7hX4Hp+1SA28N7NVK3hN4iPSwwLTF/Wb1SN7Az
aS1D6/rWpfGXd2dRjNnuJ+u8pQc4doykqTj/34z1A6xJvs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TYgQ2xpZW50IEF1dGhlbnRpY2F0aW9uIGFuZCBTZWN1cmUgRW1haWwg
Q0ECEBalm03EcGSFWgbYcpp5puowgcMGCyqGSIb3DQEJEAILMYGzoIGwMIGbMQswCQYDVQQGEwJH
QjEbMBkGA1UECBMSR3JlYXRlciBNYW5jaGVzdGVyMRAwDgYDVQQHEwdTYWxmb3JkMRowGAYDVQQK
ExFDT01PRE8gQ0EgTGltaXRlZDFBMD8GA1UEAxM4Q09NT0RPIFNIQS0yNTYgQ2xpZW50IEF1dGhl
bnRpY2F0aW9uIGFuZCBTZWN1cmUgRW1haWwgQ0ECEBalm03EcGSFWgbYcpp5puowDQYJKoZIhvcN
AQEBBQAEggEADbSpVOaIRqQbDNciRuy5uQ5L8WbWlT5u5NLKY7TD3vzg/gQUP7JRp3j1SMND8HHX
yx2xzv8ITPVdLfZdnezkjchNXuBV6y/7cuQrn8PFZXUeSq865rHO/Drr+DVMehA7fsly2ECcxXnT
WuxbKYhquBmXOmGroGIPon008o9egxtEvWrv4NFj5MYT2y8xaXRYPR+B5p00KRg3vokSC48AdeaQ
/7aKb1AmP7Hp3W0rsuseqSlXNtPm1ETSWuP3Ow5YStKmrOUFygjun6F00xeLvWiK9Oo+sJmDgHq9
UoPSzAPhLBzCmDfmJqtokRQA6ZEjS0+CBba3gEnwzhrpJ/zINgAAAAAAAA==
--Apple-Mail=_FD41C651-C9C7-44E1-B274-757B4D4151C9--


From nobody Fri Jul 24 10:09:42 2015
Return-Path: <dbrown@certicom.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 9DEA81A0233 for <cfrg@ietfa.amsl.com>; Fri, 24 Jul 2015 10:09:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.701
X-Spam-Level: 
X-Spam-Status: No, score=-0.701 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, 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 dirNqwA4_sOl for <cfrg@ietfa.amsl.com>; Fri, 24 Jul 2015 10:09:38 -0700 (PDT)
Received: from smtp-p02.blackberry.com (smtp-p02.blackberry.com [208.65.78.89]) by ietfa.amsl.com (Postfix) with ESMTP id 211C81A0354 for <cfrg@irtf.org>; Fri, 24 Jul 2015 10:09:38 -0700 (PDT)
Received: from xct101cnc.rim.net ([10.65.161.201]) by mhs213cnc.rim.net with ESMTP/TLS/AES128-SHA; 24 Jul 2015 13:09:37 -0400
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT101CNC.rim.net ([fe80::9c22:d9c:c906:c488%16]) with mapi id 14.03.0210.002; Fri, 24 Jul 2015 13:09:36 -0400
From: Dan Brown <dbrown@certicom.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: ElGamal * Schnorr: quick idea?
Thread-Index: AdDGMF1nArQ8mWriSsS9qgmiUYx8gg==
Date: Fri, 24 Jul 2015 17:09:35 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5E198AE@XMB116CNC.rim.net>
Accept-Language: en-CA, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [10.65.160.251]
Content-Type: application/pkcs7-mime; smime-type=signed-data; name="smime.p7m"
Content-Disposition: attachment; filename="smime.p7m"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/EW25buz2lRl15jzV4SNj5-LrLUg>
Subject: [Cfrg] ElGamal * Schnorr: quick idea?
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 24 Jul 2015 17:09:41 -0000

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAaCAJIAEggk+Q29u
dGVudC1UeXBlOiBtdWx0aXBhcnQvbWl4ZWQ7DQoJYm91bmRhcnk9Ii0tLS09X05leHRQYXJ0XzAw
MF8wMDE5XzAxRDBDNjExLkZEMUJEREYwIg0KWC1NUy1UTkVGLUNvcnJlbGF0b3I6IDw4MTBDMzE5
OTBCNTdFRDQwQjIwNjJCQTEwRDQzRkJGNUUxOThBRUBYTUIxMTZDTkMucmltLm5ldD4NCg0KVGhp
cyBpcyBhIG11bHRpcGFydCBtZXNzYWdlIGluIE1JTUUgZm9ybWF0Lg0KDQotLS0tLS09X05leHRQ
YXJ0XzAwMF8wMDE5XzAxRDBDNjExLkZEMUJEREYwDQpDb250ZW50LVR5cGU6IHRleHQvcGxhaW47
DQoJY2hhcnNldD0idXMtYXNjaWkiDQpDb250ZW50LVRyYW5zZmVyLUVuY29kaW5nOiA3Yml0DQoN
CkRlYXIgQ0ZSRywNCg0KS2VubnkgYXNrZWQgbWUgb2ZmLWxpc3QgaWYgbXkgcHJvcG9zYWwgKEVD
RFNBX0NGUkcpIGNvdWxkIGJlIGFtZW5kZWQgdG8NCmF2b2lkIGludmVyc2lvbiBtb2QgdGhlIGdy
b3VwIG9yZGVyLg0KDQpJIHRvbGQgaGltIG1heWJlLg0KDQpUaGVuIEkgcmVmcmVzaGVkIG15IGhp
c3Rvcnkgb2Ygc2lnbmF0dXJlcyBieSBsb29raW5nIGludG8gdGhlIEhhbmRib29rIG9mDQpBc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QBGRYDbmV0MRMwEQYKCZImiZPyLGQBGRYD
cmltMSQwIgYDVQQDExtSSU0gU3Vib3JkaW5hdGUgQ0EgTUNBMDNZS0YCClvwCZYABAA8faIwbwYL
KoZIhvcNAQkQAgsxYKBeMFAxEzARBgoJkiaJk/IsZAEZFgNuZXQxEzARBgoJkiaJk/IsZAEZFgNy
aW0xJDAiBgNVBAMTG1JJTSBTdWJvcmRpbmF0ZSBDQSBNQ0EwM1lLRgIKW/AJlgAEADx9ojCBqwYJ
KoZIhvcNAQkPMYGdMIGaMAsGCWCGSAFlAwQBKjALBglghkgBZQMEARYwCgYIKoZIhvcNAwcwCwYJ
YIZIAWUDBAECMA4GCCqGSIb3DQMCAgIAgDAHBgUrDgMCBzANBggqhkiG9w0DAgIBQDANBggqhkiG
9w0DAgIBKDAHBgUrDgMCGjALBglghkgBZQMEAgMwCwYJYIZIAWUDBAICMAsGCWCGSAFlAwQCATAN
BgkqhkiG9w0BAQEFAASBgAsooONY3qRwxpjyBJFspOxLu1NZCYaB4Tjt8Y5n8c2NqGSzypGi2e6P
2SDrkaW6wujoWLJCJWw+0TefgKP2DPX6tuvLIcNY18TrV4AV8f1Z2L4FH1/ReQdJqgFF06Z3Tbds
Ee1Fqp8qYRC5iXLq3QDZFNDr9ut2+6QUJXSAi5K3AAAAAAAA


From nobody Fri Jul 24 10:18:40 2015
Return-Path: <mike@shiftleft.org>
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 0F6D01A079D for <cfrg@ietfa.amsl.com>; Fri, 24 Jul 2015 10:18:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.556
X-Spam-Level: *
X-Spam-Status: No, score=1.556 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FH_HOST_EQ_D_D_D_D=0.765, FH_HOST_EQ_D_D_D_DB=0.888, HELO_MISMATCH_ORG=0.611, HOST_MISMATCH_NET=0.311, HTML_MESSAGE=0.001, RDNS_DYNAMIC=0.982, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] 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 WCnniC1VBjoJ for <cfrg@ietfa.amsl.com>; Fri, 24 Jul 2015 10:18:37 -0700 (PDT)
Received: from aspartame.shiftleft.org (199-116-74-168-v301.PUBLIC.monkeybrains.net [199.116.74.168]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A05481A0439 for <cfrg@irtf.org>; Fri, 24 Jul 2015 10:18:37 -0700 (PDT)
Received: from [10.184.148.249] (unknown [209.36.6.242]) by aspartame.shiftleft.org (Postfix) with ESMTPSA id E4FAE3A9C7; Fri, 24 Jul 2015 10:13:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=shiftleft.org; s=sldo; t=1437758008; bh=tfZSHN+BuNXOIVIJLudaVfRfhSzPmZNIlD1beAuqyhM=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=ej9knxFuUyBR4UGOYhV8AbLt2x0SckESnrU3LsJiVri+QFyhaF2j3xxSj0guUsJh1 aF4AgcTgt6x/fMx4MYepJBe5AqThYSsODLaCS5NO7mc3zAbJ3ridkuTs+bSq4JnbPW Wfs1ASHauV3MY0r762RhQbeuk0W/zPGC3JL+2XiY=
Content-Type: multipart/alternative; boundary="Apple-Mail=_095B1E19-8961-4FBD-9E87-3AD5CF7123E0"
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
From: Michael Hamburg <mike@shiftleft.org>
In-Reply-To: <9A043F3CF02CD34C8E74AC1594475C73AB06CACC@uxcn10-tdc05.UoA.auckland.ac.nz>
Date: Fri, 24 Jul 2015 10:18:36 -0700
Message-Id: <DE55FD85-7286-4D41-AE0A-6E824B5FED6F@shiftleft.org>
References: <9A043F3CF02CD34C8E74AC1594475C73AB06B5CB@uxcn10-tdc05.UoA.auckland.ac.nz> <B089DE1B-0B06-465E-8029-F23A8636B7D8@shiftleft.org> <9A043F3CF02CD34C8E74AC1594475C73AB06CACC@uxcn10-tdc05.UoA.auckland.ac.nz>
To: Peter Gutmann <pgut001@cs.auckland.ac.nz>
X-Mailer: Apple Mail (2.2102)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/0HUTTSedwJpLcXUe9yoiJ571zvo>
Cc: IRTF Crypto Forum Research Group <cfrg@irtf.org>
Subject: Re: [Cfrg] [TLS] A la carte handshake negotiation
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 24 Jul 2015 17:18:39 -0000

--Apple-Mail=_095B1E19-8961-4FBD-9E87-3AD5CF7123E0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252


> On Jul 24, 2015, at 2:56 AM, Peter Gutmann <pgut001@cs.auckland.ac.nz> =
wrote:
>=20
> Michael Hamburg <mike@shiftleft.org <mailto:mike@shiftleft.org>> =
writes:
>=20
> >While MD5 and small-characteristic discrete log were considered =
somewhat
> >sketchy before they were broken, they were both considered acceptable =
right
> >up until they were broken wide open.
>=20
> Uhh, that's wrong on both counts, MD5 has been known to be problematic =
since
> Dobbertin's work twenty years ago (so it's only "considered =
acceptable" if
> you've been living in a cave for at least the last fifteen years), and =
it's
> not "broken wide open" even now, you can generate collisions under =
certain
> circumstances, but not if some basic protective measures like =
randomisation
> are used, and can't generate preimages at all.  It's been a slow =
(nearly) 25-
> year slide, not a sudden break.

I agree that it was considered concerning and that SHA-1 was =
recommended.  This was as much due to its size as to its cryptanalytic =
flaws.  There was a project to generate one with 2^64 work, right before =
a practical cryptanalytic attack was announced.

> >small-characteristic discrete log
>=20
> ... as used in which (mainstream, standardised) security protocol?

I thought we were talking about algorithms, not protocols?  Anyway, this =
is getting pretty close to a =93no true Scotsman=94 argument.  MD5 and =
RC4 were in widely deployed protocols that weren=92t =93properly =
designed=94, and tiny-char discrete log was in systems which claimed to =
be production-quality and were considered properly designed, but weren=92t=
 widely deployed.

> >That=92s why some users will want to use them, and why it=92s =
reasonable for TLS
> >to support them in cipher suites.
>=20
> So far the only thing that backup cipher suites (or whatever you want =
to call
> them, the also-rans that accompany the default cipher suite that's =
first on
> the list) has given us is security vulnerabilities.  Lots and lots of =
security
> vulnerabilities.  In over two decades of SSL and TLS use, we've never =
actually
> needed them.
>=20
> Peter.

The first on which list?  I=92m seeing ECDHE-RSA-AES256-GCM-SHA384 at =
the top on my laptop, which seems like not a bad choice if the RSA and =
ECDHE are big enough.

I agree that cipher suite proliferation is a problem.  I=92m just =
arguing that there should be a conservative cipher suite to accompany =
the =93RSA-1536 should be enough for anyone=94 default.

=97 Mike



--Apple-Mail=_095B1E19-8961-4FBD-9E87-3AD5CF7123E0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=windows-1252

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dwindows-1252"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D""><br class=3D""><div><blockquote type=3D"cite" class=3D""><div =
class=3D"">On Jul 24, 2015, at 2:56 AM, Peter Gutmann &lt;<a =
href=3D"mailto:pgut001@cs.auckland.ac.nz" =
class=3D"">pgut001@cs.auckland.ac.nz</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><div =
style=3D"font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
direction: ltr; font-family: Tahoma; font-size: 10pt;" class=3D""><font =
size=3D"2" class=3D"">Michael Hamburg &lt;<a =
href=3D"mailto:mike@shiftleft.org" class=3D"">mike@shiftleft.org</a>&gt; =
writes:<br class=3D""><br class=3D""></font><div style=3D"font-family: =
'Times New Roman'; font-size: 16px;" class=3D""><font face=3D"Tahoma" =
size=3D"2" class=3D"">&gt;While MD5 and small-characteristic discrete =
log were considered somewhat<br class=3D"">&gt;sketchy before they were =
broken, they were both considered acceptable right<br class=3D"">&gt;up =
until they were broken wide open.<br class=3D""><br class=3D"">Uhh, =
that's wrong on both counts, MD5 has been known to be problematic =
since<br class=3D"">Dobbertin's work twenty years ago (so it's only =
"considered acceptable" if<br class=3D"">you've been living in a cave =
for at least the last fifteen years), and it's<br class=3D"">not "broken =
wide open" even now, you can generate collisions under certain<br =
class=3D"">circumstances, but not if some basic protective measures like =
randomisation<br class=3D"">are used, and can't generate preimages at =
all.&nbsp; It's been a slow (nearly) 25-<br class=3D"">year slide, not a =
sudden break.<br class=3D""></font></div></div></div></blockquote><div><br=
 class=3D""></div><div>I agree that it was considered concerning and =
that SHA-1 was recommended. &nbsp;This was as much due to its size as to =
its cryptanalytic flaws. &nbsp;There was a project to generate one with =
2^64 work, right before a practical cryptanalytic attack was =
announced.</div><br class=3D""><blockquote type=3D"cite" class=3D""><div =
class=3D""><div style=3D"font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; direction: ltr; font-family: Tahoma; =
font-size: 10pt;" class=3D""><div style=3D"font-family: 'Times New =
Roman'; font-size: 16px;" class=3D""><font face=3D"Tahoma" size=3D"2" =
class=3D"">&gt;small-characteristic discrete log<br class=3D""><br =
class=3D"">... as used in which (mainstream, standardised) security =
protocol?<br class=3D""></font></div></div></div></blockquote><div><br =
class=3D""></div><div>I thought we were talking about algorithms, not =
protocols? &nbsp;Anyway, this is getting pretty close to a =93no true =
Scotsman=94 argument. &nbsp;MD5 and RC4 were in widely deployed =
protocols that weren=92t =93properly designed=94, and tiny-char discrete =
log was in systems which claimed to be production-quality and were =
considered properly designed, but weren=92t widely deployed.</div><br =
class=3D""><blockquote type=3D"cite" class=3D""><div class=3D""><div =
style=3D"font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; line-height: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
direction: ltr; font-family: Tahoma; font-size: 10pt;" class=3D""><div =
style=3D"font-family: 'Times New Roman'; font-size: 16px;" =
class=3D""><font face=3D"Tahoma" size=3D"2" class=3D"">&gt;That=92s why =
some users will want to use them, and why it=92s reasonable for TLS<br =
class=3D"">&gt;to support them in cipher suites.<br class=3D""><br =
class=3D"">So far the only thing that backup cipher suites (or whatever =
you want to call<br class=3D"">them, the also-rans that accompany the =
default cipher suite that's first on<br class=3D"">the list) has given =
us is security vulnerabilities.&nbsp; Lots and lots of security<br =
class=3D"">vulnerabilities.&nbsp; In over two decades of SSL and TLS =
use, we've never actually<br class=3D"">needed them.<br class=3D""><br =
class=3D"">Peter.</font></div></div></div></blockquote></div><br =
class=3D""><div class=3D"">The first on which list? &nbsp;I=92m seeing =
ECDHE-RSA-AES256-GCM-SHA384 at the top on my laptop, which seems like =
not a bad choice if the RSA and ECDHE are big enough.</div><div =
class=3D""><br class=3D""></div><div class=3D"">I agree that cipher =
suite proliferation is a problem. &nbsp;I=92m just arguing that there =
should be a conservative cipher suite to accompany the =93RSA-1536 =
should be enough for anyone=94 default.</div><div class=3D""><br =
class=3D""></div><div class=3D"">=97 Mike</div><div class=3D""><br =
class=3D""></div><div class=3D""><br class=3D""></div></body></html>=

--Apple-Mail=_095B1E19-8961-4FBD-9E87-3AD5CF7123E0--


From nobody Fri Jul 24 10:22:27 2015
Return-Path: <mike@shiftleft.org>
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 1F9141A1A55 for <cfrg@ietfa.amsl.com>; Fri, 24 Jul 2015 10:22:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 4.255
X-Spam-Level: ****
X-Spam-Status: No, score=4.255 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FH_HOST_EQ_D_D_D_D=0.765, FH_HOST_EQ_D_D_D_DB=0.888, HELO_MISMATCH_ORG=0.611, HOST_MISMATCH_NET=0.311, RDNS_DYNAMIC=0.982, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] 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 St26hy672To1 for <cfrg@ietfa.amsl.com>; Fri, 24 Jul 2015 10:22:22 -0700 (PDT)
Received: from aspartame.shiftleft.org (199-116-74-168-v301.PUBLIC.monkeybrains.net [199.116.74.168]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 85B301A1A78 for <cfrg@irtf.org>; Fri, 24 Jul 2015 10:22:12 -0700 (PDT)
Received: from [10.184.148.249] (unknown [209.36.6.242]) by aspartame.shiftleft.org (Postfix) with ESMTPSA id E01B33A9C7; Fri, 24 Jul 2015 10:17:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=shiftleft.org; s=sldo; t=1437758223; bh=W3X6v10AugOoXmemyMIMaJhuZzwcbltJEevcGOCYC3o=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=jnxiP/Jkpqqf5COYcQN94V8aX41bJxtzETK8mGB3VHTqtmgIKzf4RsXyJhTygZJop NtcJgdWE/QgrUy4a5KxfxBVeYEynFaHs2jQBBdGDq8kOT9iT7jpAHQ+/6ndFApB2YH slrHYiygKTLfSTmWANzhTxB+oouQ6qSCZCFVT2lQ=
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
From: Michael Hamburg <mike@shiftleft.org>
In-Reply-To: <810C31990B57ED40B2062BA10D43FBF5E198AE@XMB116CNC.rim.net>
Date: Fri, 24 Jul 2015 10:22:13 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <DAE0192F-E31D-471D-A86D-335282ED8C21@shiftleft.org>
References: <810C31990B57ED40B2062BA10D43FBF5E198AE@XMB116CNC.rim.net>
To: Dan Brown <dbrown@certicom.com>
X-Mailer: Apple Mail (2.2102)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/dqUd1xyv1xQTFlaEv3y_Q-Nl6cs>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] ElGamal * Schnorr: quick idea?
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 24 Jul 2015 17:22:24 -0000

> On Jul 24, 2015, at 10:09 AM, Dan Brown <dbrown@certicom.com> wrote:
>=20
> Dear CFRG,
>=20
> Kenny asked me off-list if my proposal (ECDSA_CFRG) could be amended =
to
> avoid inversion mod the group order.
>=20
> I told him maybe.
>=20
> Then I refreshed my history of signatures by looking into the Handbook =
of
> Applied Cryptography by Menezes, van Oorschot and Vanstone.=20
>=20
> Referring to Note 11.70 therein, Table 11.5, row 4 describes a variant =
of
> ElGamal which requires no inversion to compute s.  If one replaces the =
h(m)
> by h(m||r) for a wide-hash h, then one has something in the spirit of
> Kenny's request.
>=20
> I'll transcribe and translate the relevant notation here, for =
completeness:
>=20
> Signer secret a
> Signer public A =3D aB
> Signer nonce k
> Signature (R,s) =3D (kB, ah(m||R)+kf(R))
> Verification sB =3D=3D h(m||R)Y + f(R)R
>=20
> Where f(R) is a direct conversion of point R to an integer.
>=20
> Of course, the integer operations are done mod ord(B).  (Please let's =
not
> use l ;-)
>=20
> This is quite like Schnorr, with the additional feature that R (and k) =
get
> multiplied by f(R), because the hash is put in front of A (and a).
> Incidentally, HAC describes Schnorr using a suffix, not a prefix.

Why would we use this instead of Schnorr?  It=E2=80=99s ultimately =
equivalent to Schnorr (with h(m,R) =3D h(m||R)/f(R)), but with an extra =
f(R) thrown in for no reason.

> In HAC Note 11.71(ii) the intractability of inverting the function R =
->
> f(R)R is mentioned as a requirement for that ElGamal variant in the =
table
> (which I've modified).  Side note: the one-up problem for ECDSA is a =
similar
> unusual problem involving f, and a requirement for ECDSA.  However, =
because
> of R in the hash, this problem no longer seems relevant.
>=20
> What might be missing for this construction:
> - aegis security: have many people spent many years trying and failing =
to
> attack this construction?
> - arguable security: has anybody tried to argue its security, e.g. =
breaking
> this implies breaking that, perhaps assuming some of unicorn model.
>=20
> Best regards,
>=20
> Daniel Brown
> Certicom Research
>=20
>=20
> <winmail.dat>_______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg


From nobody Fri Jul 24 10:52:54 2015
Return-Path: <dbrown@certicom.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 7072B1A8709 for <cfrg@ietfa.amsl.com>; Fri, 24 Jul 2015 10:52:53 -0700 (PDT)
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 WdLF12WCoAKb for <cfrg@ietfa.amsl.com>; Fri, 24 Jul 2015 10:52:52 -0700 (PDT)
Received: from smtp-p02.blackberry.com (smtp-p02.blackberry.com [208.65.78.89]) by ietfa.amsl.com (Postfix) with ESMTP id B00201A8707 for <cfrg@irtf.org>; Fri, 24 Jul 2015 10:52:51 -0700 (PDT)
Received: from xct107cnc.rim.net ([10.65.161.207]) by mhs215cnc.rim.net with ESMTP/TLS/AES128-SHA; 24 Jul 2015 13:52:51 -0400
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT107CNC.rim.net ([fe80::b815:71ef:9f8f:e07c%16]) with mapi id 14.03.0210.002; Fri, 24 Jul 2015 13:52:50 -0400
From: Dan Brown <dbrown@certicom.com>
To: "'mike@shiftleft.org'" <mike@shiftleft.org>
Thread-Topic: [Cfrg] ElGamal * Schnorr: quick idea?
Thread-Index: AdDGMF1nArQ8mWriSsS9qgmiUYx8ggAJnE6AAAgKtHA=
Date: Fri, 24 Jul 2015 17:52:49 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5E1994F@XMB116CNC.rim.net>
References: <810C31990B57ED40B2062BA10D43FBF5E198AE@XMB116CNC.rim.net> <DAE0192F-E31D-471D-A86D-335282ED8C21@shiftleft.org>
In-Reply-To: <DAE0192F-E31D-471D-A86D-335282ED8C21@shiftleft.org>
Accept-Language: en-CA, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [10.65.160.251]
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_001C_01D0C618.073B5CB0"
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/fv55sH5vie3i1jJ3wdRsIJBTn5M>
Cc: "'cfrg@irtf.org'" <cfrg@irtf.org>
Subject: Re: [Cfrg] ElGamal * Schnorr: quick idea?
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 24 Jul 2015 17:52:53 -0000

------=_NextPart_000_001C_01D0C618.073B5CB0
Content-Type: text/plain;
	charset="utf-8"
Content-Transfer-Encoding: quoted-printable


> -----Original Message-----
> From: Michael Hamburg [mailto:mike@shiftleft.org]
>=20
> Why would we use this instead of Schnorr?  It=E2=80=99s ultimately =
equivalent to
> Schnorr (with h(m,R) =3D h(m||R)/f(R)),=20

[DB] Good point about the equivalence over adjusted hashes.=20

> but with an extra f(R) thrown in for no
> reason.
>=20
[DB] The reason is to have an inexpensive resilience to as many =
potential hash failures as possible.  For example, we like Schnorr =
because of its collision-resilience.  We can generalize this benefit.  =
Joux has shown that, for some hashes, multicollisions are not much =
harder to find than collisions.  My presentation mentioned hash =
deletion, which leads to Schnorr forgery in some case.  Hash deletion is =
one step worse than a multicollision, so perhaps also not much harder =
than collisions, for some hashes.  One can argue that this threat is =
unlikely (i.e. a huge step over multicollisions).  Or, one can use a =
better hash.  Or, one can modify the signature.   Or, all of the above: =
these back each other up, providing defense in depth.

Put another way: if we took Schnorr and left out the R from the hash, it =
would be very insecure.  So, Schnorr definitely relies on the hash doing =
a good job in its inclusion of R.  In your equivalence, the division by =
f(R) can be viewed as the signature helping out the hash at its job.  =
This _seems_ like a cheap way of reducing the trust of the hash.

 =20

------=_NextPart_000_001C_01D0C618.073B5CB0
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIUoDCCBo8w
ggV3oAMCAQICClvwCZYABAA8faIwDQYJKoZIhvcNAQEFBQAwUDETMBEGCgmSJomT8ixkARkWA25l
dDETMBEGCgmSJomT8ixkARkWA3JpbTEkMCIGA1UEAxMbUklNIFN1Ym9yZGluYXRlIENBIE1DQTAz
WUtGMB4XDTE1MDQxMDIxMjgwNFoXDTE2MDQwMjAxMTEwNVowgaQxEzARBgoJkiaJk/IsZAEZFgNu
ZXQxEzARBgoJkiaJk/IsZAEZFgNyaW0xDTALBgNVBAsTBEFNRVIxCzAJBgNVBAsTAkNBMRQwEgYD
VQQLEwtNaXNzaXNzYXVnYTEOMAwGA1UECxMFVXNlcnMxEjAQBgNVBAMTCURhbiBCcm93bjEiMCAG
CSqGSIb3DQEJARYTZGJyb3duQGNlcnRpY29tLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkC
gYEAnqyPpiXJ8uIKCHaqpEmU2q/9KYQJi6yizaJruUGAoUstFzjV7XymMDqnaZqLR/QQoR3Qojm2
pjb3luP0P+37tro+PlKEgODyauhfaT78GLlJHq3GZxI6N27UHyYHWGFglAh6uCaHcGBitBZCyEFr
n+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3abq6xDsPS173DPvsxgOKgKpiYw6yRHE8yfQAAAAAAAA==

------=_NextPart_000_001C_01D0C618.073B5CB0--


From nobody Fri Jul 24 10:53:28 2015
Return-Path: <robert.cragie@gmail.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 ABB6E1A8757 for <cfrg@ietfa.amsl.com>; Fri, 24 Jul 2015 10:53:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.277
X-Spam-Level: 
X-Spam-Status: No, score=-1.277 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, HTML_MESSAGE=0.001, SPF_PASS=-0.001] 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 x1AwNz3VHMyU for <cfrg@ietfa.amsl.com>; Fri, 24 Jul 2015 10:53:22 -0700 (PDT)
Received: from mail-lb0-x229.google.com (mail-lb0-x229.google.com [IPv6:2a00:1450:4010:c04::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DD9541A8709 for <cfrg@irtf.org>; Fri, 24 Jul 2015 10:53:18 -0700 (PDT)
Received: by lblf12 with SMTP id f12so19873930lbl.2 for <cfrg@irtf.org>; Fri, 24 Jul 2015 10:53:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=Z8xO/yPvqseJVCweo8wLEKOU/yeArE5uslbamHgO3Pc=; b=hCscMnH1QO6/wAwJ0wGu9YfUg4MtH8ccw953trzBgHILBDKH9Fm45tIkWYsnJonHyw ZzrtePdQwjOu/rsqGZPpvLk5+7slqSQ4+FRuPVawojTMgVheuvU0XukqntZT8Fe29lYB YW1ozzbEGTUMOmT9uCkLhM8ND0mfnfFJ3qgSEEw+Vg9YnkRtWCRjMNiwuam90IdjZYQt SvWQaaBIMyz8Ccnp6wodjhD+89aXSxWBlJV+iBxNF5Si1JMW0YXWz8FqR7zJV2d+mfYS MFvhFbLO3sPvGzmqFcAnCm7SrWpKDfrxLVpc7sgs3FD/nskbPWKW6a3Dl/zQ8XOO87To lBrA==
MIME-Version: 1.0
X-Received: by 10.153.7.137 with SMTP id dc9mr14690239lad.16.1437760397275; Fri, 24 Jul 2015 10:53:17 -0700 (PDT)
Sender: robert.cragie@gmail.com
Received: by 10.25.31.75 with HTTP; Fri, 24 Jul 2015 10:53:17 -0700 (PDT)
In-Reply-To: <55B1E397.2000206@tzi.org>
References: <55AE1BB7.8070906@gmx.net> <55AF6E7E.5000300@gmx.net> <D1D6F1D9.3967B%john.mattsson@ericsson.com> <55B1E397.2000206@tzi.org>
Date: Fri, 24 Jul 2015 18:53:17 +0100
X-Google-Sender-Auth: Rp9SNK-gqWROWg03Z6IJXuC6Hio
Message-ID: <CADrU+dL+dyePF9+sKqPKbi6m+r4Heg==kKekyJ6uh-4k3jydiw@mail.gmail.com>
From: Robert Cragie <robert.cragie@gridmerge.com>
To: Carsten Bormann <cabo@tzi.org>
Content-Type: multipart/alternative; boundary=001a113462a4c077af051ba2adab
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/inpN5DW5UsPsmKsUWUlERV_aIhU>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Short Authentication Tags in AES-128-CCM
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: robert.cragie@gridmerge.com
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 24 Jul 2015 17:53:25 -0000

--001a113462a4c077af051ba2adab
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

I agree with all Carsten's points below. Regarding CMAC - I haven't found a
case where we can totally eliminate the use of HMAC-SHA256 for one reason
or another but that is possibly a goal to work towards.

Robert

On 24 July 2015 at 08:04, Carsten Bormann <cabo@tzi.org> wrote:

> > Avtcore/IESG decided to not standardize CCM_8 and GCM_8, but for
> different
> > reasons. CCM (all tag lengths) was removed as Stephen wanted to limit t=
he
> > number of algorithms, and nobody expressed any imminent plans to
> implement
> > SRTP with CCM. GCM_8 was removed because of the theoretical weaknesses
> > with GCM and short tags (summarized in https://eprint.iacr.org/2015/477=
)
> > and their applicability to SRTP
> > (https://mailarchive.ietf.org/arch/msg/avt/cKHmfai2SISd7itL_NlgXRJUPow)=
.
>
> Right, SRTP applications typically don't run in the hardware/software
> environments described by RFC 7228, so there is little reason to have
> CCM-based cipher suites around.
>
> > I am not aware of any weaknesses with CCM_8 that depends on the tag
> > length, except the general weakness that the forgery probability is the
> > expected 2^-64. In his recent evaluation for Cryptec
> > (http://www.cryptrec.go.jp/estimation/techrep_id2012_2.pdf), Rogaway
> > states as one of the conclusions =E2=80=9CCCM achieves good provable-se=
curity
> > results, even with truncated tags=E2=80=9D Given the constrained radio
> > technologies targeted by dice, I think that 64-bit tags are a reasonabl=
e
> > tradeoff.
>
> +1
>
> > Looking at the dice profile, I am more concerned with the lack of forwa=
rd
> > security in TLS_PSK_WITH_AES_128_CCM_8 and the fact that this cipher
> suite
> > will likely be forbidden in DTLS 1.3 (as far as I understand). I would
> > recommend changing this to ECDHE_PSK, or convincing the TLS wg to
> continue
> > supporting PSK.
>
> Actually, we should move to ECDHE_PSK...CCM_8 as our default profile,
> but there is still a set of applications where
> TLS_PSK_WITH_AES_128_CCM_8 is a perfect fit. Qualifying this cipher
> suite as a special-use one (don't put it into your Web browser for
> HTTPS) is probably already a good idea because of the 64-but authenticato=
r.
>
> (One question that is lurking in my mind is whether we should be moving
> to CMAC for the MAC part that is CBC-MAC in CCM.  That might be worth it
> for the ECDHE version, but probably not for the basic PSK.)
>
> > Standardizing a new profile that will not work with DTLS
> > 1.3 would be strange
>
> Indeed.
>
> Gr=C3=BC=C3=9Fe, Carsten
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg
>

--001a113462a4c077af051ba2adab
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I agree with all Carsten&#39;s points below. Regarding CMA=
C - I haven&#39;t found a case where we can totally eliminate the use of HM=
AC-SHA256 for one reason or another but that is possibly a goal to work tow=
ards.<div><br></div><div>Robert</div><div class=3D"gmail_extra"><br><div cl=
ass=3D"gmail_quote">On 24 July 2015 at 08:04, Carsten Bormann <span dir=3D"=
ltr">&lt;<a href=3D"mailto:cabo@tzi.org" target=3D"_blank">cabo@tzi.org</a>=
&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0=
 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D"">&gt; =
Avtcore/IESG decided to not standardize CCM_8 and GCM_8, but for different<=
br>
&gt; reasons. CCM (all tag lengths) was removed as Stephen wanted to limit =
the<br>
&gt; number of algorithms, and nobody expressed any imminent plans to imple=
ment<br>
&gt; SRTP with CCM. GCM_8 was removed because of the theoretical weaknesses=
<br>
&gt; with GCM and short tags (summarized in <a href=3D"https://eprint.iacr.=
org/2015/477" rel=3D"noreferrer" target=3D"_blank">https://eprint.iacr.org/=
2015/477</a>)<br>
&gt; and their applicability to SRTP<br>
&gt; (<a href=3D"https://mailarchive.ietf.org/arch/msg/avt/cKHmfai2SISd7itL=
_NlgXRJUPow" rel=3D"noreferrer" target=3D"_blank">https://mailarchive.ietf.=
org/arch/msg/avt/cKHmfai2SISd7itL_NlgXRJUPow</a>).<br>
<br>
</span>Right, SRTP applications typically don&#39;t run in the hardware/sof=
tware<br>
environments described by RFC 7228, so there is little reason to have<br>
CCM-based cipher suites around.<br>
<span class=3D""><br>
&gt; I am not aware of any weaknesses with CCM_8 that depends on the tag<br=
>
&gt; length, except the general weakness that the forgery probability is th=
e<br>
&gt; expected 2^-64. In his recent evaluation for Cryptec<br>
&gt; (<a href=3D"http://www.cryptrec.go.jp/estimation/techrep_id2012_2.pdf"=
 rel=3D"noreferrer" target=3D"_blank">http://www.cryptrec.go.jp/estimation/=
techrep_id2012_2.pdf</a>), Rogaway<br>
&gt; states as one of the conclusions =E2=80=9CCCM achieves good provable-s=
ecurity<br>
&gt; results, even with truncated tags=E2=80=9D Given the constrained radio=
<br>
&gt; technologies targeted by dice, I think that 64-bit tags are a reasonab=
le<br>
&gt; tradeoff.<br>
<br>
</span>+1<br>
<span class=3D""><br>
&gt; Looking at the dice profile, I am more concerned with the lack of forw=
ard<br>
&gt; security in TLS_PSK_WITH_AES_128_CCM_8 and the fact that this cipher s=
uite<br>
&gt; will likely be forbidden in DTLS 1.3 (as far as I understand). I would=
<br>
&gt; recommend changing this to ECDHE_PSK, or convincing the TLS wg to cont=
inue<br>
&gt; supporting PSK.<br>
<br>
</span>Actually, we should move to ECDHE_PSK...CCM_8 as our default profile=
,<br>
but there is still a set of applications where<br>
TLS_PSK_WITH_AES_128_CCM_8 is a perfect fit. Qualifying this cipher<br>
suite as a special-use one (don&#39;t put it into your Web browser for<br>
HTTPS) is probably already a good idea because of the 64-but authenticator.=
<br>
<br>
(One question that is lurking in my mind is whether we should be moving<br>
to CMAC for the MAC part that is CBC-MAC in CCM.=C2=A0 That might be worth =
it<br>
for the ECDHE version, but probably not for the basic PSK.)<br>
<span class=3D""><br>
&gt; Standardizing a new profile that will not work with DTLS<br>
&gt; 1.3 would be strange<br>
<br>
</span>Indeed.<br>
<br>
Gr=C3=BC=C3=9Fe, Carsten<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
_______________________________________________<br>
Cfrg mailing list<br>
<a href=3D"mailto:Cfrg@irtf.org">Cfrg@irtf.org</a><br>
<a href=3D"http://www.irtf.org/mailman/listinfo/cfrg" rel=3D"noreferrer" ta=
rget=3D"_blank">http://www.irtf.org/mailman/listinfo/cfrg</a><br>
</div></div></blockquote></div><br></div></div>

--001a113462a4c077af051ba2adab--


From nobody Fri Jul 24 11:53:02 2015
Return-Path: <mike@shiftleft.org>
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 D74361A88D0 for <cfrg@ietfa.amsl.com>; Fri, 24 Jul 2015 11:53:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.555
X-Spam-Level: *
X-Spam-Status: No, score=1.555 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FH_HOST_EQ_D_D_D_D=0.765, FH_HOST_EQ_D_D_D_DB=0.888, HELO_MISMATCH_ORG=0.611, HOST_MISMATCH_NET=0.311, RDNS_DYNAMIC=0.982, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] 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 nQJctKhzcfpN for <cfrg@ietfa.amsl.com>; Fri, 24 Jul 2015 11:53:00 -0700 (PDT)
Received: from aspartame.shiftleft.org (199-116-74-168-v301.PUBLIC.monkeybrains.net [199.116.74.168]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D6E4F1A6F3B for <cfrg@irtf.org>; Fri, 24 Jul 2015 11:53:00 -0700 (PDT)
Received: from [10.184.148.249] (unknown [209.36.6.242]) by aspartame.shiftleft.org (Postfix) with ESMTPSA id DA903F210A; Fri, 24 Jul 2015 11:47:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=shiftleft.org; s=sldo; t=1437763672; bh=5IXz55XlQq0YBJOXMgGUp0m2UUEF5+m5crXIwbufUx4=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=B4E6S6CNkUZQBy4sPJew84Ej/tgWdEQ39F3+XzWHCwPXLyud80+qfHYHnU7ffnuoq o4KaxMA1SHkkmykqNP2BG/0uejtsDHBZlA0jit9pJVTbVlIyrURZP4iRKLlO41UI4a 6h0IE6PcHIbeDZa3WZDH1cF6gGzO8+15fkN3jty8=
Content-Type: multipart/signed; boundary="Apple-Mail=_E5F3FB50-A9B2-4647-823F-3F726C71218D"; protocol="application/pkcs7-signature"; micalg=sha1
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
From: Michael Hamburg <mike@shiftleft.org>
In-Reply-To: <810C31990B57ED40B2062BA10D43FBF5E1994F@XMB116CNC.rim.net>
Date: Fri, 24 Jul 2015 11:52:56 -0700
Message-Id: <78D2F7A2-61E3-4D8D-8DB9-D9A8CDECEFE2@shiftleft.org>
References: <810C31990B57ED40B2062BA10D43FBF5E198AE@XMB116CNC.rim.net> <DAE0192F-E31D-471D-A86D-335282ED8C21@shiftleft.org> <810C31990B57ED40B2062BA10D43FBF5E1994F@XMB116CNC.rim.net>
To: Dan Brown <dbrown@certicom.com>
X-Mailer: Apple Mail (2.2102)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/7Q38SGgTaaYCGJaGWSPy2Zw4kmc>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] ElGamal * Schnorr: quick idea?
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 24 Jul 2015 18:53:02 -0000

--Apple-Mail=_E5F3FB50-A9B2-4647-823F-3F726C71218D
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8


> On Jul 24, 2015, at 10:52 AM, Dan Brown <dbrown@certicom.com> wrote:
>=20
>=20
>> -----Original Message-----
>> From: Michael Hamburg [mailto:mike@shiftleft.org]
>>=20
>> Why would we use this instead of Schnorr?  It=E2=80=99s ultimately =
equivalent to
>> Schnorr (with h(m,R) =3D h(m||R)/f(R)),=20
>=20
> [DB] Good point about the equivalence over adjusted hashes.=20
>=20
>> but with an extra f(R) thrown in for no
>> reason.
>>=20
> [DB] The reason is to have an inexpensive resilience to as many =
potential hash failures as possible.  For example, we like Schnorr =
because of its collision-resilience.  We can generalize this benefit.  =
Joux has shown that, for some hashes, multicollisions are not much =
harder to find than collisions.  My presentation mentioned hash =
deletion, which leads to Schnorr forgery in some case.  Hash deletion is =
one step worse than a multicollision, so perhaps also not much harder =
than collisions, for some hashes.  One can argue that this threat is =
unlikely (i.e. a huge step over multicollisions).  Or, one can use a =
better hash.  Or, one can modify the signature.   Or, all of the above: =
these back each other up, providing defense in depth.
>=20
> Put another way: if we took Schnorr and left out the R from the hash, =
it would be very insecure.  So, Schnorr definitely relies on the hash =
doing a good job in its inclusion of R.  In your equivalence, the =
division by f(R) can be viewed as the signature helping out the hash at =
its job.  This _seems_ like a cheap way of reducing the trust of the =
hash.

[MH] Cheap except that it turns the double-scalarmul into a =
triple-scalarmul.  I=E2=80=99m not convinced that =E2=80=9Chelping=E2=80=9D=
 the hash does anything in this case, especially since it seems to me =
that =E2=80=9Cdeletions=E2=80=9D are more likely to apply if R is hashed =
first rather than second.  (Though of course in that case you are =
vulnerable to collisions.)

=E2=80=94 Mike=

--Apple-Mail=_E5F3FB50-A9B2-4647-823F-3F726C71218D
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIMYDCCBiQw
ggUMoAMCAQICAw45CjANBgkqhkiG9w0BAQsFADCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0
YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcx
ODA2BgNVBAMTL1N0YXJ0Q29tIENsYXNzIDEgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENB
MB4XDTE1MDUzMTA1NDAwOVoXDTE2MDUzMTEyNDE0MVowQDEbMBkGA1UEAwwSbWlrZUBzaGlmdGxl
ZnQub3JnMSEwHwYJKoZIhvcNAQkBFhJtaWtlQHNoaWZ0bGVmdC5vcmcwggEiMA0GCSqGSIb3DQEB
AQUAA4IBDwAwggEKAoIBAQDId3vnJ+7/Br823rQFHCOgBLEI0U18zhqkw6S1fnY58xvPOLrmZ+WD
+YN2//4QSRD9Ub3N7eegXMDXEGLVnfBpIXi9V3gUYyjpSQk1Wq3uaVVY4rTRwL1TOlMUkHB5pPhb
DG1fQwrmcvjypqy/xZUSv3WDR5Qa26+VnjS240edIbZm4pPxshdAv+MyKpk6FY338wMl4lCneR12
pWX56Q0FIPNB3Y9NsYs4WmYSlOZDWLlAVnRCTz5szyTmttMi4ohEt37z5YKOinE1dPBx389vlbyB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VBAYTAklMMRYwFAYDVQQK
Ew1TdGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu
aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAxIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVu
dCBDQQIDDjkKMA0GCSqGSIb3DQEBAQUABIIBAJE7sqSUKc8PIFTqUC9065pwNo7T3QntCUy5RP80
+Yq8Y+T72+rrf18V5QhNbjthm+uzFb0G7NsLB9vBS1L6wfNWcN+y0Z+Kl4ol1xH0geqLKy1FnHmm
UaSkW+avIIYkLCWSSnE1QY3mTeSndZI6SQlZrFinUb/5lpSzpxzpRMY3ModHAzLU0uJhd4DQswWj
PvRIRIMLfHpdmFMd7+ekWFGlU4NoAYuXUmOZ1gPi9OSz2+fZ7ZqIKTV2bCpVJ4JsSzjsiHM42t31
U82NNqt68m6Bi1NWEyyY+HS2LyfKMJrBDLmk+/7ZOBldhJhySRzt3TqgtciUAmts2SneJQUMyjoA
AAAAAAA=
--Apple-Mail=_E5F3FB50-A9B2-4647-823F-3F726C71218D--


From nobody Fri Jul 24 12:29:56 2015
Return-Path: <dbrown@certicom.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 CCEFF1A1B6F for <cfrg@ietfa.amsl.com>; Fri, 24 Jul 2015 12:29:55 -0700 (PDT)
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 3UZ3igPlcDfq for <cfrg@ietfa.amsl.com>; Fri, 24 Jul 2015 12:29:53 -0700 (PDT)
Received: from smtp-p01.blackberry.com (smtp-p01.blackberry.com [208.65.78.88]) by ietfa.amsl.com (Postfix) with ESMTP id 8DC5C1A8A4B for <cfrg@irtf.org>; Fri, 24 Jul 2015 12:29:53 -0700 (PDT)
Received: from xct108cnc.rim.net ([10.65.161.208]) by mhs210cnc.rim.net with ESMTP/TLS/AES128-SHA; 24 Jul 2015 15:29:52 -0400
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT108CNC.rim.net ([fe80::8dc1:9551:6ed8:c618%17]) with mapi id 14.03.0210.002; Fri, 24 Jul 2015 15:29:51 -0400
From: Dan Brown <dbrown@certicom.com>
To: 'Michael Hamburg' <mike@shiftleft.org>
Thread-Topic: [Cfrg] ElGamal * Schnorr: quick idea?
Thread-Index: AdDGMF1nArQ8mWriSsS9qgmiUYx8ggAJnE6AAAgKtHD//9kCAIAAQHUQ
Date: Fri, 24 Jul 2015 19:29:51 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5E1AA83@XMB116CNC.rim.net>
References: <810C31990B57ED40B2062BA10D43FBF5E198AE@XMB116CNC.rim.net> <DAE0192F-E31D-471D-A86D-335282ED8C21@shiftleft.org> <810C31990B57ED40B2062BA10D43FBF5E1994F@XMB116CNC.rim.net> <78D2F7A2-61E3-4D8D-8DB9-D9A8CDECEFE2@shiftleft.org>
In-Reply-To: <78D2F7A2-61E3-4D8D-8DB9-D9A8CDECEFE2@shiftleft.org>
Accept-Language: en-CA, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [10.65.160.251]
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_0004_01D0C625.942C1170"
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/oNqLQkyj4Ne2sKk-Xudy1JUa2oY>
Cc: "'cfrg@irtf.org'" <cfrg@irtf.org>
Subject: Re: [Cfrg] ElGamal * Schnorr: quick idea?
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 24 Jul 2015 19:29:56 -0000

------=_NextPart_000_0004_01D0C625.942C1170
Content-Type: text/plain;
	charset="utf-8"
Content-Transfer-Encoding: quoted-printable



> -----Original Message-----
> From: Michael Hamburg [mailto:mike@shiftleft.org]
> Sent: Friday, July 24, 2015 2:53 PM
>=20
> > On Jul 24, 2015, at 10:52 AM, Dan Brown <dbrown@certicom.com> wrote:
> >
> >> -----Original Message-----
> >> From: Michael Hamburg [mailto:mike@shiftleft.org]
> >>
> >> Why would we use this instead of Schnorr?  It=E2=80=99s ultimately =
equivalent to
> >> Schnorr (with h(m,R) =3D h(m||R)/f(R)),
> >
> > [DB] Good point about the equivalence over adjusted hashes.
> >

[DB] Using this equivalence, one idea is take some form of Schnorr =
signatures, e.g. EdDSA, and amend the hash used by the vefier, defining =
it to be h(m,R) =3D h(m||R)*f(R) mod ord(B) -- where f is decodepoint in =
DJB's python script. =20

The cost of this is an extra mod ord(B) multiplication, which is small.  =
The benefit is extra robustness (perhaps redundant) against hash =
failures.  As often the case, it's difficult to compare the small cost =
to the remote benefit.

Again, unlike my proposal, ECDSA_CFRG, I do not have argument that =
certain kinds of forgery of Schnorr signature with this modification =
imply forgery of a widely accepted signature scheme: I don't how to =
transform the message and signature from one scheme to the other scheme.

So, I leave it to the four other EC scheme proposal teams, whether they =
would like incorporate this Schnorr modification.=20

>=20
> [MH] Cheap except that it turns the double-scalarmul into a =
triple-scalarmul.
> I=E2=80=99m not convinced that =E2=80=9Chelping=E2=80=9D the hash does =
anything in this case, especially
> since it seems to me that =E2=80=9Cdeletions=E2=80=9D are more likely =
to apply if R is hashed first
> rather than second. =20

[DB] In the form I mentioned above the extra cost is not as much as you =
said, it is just one mod ord(B) multiplication. =20

>(Though of course in that case you are vulnerable to
> collisions.)
[DB] Well, at least for wide-pipe hashes, you need an internal =
collision, not just a collision, the best known internal collision =
attack in a wide pipe are much harder to find than collisions. =20


------=_NextPart_000_0004_01D0C625.942C1170
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIUoDCCBo8w
ggV3oAMCAQICClvwCZYABAA8faIwDQYJKoZIhvcNAQEFBQAwUDETMBEGCgmSJomT8ixkARkWA25l
dDETMBEGCgmSJomT8ixkARkWA3JpbTEkMCIGA1UEAxMbUklNIFN1Ym9yZGluYXRlIENBIE1DQTAz
WUtGMB4XDTE1MDQxMDIxMjgwNFoXDTE2MDQwMjAxMTEwNVowgaQxEzARBgoJkiaJk/IsZAEZFgNu
ZXQxEzARBgoJkiaJk/IsZAEZFgNyaW0xDTALBgNVBAsTBEFNRVIxCzAJBgNVBAsTAkNBMRQwEgYD
VQQLEwtNaXNzaXNzYXVnYTEOMAwGA1UECxMFVXNlcnMxEjAQBgNVBAMTCURhbiBCcm93bjEiMCAG
CSqGSIb3DQEJARYTZGJyb3duQGNlcnRpY29tLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkC
gYEAnqyPpiXJ8uIKCHaqpEmU2q/9KYQJi6yizaJruUGAoUstFzjV7XymMDqnaZqLR/QQoR3Qojm2
pjb3luP0P+37tro+PlKEgODyauhfaT78GLlJHq3GZxI6N27UHyYHWGFglAh6uCaHcGBitBZCyEF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ofzlneuOo8wfE/7/+dQ6EUr5UO+To4acoDk3wQAAAAAAAA==

------=_NextPart_000_0004_01D0C625.942C1170--


From nobody Sat Jul 25 03:45:42 2015
Return-Path: <brynosaurus@gmail.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 175721A0027 for <cfrg@ietfa.amsl.com>; Sat, 25 Jul 2015 03:45:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, 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 k5p1bvPwF6EF for <cfrg@ietfa.amsl.com>; Sat, 25 Jul 2015 03:45:40 -0700 (PDT)
Received: from mail-wi0-x233.google.com (mail-wi0-x233.google.com [IPv6:2a00:1450:400c:c05::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D5E1B1A0015 for <cfrg@ietf.org>; Sat, 25 Jul 2015 03:45:39 -0700 (PDT)
Received: by wicgb10 with SMTP id gb10so55328742wic.1 for <cfrg@ietf.org>; Sat, 25 Jul 2015 03:45:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=Hv1JBeBJq9YOyTuVuOQG38/6Q4oVCdBknW2VTVdslVE=; b=GQdPVGDu+xreNCuyo4unQx/zBmm/ARxKKN7hl+4C99d0/3JJ+8SVUdFERQN8tCZqeh jdHFrx0R3bEBuuINugyvQgvEUVbzYpohoez5vEmLEP3/Dk/qsAnFZo76bPtxL9BOeZKz /ZOytNasoQUv9h5/32erEIx9Yl9XG1w9DFi9Dv3YvtonOTWrLk3E7EExfn6z6P0tYAtL CyOpo0ZGCSoPueeE9hF+XIZPWMNCuPJFDUIhfYJHSwx5+c9sAlASbeoj4Uj9EuhJ0YWy nXTwUdlyIJ/+9/TJPJFiwUbaGZbohuWi7wUUkkYTv4Y3/UiaNbOdJuvBv/oES5DYpqxU F1yQ==
X-Received: by 10.194.235.169 with SMTP id un9mr35122316wjc.136.1437821138617;  Sat, 25 Jul 2015 03:45:38 -0700 (PDT)
Received: from [10.0.0.225] ([178.17.7.194]) by smtp.gmail.com with ESMTPSA id ht9sm2733021wib.18.2015.07.25.03.45.37 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 25 Jul 2015 03:45:37 -0700 (PDT)
Content-Type: multipart/signed; boundary="Apple-Mail=_81C16C49-722D-4B8A-8A67-776D99A31A41"; protocol="application/pkcs7-signature"; micalg=sha1
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
From: Bryan Ford <brynosaurus@gmail.com>
In-Reply-To: <CA+cU71=dxC0ihavEhFtopmQomyCMZXxETMsPE=NSTdHMc7=t_g@mail.gmail.com>
Date: Sat, 25 Jul 2015 12:45:36 +0200
Message-Id: <26657450-B7EB-4CD9-9144-01ADE156BF67@gmail.com>
References: <CAMm+Lwi5meHrsbHaseqtmj_3qCDo+J2C8LAS51D=Z6DCtaku5w@mail.gmail.com> <CA+cU71=dxC0ihavEhFtopmQomyCMZXxETMsPE=NSTdHMc7=t_g@mail.gmail.com>
To: Tom Ritter <tom@ritter.vg>
X-Mailer: Apple Mail (2.2102)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/ynn2b2WmQTFuqikgIpUv8i_R-lw>
Cc: "cfrg@ietf.org" <cfrg@ietf.org>
Subject: Re: [Cfrg] Additional consequences of the move to ECC (and they are good)
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: <https://mailarchive.ietf.org/arch/browse/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: Sat, 25 Jul 2015 10:45:42 -0000

--Apple-Mail=_81C16C49-722D-4B8A-8A67-776D99A31A41
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_B61D8A3A-3C8A-41CA-A219-A0C0CCF52338"


--Apple-Mail=_B61D8A3A-3C8A-41CA-A219-A0C0CCF52338
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Hi Tom, catching up on this thread a bit late=E2=80=A6

> On Jul 18, 2015, at 5:01 AM, Tom Ritter <tom@ritter.vg> wrote:
>=20
> I've read a paper that enables generation of a single public ElGamal
> key from multiple public ElGamal keys; allowing for distributed key
> generation and decryption.  Simple question, complicated answer I'm
> sure, but is the same thing documented/possible for ECC?  Any
> pointers?

Standard verifiable [Shamir] secret sharing (VSS) techniques allow this, =
in either integer (ElGamal) groups or elliptic curves.  Not sure if =
there=E2=80=99s a definitive reference with =E2=80=9Ceverything together =
in one place=E2=80=9D though; I=E2=80=99d like to see one.  One =
implementation of most of the required mechanism is available in our =
advanced crypto library for Go: e.g., see =
http://godoc.org/github.com/DeDiS/crypto/poly =
<http://godoc.org/github.com/DeDiS/crypto/poly>

Classic VSS works fine for =E2=80=9Csmall=E2=80=9D groups, e.g., a few =
10s of members, but won=E2=80=99t scale readily to large groups: to =
avoid a globally trusted dealer all N members must =E2=80=9Cdeal=E2=80=9D =
N polynomial shares to all other members, then add up everyone else=E2=80=99=
s shares, yielding O(N^2) complexity.  The work I mentioned in my =
earlier July 12 E-mail ("scalable collective signing=E2=80=9D) addresses =
the problem of scaling VSS techniques to large groups.  It currently =
focuses on collective signing, but should be readily extensible to =
collective ElGamal encryption/decryption.  I=E2=80=99m happy to work =
with you or anyone with an interest or a burning use-case for something =
like this.

Cheers
Bryan

> Thanks,
> tom
>=20
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg


--Apple-Mail=_B61D8A3A-3C8A-41CA-A219-A0C0CCF52338
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">Hi Tom, catching up on this thread a bit late=E2=80=A6<div =
class=3D""><br class=3D""><div><blockquote type=3D"cite" class=3D""><div =
class=3D"">On Jul 18, 2015, at 5:01 AM, Tom Ritter &lt;<a =
href=3D"mailto:tom@ritter.vg" class=3D"">tom@ritter.vg</a>&gt; =
wrote:</div><div class=3D""><br class=3D"">I've read a paper that =
enables generation of a single public ElGamal<br class=3D"">key from =
multiple public ElGamal keys; allowing for distributed key<br =
class=3D"">generation and decryption. &nbsp;Simple question, complicated =
answer I'm<br class=3D"">sure, but is the same thing documented/possible =
for ECC? &nbsp;Any<br class=3D"">pointers?<br =
class=3D""></div></blockquote><div><br class=3D""></div><div>Standard =
verifiable [Shamir] secret sharing (VSS) techniques allow this, in =
either integer (ElGamal) groups or elliptic curves. &nbsp;Not sure if =
there=E2=80=99s a definitive reference with =E2=80=9Ceverything together =
in one place=E2=80=9D though; I=E2=80=99d like to see one. &nbsp;One =
implementation of most of the required mechanism is available in our =
advanced crypto library for Go: e.g., see&nbsp;<a =
href=3D"http://godoc.org/github.com/DeDiS/crypto/poly" =
class=3D"">http://godoc.org/github.com/DeDiS/crypto/poly</a></div><div><br=
 class=3D""></div><div>Classic VSS works fine for =E2=80=9Csmall=E2=80=9D =
groups, e.g., a few 10s of members, but won=E2=80=99t scale readily to =
large groups: to avoid a globally trusted dealer all N members must =
=E2=80=9Cdeal=E2=80=9D N polynomial shares to all other members, then =
add up everyone else=E2=80=99s shares, yielding O(N^2) complexity. =
&nbsp;The work I mentioned in my earlier July 12 E-mail ("scalable =
collective signing=E2=80=9D) addresses the problem of scaling VSS =
techniques to large groups. &nbsp;It currently focuses on collective =
signing, but should be readily extensible to collective ElGamal =
encryption/decryption. &nbsp;I=E2=80=99m happy to work with you or =
anyone with an interest or a burning use-case for something like =
this.</div><div><br =
class=3D""></div><div>Cheers</div><div>Bryan</div><div><br =
class=3D""></div><blockquote type=3D"cite" class=3D""><div =
class=3D"">Thanks,<br class=3D"">tom<br class=3D""><br =
class=3D"">_______________________________________________<br =
class=3D"">Cfrg mailing list<br class=3D""><a =
href=3D"mailto:Cfrg@irtf.org" class=3D"">Cfrg@irtf.org</a><br =
class=3D"">http://www.irtf.org/mailman/listinfo/cfrg<br =
class=3D""></div></blockquote></div><br class=3D""></div></body></html>=

--Apple-Mail=_B61D8A3A-3C8A-41CA-A219-A0C0CCF52338--

--Apple-Mail=_81C16C49-722D-4B8A-8A67-776D99A31A41
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJ+DCCBK8w
ggOXoAMCAQICEQDgI8sVEoNTia1hbnpUZ2shMA0GCSqGSIb3DQEBCwUAMG8xCzAJBgNVBAYTAlNF
MRQwEgYDVQQKEwtBZGRUcnVzdCBBQjEmMCQGA1UECxMdQWRkVHJ1c3QgRXh0ZXJuYWwgVFRQIE5l
dHdvcmsxIjAgBgNVBAMTGUFkZFRydXN0IEV4dGVybmFsIENBIF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9wjbugrjguIWbotZH8r4gZjBhqBdkH56ANWJsBeI7VQT+BtNA9bQs8guYFM+9uMS8uQvW
dji7DcZAQ0fA+q6CKoFqSoesQ+RoI4AlDQVLmJ8NKmmrh8uD+RNShU2hcqyBtqWQLcCM0BK515Sl
ukIUVHp47uI3NouI93EQJqMqQfvgSHFz7sefNN2zYzZyeu1x3O+BamlRrXCorSDbK1OJSqPYbX+b
6UzjfKw7Hxu1uS0bBPeeqKkorPlfSYwueb1un4799BsOKn5e1wAAAAAAAA==
--Apple-Mail=_81C16C49-722D-4B8A-8A67-776D99A31A41--


From nobody Sat Jul 25 06:42:24 2015
Return-Path: <djb-dsn2-1406711340.7506@cr.yp.to>
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 308311B2FD5 for <cfrg@ietfa.amsl.com>; Sat, 25 Jul 2015 06:42:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.896
X-Spam-Level: **
X-Spam-Status: No, score=2.896 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HELO_EQ_NL=0.55, HOST_EQ_NL=1.545, RCVD_IN_DNSWL_NONE=-0.0001, UNPARSEABLE_RELAY=0.001] 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 nPGjVM0JdDxZ for <cfrg@ietfa.amsl.com>; Sat, 25 Jul 2015 06:42:22 -0700 (PDT)
Received: from calvin.win.tue.nl (calvin.win.tue.nl [131.155.70.11]) by ietfa.amsl.com (Postfix) with SMTP id A35981B2FCF for <cfrg@irtf.org>; Sat, 25 Jul 2015 06:42:21 -0700 (PDT)
Received: (qmail 17000 invoked by uid 1017); 25 Jul 2015 13:42:40 -0000
Received: from unknown (unknown) by unknown with QMTP; 25 Jul 2015 13:42:40 -0000
Received: (qmail 23431 invoked by uid 1000); 25 Jul 2015 13:42:08 -0000
Date: 25 Jul 2015 13:42:08 -0000
Message-ID: <20150725134208.23429.qmail@cr.yp.to>
From: "D. J. Bernstein" <djb@cr.yp.to>
To: cfrg@irtf.org
Mail-Followup-To: cfrg@irtf.org
In-Reply-To: <810C31990B57ED40B2062BA10D43FBF5E1928C@XMB116CNC.rim.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/CXVMBydHEcT2czdxZ2U0Jw8PFf8>
Subject: Re: [Cfrg] EdDSA signer's PRF conservative enough, or as possible?
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: <https://mailarchive.ietf.org/arch/browse/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: Sat, 25 Jul 2015 13:42:24 -0000

Hashing to a large range of integers, and then reducing the result
modulo a substantially smaller integer m, is a completely standard
construction. People often take m to be a power of 2 since truncation is
so efficient, but in public-key contexts another choice of m is often
more natural, and in the ECC signature context the obvious choice of m
is the group order.

Viewing this reduction as part of the hash construction---a "wide-pipe"
hash, with output size substantially smaller than internal state size---
was introduced by Finney and, in much more detail, by Lucks. This view
hides the public-key context, and Finney's posting sounded like it was
considering only truncation as the reduction map:

   https://www.mail-archive.com/cryptography@metzdowd.com/msg02635.html

However, the Lucks paper---the paper typically cited as introducing wide
pipes---explicitly allowed any reduction map ("C''" in that paper), with
truncation merely as one example:

   http://link.springer.com/chapter/10.1007%2F11593447_26

Either way, it's well understood that this reduction eliminates the only
generic security problem with prefix MACs. Every SHA-3 submission was
required to resist length-extension attacks and to specify PRFs; there
were tons of SHA-3 submissions explicitly conjecturing that their prefix
MACs were secure, without the complications of HMAC; many submissions
achieved this through exactly the "wide-pipe" idea.

Of course, actual _proofs_ of security are available only for limited
classes of attacks, but this is the situation pretty much everywhere in
cryptography: e.g., the PRF conjecture for AES-CBC-MAC is proven only
for attacks that don't break the PRP conjecture for AES. There are
always unproven conjectures, and what really matters is the extent to
which cryptanalysts have tried and failed to come up with attacks.

Dan Brown writes:
> Q1) Is there some kind of formal argument why the mod l reduction can
> elevate a non-PRF into a PRF?

Why do you think HMAC can "elevate a non-PRF into a PRF"?

If you don't think that stopping all known attacks is the right answer
then clearly your answer is the "provable security" of HMAC---the
security of HMAC against a limited class of attacks, namely attacks that
don't break the "pseudorandomness" of the underlying compression
function.

Now here's an exercise for you: Prove, for the same limited class of
attacks, that reduced prefix MAC is secure. As a hint, the following
paper has all the necessary proof techniques, and covers truncated CBC
and prefix sponge MAC as two examples:

   https://eprint.iacr.org/2015/053.pdf

You can and should ask how carefully this has been reviewed---but you
should also ask the same about, e.g., Bellare's Crypto 2006 HMAC paper,
which had a fundamental flaw pointed out in 2012 by Koblitz and Menezes,
explored more thoroughly in a followup paper from Lange and me:

   http://cacr.uwaterloo.ca/~ajmeneze/anotherlook/hmac.shtml
   https://eprint.iacr.org/2012/318

You should also ask how tight the proofs are. This is a real problem for
HMAC. The best solution we know is to take wide pipes, but taking wide
pipes also removes the entire justification for HMAC!

You should also ask whether the class of attacks covered by the security
proof is being accurately summarized. In the case of HMAC it certainly
isn't---the proof is really for NMAC, and for HMAC there's an extra
limitation, basically the assumption that attacks can't distinguish NMAC
from HMAC. Hash-function cryptanalysts will generally agree that this
assumption is reasonable and very hard to break (even when the number of
hash rounds is reduced enough that we can find collisions), but if your
goal is to minimize the number of security assumptions then you should
be objecting to HMAC (and also to pretty much every KDF-related
assumption) and advocating pure reduction instead.

Please let me know whether you'd like to adapt your signature proposal
in light of these considerations. If not then I should dig through your
latest PRF details and implement them in the Python script.

> Q2) Why not tweak the PRF design to make it more conservative?

This question starts with unjustified assumptions. In fact, the existing
design is already extremely conservative, including a very wide pipe and
a reduction layer. An HMAC layer would be redundant, and I don't see how
you can justify the notion that it's _more_ conservative rather than
_less_ conservative. See above.

I'm sympathetic to the notion that AES, with well-documented scrutiny
spanning more than 15 years, is the obvious choice whenever anyone asks
for a PRP---or (for a limited number of queries) a PRF, or a wider PRF.
It's well understood how to build larger PRF constructions assuming that
AES is secure. However:

   * AES is a nightmare for constant-time software on most platforms.
     It's also a nightmare for software auditors.

   * Having to support a hash function _and_ AES is a considerable extra
     cost for small devices implementing signatures. There are various
     proposals of AES-based hashes but these haven't received much
     review---and they aren't based on the well-studied PRP property.

A more attractive approach is to switch to SHA-3. Unlike SHA-2, SHA-3
was selected through a public competition that from the outset required
collision resistance _and_ a PRF. For various reasons I'm pretty sure
that most cryptanalysts who have looked at these functions would rate
SHA-3 as lower risk than SHA-2, despite the age of SHA-2. However, it's
not clear to me that IETF is ready to start using SHA-3.

Here's what the original Ed25519 paper said about these issues:

   Standard PRF hypotheses imply that this pseudorandom session key r is
   indistinguishable from a truly random string generated independently
   for each M, so there is no loss of security. Well-known
   length-extension properties prevent secret-prefix SHA-512 from being
   a PRF, but also do not threaten the security of Ed25519-SHA-512,
   since r is not visible to the attacker. All remaining SHA-3
   candidates are explicitly designed to be PRFs, and we will not
   hesitate to recommend Ed25519-SHA-3 after SHA-3 is standardized. It
   would of course also be safe to generate r with a cipher such as AES,
   combined with standard PRF-stretching mechanisms to support a long
   input; but we prefer to reuse H to save area in hardware
   implementations.

---Dan


From nobody Sat Jul 25 15:58:27 2015
Return-Path: <djb-dsn2-1406711340.7506@cr.yp.to>
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 233831A8740 for <cfrg@ietfa.amsl.com>; Sat, 25 Jul 2015 15:58:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.896
X-Spam-Level: **
X-Spam-Status: No, score=2.896 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HELO_EQ_NL=0.55, HOST_EQ_NL=1.545, RCVD_IN_DNSWL_NONE=-0.0001, UNPARSEABLE_RELAY=0.001] 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 AYu2RiNAKRiK for <cfrg@ietfa.amsl.com>; Sat, 25 Jul 2015 15:58:24 -0700 (PDT)
Received: from calvin.win.tue.nl (calvin.win.tue.nl [131.155.70.11]) by ietfa.amsl.com (Postfix) with SMTP id 9CC6F1A8732 for <cfrg@irtf.org>; Sat, 25 Jul 2015 15:58:23 -0700 (PDT)
Received: (qmail 8709 invoked by uid 1017); 25 Jul 2015 22:58:42 -0000
Received: from unknown (unknown) by unknown with QMTP; 25 Jul 2015 22:58:42 -0000
Received: (qmail 21360 invoked by uid 1000); 25 Jul 2015 22:58:12 -0000
Date: 25 Jul 2015 22:58:12 -0000
Message-ID: <20150725225812.21358.qmail@cr.yp.to>
From: "D. J. Bernstein" <djb@cr.yp.to>
To: cfrg@irtf.org
Mail-Followup-To: cfrg@irtf.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/MJhXn0VLFoSODQngqpSurY938gU>
Subject: [Cfrg] Security concerns regarding short hashes
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: <https://mailarchive.ietf.org/arch/browse/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: Sat, 25 Jul 2015 22:58:26 -0000

The Curve25519 paper estimated "roughly 2^80 elliptic-curve additions"
for a 1-year ECC attack using a billion-dollar cluster with standard
2005-era chip technology, and concluded that this attack would have
"only about a 2^-90 chance" of breaking Curve25519.

Ten years later, chips have >100x more transistors, and some attackers
are now known to be spending even more money, so 2^90 elliptic-curve
additions seem feasible. It's not hard to extrapolate. At some point
quantum computers will become the top threat, but it's easy to imagine
standard attacks reaching 2^100 elliptic-curve additions before then.
Fortunately, these attacks would have only about a 1/2^50 chance of
breaking Curve25519, i.e., about 1 chance in 1000000000000000.

What happens if we use EdDSA with a half-size (128-bit) hash function,
allowing the signature compression discussed on page 9 of the original
Ed25519 paper? Recall that the signature (R,S) of a message M satisfies

   SB = R + H(R,A,M)A

where A is the public key, and conversely anything satisfying this
equation will be accepted as a valid signature. Compression produces
(H(R,A,M),S), which is only 48 bytes instead of 64 bytes, since H(R,A,M)
has 16 bytes while R has 32.

The attacker now searches through 2^100 possibilities for another
message M' with H(R,A,M') = H(R,A,M); maybe even more possibilities,
depending on how fast H is compared to an elliptic-curve addition. This
succeeds, producing (R,S) as a signature of this forged message M', with
probability 1/2^28, i.e., 1 chance in a few hundred million. Similar
comments apply to other signature schemes.

Is "breakable by feasible large-scale attacks with probability 1/2^28" a
matter of concern? Maybe, maybe not---but, either way, it is not the
same quantitative security level as "breakable by feasible large-scale
attacks with probability 1/2^50". This attack contradicts Mike's claim
that shortening H in this way is "without losing security"; mixing up
these security levels is like mixing up the single-key security levels
of a 128-bit cipher and a 150-bit cipher.

Even worse, if H is any _narrow-pipe_ 128-bit hash function, then the
following generic attack algorithm increases the probability from 1/2^28
up to essentially 1, after the attacker sees a plausible number of
signatures, say signatures with points R_1,R_2,...,R_{2^{28}}:

   * Force an internal collision between R_1 and R_2, i.e., a collision
     of the hash states obtained in hashing extensions of R_1 and R_2,
     by trying many extension blocks (R_1,A,M_1) and (R_2,A,M_2). Do the
     same for R_3 and R_4, for R_5 and R_6, etc. This takes 2^27*2^64
     hash computations.

   * Starting from the hash state h_{1,2} from R_1 and R_2, and the hash
     state h_{3,4} from R_3 and R_4, add another block to force an
     internal collision between h_{1,2} and h_{3,4}, i.e., an internal
     collision between R_1,R_2,R_3,R_4. Do the same for R_5,R_6,R_7,R_8
     etc. This takes 2^26*2^64 hash computations.

   * Continue in the same way to find a single hash state h obtained as
     a collision of 28-block extensions of all of the R_i's. The whole
     computation takes essentially 2^28*2^64 hash computations.

   * Starting from h, try further extensions until bumping into _any_ of
     the 2^28 hash values used in the legitimate signatures. This is a
     multiple-target preimage attack, taking only 2^100 hash
     computations.

This is similar to the "herding" attack of Kelsey and Kohno, except that
the "herding" attack starts from one input and aims for any state in the
"diamond", while this attack starts from the right tip of the "diamond"
and aims for any state in an externally specified list of targets.

Saying "This attack doesn't break wide-pipe hash functions" is missing
the point. The point is that single-target preimage attacks aren't the
only way---and, in a large class of examples, aren't the best way---to
attack the hash-security property that's needed here. This means that to
figure out the actual security level of any particular hash function H
you have to analyze this security property for H; you can't rely on
analyses of the single-target preimage security of H. Unfortunately, as
far as I know, the necessary security analysis hasn't been done for any
of the wide-pipe hash functions H that have been suggested.

Why doesn't this concern apply to H with a larger output? Easy: any
attack of this type against H implies a _multiple-target_ preimage
attack against H; any N-target preimage attack can be converted into a
single-target preimage attack that's >=1/N times as effective; and now
we're talking about functions H that are explicitly designed to have
single-target preimage security far above 2^128, so dividing by N still
stays above 2^128. This security buffer is exactly what's missing for a
function H with a 128-bit output, whether or not H is wide-pipe.

One can try squeezing a 256-bit hash to, say, 192 bits, and arguing that
a user won't sign 2^64 messages (2^50 is a reasonable limit). However,
it's not clear that the issues here are limited to single-user attacks.
Multiple users will certainly sign a total of more than 2^64 messages,
and then it's entirely possible that this squeezing loses security. The
necessary analysis again hasn't been done---and how many applications
will notice the difference between a 64-byte signature and a 56-byte
signature?

The only way to confidently maintain security is to use a >=256-bit
hash. Schnorr's compression then can't save anything, so there's no
reason to think about it further. With compression out of the picture,
using a double-size (i.e., 512-bit) hash doesn't affect the signature
size. Double-size hashes are also helpful for key derivation and nonce
generation (see, e.g., the PRF notes in my previous message), and having
all of these operations use a single hash function is helpful for
implementors and auditors.

Dan Brown's proposal replaces SHA-512 with SHA-384 for key derivation
and nonce generation (and with a truncated form of SHA-384 for the
Schnorr hash). It's again clear that this reduces the security level at
least somewhat compared to EdDSA (the seed has only 128 bits), and one
would have to do more analysis to see whether there are further losses.

These security issues illustrate the dangers of trying to achieve
"cryptographic balance" through chopping every system component down to
the minimum size that can reach some predetermined security level---it's
much too easy to misunderstand the attack space and chop some components
down too far. Sometimes I see people saying that the simple, safe thing
to do is "more secure than necessary", but this isn't a problem per se.
Occasionally _poor system performance_ is a problem, but this problem is
almost always caused by a small number of major bottlenecks, so it
doesn't justify touching any of the other system components.

---Dan


From nobody Sun Jul 26 12:43:22 2015
Return-Path: <djb-dsn2-1406711340.7506@cr.yp.to>
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 75F061A8863 for <cfrg@ietfa.amsl.com>; Sun, 26 Jul 2015 12:43:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.896
X-Spam-Level: **
X-Spam-Status: No, score=2.896 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HELO_EQ_NL=0.55, HOST_EQ_NL=1.545, RCVD_IN_DNSWL_NONE=-0.0001, UNPARSEABLE_RELAY=0.001] 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 byTumKHtHh5L for <cfrg@ietfa.amsl.com>; Sun, 26 Jul 2015 12:43:18 -0700 (PDT)
Received: from calvin.win.tue.nl (calvin.win.tue.nl [131.155.70.11]) by ietfa.amsl.com (Postfix) with SMTP id 221E21A8852 for <cfrg@irtf.org>; Sun, 26 Jul 2015 12:43:17 -0700 (PDT)
Received: (qmail 6579 invoked by uid 1017); 26 Jul 2015 19:43:37 -0000
Received: from unknown (unknown) by unknown with QMTP; 26 Jul 2015 19:43:37 -0000
Received: (qmail 14875 invoked by uid 1000); 26 Jul 2015 19:43:06 -0000
Date: 26 Jul 2015 19:43:06 -0000
Message-ID: <20150726194306.14873.qmail@cr.yp.to>
From: "D. J. Bernstein" <djb@cr.yp.to>
To: cfrg@irtf.org
Mail-Followup-To: cfrg@irtf.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/E-q_6ABdKfPU5XG2N6IVAs_sNhA>
Subject: [Cfrg] Internal collisions
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: <https://mailarchive.ietf.org/arch/browse/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: Sun, 26 Jul 2015 19:43:20 -0000

This message elaborates on Tanja's comment about "internal collisions"
at the CFRG meeting. The quick summary is that Schnorr's H(R,M) adds
real protection against the possibility of collisions in H, while the
alternative H(M,R) doesn't, even when H is a wide-pipe hash function.

As a concrete example, take H to be 24 rounds of SHA-512/256 or SHA-384.
Both of these functions have

   * outputs that are too big for brute-force collision attacks, and
   * even wider pipes.

However, internally these functions process messages the same way as
SHA-512 (starting from different IVs and truncating the output), and so
you can break these hash functions inside H(M,R) signatures as follows:

   * Start from 2008 Sanadhya--Sarkar, which showed how to very quickly
     find distinct 1024-bit blocks B,B' that produce colliding 512-bit
     states after 24 rounds starting from the initial SHA-512 state.

   * Notice that the Sanadhya--Sarkar method also works for (e.g.) the
     initial SHA-384 state.
     
     I'm not saying that these particular blocks B,B' have a noticeable
     chance of producing collisions for other starting states. This
     would be an impressive break of the SHA-512 data flow, a
     "differential attack without message modification", a technique
     that has trouble breaking MD5.
     
     What I'm saying is that, _given_ any starting state h (e.g., the
     initial SHA-384 state or the initial SHA-512/256 state), the method
     _computes_ distinct 1024-bit blocks B,B' that produce colliding
     512-bit states after 24 rounds starting from h.

   * Notice that 24 rounds of SHA-384 now collide on any inputs of the
     form (B,X) and (B',X), since the states after B and B' are the
     same---this is what's called an "internal collision".

   * Find an X such that (B,X) is an innocent message that the signer is
     willing to sign while (B',X) is a dangerous message. Obtain the
     signer's signature (R,S) on the innocent message (B,X).

   * Forge the message (B',X) with the same signature (R,S). This is a
     valid signature since H(B',X,R) = H(B,X,R).

What went wrong here is that H(M,R) isn't resilient to _internal_
collisions in H. It wasn't useful to watch for collisions in H as a
canary for potential security problems in H(M,R)---the victim died a
moment after the canary did.

H(M,R) for wide-pipe H has the weak property of being resilient to mere
_output_ collisions---for example, if someone manages to find an H
collision by brute force, then there's no reason to think that appending
R to the inputs will also produce a collision---but brute force isn't
the real threat against any reasonably large hash output. The way that
cryptanalysts have found collisions much more quickly than brute force

   * in MD5, and
   * in 76 out of 80 steps of the SHA-1 compression function, and
   * in 38 out of 64 steps of the SHA-256 compression function, and
   * in 4 out of 24 rounds of SHA3-256,
   
is by finding ways that small input differences can stay on a path of
small differences through the entire hash computation---it's hard to
imagine how differences would have a noticeable chance of disappearing
otherwise! Output truncation has very little effect on this type of
attack: it can remove a few conditions from the end of the computation,
but most of the attack cost comes from many more conditions needed to
control diffusion in many earlier rounds of the computation.

(Probably even more than 24 rounds of SHA-384 etc. are feasible to
break. There has been considerable progress since 2008, and the latest
collision attacks break 38 out of 80 rounds of the SHA-512 compression
function, although breaking 38 rounds of the SHA-512 _hash_ function
will require hooking the SHA-512 initial state to the two initial states
used in this compression-function collision.)

For comparison, what happens to this attack if H(M,R) is replaced by
Schnorr's H(R,M)? This time R immediately affects the hash processing,
and this change in data flow creates serious obstacles for the attacker.
Here's what happens:

   * _Given_ R, the attacker computes two extensions (R,M) and (R,M')
     that produce an internal collision.

   * But wait---why is this collision useful? To forge M' as a
     substitute for M, the attacker needs a signature involving H(R,M).

   * So the attacker asks the signer to sign M.

   * The signer now generates a signature of M---but this signature
     involves a new R' that the attacker has never seen before.

There's no reason to think that H(R',M) and H(R',M') will collide when
R' is chosen randomly. Asking for this to happen is asking for something
much stronger than a collision---as above, this would be an impressive
break of the SHA-512 data flow. The attacker really wants to see R
before generating M and M', but the signer won't generate R without
seeing M.

So the attacker starts by computing just one message M, then sees R from
the signer, and then tries to compute a second message M' with H(R,M') =
H(R,M). The usual techniques for trying to find preimages much more
quickly than brute force are again to take M' close to M and hope that
the differences stay under control. However, the fact that M can't
change during the second computation makes this preimage search much
more difficult than a collision search:

   * The attacker can't simply use the best difference M'-M: if this M'
     doesn't work, then the attacker has to move on to the second-best
     difference, then the third-best, etc. In collision attacks the
     attacker was free to keep trying the best difference with many
     choices of M.

   * The attacker can't apply "message modification", working backwards
     from as many of the path conditions as possible to a subset of M
     that's feasible to enumerate.

The attacker can of course try to modify M during the first computation
so that the path conditions are more likely to be satisfied, but this
has to be done in a way that gets past the obstacle of R being
subsequently randomized.

In short, the fact that H(R,M) is resilient to _internal_ collisions
reflects a real gap in difficulty between finding H collisions and
breaking H(R,M). Anyone who disputes this should be able to demonstrate
feasible attacks on H(R,M) using MD5, using 24 rounds of SHA-384, and
using 4 rounds of SHA3-256, all of which are broken for H(M,R).

---Dan


From nobody Mon Jul 27 08:49:23 2015
Return-Path: <dbrown@certicom.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 E66031B301E for <cfrg@ietfa.amsl.com>; Mon, 27 Jul 2015 08:49:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.1
X-Spam-Level: 
X-Spam-Status: No, score=0.1 tagged_above=-999 required=5 tests=[BAYES_50=0.8,  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 jCH0NQ-df7L5 for <cfrg@ietfa.amsl.com>; Mon, 27 Jul 2015 08:49:14 -0700 (PDT)
Received: from smtp-p01.blackberry.com (smtp-p01.blackberry.com [208.65.78.88]) by ietfa.amsl.com (Postfix) with ESMTP id 9E8551B2FEA for <cfrg@irtf.org>; Mon, 27 Jul 2015 08:48:19 -0700 (PDT)
Received: from xct107cnc.rim.net ([10.65.161.207]) by mhs212cnc.rim.net with ESMTP/TLS/AES128-SHA; 27 Jul 2015 11:48:18 -0400
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT107CNC.rim.net ([fe80::b815:71ef:9f8f:e07c%16]) with mapi id 14.03.0210.002; Mon, 27 Jul 2015 11:48:17 -0400
From: Dan Brown <dbrown@certicom.com>
To: "'djb@cr.yp.to'" <djb@cr.yp.to>, "'cfrg@irtf.org'" <cfrg@irtf.org>
Thread-Topic: [Cfrg] Internal collisions
Thread-Index: AQHQx9tc+xgpZDff0UGF08OtLC2WBJ3vXxTQ
Date: Mon, 27 Jul 2015 15:48:16 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5E1B345@XMB116CNC.rim.net>
References: <20150726194306.14873.qmail@cr.yp.to>
In-Reply-To: <20150726194306.14873.qmail@cr.yp.to>
Accept-Language: en-CA, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [10.65.160.252]
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_0000_01D0C862.20167FC0"
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/8aazy37QIjXwnCf-BCSmfzHtaCc>
Subject: Re: [Cfrg] Internal collisions
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: <https://mailarchive.ietf.org/arch/browse/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, 27 Jul 2015 15:49:22 -0000

------=_NextPart_000_0000_01D0C862.20167FC0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi Dan,

I agree with your points about internal collisions. 

But, just to be clear: you are _not_ saying that for a wide-pipe hash H of
output length 256 bits and internal state (width) 512 bits (e.g. in
SHA-512/256), the best known (or expected) internal collision attack takes
far fewer than 2^256 steps (let alone actually much closer to 2^128 steps),
right?  

Otherwise, I've had a large misunderstanding of the wide-pipe promise.

If 2^256 is the best/expected number of steps for an internal collision on
256-bit wide pipe hash, then for sake of comparison, consider H(R,M)
signatures, but with a narrow-pipe H (to isolate the benefit of prefixing
from the benefit of wide pipes).  In that case, an adversary should take
2^256 steps to find M' such that H(R,M') = H(R,M), and thus a forgery.

Seen this way, wide-pipe H and prefixing (alone, i.e. with a narrow-pipe H)
provide very similar level of protection, _both_ requiring a 2^256 step
H-attack just to get a forgery of M' by asking the signer to sign M.  This
is hugely more than the 2^128 steps to solve the log to find the signing key
from the verification key.

But maybe your arguments favor prefixing: we really expect to never have any
weakness in prefixed hashes, but we do expect an eventual weakness in
wide-pipe internal collisions.  Is that right?  Is that the implication I
the challenge at the end of your email?  If so, then I wonder how much of
that expectation is because people have just not tried to attack prefixing.

Quantitatively, if H proves to be weaker than expected, then replace the
2^256 steps above by 2^(256-w) steps for some relative weakness measure w.
As long as w < 128, the signatures should be okay, i.e. using a wide-pipe H
or a prefixed narrow-pipe.  A relative weakness w = 64 would serve as one
early warning sign (a canary).  Another early warning sign would be
reduced-round hashes, and MD5.  

The EdDSA proposal uses _both_ wide-pipe H and prefix H(R,M), so it has
_redundant_ protections. Generally, I strongly _agree_ with redundant
protections, provided they are inexpensive.    If these protections
accumulate, then even better!  

Unfortunately, prefixing means non-IUF.

Side note: I think you've some good points against IUF-streamed signature
verification, but what about IUF-streamed signing?  Does not the signer wish
to avoid creating signatures on a partial stream, even signatures marked as
partial, on a stream until the entire stream is seen?

The ECDSA_CFRG proposal uses a wide-pipe H, but with a suffix H(M,R) to
obtain IUF.  If CFRG is also going to recommend non-IUF options, (which I
thought was option 3 in the poll) then in non-IUF mode, ECDSA_CFRG should
instead use H(R,M), more like PureEdDSA.  (Perhaps H(R,M,R) would help, but
likely not.)

Anyway, in a pure IUF mode, the wide-pipe H(M,R) signature in ECDSA_CFRG
provides the following security protections:
- wide-pipe protects against internal collisions,
- H(M,R) protects against external collisions (as you explain).

I think you've argued that external collisions are not the real threat here,
so the real protection ECDSA_CFRG is from the wide-pipe.  

On terminology, if one defined "collision-resilience" to mean
"internal-collision-resilience", then the wide-pipe does not provide this
"collision-resilience" but rather the simpler concept of
"collision-resistance".  Taking collision-resilience to mean
"external-collision-resilience", then H(M,R) signatures provides
"collision-resilience".

One could also argue that the H(M,R) in ECDSA_CFRG provides no substantial
benefit over wide-pipe ECDSA, because the threat of external collisions is
not very substantial.  But: 

- H(M,R) with H a random oracle, essentially makes ECDSA_CFRG a kind of
Pointcheval-Stern signature, with the random oracle proof that many
academics value (e.g. Koblitz and Menezes).

So, there seems to some benefit to including R in H in ElGamal signatures,
and various people have proposed it over the years. 

Best regards,

Dan


> -----Original Message-----
> From: Cfrg [mailto:cfrg-bounces@irtf.org] On Behalf Of D. J. Bernstein
> Sent: Sunday, July 26, 2015 3:43 PM
> To: cfrg@irtf.org
> Subject: [Cfrg] Internal collisions
> 
> This message elaborates on Tanja's comment about "internal collisions"
> at the CFRG meeting. The quick summary is that Schnorr's H(R,M) adds real
> protection against the possibility of collisions in H, while the
alternative H(M,R)
> doesn't, even when H is a wide-pipe hash function.
> 
> As a concrete example, take H to be 24 rounds of SHA-512/256 or SHA-384.
> Both of these functions have
> 
>    * outputs that are too big for brute-force collision attacks, and
>    * even wider pipes.
> 
> However, internally these functions process messages the same way as
> SHA-512 (starting from different IVs and truncating the output), and so
you can
> break these hash functions inside H(M,R) signatures as follows:
> 
>    * Start from 2008 Sanadhya--Sarkar, which showed how to very quickly
>      find distinct 1024-bit blocks B,B' that produce colliding 512-bit
>      states after 24 rounds starting from the initial SHA-512 state.
> 
>    * Notice that the Sanadhya--Sarkar method also works for (e.g.) the
>      initial SHA-384 state.
> 
>      I'm not saying that these particular blocks B,B' have a noticeable
>      chance of producing collisions for other starting states. This
>      would be an impressive break of the SHA-512 data flow, a
>      "differential attack without message modification", a technique
>      that has trouble breaking MD5.
> 
>      What I'm saying is that, _given_ any starting state h (e.g., the
>      initial SHA-384 state or the initial SHA-512/256 state), the method
>      _computes_ distinct 1024-bit blocks B,B' that produce colliding
>      512-bit states after 24 rounds starting from h.
> 
>    * Notice that 24 rounds of SHA-384 now collide on any inputs of the
>      form (B,X) and (B',X), since the states after B and B' are the
>      same---this is what's called an "internal collision".
> 
>    * Find an X such that (B,X) is an innocent message that the signer is
>      willing to sign while (B',X) is a dangerous message. Obtain the
>      signer's signature (R,S) on the innocent message (B,X).
> 
>    * Forge the message (B',X) with the same signature (R,S). This is a
>      valid signature since H(B',X,R) = H(B,X,R).
> 
> What went wrong here is that H(M,R) isn't resilient to _internal_
collisions in H.
> It wasn't useful to watch for collisions in H as a canary for potential
security
> problems in H(M,R)---the victim died a moment after the canary did.
> 
> H(M,R) for wide-pipe H has the weak property of being resilient to mere
> _output_ collisions---for example, if someone manages to find an H
collision by
> brute force, then there's no reason to think that appending R to the
inputs will
> also produce a collision---but brute force isn't the real threat against
any
> reasonably large hash output. The way that cryptanalysts have found
collisions
> much more quickly than brute force
> 
>    * in MD5, and
>    * in 76 out of 80 steps of the SHA-1 compression function, and
>    * in 38 out of 64 steps of the SHA-256 compression function, and
>    * in 4 out of 24 rounds of SHA3-256,
> 
> is by finding ways that small input differences can stay on a path of
small
> differences through the entire hash computation---it's hard to imagine how
> differences would have a noticeable chance of disappearing otherwise!
Output
> truncation has very little effect on this type of
> attack: it can remove a few conditions from the end of the computation,
but
> most of the attack cost comes from many more conditions needed to control
> diffusion in many earlier rounds of the computation.
> 
> (Probably even more than 24 rounds of SHA-384 etc. are feasible to break.
> There has been considerable progress since 2008, and the latest collision
> attacks break 38 out of 80 rounds of the SHA-512 compression function,
> although breaking 38 rounds of the SHA-512 _hash_ function will require
> hooking the SHA-512 initial state to the two initial states used in this
> compression-function collision.)
> 
> For comparison, what happens to this attack if H(M,R) is replaced by
Schnorr's
> H(R,M)? This time R immediately affects the hash processing, and this
change
> in data flow creates serious obstacles for the attacker.
> Here's what happens:
> 
>    * _Given_ R, the attacker computes two extensions (R,M) and (R,M')
>      that produce an internal collision.
> 
>    * But wait---why is this collision useful? To forge M' as a
>      substitute for M, the attacker needs a signature involving H(R,M).
> 
>    * So the attacker asks the signer to sign M.
> 
>    * The signer now generates a signature of M---but this signature
>      involves a new R' that the attacker has never seen before.
> 
> There's no reason to think that H(R',M) and H(R',M') will collide when R'
is
> chosen randomly. Asking for this to happen is asking for something much
> stronger than a collision---as above, this would be an impressive break of
the
> SHA-512 data flow. The attacker really wants to see R before generating M
and
> M', but the signer won't generate R without seeing M.
> 
> So the attacker starts by computing just one message M, then sees R from
the
> signer, and then tries to compute a second message M' with H(R,M') =
H(R,M).
> The usual techniques for trying to find preimages much more quickly than
> brute force are again to take M' close to M and hope that the differences
stay
> under control. However, the fact that M can't change during the second
> computation makes this preimage search much more difficult than a
collision
> search:
> 
>    * The attacker can't simply use the best difference M'-M: if this M'
>      doesn't work, then the attacker has to move on to the second-best
>      difference, then the third-best, etc. In collision attacks the
>      attacker was free to keep trying the best difference with many
>      choices of M.
> 
>    * The attacker can't apply "message modification", working backwards
>      from as many of the path conditions as possible to a subset of M
>      that's feasible to enumerate.
> 
> The attacker can of course try to modify M during the first computation so
> that the path conditions are more likely to be satisfied, but this has to
be done
> in a way that gets past the obstacle of R being subsequently randomized.
> 
> In short, the fact that H(R,M) is resilient to _internal_ collisions
reflects a real
> gap in difficulty between finding H collisions and breaking H(R,M). Anyone
who
> disputes this should be able to demonstrate feasible attacks on H(R,M)
using
> MD5, using 24 rounds of SHA-384, and using 4 rounds of SHA3-256, all of
> which are broken for H(M,R).
> 
> ---Dan
> 
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg

------=_NextPart_000_0000_01D0C862.20167FC0
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIUoDCCBo8w
ggV3oAMCAQICClvwCZYABAA8faIwDQYJKoZIhvcNAQEFBQAwUDETMBEGCgmSJomT8ixkARkWA25l
dDETMBEGCgmSJomT8ixkARkWA3JpbTEkMCIGA1UEAxMbUklNIFN1Ym9yZGluYXRlIENBIE1DQTAz
WUtGMB4XDTE1MDQxMDIxMjgwNFoXDTE2MDQwMjAxMTEwNVowgaQxEzARBgoJkiaJk/IsZAEZFgNu
ZXQxEzARBgoJkiaJk/IsZAEZFgNyaW0xDTALBgNVBAsTBEFNRVIxCzAJBgNVBAsTAkNBMRQwEgYD
VQQLEwtNaXNzaXNzYXVnYTEOM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FKw4DAgcwDQYI
KoZIhvcNAwICAUAwDQYIKoZIhvcNAwICASgwBwYFKw4DAhowCwYJYIZIAWUDBAIDMAsGCWCGSAFl
AwQCAjALBglghkgBZQMEAgEwDQYJKoZIhvcNAQEBBQAEgYBbECUJfMAmnu0xkVblLmXd0INaH1Sx
HjmoCj8QnnSIURQOrofDdCrO76ZO7ubYptt+TDW51w/CDRBa8Iz4PT/eAPuTlNr3CtulREOGkBDB
b92udIRjFW1Pbe6hVBewvHmtMS4jZxYche3J0ULmQDCB6DDK7pT3A0EHQX/G799VPwAAAAAAAA==

------=_NextPart_000_0000_01D0C862.20167FC0--


From nobody Mon Jul 27 10:49:39 2015
Return-Path: <dmjacobson@sbcglobal.net>
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 28B871B3134 for <cfrg@ietfa.amsl.com>; Mon, 27 Jul 2015 10:49:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.3
X-Spam-Level: 
X-Spam-Status: No, score=-1.3 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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 I1bndf7dUBS6 for <cfrg@ietfa.amsl.com>; Mon, 27 Jul 2015 10:49:37 -0700 (PDT)
Received: from nm16-vm7.access.bullet.mail.gq1.yahoo.com (nm16-vm7.access.bullet.mail.gq1.yahoo.com [216.39.63.194]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E157B1B3131 for <cfrg@irtf.org>; Mon, 27 Jul 2015 10:49:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s2048; t=1438019375; bh=7dFKSELVcR2KKgUwVpH8uTol00m0TBbLygzfym53S5Y=; h=Subject:To:References:From:Date:In-Reply-To:From:Subject; b=m97J1Zz8XBTw+BtdCh4BStbodUsL4LwPe3MHA+a68lj0+cxe9XbSQfK0OJ7iaG33uWrsKH89Jt0sBPttLeK1qupMhzKVJeWm2oKa+eCieh9voYCCPIhDgUfc6LUndfz791HKQu+FymaZRIv6QgnyEDTtx81jhHiFpdByytPyqmaIzvezHfT3zkKIY8mp0kR6e4whzEYmED1YtFQDcRo95dnUH8mRU6h3sZf6GWHFBtDsR2eOLEUg6ka6tlUJjSqieL7MKKcajU7VsuTCmw7vEib+YMpGwi9BE1KrBKCfoPD647+B3DBFay2l2Lkf2JGQbjEwGIXeCmYmswtLmpbE5g==
Received: from [216.39.60.169] by nm16.access.bullet.mail.gq1.yahoo.com with NNFMP; 27 Jul 2015 17:49:35 -0000
Received: from [67.195.22.116] by tm5.access.bullet.mail.gq1.yahoo.com with NNFMP; 27 Jul 2015 17:49:35 -0000
Received: from [127.0.0.1] by smtp111.sbc.mail.gq1.yahoo.com with NNFMP; 27 Jul 2015 17:49:35 -0000
X-Yahoo-Newman-Id: 824229.87313.bm@smtp111.sbc.mail.gq1.yahoo.com
X-Yahoo-Newman-Property: ymail-3
X-YMail-OSG: kiiPuLsVM1nvUErUJBY._twrxjwbSdl930H1C5NptV3AgW3 TwQTvazW.fLF6gEK2cOgpwx9WjA0xSF24fP1oi3wkmdX5qUf8aXGsMdOLTTj o7oUKkYuFhLPGY7BTUzP2KRQiVCJkCjOVPMRFOQ.KaSD3UsnB.5FO0PSZWpP iiOxICtTwAq_oWdnmBflg6HJ9hyN6R0IP2ng.6Jq22oQgNiGbQLeXh1wYX.u 1yPXA8kz626M0yjKP4Hj6i3OUma52d031UXKx9Nru1uw4N5dnqFNaalppz1L XBX.VHB9mD0PaOvB8o9RmjWRT9rS8LKFf5Ovcwz.Qh6g.xZITT_sGy9KaseZ BJO9skXQZ5.KrSYXIImehy4H3DZLFOhfedU9qtB8WREIul.qFMRr66rBIaja cu9eoG.kU1oD3y181TwG0NUI8EKUjs1Muj2lx6h2GaoP_G5BMrdm7RjMGgTC 5.lvoy72QsIssPfXOPZm1VJdm1HLo2qMNIyAZV9x8Fqg8q4BlzwB8ELiu1ON y7g95539RUsTIYcO8Q9cc7um7J8AzNsjS8c2LvCjoCZX3.xE5wGmQD9pm
X-Yahoo-SMTP: nOrmCa6swBAE50FabWnlVFUpgFVJ9Gbi__8U5mpvhtQq7tTV1g--
To: Dan Brown <dbrown@certicom.com>, "'djb@cr.yp.to'" <djb@cr.yp.to>, "'cfrg@irtf.org'" <cfrg@irtf.org>
References: <20150726194306.14873.qmail@cr.yp.to> <810C31990B57ED40B2062BA10D43FBF5E1B345@XMB116CNC.rim.net>
From: David Jacobson <dmjacobson@sbcglobal.net>
Message-ID: <55B66F2E.8070105@sbcglobal.net>
Date: Mon, 27 Jul 2015 10:49:34 -0700
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.1.0
MIME-Version: 1.0
In-Reply-To: <810C31990B57ED40B2062BA10D43FBF5E1B345@XMB116CNC.rim.net>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/TqYhzuPzk1a00mHHNBTCTcqUxng>
Subject: Re: [Cfrg] Internal collisions
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: <https://mailarchive.ietf.org/arch/browse/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, 27 Jul 2015 17:49:38 -0000

On 7/27/15 8:48 AM, Dan Brown wrote:
> Hi Dan,
>
> [ snip ]
> Unfortunately, prefixing means non-IUF.
>
>
[ snip ]

Why all this worry about IUF?  Industry is going to demand IUF so we 
have to provide it somehow.  Why can't we just bless making M be the 
hash of the message and use some otherwise non-IUF signature schemes?  I 
suspect that if we do that we need some way to prevent cross scheme 
forgeries.  Maybe we could have ASN.1 OIDs for the scheme and the names 
could be something like FOO and FOO_WITH_SHA512_PREHASH, etc and we 
could work the ASN.1 OID into the algorithm.  If we are worried about 
length extension attacks on the prehash, we could let M = 
length(message) || prehash(message).

This would get this issue of compatibility with IUF out of the debate 
about the security of the various proposals.

    --David Jacobson


From nobody Mon Jul 27 11:01:55 2015
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 ED7321B311F for <cfrg@ietfa.amsl.com>; Mon, 27 Jul 2015 11:01:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.501
X-Spam-Level: 
X-Spam-Status: No, score=-0.501 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, 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 EVWRfonFVcYl for <cfrg@ietfa.amsl.com>; Mon, 27 Jul 2015 11:01:52 -0700 (PDT)
Received: from emh02.mail.saunalahti.fi (emh02.mail.saunalahti.fi [62.142.5.108]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BF5EB1B302A for <cfrg@irtf.org>; Mon, 27 Jul 2015 11:01:51 -0700 (PDT)
Received: from LK-Perkele-VII (a91-155-194-207.elisa-laajakaista.fi [91.155.194.207]) by emh02.mail.saunalahti.fi (Postfix) with ESMTP id DF917234078; Mon, 27 Jul 2015 21:01:48 +0300 (EEST)
Date: Mon, 27 Jul 2015 21:01:48 +0300
From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
To: David Jacobson <dmjacobson@sbcglobal.net>
Message-ID: <20150727180148.GA20149@LK-Perkele-VII>
References: <20150726194306.14873.qmail@cr.yp.to> <810C31990B57ED40B2062BA10D43FBF5E1B345@XMB116CNC.rim.net> <55B66F2E.8070105@sbcglobal.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <55B66F2E.8070105@sbcglobal.net>
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/br88dqx4tvthWH8QifTKxKZ7fUQ>
Cc: "'cfrg@irtf.org'" <cfrg@irtf.org>
Subject: Re: [Cfrg] Internal collisions
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: <https://mailarchive.ietf.org/arch/browse/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, 27 Jul 2015 18:01:54 -0000

On Mon, Jul 27, 2015 at 10:49:34AM -0700, David Jacobson wrote:
> On 7/27/15 8:48 AM, Dan Brown wrote:
> >Hi Dan,
> >
> >[ snip ]
> >Unfortunately, prefixing means non-IUF.
> >
> >
> [ snip ]
> 
> Why all this worry about IUF?  Industry is going to demand IUF so we have to
> provide it somehow.  Why can't we just bless making M be the hash of the
> message and use some otherwise non-IUF signature schemes? 

Well, three of the proposals do IUF exactly this way.

> I suspect that if we do that we need some way to prevent cross scheme
> forgeries. 

Well, two of the three have "hash firewalling" for exactly this. Note
that 'identity' is especially dangerous here.

> Maybe we
> could have ASN.1 OIDs for the scheme and the names could be something like
> FOO and FOO_WITH_SHA512_PREHASH, etc and we could work the ASN.1 OID into
> the algorithm. 

Well, my proposal does something like that. And the reason why I used ASN.1
OID is:
- Most hashes have those.
- You can virtually always just dump a static octet string.
- You never need to decode it.

(If either of the last two failed, using ASN.1 wouldn't be a good idea).

> If we are worried about length extension attacks on the
> prehash, we could let M = length(message) || prehash(message).

I don't think length extension is a threat, since it just lets one
calculate hashes with unknown prefixes, and those hashes are still
different (if they weren't, the hash would be broken anyway).


-Ilari


From nobody Mon Jul 27 11:39:27 2015
Return-Path: <dbrown@certicom.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 5D27D1B321E for <cfrg@ietfa.amsl.com>; Mon, 27 Jul 2015 11:39:25 -0700 (PDT)
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 E_FROecw_Mmu for <cfrg@ietfa.amsl.com>; Mon, 27 Jul 2015 11:39:24 -0700 (PDT)
Received: from smtp-p01.blackberry.com (smtp-p01.blackberry.com [208.65.78.88]) by ietfa.amsl.com (Postfix) with ESMTP id 14DE41B3212 for <cfrg@irtf.org>; Mon, 27 Jul 2015 11:39:18 -0700 (PDT)
Received: from xct102cnc.rim.net ([10.65.161.202]) by mhs212cnc.rim.net with ESMTP/TLS/AES128-SHA; 27 Jul 2015 14:38:59 -0400
Received: from XCT111CNC.rim.net (10.65.161.211) by XCT102CNC.rim.net (10.65.161.202) with Microsoft SMTP Server (TLS) id 14.3.210.2; Mon, 27 Jul 2015 14:38:59 -0400
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT111CNC.rim.net ([::1]) with mapi id 14.03.0210.002; Mon, 27 Jul 2015 14:38:58 -0400
From: Dan Brown <dbrown@certicom.com>
To: "'dmjacobson@sbcglobal.net'" <dmjacobson@sbcglobal.net>, "'djb@cr.yp.to'" <djb@cr.yp.to>, "'cfrg@irtf.org'" <cfrg@irtf.org>
Thread-Topic: [Cfrg] Internal collisions
Thread-Index: AQHQx9tc+xgpZDff0UGF08OtLC2WBJ3vXxTQgAB9dQD//8FdkA==
Date: Mon, 27 Jul 2015 18:38:58 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5E1B4F4@XMB116CNC.rim.net>
References: <20150726194306.14873.qmail@cr.yp.to> <810C31990B57ED40B2062BA10D43FBF5E1B345@XMB116CNC.rim.net> <55B66F2E.8070105@sbcglobal.net>
In-Reply-To: <55B66F2E.8070105@sbcglobal.net>
Accept-Language: en-CA, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [10.65.160.252]
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_0005_01D0C879.F8C4CEF0"
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/hgeFNg-3LyVDsf9Kv7fggZxt-mc>
Subject: Re: [Cfrg] Internal collisions
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: <https://mailarchive.ietf.org/arch/browse/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, 27 Jul 2015 18:39:25 -0000

------=_NextPart_000_0005_01D0C879.F8C4CEF0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit


> -----Original Message-----
> From: David Jacobson [mailto:dmjacobson@sbcglobal.net]
> 
> On 7/27/15 8:48 AM, Dan Brown wrote:
> > [ snip ]
> > Unfortunately, prefixing means non-IUF.
> >
> >
> [ snip ]
> 
> Why all this worry about IUF?  

[DB] I wouldn't call it worry, but anyway.

First, see your own answer about the industry demand.  

Second, CFRG already had a poll on IUF. But, I'm not quite sure how to
interpret the results: can EC signatures provide a non-IUF mode?

> Industry is going to demand IUF so we have to
> provide it somehow.  Why can't we just bless making M be the hash of the
> message and use some otherwise non-IUF signature schemes?  I suspect that
if

[DB] There are some security concerns are about how good the prehash is. 

In particular, the prehashing proposals try to _specify a prehash_ rather
than just bless a using from any old hash to prehash the message.   

The EdDSA proposal goes further: it recommends that the prehash be the
identity, because it provides collision-resilience.  Are you against that
recommendation?

The ECDSA_CFRG proposal computes H(M||R), which is 
(i) close in cost to prehashing M,  
(ii) mandates using the one common wide-pipe hash, in a single call for the
verifier,
(iii) in the ideal random oracle model provides some theoretical security.
That's not so different from pre-hashing, is it?

If we are really confident in wide-pipe hashes, then the random oracle in
(iii) is quite plausible.

The prehashed prefix proposals H(R||H(M)) can _also_ claim the random oracle
model benefits (iii) above, since for sequential hashes H(M||R) is usually
quite similar to H(H(M)||R).   




------=_NextPart_000_0005_01D0C879.F8C4CEF0
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64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PFhhdO+RlDjF73MG0GCSsGAQQBgjcQBDFgMF4wUDETMBEGCgmSJomT8ixkARkWA25l
dDETMBEGCgmSJomT8ixkARkWA3JpbTEkMCIGA1UEAxMbUklNIFN1Ym9yZGluYXRlIENBIE1DQTAz
WUtGAgpb8AmWAAQAPH2iMG8GCyqGSIb3DQEJEAILMWCgXjBQMRMwEQYKCZImiZPyLGQBGRYDbmV0
MRMwEQYKCZImiZPyLGQBGRYDcmltMSQwIgYDVQQDExtSSU0gU3Vib3JkaW5hdGUgQ0EgTUNBMDNZ
S0YCClvwCZYABAA8faIwgasGCSqGSIb3DQEJDzGBnTCBmjALBglghkgBZQMEASowCwYJYIZIAWUD
BAEWMAoGCCqGSIb3DQMHMAsGCWCGSAFlAwQBAjAOBggqhkiG9w0DAgICAIAwBwYFKw4DAgcwDQYI
KoZIhvcNAwICAUAwDQYIKoZIhvcNAwICASgwBwYFKw4DAhowCwYJYIZIAWUDBAIDMAsGCWCGSAFl
AwQCAjALBglghkgBZQMEAgEwDQYJKoZIhvcNAQEBBQAEgYCUV205gdLIf3eve9aHy5ldWWfXSPt6
G+BGl88jquG7wSvNhH0CksvNM9n3YQqNzlho7iIyc4DU/eP8MuiDzHFdpXVe8aick7afCTuuzieL
Xlv59JZIGW40c7fI6bU/M+OuRXtHbg92zQ9WV98pTXufL0XbJVIn0UAqPRw+gO4Z6gAAAAAAAA==

------=_NextPart_000_0005_01D0C879.F8C4CEF0--


From nobody Tue Jul 28 11:27:00 2015
Return-Path: <jon49175@yahoo.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 9F7641B2D1D for <cfrg@ietfa.amsl.com>; Tue, 28 Jul 2015 11:26:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.94
X-Spam-Level: 
X-Spam-Status: No, score=0.94 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 BzbwqqVlenZf for <cfrg@ietfa.amsl.com>; Tue, 28 Jul 2015 11:26:58 -0700 (PDT)
Received: from nm26-vm0.bullet.mail.bf1.yahoo.com (nm26-vm0.bullet.mail.bf1.yahoo.com [98.139.213.74]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E34C91B2D5F for <cfrg@irtf.org>; Tue, 28 Jul 2015 11:26:56 -0700 (PDT)
Received: from [98.139.214.32] by nm26.bullet.mail.bf1.yahoo.com with NNFMP; 28 Jul 2015 18:26:56 -0000
Received: from [98.139.212.206] by tm15.bullet.mail.bf1.yahoo.com with NNFMP;  28 Jul 2015 18:26:55 -0000
Received: from [127.0.0.1] by omp1015.mail.bf1.yahoo.com with NNFMP; 28 Jul 2015 18:26:55 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 971845.13915.bm@omp1015.mail.bf1.yahoo.com
Received: (qmail 95607 invoked by uid 60001); 28 Jul 2015 18:26:55 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1438108015; bh=oYNzaLIjQjL4sMOIQ6enOKTtQVklvtwmv1ta/KKpj+U=; h=Message-ID:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=N8Z0aUTyFDCRogsAuYYtnWGtjxsAXsWdaOdNIOuYnIQE2/OlzMcIo/LOu4RWihciFCSYSf9fr6U5jqo9vFFsa2GcW1Fg8syT7zfS/3KQKP4c22gP2XHvkeLz371jxLzXy0rIf2MPq6h9ej0UIEpfKdwW8EbwfOzEOYkZ8Zs9Nc8=
X-YMail-OSG: A21aTWYVM1m5S1._GnkJv5R7PxkJeicZRo2KOgaaAlM8PiM szF6YyrYxQW5cR4PJrAaMP0b1lZFbbNRRCTq7BR5SIAAIhycVSxppg73OZtQ 7l9yH4II0v2o_nZMZmmnbJfi8tioCaMgldZkAzWa1er.t0eiamArgKqmUjQW zM64vm_edqC0wfPrbHTTzp9anV2RuhQYUTz3OI2TPP9VbA0NsNJwTjVX7F_N zncEHdVpB2VUZjhdzx4mp7SoMfjz3qdYLeI0WP25kOcNuSAFB82detzlEsTA q9YVx359P0Qhk3iSTudHOKziG6JuPCRUybRt6sE3_GN_9MxPeTpWjtNewcFM 3IanXyx7hq2Ih5fE9DwB_m16HbyjGaaTsheJIB53hvLOWvBmdXF9SQRctOLK 5KpyujZZ.ZIl.mUAeIEyX.Avm2iczNGDvWV78PBjnIAyVgOtnnsIJUzqAZjU 1UnPTIRaHiSwDZR4XFz1oKhScfngKnaU0ZHcazpRFku6XcnyXyxYjSNMERXa 8oq07TJ3p2bqGpEKnmeUFoT4uhHZXiwsJKa1X6PDCKxh6q58p4pVdfRjGpAl sAQ--
Received: from [75.164.250.102] by web161406.mail.bf1.yahoo.com via HTTP; Tue, 28 Jul 2015 11:26:55 PDT
X-Rocket-MIMEInfo: 002.001, SGksDQoNCkZvciBzaG9ydCB0YWdzLCBpdCBtYWtlcyBzZW5zZSB0byBjb25zaWRlciBhbGdvcml0aG1zIHdoZXJlIGNpcGhlcnRleHQgbW9kaWZpY2F0aW9ucyByZXN1bHQgaW4gcmFuZG9taXplZCBwbGFpbnRleHRzLiBJbiBlZmZlY3QsIHRoZSB0YWcgY2FuIGJlIHNob3J0ZXIsIG9yIHRoZSBzYW1lIGxlbmd0aCB0YWcgeWllbGRzIGhpZ2hlciBzZWN1cml0eSBjb21wYXJlZCB0byBhIGNvdW50ZXIgbW9kZSBiYXNlZCBhbGdvcml0aG0uIEZvciBjb3VudGVyIG1vZGUgYmFzZWQgYWxnb3JpdGhtcywgY2lwaGUBMAEBAQE-
X-Mailer: YahooMailBasic/582 YahooMailWebService/0.8.203.802
Message-ID: <1438108015.81423.YahooMailBasic@web161406.mail.bf1.yahoo.com>
Date: Tue, 28 Jul 2015 11:26:55 -0700
From: Jonathan Trostle <jon49175@yahoo.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>, Hannes Tschofenig <hannes.tschofenig@gmx.net>
In-Reply-To: <55AF6E7E.5000300@gmx.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/_awkKCN6vXiSbu4yjwixlptXE5M>
Subject: Re: [Cfrg] Short Authentication Tags in AES-128-CCM
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: <https://mailarchive.ietf.org/arch/browse/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: Tue, 28 Jul 2015 18:26:59 -0000

Hi,

For short tags, it makes sense to consider algorithms where ciphertext modifications result in randomized plaintexts. In effect, the tag can be shorter, or the same length tag yields higher security compared to a counter mode based algorithm. For counter mode based algorithms, ciphertexts can be predictively modified, so a successful forgery can be much more damaging.

CMCC (http://eprint.iacr.org/2013/269) is one such algorithm (also see the Caesar competition). CMCC also handles plaintexts shorter than the block length without additional padding and is nonce misuse resistant.

Jonathan

--------------------------------------------
On Wed, 7/22/15, Hannes Tschofenig <hannes.tschofenig@gmx.net> wrote:

 Subject: [Cfrg] Short Authentication Tags in AES-128-CCM
 To: "cfrg@irtf.org" <cfrg@irtf.org>
 Date: Wednesday, July 22, 2015, 3:20 AM
 
 Hi all,
 
 in the Internet of Things context there has been some
 excitement to use
 short authentication tags with AES-128-CCM. With short
 range, low power
 radio technologies shorter frame sizes raise concerns about
 the number
 of bytes that are available to the application layer.
 
 The DTLS/TLS profile for IoT document
 <draft-ietf-dice-profile>
 therefore recommends the TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8
 ciphersuite,
 following what the CoAP protocol and also Zigbee IP
 suggest.
 
 When Stephen did a review of draft-ietf-dice-profile-13 he
 suggested to
 rather focus on AES-128-CCM with the full-length
 authentication tag
 instead. He motivates his suggestion based on the decision
 of the SRTP
 guys to move away from short authentication tags used with
 AES-GCM-128.
 Of course, AES-CCM and AES-GCM are different and attacks
 against AES-GCM
 with short authentication tags have been published.
 
 My question to this group is:
 
  * Are you aware of attacks against the AES-128-CCM-8?
  * Are there concerns with the use of short authentication
 tags, as we
 recommend for the IoT context? (Needless to say that there
 is a tradeoff
 between rekeying and the number of bits the tag has.)
 
 Ciao
 Hannes
 
 
 -----Inline Attachment Follows-----
 
 _______________________________________________
 Cfrg mailing list
 Cfrg@irtf.org
 http://www.irtf.org/mailman/listinfo/cfrg
 


From nobody Tue Jul 28 12:54:02 2015
Return-Path: <dbrown@certicom.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 4094D1B2EC5 for <cfrg@ietfa.amsl.com>; Tue, 28 Jul 2015 12:54:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.1
X-Spam-Level: 
X-Spam-Status: No, score=0.1 tagged_above=-999 required=5 tests=[BAYES_50=0.8,  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 DRw2z9HU8gto for <cfrg@ietfa.amsl.com>; Tue, 28 Jul 2015 12:53:58 -0700 (PDT)
Received: from smtp-p02.blackberry.com (smtp-p02.blackberry.com [208.65.78.89]) by ietfa.amsl.com (Postfix) with ESMTP id 09E9D1B2ED3 for <cfrg@irtf.org>; Tue, 28 Jul 2015 12:53:53 -0700 (PDT)
Received: from xct102cnc.rim.net ([10.65.161.202]) by mhs215cnc.rim.net with ESMTP/TLS/AES128-SHA; 28 Jul 2015 15:53:48 -0400
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT102CNC.rim.net ([fe80::2066:5d4f:8c45:af55%17]) with mapi id 14.03.0210.002; Tue, 28 Jul 2015 15:53:47 -0400
From: Dan Brown <dbrown@certicom.com>
To: "'djb@cr.yp.to'" <djb@cr.yp.to>, "'cfrg@irtf.org'" <cfrg@irtf.org>
Thread-Topic: [Cfrg] EdDSA signer's PRF conservative enough, or as possible?
Thread-Index: AdDFgU90kJ51s2BAQLma3xVE/pZ7lABf+rMAAJiLyYA=
Date: Tue, 28 Jul 2015 19:53:46 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5E1BA78@XMB116CNC.rim.net>
References: <810C31990B57ED40B2062BA10D43FBF5E1928C@XMB116CNC.rim.net> <20150725134208.23429.qmail@cr.yp.to>
In-Reply-To: <20150725134208.23429.qmail@cr.yp.to>
Accept-Language: en-CA, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [10.65.160.252]
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_0011_01D0C94D.96559400"
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/_VPrXR7Iors8acYv6M_ApRPp8u8>
Subject: Re: [Cfrg] EdDSA signer's PRF conservative enough, or as possible?
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: <https://mailarchive.ietf.org/arch/browse/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: Tue, 28 Jul 2015 19:54:01 -0000

------=_NextPart_000_0011_01D0C94D.96559400
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi Dan,

Thanks for your reply to my message, in which I had written in perhaps too
much haste, partially forgetting a some basics.

Thanks for generously giving my initial under-specified proposal a free ride
in your python script: you lent my proposal the EdDSA PRF design.

Thanks for your patient reminder about wide-pipes in general serving as PRF,
and with the final truncation provided being the well-established, primary
protection against extension attacks in many wide-pipe hashes.  (Is it the
only protection, or is there also some kind of padding protections?)

Thanks also for your reminder that PRF was a goal of the SHA3 competition. 

I am still undecided about the _best_ PRF. 

So, there's three prominent unbroken variable-input-length PRFs:
(generalized) EdDSA's prefixed-truncated-(extended)-SHA-512; and
NIST/Keccaks' SHAKE, and HMAC. 

In ECDSA_CFRG proposal, my thought was to combine the wide-pipe strategies
with the HMAC strategy to build a PRF.  That's redundant, as already you
pointed out.  Sometimes redundancy helps to be conservative, sometimes it is
superfluous.    

Just to be clear: do you think a 256-bit truncated HMAC-SHA-512 is _less_
conservative a PRF than a key-prefixed 256-bit truncated SHA-512 hash?  

It seems that I have not followed all the HMAC controversy as closely as you
have.  I will review your 2012 paper.  In the meantime, is all this fuss
just about proof correctness, or is there also hypothetical attack against
which HMAC is not resilient?  That might be a reason is to deem it less
conservative, even if combined with a wide-pipe.

I hadn't noticed the 2015 eprint on proving that prefixing wide-pipe hashes
prevents extension.  At least I am not the only one seeking more
verification of this feature.

You asked whether you should amend your python script: I can send you the
relevant changes, but first I would like to think about the PRF issue a
little more.  Thanks for the offer.

Further comments in-line below.

Best regards,

Dan

> -----Original Message-----
> From: Cfrg [mailto:cfrg-bounces@irtf.org] On Behalf Of D. J. Bernstein
> Sent: Saturday, July 25, 2015 9:42 AM
> To: cfrg@irtf.org
> Subject: Re: [Cfrg] EdDSA signer's PRF conservative enough, or as
possible?
> 
> Hashing to a large range of integers, and then reducing the result modulo
a
> substantially smaller integer m, is a completely standard construction.
People
> often take m to be a power of 2 since truncation is so efficient, but in
public-
> key contexts another choice of m is often more natural, and in the ECC
> signature context the obvious choice of m is the group order.
> 
> Viewing this reduction as part of the hash construction---a "wide-pipe"
> hash, with output size substantially smaller than internal state size---
was
> introduced by Finney and, in much more detail, by Lucks. This view hides
the
> public-key context, and Finney's posting sounded like it was considering
only
> truncation as the reduction map:
> 
>    https://www.mail-
> archive.com/cryptography@metzdowd.com/msg02635.html
> 
> However, the Lucks paper---the paper typically cited as introducing wide
pipes-
> --explicitly allowed any reduction map ("C''" in that paper), with
truncation
> merely as one example:
> 
>    http://link.springer.com/chapter/10.1007%2F11593447_26
> 
> Either way, it's well understood that this reduction eliminates the only
generic
> security problem with prefix MACs. Every SHA-3 submission was required to
> resist length-extension attacks and to specify PRFs; there were tons of
SHA-3
> submissions explicitly conjecturing that their prefix MACs were secure,
without
> the complications of HMAC; many submissions achieved this through exactly
> the "wide-pipe" idea.
> 
> Of course, actual _proofs_ of security are available only for limited
classes of
> attacks, but this is the situation pretty much everywhere in
> cryptography: e.g., the PRF conjecture for AES-CBC-MAC is proven only for
> attacks that don't break the PRP conjecture for AES. There are always
> unproven conjectures, and what really matters is the extent to which
> cryptanalysts have tried and failed to come up with attacks.
> 
> Dan Brown writes:
> > Q1) Is there some kind of formal argument why the mod l reduction can
> > elevate a non-PRF into a PRF?
> 
> Why do you think HMAC can "elevate a non-PRF into a PRF"?
> 
[DB] Intuitively, the HMAC construction elevates a fixed-input-length PRF
into a variable-input-length PRF. So, HMAC stopped the extension attacks,
has been around for quite a while, and seems also to be quite a high-profile
target (not something obscure) without any major attacks.  In other words,
it has lots of aegis security as a PRF. (Sure, newer designs are shinier,
perhaps even preferable over HMAC.)

> If you don't think that stopping all known attacks is the right answer
then
> clearly your answer is the "provable security" of HMAC---the security of
HMAC
> against a limited class of attacks, namely attacks that don't break the
> "pseudorandomness" of the underlying compression function.

[DB] Yes, "provable security" is nice too, especially for deciding between
new schemes.

> 
> Now here's an exercise for you: Prove, for the same limited class of
attacks,
> that reduced prefix MAC is secure. As a hint, the following paper has all
the
> necessary proof techniques, and covers truncated CBC and prefix sponge MAC
> as two examples:
> 
>    https://eprint.iacr.org/2015/053.pdf
> 
> You can and should ask how carefully this has been reviewed---but you
should
> also ask the same about, e.g., Bellare's Crypto 2006 HMAC paper, which had
a
> fundamental flaw pointed out in 2012 by Koblitz and Menezes, explored more
> thoroughly in a followup paper from Lange and me:
> 
>    http://cacr.uwaterloo.ca/~ajmeneze/anotherlook/hmac.shtml
>    https://eprint.iacr.org/2012/318
> 
> You should also ask how tight the proofs are. This is a real problem for
HMAC.
> The best solution we know is to take wide pipes, but taking wide pipes
also
> removes the entire justification for HMAC!
> 
> You should also ask whether the class of attacks covered by the security
proof
> is being accurately summarized. In the case of HMAC it certainly
isn't---the
> proof is really for NMAC, and for HMAC there's an extra limitation,
basically
> the assumption that attacks can't distinguish NMAC from HMAC. Hash-
> function cryptanalysts will generally agree that this assumption is
reasonable
> and very hard to break (even when the number of hash rounds is reduced
> enough that we can find collisions), but if your goal is to minimize the
number
> of security assumptions then you should be objecting to HMAC (and also to
> pretty much every KDF-related
> assumption) and advocating pure reduction instead.
> 
> Please let me know whether you'd like to adapt your signature proposal in
light
> of these considerations. If not then I should dig through your latest PRF
details
> and implement them in the Python script.
> 
> > Q2) Why not tweak the PRF design to make it more conservative?
> 
> This question starts with unjustified assumptions. In fact, the existing
design is
> already extremely conservative, including a very wide pipe and a reduction
> layer. An HMAC layer would be redundant, and I don't see how you can
justify
> the notion that it's _more_ conservative rather than _less_ conservative.
See
> above.
> 
[DB] To clarify the question: wouldn't it be _yet even_ more conservative to
use HMAC-SHA-512 as the PRF, and then truncate to 256 bits. 

Yes, this is a redundant layer, but wouldn't a failure require both layers
to fail?  

Just to be clear, I don't intend to ask if wide-pipe hash in EdDSA should be
replaced by a narrow-pipe HMAC: that is perhaps less conservative.

> I'm sympathetic to the notion that AES, with well-documented scrutiny
> spanning more than 15 years, is the obvious choice whenever anyone asks
for
> a PRP---or (for a limited number of queries) a PRF, or a wider PRF.
> It's well understood how to build larger PRF constructions assuming that
AES is
> secure. However:
> 
>    * AES is a nightmare for constant-time software on most platforms.
>      It's also a nightmare for software auditors.
> 
>    * Having to support a hash function _and_ AES is a considerable extra
>      cost for small devices implementing signatures. There are various
>      proposals of AES-based hashes but these haven't received much
>      review---and they aren't based on the well-studied PRP property.
> 
> A more attractive approach is to switch to SHA-3. Unlike SHA-2, SHA-3 was
> selected through a public competition that from the outset required
collision
> resistance _and_ a PRF. For various reasons I'm pretty sure that most
> cryptanalysts who have looked at these functions would rate
> SHA-3 as lower risk than SHA-2, despite the age of SHA-2. However, it's
not
> clear to me that IETF is ready to start using SHA-3.
> 

 [DB] Again, in the ECDSA_CFRG proposal I suggested for the PRF:
- HMAC-SHA-384 (or HMAC-SHA-512 if it is more widely supported), intended
for immediate deployment
- SHAKE256 intended for those who want to have lots of extra security
protections, e.g. scrutiny of the SHA3 competition.

This split case is a tad complicated, but it aims to encourage migration
those who want extra-security to use as many extra-security as possible.  


------=_NextPart_000_0011_01D0C94D.96559400
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIUoDCCBo8w
ggV3oAMCAQICClvwCZYABAA8faIwDQYJKoZIhvcNAQEFBQAwUDETMBEGCgmSJomT8ixkARkWA25l
dDETMBEGCgmSJomT8ixkARkWA3Jp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PyLGQBGRYDbmV0
MRMwEQYKCZImiZPyLGQBGRYDcmltMSQwIgYDVQQDExtSSU0gU3Vib3JkaW5hdGUgQ0EgTUNBMDNZ
S0YCClvwCZYABAA8faIwgasGCSqGSIb3DQEJDzGBnTCBmjALBglghkgBZQMEASowCwYJYIZIAWUD
BAEWMAoGCCqGSIb3DQMHMAsGCWCGSAFlAwQBAjAOBggqhkiG9w0DAgICAIAwBwYFKw4DAgcwDQYI
KoZIhvcNAwICAUAwDQYIKoZIhvcNAwICASgwBwYFKw4DAhowCwYJYIZIAWUDBAIDMAsGCWCGSAFl
AwQCAjALBglghkgBZQMEAgEwDQYJKoZIhvcNAQEBBQAEgYCOvXsfzfojPrYDdizn4XvUaWy5/Pm+
8IxuAE+FjK7CHisQMopPCgCPf6KRhEowrjZ0YKPHdOWVNQc8lIfkixYpFynajryKhoFO+5xu/JOH
Q8l9j/bQNru/3Tm+ExX1op6miU99ZE6P0C/OSCk3NitNffPNh49OqvJ7eZqYzMs0wQAAAAAAAA==

------=_NextPart_000_0011_01D0C94D.96559400--


From nobody Tue Jul 28 13:15:42 2015
Return-Path: <simon@josefsson.org>
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 CDD701B2F56 for <cfrg@ietfa.amsl.com>; Tue, 28 Jul 2015 13:15:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.551
X-Spam-Level: 
X-Spam-Status: No, score=-1.551 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_SE=0.35, SPF_PASS=-0.001] 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 qrztzLVJG2ko for <cfrg@ietfa.amsl.com>; Tue, 28 Jul 2015 13:15:39 -0700 (PDT)
Received: from duva.sjd.se (duva.sjd.se [IPv6:2001:9b0:1:1702::100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6EF4E1A887D for <cfrg@irtf.org>; Tue, 28 Jul 2015 13:15:38 -0700 (PDT)
Received: from latte.josefsson.org ([155.4.17.3]) (authenticated bits=0) by duva.sjd.se (8.14.4/8.14.4/Debian-4) with ESMTP id t6SKFVWN009680 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT); Tue, 28 Jul 2015 22:15:32 +0200
From: Simon Josefsson <simon@josefsson.org>
To: Hannes Tschofenig <hannes.tschofenig@gmx.net>
References: <55AE1C08.6070002@gmx.net> <55AF6E6E.6040101@gmx.net>
OpenPGP: id=54265E8C; url=http://josefsson.org/54265e8c.txt
X-Hashcash: 1:22:150728:hannes.tschofenig@gmx.net::ODrWESy1fK4nO0wC:4nsi
X-Hashcash: 1:22:150728:cfrg@irtf.org::/3csyY9JaNVaz4k+:EUWK
Date: Tue, 28 Jul 2015 22:15:30 +0200
In-Reply-To: <55AF6E6E.6040101@gmx.net> (Hannes Tschofenig's message of "Wed,  22 Jul 2015 12:20:30 +0200")
Message-ID: <87si88vy1p.fsf@latte.josefsson.org>
User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.4 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature"
X-Virus-Scanned: clamav-milter 0.98.7 at duva.sjd.se
X-Virus-Status: Clean
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/rjdTcwU4xhvrW33gpqbWLCYFKKo>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Can ChaCha20 be recommended for deployments?
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: <https://mailarchive.ietf.org/arch/browse/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: Tue, 28 Jul 2015 20:15:41 -0000

--=-=-=
Content-Type: text/plain

Hannes Tschofenig <hannes.tschofenig@gmx.net> writes:

> Overall, I am not sure whether ChaCha20 and Poly1305 are useful
> recommendations for IoT systems.
>
> Does anyone in the CFRG have an opinion about this topic? What should we
> recommend in the DTLS/TLS profile document?

I believe ChaCha20-Poly1305 is well suited for many IoT applications,
because of its speed especially on hardware without instructions for
AES-GCM.  Given its already significant adoption in the HTTPS world, I
believe ChaCha20-Poly1305 will receive further cryptoanalytical efforts,
which over time can inspire trust.

Counter-question: what alternative to AES-GCM would be better suited?
Or even nearly as well suited as ChaCha20-Poly1305?  I can only think of
AES in some other AEAD mode, or more slower/exotic/older alternatives
like Camellia, but none rank as high in the trust/speed matrix as
ChaCha20-Poly1305 to me.

/Simon

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBCAAGBQJVt+LiAAoJEIYLf7sy+BGdFQEH/j9hG0lfyXzRa1eOe3CHp216
W1cO/O9DbB7HiIu0nhKy3K1sKYEDKhD1obxlXEF0ZooUnfIX/AFOCM1cPtStvW49
7ThzfiYMEbet4w5Q51N83vUNUh5gdplflzZimgsTb87btO3pzjCb1PI30/l+N2O+
0BLPHmMlKipZhDMOrXNiauM7jueLr1jtzqZN+5AGgTI/xVKRxKbIm0lvzkTIAup0
7mboEfT9oFrvlz8t4yUciuWPv1IekNqhvnFXAXg7pSnp/kxBNW6giCdsRDmPdwWE
NHMOZFDN4U09ME8ZIXZtIlZ6XAzYXpPJFIOmxBcjx796Tiq0YWc3XzUanfxJSCc=
=FcNM
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Tue Jul 28 13:47:48 2015
Return-Path: <ynir.ietf@gmail.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 A16161B3080 for <cfrg@ietfa.amsl.com>; Tue, 28 Jul 2015 13:47:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, 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 Yz7CP4Wsi_xw for <cfrg@ietfa.amsl.com>; Tue, 28 Jul 2015 13:47:46 -0700 (PDT)
Received: from mail-wi0-x22d.google.com (mail-wi0-x22d.google.com [IPv6:2a00:1450:400c:c05::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 52BC11B2EBF for <cfrg@irtf.org>; Tue, 28 Jul 2015 13:47:46 -0700 (PDT)
Received: by wibud3 with SMTP id ud3so195941052wib.1 for <cfrg@irtf.org>; Tue, 28 Jul 2015 13:47:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=004ukc+5trvN5Fwq0Be5/f8j+0/jD0u3Lm+Gsnyov6o=; b=dNOM/72O0quBsoR7FZVRFp+KSMS+3UueUnbHOpi4+dKr7IUzMJzdt1zMfa31WTta1w U36QPEAP6debNU6TVZbcOZSyFm2hL71RqaD7afw25uVRTfKlMvBxzzn3y4Kqy4nCrTrQ YGsBFAgYNAwXp22nlnpbXGX7SJN9v4gG1OiJ9W9JghIrMiJvP8DubNOmWDz6g0YsoNvZ gWhoPucdhn4oQ/qHM8gZtQM37z0g9hzuMTRIJcFh5u2HgitBQ+syBMBkr75FkLttywW7 ippvcLkQvQoZYEjZD/sWUpWzoWkJowRtofm5z+FN1W24E4XgeUjGhTsb8eLYIycmJWaE UMkQ==
X-Received: by 10.194.234.40 with SMTP id ub8mr69927745wjc.21.1438116465144; Tue, 28 Jul 2015 13:47:45 -0700 (PDT)
Received: from [192.168.1.15] ([46.120.13.132]) by smtp.gmail.com with ESMTPSA id d17sm35020362wjs.32.2015.07.28.13.47.43 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 28 Jul 2015 13:47:44 -0700 (PDT)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
From: Yoav Nir <ynir.ietf@gmail.com>
In-Reply-To: <87si88vy1p.fsf@latte.josefsson.org>
Date: Tue, 28 Jul 2015 23:47:42 +0300
Content-Transfer-Encoding: quoted-printable
Message-Id: <0A4E9222-5DFB-42FF-9BED-056E1124CD1B@gmail.com>
References: <55AE1C08.6070002@gmx.net> <55AF6E6E.6040101@gmx.net> <87si88vy1p.fsf@latte.josefsson.org>
To: Simon Josefsson <simon@josefsson.org>
X-Mailer: Apple Mail (2.2102)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/O5_FXuu-9Sdqlu5RowjCbBCkE-c>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Can ChaCha20 be recommended for deployments?
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: <https://mailarchive.ietf.org/arch/browse/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: Tue, 28 Jul 2015 20:47:47 -0000

On Jul 28, 2015, at 11:15 PM, Simon Josefsson <simon@josefsson.org> =
wrote:

> Counter-question: what alternative to AES-GCM would be better suited?
> Or even nearly as well suited as ChaCha20-Poly1305?  I can only think =
of
> AES in some other AEAD mode, or more slower/exotic/older alternatives
> like Camellia, but none rank as high in the trust/speed matrix as
> ChaCha20-Poly1305 to me.

Hi, Simon

In IoT applications the go-to cipher has been AES-CCM. It=E2=80=99s =
slower than AES-GCM, but it has the advantage that you only need the AES =
encrypt function.

Sp that=E2=80=99s the baseline.  Of course chacha and poly have very =
small code, smaller I think than a software implementation of AES and =
faster.

Ypav=20=


From nobody Tue Jul 28 22:46:41 2015
Return-Path: <mike@shiftleft.org>
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 3C1961A6F2B for <cfrg@ietfa.amsl.com>; Tue, 28 Jul 2015 22:46:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 3.555
X-Spam-Level: ***
X-Spam-Status: No, score=3.555 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FH_HOST_EQ_D_D_D_D=0.765, FH_HOST_EQ_D_D_D_DB=0.888, HELO_MISMATCH_ORG=0.611, HOST_MISMATCH_NET=0.311, J_CHICKENPOX_64=0.6, RDNS_DYNAMIC=0.982, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] 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 hrBwQTM-F4ub for <cfrg@ietfa.amsl.com>; Tue, 28 Jul 2015 22:46:37 -0700 (PDT)
Received: from aspartame.shiftleft.org (199-116-74-168-v301.PUBLIC.monkeybrains.net [199.116.74.168]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5FC291A21B9 for <cfrg@irtf.org>; Tue, 28 Jul 2015 22:46:37 -0700 (PDT)
Received: from [192.168.1.102] (unknown [192.168.1.1]) by aspartame.shiftleft.org (Postfix) with ESMTPSA id A5196F210A; Tue, 28 Jul 2015 22:41:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=shiftleft.org; s=sldo; t=1438148469; bh=MUBdnEpM97+RFnR0/Gah046YzfKCNXGffAze1KKGBOw=; h=Subject:To:References:Cc:From:Date:In-Reply-To:From; b=LQMeceVjBG8uyioCuyz7GEmcmjryOuUyeTzeOMW65LNauY8L556AbpTECN4R3sNqL su4OGQsOHDHHnMmx4sV6cuiIKyunvTd0XK3Xa2/ADUF2CszXdznBulWKTpc9wzP4qU 8fmESVLJlq0znI6Jl2GD9LeYDBzlVmphM1X9J8Bk=
To: Simon Josefsson <simon@josefsson.org>, Hannes Tschofenig <hannes.tschofenig@gmx.net>
References: <55AE1C08.6070002@gmx.net> <55AF6E6E.6040101@gmx.net> <87si88vy1p.fsf@latte.josefsson.org>
From: Mike Hamburg <mike@shiftleft.org>
Message-ID: <55B868BA.6010804@shiftleft.org>
Date: Tue, 28 Jul 2015 22:46:34 -0700
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1
MIME-Version: 1.0
In-Reply-To: <87si88vy1p.fsf@latte.josefsson.org>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/PFyZS8iyB312tbuL80OO7qJ1qo4>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Can ChaCha20 be recommended for deployments?
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: <https://mailarchive.ietf.org/arch/browse/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: Wed, 29 Jul 2015 05:46:39 -0000

On 7/28/2015 1:15 PM, Simon Josefsson wrote:
> Counter-question: what alternative to AES-GCM would be better suited?
> Or even nearly as well suited as ChaCha20-Poly1305?  I can only think of
> AES in some other AEAD mode, or more slower/exotic/older alternatives
> like Camellia, but none rank as high in the trust/speed matrix as
> ChaCha20-Poly1305 to me.
>
> /Simon

Not much these days, but a possible option at some point could be sponge constructions based on either Keccak-F[1600] or Keccak-F[800], in particular the Keyak submission to CAESAR.  Keccak-F got analyzed pretty thoroughly in the SHA-3 competition, so while it may be behind ChaCha+Poly it's pretty trusted.

The neat thing about using a sponge for this is that you can also use it as a hash function, or as a general duplex object.  Then you only need one symmetric primitive.

[wanders off to refill kool-aid]

-- Mike


From nobody Thu Jul 30 04:12:47 2015
Return-Path: <Kenny.Paterson@rhul.ac.uk>
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 22B681A01FC for <cfrg@ietfa.amsl.com>; Thu, 30 Jul 2015 04:12:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.003
X-Spam-Level: 
X-Spam-Status: No, score=-0.003 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, SPF_HELO_PASS=-0.001, 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 SZcbJV6Epo9r for <cfrg@ietfa.amsl.com>; Thu, 30 Jul 2015 04:12:43 -0700 (PDT)
Received: from emea01-db3-obe.outbound.protection.outlook.com (mail-db3on0682.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe04::682]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5C3711A0404 for <cfrg@irtf.org>; Thu, 30 Jul 2015 04:12:43 -0700 (PDT)
Received: from DBXPR03MB383.eurprd03.prod.outlook.com (10.141.10.15) by DBXPR03MB383.eurprd03.prod.outlook.com (10.141.10.15) with Microsoft SMTP Server (TLS) id 15.1.225.19; Thu, 30 Jul 2015 11:12:23 +0000
Received: from DBXPR03MB383.eurprd03.prod.outlook.com ([10.141.10.15]) by DBXPR03MB383.eurprd03.prod.outlook.com ([10.141.10.15]) with mapi id 15.01.0225.018; Thu, 30 Jul 2015 11:12:23 +0000
From: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
To: Dan Brown <dbrown@certicom.com>, "'dmjacobson@sbcglobal.net'" <dmjacobson@sbcglobal.net>, "'djb@cr.yp.to'" <djb@cr.yp.to>, "'cfrg@irtf.org'" <cfrg@irtf.org>
Thread-Topic: [Cfrg] Internal collisions
Thread-Index: AQHQx9tdFECb+PQ1Uk2tA3d5VgQKD53vd5cAgAAh5ACAAA3NAIAESu8A
Date: Thu, 30 Jul 2015 11:12:23 +0000
Message-ID: <D1DFC4DD.512B0%kenny.paterson@rhul.ac.uk>
References: <20150726194306.14873.qmail@cr.yp.to> <810C31990B57ED40B2062BA10D43FBF5E1B345@XMB116CNC.rim.net> <55B66F2E.8070105@sbcglobal.net> <810C31990B57ED40B2062BA10D43FBF5E1B4F4@XMB116CNC.rim.net>
In-Reply-To: <810C31990B57ED40B2062BA10D43FBF5E1B4F4@XMB116CNC.rim.net>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.5.3.150624
authentication-results: certicom.com; dkim=none (message not signed) header.d=none;
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [78.146.75.175]
x-microsoft-exchange-diagnostics: 1; DBXPR03MB383; 5:Lx22y+K+/iFoDYCoJnQFD+6bbOA1GhaC/igt598q3ks3RIZ/g8lvu7SE8fYQUejzh3weIobI8rWHHn/71RgcTJXrNGYO9ivwnySdzo3FICm4UsCw9voEJfI4MIF0F1ODLhyPWggmS0p+jPEXg47CAg==; 24:4P9Tdy0q70GJ9OjWQlQl4G/SVZeeOwXB38Om07R0JEW2ac44nRlf0wZkzHoMfhx+f+LN8TEJl08iSmMFopFC2D4QQEnhOg7Y2j48HgFyhSk=; 20:wc8vlF0zFMW4JfZaVXLCjkxBF8ug4+NPqIZadq2P265QTX+V/7p79D/AB0m+49OoR/1t74MQLGRlk57gOb7G0w==
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DBXPR03MB383;
dbxpr03mb383: X-MS-Exchange-Organization-RulesExecuted
x-microsoft-antispam-prvs: <DBXPR03MB383D34FD9C38C07D3CEE7FEBC8B0@DBXPR03MB383.eurprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:DBXPR03MB383; BCL:0; PCL:0; RULEID:; SRVR:DBXPR03MB383; 
x-forefront-prvs: 06530126A4
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(377454003)(479174004)(24454002)(13464003)(189998001)(77096005)(19580395003)(74482002)(2656002)(66066001)(106116001)(86362001)(77156002)(54356999)(93886004)(19580405001)(40100003)(87936001)(122556002)(62966003)(102836002)(2950100001)(50986999)(5001960100002)(5002640100001)(46102003)(92566002)(4001350100001)(36756003)(5001920100001)(76176999)(5001770100001)(2900100001)(83506001)(107886002)(15975445007)(7059030)(491001); DIR:OUT; SFP:1101; SCL:1; SRVR:DBXPR03MB383; H:DBXPR03MB383.eurprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
Content-Type: text/plain; charset="us-ascii"
Content-ID: <F1CDB0CC5799F740830ACDBE15DEFE7F@eurprd03.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: rhul.ac.uk
X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jul 2015 11:12:23.4898 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 2efd699a-1922-4e69-b601-108008d28a2e
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBXPR03MB383
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/itB8sB9btJppT4zS5kft7SX6pBc>
Subject: Re: [Cfrg] Internal collisions
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: <https://mailarchive.ietf.org/arch/browse/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: Thu, 30 Jul 2015 11:12:46 -0000

Hi Dan,


On 27/07/2015 19:38, "Cfrg on behalf of Dan Brown" <cfrg-bounces@irtf.org
on behalf of dbrown@certicom.com> wrote:

>> -----Original Message-----
>> From: David Jacobson [mailto:dmjacobson@sbcglobal.net]
>>=20
>> On 7/27/15 8:48 AM, Dan Brown wrote:
>> > [ snip ]
>> > Unfortunately, prefixing means non-IUF.
>> >
>> >
>> [ snip ]
>>=20
>> Why all this worry about IUF?
>
>[DB] I wouldn't call it worry, but anyway.
>
>First, see your own answer about the industry demand.
>
>Second, CFRG already had a poll on IUF. But, I'm not quite sure how to
>interpret the results: can EC signatures provide a non-IUF mode?

The decision was to go with IUF only. See my message from June 19th, here:

http://www.ietf.org/mail-archive/web/cfrg/current/msg06964.html


Cheers

Kenny



From nobody Thu Jul 30 08:19:03 2015
Return-Path: <derek@ihtfp.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 69A2A1A7020 for <cfrg@ietfa.amsl.com>; Thu, 30 Jul 2015 08:19:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.11
X-Spam-Level: *
X-Spam-Status: No, score=1.11 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HELO_MISMATCH_ORG=0.611, J_CHICKENPOX_34=0.6] 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 yMKu-9YMSfkg for <cfrg@ietfa.amsl.com>; Thu, 30 Jul 2015 08:18:59 -0700 (PDT)
Received: from mail2.ihtfp.org (MAIL2.IHTFP.ORG [204.107.200.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 585961A910E for <cfrg@irtf.org>; Thu, 30 Jul 2015 08:18:59 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail2.ihtfp.org (Postfix) with ESMTP id 368DFE2038; Thu, 30 Jul 2015 11:18:58 -0400 (EDT)
Received: from mail2.ihtfp.org ([127.0.0.1]) by localhost (mail2.ihtfp.org [127.0.0.1]) (amavisd-maia, port 10024) with ESMTP id 04926-05; Thu, 30 Jul 2015 11:18:56 -0400 (EDT)
Received: from securerf.ihtfp.org (unknown [IPv6:fe80::ea2a:eaff:fe7d:235]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mocana.ihtfp.org", Issuer "IHTFP Consulting Certification Authority" (verified OK)) by mail2.ihtfp.org (Postfix) with ESMTPS id 65D56E2034; Thu, 30 Jul 2015 11:18:56 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ihtfp.com; s=default; t=1438269536; bh=kyEEjzIZnZiKg26WxWaMQP2KDsfb9UeSAfhVHDB6pAM=; h=From:To:Cc:Subject:References:Date:In-Reply-To; b=bPIlEnX1wZ1JK0OL5rRgSQsRAGp5xblUqDNTRtajU24VFnhoKVeeYEY3Frb2u6F/5 V6qVWxDFXq9+FMhjQPtP7yixWLYE/S2m2Vksf1wuYf8JX6MLFxPgEZ+lCf1WSUMqh4 2ME7C36tobcwCLgyYUdQtqUvKnIRlWOVEedpZZp4=
Received: (from warlord@localhost) by securerf.ihtfp.org (8.14.8/8.14.8/Submit) id t6UFItxV030441; Thu, 30 Jul 2015 11:18:55 -0400
From: Derek Atkins <derek@ihtfp.com>
To: Yoav Nir <ynir.ietf@gmail.com>
References: <55AE1C08.6070002@gmx.net> <55AF6E6E.6040101@gmx.net> <87si88vy1p.fsf@latte.josefsson.org> <0A4E9222-5DFB-42FF-9BED-056E1124CD1B@gmail.com>
Date: Thu, 30 Jul 2015 11:18:55 -0400
In-Reply-To: <0A4E9222-5DFB-42FF-9BED-056E1124CD1B@gmail.com> (Yoav Nir's message of "Tue, 28 Jul 2015 23:47:42 +0300")
Message-ID: <sjmegjp3c80.fsf@securerf.ihtfp.org>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Virus-Scanned: Maia Mailguard 1.0.2a
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/A7-hPCwPm6eihhvotDT2Bwksu0g>
Cc: Simon Josefsson <simon@josefsson.org>, "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] Can ChaCha20 be recommended for deployments?
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: <https://mailarchive.ietf.org/arch/browse/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: Thu, 30 Jul 2015 15:19:02 -0000

Yoav Nir <ynir.ietf@gmail.com> writes:

> On Jul 28, 2015, at 11:15 PM, Simon Josefsson <simon@josefsson.org> wrote:
>
>> Counter-question: what alternative to AES-GCM would be better suited?
>> Or even nearly as well suited as ChaCha20-Poly1305?  I can only think of
>> AES in some other AEAD mode, or more slower/exotic/older alternatives
>> like Camellia, but none rank as high in the trust/speed matrix as
>> ChaCha20-Poly1305 to me.
>
> Hi, Simon
>
> In IoT applications the go-to cipher has been AES-CCM. It=E2=80=99s slower
> than AES-GCM, but it has the advantage that you only need the AES
> encrypt function.

Actually, in our implementation and testing (where we have AES-ECB in
hardware for assistance), GCM is orders of magnitude slower than CCM
because we can't easily implement the GF field math in our environment.
So I would not agree with your characterization that CCM is slower than
GCM.

(Technically we've implemented CTR+CMAC, not CCM, but I think my
argument remains the same and is still correct)

-derek
--=20
       Derek Atkins                 617-623-3745
       derek@ihtfp.com             www.ihtfp.com
       Computer and Internet Security Consultant


From nobody Thu Jul 30 14:57:34 2015
Return-Path: <mike@shiftleft.org>
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 DB72E1ACEBA for <cfrg@ietfa.amsl.com>; Thu, 30 Jul 2015 14:57:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 4.255
X-Spam-Level: ****
X-Spam-Status: No, score=4.255 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FH_HOST_EQ_D_D_D_D=0.765, FH_HOST_EQ_D_D_D_DB=0.888, HELO_MISMATCH_ORG=0.611, HOST_MISMATCH_NET=0.311, RDNS_DYNAMIC=0.982, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] 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 Y66NIZA4BGsQ for <cfrg@ietfa.amsl.com>; Thu, 30 Jul 2015 14:57:31 -0700 (PDT)
Received: from aspartame.shiftleft.org (199-116-74-168-v301.PUBLIC.monkeybrains.net [199.116.74.168]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4F4AC1A1BD2 for <cfrg@irtf.org>; Thu, 30 Jul 2015 14:57:31 -0700 (PDT)
Received: from [10.184.148.249] (unknown [209.36.6.242]) by aspartame.shiftleft.org (Postfix) with ESMTPSA id 157F53A9C9; Thu, 30 Jul 2015 14:51:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=shiftleft.org; s=sldo; t=1438293117; bh=z5/KmABfeKOc5/GYnRbu8Ou9iCw1k5ai4dTPCMY7zwA=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=B3CQ8wLhZXjSWBfAhy51DB+glixMVR3wqeiwXafDI+IJ/N5MZ7KgGDuMzWsNmHELR fEXXmCVBsNbWsZOmnObh26w5z1lNMpJZ515Nyjd68ISpNrDI1mCPDCGz9CrRlXzpOV NeOmpq+RhWR8GWDDB6/CW1gSpdkQyRxMNl+lTiA4=
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
From: Michael Hamburg <mike@shiftleft.org>
In-Reply-To: <20150725225812.21358.qmail@cr.yp.to>
Date: Thu, 30 Jul 2015 14:57:27 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <EC967F2D-6EDC-415E-9734-5706FE3704C4@shiftleft.org>
References: <20150725225812.21358.qmail@cr.yp.to>
To: "D. J. Bernstein" <djb@cr.yp.to>
X-Mailer: Apple Mail (2.2102)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/xHDaJ3cKJ_OsOWjIvk8AgtvmVM8>
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] Security concerns regarding short hashes
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: <https://mailarchive.ietf.org/arch/browse/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: Thu, 30 Jul 2015 21:57:33 -0000

> On Jul 25, 2015, at 3:58 PM, D. J. Bernstein <djb@cr.yp.to> wrote:
>=20
> The Curve25519 paper estimated "roughly 2^80 elliptic-curve additions"
> for a 1-year ECC attack using a billion-dollar cluster with standard
> 2005-era chip technology, and concluded that this attack would have
> "only about a 2^-90 chance" of breaking Curve25519.
>=20
> Ten years later, chips have >100x more transistors, and some attackers
> are now known to be spending even more money, so 2^90 elliptic-curve
> additions seem feasible. It's not hard to extrapolate. At some point
> quantum computers will become the top threat, but it's easy to imagine
> standard attacks reaching 2^100 elliptic-curve additions before then.
> Fortunately, these attacks would have only about a 1/2^50 chance of
> breaking Curve25519, i.e., about 1 chance in 1000000000000000.
>=20
> What happens if we use EdDSA with a half-size (128-bit) hash function,
> allowing the signature compression discussed on page 9 of the original
> Ed25519 paper? Recall that the signature (R,S) of a message M =
satisfies
>=20
>   SB =3D R + H(R,A,M)A
>=20
> where A is the public key, and conversely anything satisfying this
> equation will be accepted as a valid signature. Compression produces
> (H(R,A,M),S), which is only 48 bytes instead of 64 bytes, since =
H(R,A,M)
> has 16 bytes while R has 32.
>=20
> The attacker now searches through 2^100 possibilities for another
> message M' with H(R,A,M') =3D H(R,A,M); maybe even more possibilities,
> depending on how fast H is compared to an elliptic-curve addition. =
This
> succeeds, producing (R,S) as a signature of this forged message M', =
with
> probability 1/2^28, i.e., 1 chance in a few hundred million. Similar
> comments apply to other signature schemes.
>=20
> Is "breakable by feasible large-scale attacks with probability 1/2^28" =
a
> matter of concern? Maybe, maybe not---but, either way, it is not the
> same quantitative security level as "breakable by feasible large-scale
> attacks with probability 1/2^50". This attack contradicts Mike's claim
> that shortening H in this way is "without losing security"; mixing up
> these security levels is like mixing up the single-key security levels
> of a 128-bit cipher and a 150-bit cipher.

Thanks for this analysis.  I proposed using old-style (and short) =
Schnorr signatures so that there would be discussion of the tradeoffs, =
so I=E2=80=99m glad you submitted this.

You=E2=80=99re right: breaking an EC signature scheme works with =
probability ~effort^2/q, but with a short challenge it works with =
probability ~effort/sqrt(q).  So it=E2=80=99s about the same amount of =
effort to reach probability ~1, but not to reach probability 1/2^28.

I=E2=80=99m not sure if this is a serious concern, but it is a concern =
worth considering.

> Even worse, if H is any _narrow-pipe_ 128-bit hash function, then the
> following generic attack algorithm increases the probability from =
1/2^28
> up to essentially 1, after the attacker sees a plausible number of
> signatures, say signatures with points R_1,R_2,...,R_{2^{28}}:
>=20
> [snip]
>=20
> Saying "This attack doesn't break wide-pipe hash functions" is missing
> the point. The point is that single-target preimage attacks aren't the
> only way---and, in a large class of examples, aren't the best way---to
> attack the hash-security property that's needed here. This means that =
to
> figure out the actual security level of any particular hash function H
> you have to analyze this security property for H; you can't rely on
> analyses of the single-target preimage security of H. Unfortunately, =
as
> far as I know, the necessary security analysis hasn't been done for =
any
> of the wide-pipe hash functions H that have been suggested.

> Why doesn't this concern apply to H with a larger output? Easy: any
> attack of this type against H implies a _multiple-target_ preimage
> attack against H; any N-target preimage attack can be converted into a
> single-target preimage attack that's >=3D1/N times as effective; and =
now
> we're talking about functions H that are explicitly designed to have
> single-target preimage security far above 2^128, so dividing by N =
still
> stays above 2^128. This security buffer is exactly what's missing for =
a
> function H with a 128-bit output, whether or not H is wide-pipe.

Schnorr signatures of any kind are usually analyzed in the random-oracle =
model for H.  This requires H to be wide-pipe, and gives provable =
security with a half-size hash (up to the caveat above).  So you=E2=80=99d=
 need to amend my proposal to specify that H must be wide-pipe =
internally.  Also if you aren=E2=80=99t assuming H to be a random =
oracle, and instead assume (eg) the generic group model for G, then =
there may be a big difference between short-Schnorr and non-short.

> One can try squeezing a 256-bit hash to, say, 192 bits, and arguing =
that
> a user won't sign 2^64 messages (2^50 is a reasonable limit). However,
> it's not clear that the issues here are limited to single-user =
attacks.
> Multiple users will certainly sign a total of more than 2^64 messages,
> and then it's entirely possible that this squeezing loses security. =
The
> necessary analysis again hasn't been done---and how many applications
> will notice the difference between a 64-byte signature and a 56-byte
> signature?

I don=E2=80=99t believe there is a dropoff at any number of messages, =
for any number of users, if H is assumed to be a random oracle.  But =
again, real hashes aren=E2=80=99t random oracles, so you have a point.

> The only way to confidently maintain security is to use a >=3D256-bit
> hash. Schnorr's compression then can't save anything, so there's no
> reason to think about it further.

True, unless you=E2=80=99re dealing with a group that doesn=E2=80=99t =
compress as well.  But since we=E2=80=99re talking about EC and can =
implement point compression, I guess that=E2=80=99s not really an issue.

Thanks,
=E2=80=94 Mike=


From nobody Fri Jul 31 07:27:55 2015
Return-Path: <watsonbladd@gmail.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 4DF9C1A88FF for <cfrg@ietfa.amsl.com>; Fri, 31 Jul 2015 07:27:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.101
X-Spam-Level: 
X-Spam-Status: No, score=-0.101 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, 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 Ni47GuyTNE0l for <cfrg@ietfa.amsl.com>; Fri, 31 Jul 2015 07:27:53 -0700 (PDT)
Received: from mail-wi0-x22b.google.com (mail-wi0-x22b.google.com [IPv6:2a00:1450:400c:c05::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 16E1E1A8909 for <cfrg@irtf.org>; Fri, 31 Jul 2015 07:27:53 -0700 (PDT)
Received: by wicmv11 with SMTP id mv11so60412021wic.0 for <cfrg@irtf.org>; Fri, 31 Jul 2015 07:27:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:date:message-id:subject:from:to:content-type; bh=a4dVPftJoPRJqQz7hx6BvVVeNfmW0hyzRXQtMuvMVPk=; b=sKe+SSYlrTmIJBRfFSjae5uMPFyTRzRv1++tCVfa7FQUxSDvdwjXe+lK7bXRlJlVou /AHFWT/kZqqrzgbIgEaVoyLSTzrOs/WZHl0INUzK/41KTh4xgjLS1XxOceiZ2Vb43AMJ KCQfo/q4SdueleweUN2/FwqdgwnfoA6UyGOBVK9tj+KFqkH4H1+xgJ3BznsFf3TrslGa ISch7D5aMnt8q8edfBAtYEzmhuvRNEGnwKu8lRWBzCDh2/3u0PR10M2MkdF10ijthmPY jVCTXojzvJkj01VmpKUbl87OWprkIrGEXLURby8OSnnBhAnYQaSJC5Bo8prXiFimakSU 9Q5A==
MIME-Version: 1.0
X-Received: by 10.194.58.199 with SMTP id t7mr6654084wjq.45.1438352871822; Fri, 31 Jul 2015 07:27:51 -0700 (PDT)
Received: by 10.28.155.136 with HTTP; Fri, 31 Jul 2015 07:27:51 -0700 (PDT)
Date: Fri, 31 Jul 2015 07:27:51 -0700
Message-ID: <CACsn0cnxftfiQ7+vg+t3RZck=PbkzmqhEgkdHeNVKT1vcJGKQg@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Content-Type: text/plain; charset=UTF-8
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/VijZE3z1RAJB7QgLpwV4PRJbocY>
Subject: [Cfrg] Plans for SPAKE
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 31 Jul 2015 14:27:54 -0000

Dear all,

Now that we've agreed upon a point format, I will generate points for
Edwards curves sometime this weekend. (hopefully). Mike Hamburg has
dug up a publication of an augmented version, which I will add to the
draft. Expect a new version soon, and poke me if I forget.

Sincerely,
Watson Ladd


From nobody Fri Jul 31 09:36:48 2015
Return-Path: <djb-dsn2-1406711340.7506@cr.yp.to>
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 DE8E31B2E3D for <cfrg@ietfa.amsl.com>; Fri, 31 Jul 2015 09:36:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 3.496
X-Spam-Level: ***
X-Spam-Status: No, score=3.496 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HELO_EQ_NL=0.55, HOST_EQ_NL=1.545, J_CHICKENPOX_14=0.6, RCVD_IN_DNSWL_NONE=-0.0001, UNPARSEABLE_RELAY=0.001] 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 zM5qofud_xjV for <cfrg@ietfa.amsl.com>; Fri, 31 Jul 2015 09:36:45 -0700 (PDT)
Received: from calvin.win.tue.nl (calvin.win.tue.nl [131.155.70.11]) by ietfa.amsl.com (Postfix) with SMTP id 0F3BD1B2E46 for <cfrg@irtf.org>; Fri, 31 Jul 2015 09:36:44 -0700 (PDT)
Received: (qmail 5170 invoked by uid 1017); 31 Jul 2015 16:37:04 -0000
Received: from unknown (unknown) by unknown with QMTP; 31 Jul 2015 16:37:04 -0000
Received: (qmail 21018 invoked by uid 1000); 31 Jul 2015 16:36:36 -0000
Date: 31 Jul 2015 16:36:36 -0000
Message-ID: <20150731163636.21016.qmail@cr.yp.to>
From: "D. J. Bernstein" <djb@cr.yp.to>
To: cfrg@irtf.org
Mail-Followup-To: cfrg@irtf.org
In-Reply-To: <D1DFC4DD.512B0%kenny.paterson@rhul.ac.uk> <810C31990B57ED40B2062BA10D43FBF5E1B4F4@XMB116CNC.rim.net> <20150727180148.GA20149@LK-Perkele-VII> <55B66F2E.8070105@sbcglobal.net> <810C31990B57ED40B2062BA10D43FBF5E1B345@XMB116CNC.rim.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/6lQK9x_wCaqoIxyPYbjxBY0Mk_E>
Subject: Re: [Cfrg] Internal collisions
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 31 Jul 2015 16:36:47 -0000

David Jacobson writes:
> Why can't we just bless making M be the hash of the
> message and use some otherwise non-IUF signature schemes?

As Ilari mentioned, that's how three of the proposals are structured.
However, using a prehash in this way isn't satisfactory for people who
are concerned about the possibility of hash-function collisions; that's
why the same three proposals also offer collision-resilient options
where the prehashing is skipped.

Signing long messages always has one of the following bottlenecks,
depending on which proposal we're talking about:

   * H(M).
   * H(seed,M) and in parallel H(M,R).
   * H(seed,M) followed by H(R,M).

Speed evaluation:

   * H(M): Obviously best.

   * H(seed,M) and in parallel H(M,R): Two hash calls per block. Also a
     data-flow constraint, namely knowing the seed in advance.

   * H(seed,M) followed by H(R,M): Two hash calls per block. Also
     data-flow constraints, namely knowing the seed in advance and
     reading twice through the message---so a stateless deterministic
     IUF interface requires a variable-length buffer or a limited
     message length. (Ilari's proposal has an easily fixable bug here,
     reading three times through the message, as I mentioned briefly at
     the CFRG meeting.)

Security evaluation:

   * H(seed,M) followed by H(R,M): Collision-resilient. Serious defense
     against the possibility of collisions in H.

   * H(seed,M) and in parallel H(M,R): _Not_ collision-resilient;
     resilient only to external collisions, not internal collisions.
     This is not much safer than simply using H(M).

   * H(M): Not collision-resilient.

What three proposals actually do is take the "H(seed,M) followed by
H(R,M)" approach for maximum security, optionally wrapped in the H(M)
prehashing approach for people who need maximum performance and aren't
worried about collisions. The other two proposals focus on the middle
option, which I see as an unhappy combination of close-to-worst speed
and close-to-worst security.

Dan Brown writes:
> If 2^256 is the best/expected number of steps for an internal
> collision on 256-bit wide pipe hash

Do 24 rounds of SHA-512 provide 2^128 times more security than 24 rounds
of SHA-256? Does MD5 have security level 2^64? This metric isn't useful.

>From a risk-assessment perspective, there's no difference between
generic attacks taking time 2^128 and generic attacks taking 2^256;
they're simply not going to happen. What matters are the _non-generic_
attacks, and those produce internal collisions by the same techniques as
external collisions.

> Quantitatively, if H proves to be weaker than expected, then replace
> the 2^256 steps above by 2^(256-w) steps for some relative weakness
> measure w.

I explained earlier that existing feasible collision attacks against 24
rounds of SHA-512 are IV-independent, so they break 24 rounds of, e.g.,
SHA-384(M,R). They don't break 24 rounds of SHA-512(R,M).

You're now suggesting that downgrading the competition from SHA-512(R,M)
to SHA-256(R,M) will produce a comparable level of "weakness". But if
this is true then where's the attack against 24 rounds of SHA-256(R,M)?

---Dan


From nobody Fri Jul 31 09:37:31 2015
Return-Path: <hannes.tschofenig@gmx.net>
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 8FC391A8AFE for <cfrg@ietfa.amsl.com>; Fri, 31 Jul 2015 09:37:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.21
X-Spam-Level: 
X-Spam-Status: No, score=-1.21 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, 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 9WgYIjrmrMmk for <cfrg@ietfa.amsl.com>; Fri, 31 Jul 2015 09:37:29 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A0E351A87E2 for <cfrg@irtf.org>; Fri, 31 Jul 2015 09:37:28 -0700 (PDT)
Received: from [192.168.131.133] ([80.92.122.31]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0Lm6IP-1YlbZn2gvR-00ZhCt for <cfrg@irtf.org>; Fri, 31 Jul 2015 18:37:26 +0200
Message-ID: <55BBA40E.3040404@gmx.net>
Date: Fri, 31 Jul 2015 18:36:30 +0200
From: Hannes Tschofenig <hannes.tschofenig@gmx.net>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0
MIME-Version: 1.0
To: "cfrg@irtf.org" <cfrg@irtf.org>
OpenPGP: id=4D776BC9
Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="PigxMR7PxemjACnLqxuSnENgufD71FshH"
X-Provags-ID: V03:K0:63H/mQR4FN90izaRR+tKzkXRwbpa7pCvdUQZdaAM+ov/HI97FC9 L+OetOyCmC95fl1S44d8F/SOXAoQCOU9qHiHs0DmyeZZHTFOKQpXirqo9+8RZoJSlADZdJW bIl5A7Gsq1zyADxE/WZBceEo/zJIBoTZ8C8NoWd5w10ufzu4FaO6Y2Zv2e9UXPiF7G+2WKM D7f/n5usjvI6L32uWj0cA==
X-UI-Out-Filterresults: notjunk:1;V01:K0:fFDTkd6TbP4=:Ex3t+Koa1VEJgroXA7+dq3 uYGH1uSh+kqsSL+ntZlTPE+6WDsLHMg5J7tdcLV8gPel55jRsquT5qD9CUgdJYKsNPgOnWG5a F9SJCjFVicfd8HWLhh3e6pWas4wg89eYCWPIPpHERiB57Hs7SY3x5tc1v0pSRLEP7jNDBMhpn HFGxePVj0bp0CPLHFYjt2UxqivLFA09DG26RlCYvzQLBOfp0bko/f0QAvWEdiHb6/q5ebYrIc /0Ea+hCrodC5nuFiw+Vwz8g2RGY5QAOr5KYrfWsB5tlCn0ZdPaYB6Vz49IRlpF0wlP2CfV91M Sj1io+BlX75eelKXKpFvGrGAJGeoQGIzuPzrTRh1LobdNIDvpuHWi+EJlS6P3QJjgHqOJ5mPv XHwnNCN9Oy1TggV+oR9VRfpgOIMy1OZQPRT0kbiM/28HenpsfkcVfWFEnSj8lbfpuYbBOB60y KLvlTz7U9fnT33keuqMf5ACEUo1PKp/NkXLhb/58zOQI+iwyEhTeaMCfAZVPGqezsmNsZK1uz mpJ592WkG5OjNFGXw3D6R99IP/ZZZVJJEHGPXJcl7tftMYwfDv8Fbl0G56Xresmx0xqZP0Exg 9shRO7aN4QvH3DOIJAFX7K1/O0Qm//G53x3duEx4EeHVR6gGRhz3u4BkS7Od3Rt/HEpGCfvAJ D3/OYrHH44oFpVwuebcoJi4ssQYp5yaEWMNejfStDNImRAQ==
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/eQYuEcgHU8fS31-CNAVCnYCxeFI>
Subject: [Cfrg] Summary -- Short Authentication Tags in AES-128-CCM
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 31 Jul 2015 16:37:30 -0000

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--PigxMR7PxemjACnLqxuSnENgufD71FshH
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Thanks a lot for the feedback.

My conclusion from the feedback was the following:

* There is no problem with the use of short authentication tags in
AES-128-CCM. As such, I don't see a reason to change the recommendation.

* David suggested to include additional text about the implications of
the use of these short authentication tags into the IoT DTLS/TLS profile
document. Various others provided pointers to relevant documents. I will
think about adding appropriate text.

* Several persons suggested additional algorithms/ciphersuites that may
also be well suited for the IoT space. I am not going to add new
algorithms at this late stage in the process (and given the current
deployment situation of AES-CCM in the IoT world). However, I have
already pointed out in the draft that there will always be the need to
support other algorithms in the future (crypto agility). While this may
be difficult in many cases where the algorithm implementation is in
hardware. For other cases, this may, however, not be a problem and a
software update mechanism would allow switching to a more efficient/more
secure algorithm over time.

Ciao
Hannes


--PigxMR7PxemjACnLqxuSnENgufD71FshH
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org

iQEcBAEBCgAGBQJVu6QOAAoJEGhJURNOOiAtpAcIAKAknPe1CZrjNwJ2+7A4rpK2
fZ1rlSvMkkABes7GZq/U7HczLaBFeXiokC8iHZP2g7QTdrp0SrxUlaYFKHc8br0L
AYyIzWPyX/5zsFEXfcBy66FcHLgcAlKw2SPDk4SpsWtTyMPRpF/Brd4XVJFmzHda
UJf0U7gLTEaQGMQ/a+uy9F8xi1pJTSTqn/paPQwR+ilyGnpWDr8mmvZ6wFBWkbFx
9AEF+VnXi+JZI3fu+vrkOW3MWn3c0/DOYoO9eA7aK3oa09/GQx87F/t0ILKuK3D7
5KBMRmEA0/yiecT6o1hMBxmU1lXBrYkix1kQrI8M1iE2ureCWtzbjv7C9wP5hNU=
=ypUZ
-----END PGP SIGNATURE-----

--PigxMR7PxemjACnLqxuSnENgufD71FshH--


From nobody Fri Jul 31 09:38:25 2015
Return-Path: <hannes.tschofenig@gmx.net>
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 2D3601A8AFE for <cfrg@ietfa.amsl.com>; Fri, 31 Jul 2015 09:38:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.61
X-Spam-Level: 
X-Spam-Status: No, score=-2.61 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, 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 XF5sQDHAaHmz for <cfrg@ietfa.amsl.com>; Fri, 31 Jul 2015 09:38:22 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A538A1A87E2 for <cfrg@irtf.org>; Fri, 31 Jul 2015 09:38:21 -0700 (PDT)
Received: from [192.168.131.133] ([80.92.122.31]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0MdaiW-1ZXP2u0V7k-00PJX6; Fri, 31 Jul 2015 18:38:20 +0200
Message-ID: <55BBA442.805@gmx.net>
Date: Fri, 31 Jul 2015 18:37:22 +0200
From: Hannes Tschofenig <hannes.tschofenig@gmx.net>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0
MIME-Version: 1.0
To: John Mattsson <john.mattsson@ericsson.com>,  "cfrg@irtf.org" <cfrg@irtf.org>
References: <55AE1BB7.8070906@gmx.net> <55AF6E7E.5000300@gmx.net> <D1D6F1D9.3967B%john.mattsson@ericsson.com>
In-Reply-To: <D1D6F1D9.3967B%john.mattsson@ericsson.com>
OpenPGP: id=4D776BC9
Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="BWTrN6xqNMe5XNHVfe25x3BMkWOl1PbWj"
X-Provags-ID: V03:K0:c5N0SuPBvG2EHBICaowAAMYFxku5USvJNIUidAAbYafS/V3nI1Z uhLPBbkml21YFcfynzlQEUlpImp03PJQnWbcX+TuEGXUu5hxYsZ9ZuzmtZCPaX6O5MzACUd Gd1gxsIWgeRfVogVLbSQEz6NOq7Dw8WgrinjHUqCMmWIkGesAwyIzxVoOm8AYqklbW2ReRI lgNO3PxVu0FQJKhwC1V3w==
X-UI-Out-Filterresults: notjunk:1;V01:K0:nCpdxOBgxYA=:YtgXKudyI3I8JBiseYVsbc gKD6+MnIlIIw2N8qxewGlN38S/s5o8GlHZ68TLlAWQNYGY923HPj/ZWqPVeBgj2tU+B3lmZmq Y0VM/r8t4S7Rmt/jqqejxdqNUQ4la4wgOW9dq0mpw2dBdZIbEOzqVwmIdourkSJ6+DP2QFDct FQLFfUzN5Mh9LCwlX9Me3Jj5IcwLGpQqDslXBG9YFKiPydlYW65YdJomsAxe27HyE7lCxZdBv KU51Ikplwqt9xf9KUJOsqaXc4s4KL7InHLiKnpKzctwCreBuxceRwsQfGYoldyEpP22S8iFdi dnJ9ikFsjvRY3h+OC56I8OnqEiJnnwTX59pAM4V2zwWTRYOxRrd1Lw1OILCGdNNpTn2Bsu/dd HydOdq5K3Gd9189I/tx6IWDosKpPJ/ScesZZD501/gQbvB/tPXOO8KXfjOScHDqDEcUOFAObP jlm3QO5IolItrqWIaalXC039bytNPFAUxEmusSMrtHxwEoBRrlv+Fp2A5VKzviLY1+eRuQYfq DU1ljW1euF1THMN0P9S1gRZopb6U/H7jaIPrCJdO95PbxE8r7RG9Z/FpPda7kIBqi+L4CKClh G9Ek/pu5v+0hvrfjhjGlSG9DTTa6DVte/kJQ+sJ6UjEE01kdnauNW4glHKwL/MWAyKtoOdol+ 9fK5fg9Cn//wIQjQdRDx49iKc+haZ6xjJatpeL0bIJHTBFg==
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/MpIZMcdDMwkRAYmhfUXPD_k2hMA>
Subject: [Cfrg] ECDHE_PSK was Re: Short Authentication Tags in AES-128-CCM
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 31 Jul 2015 16:38:23 -0000

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--BWTrN6xqNMe5XNHVfe25x3BMkWOl1PbWj
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi John,

while this is a bit off-topic from my question I still wanted to comment
on this issue:

On 07/23/2015 07:35 PM, John Mattsson wrote:
> Looking at the dice profile, I am more concerned with the lack of forwa=
rd
> security in TLS_PSK_WITH_AES_128_CCM_8 and the fact that this cipher su=
ite
> will likely be forbidden in DTLS 1.3 (as far as I understand). I would
> recommend changing this to ECDHE_PSK, or convincing the TLS wg to conti=
nue
> supporting PSK. Standardizing a new profile that will not work with DTL=
S
> 1.3 would be strange.

The main reason for including a PSK ciphersuite was to include IoT
devices that have significant limitations regarding RAM, flash size, and
CPU performance. When you add ECDHE to the PSK ciphersuite all the
arguments for using PSK become much weaker or may even become invalid.

We also didn't want to create a dependency on a new ciphersuite spec
that has only been submitted recently. This would stall the document for
a while.

Ciao
Hannes


--BWTrN6xqNMe5XNHVfe25x3BMkWOl1PbWj
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org

iQEcBAEBCgAGBQJVu6RCAAoJEGhJURNOOiAtUN4IAInuM5G21kQMddsP7P3GwBD4
vCQczo5/rUYPVP41F3VjgjEPsVQWVmxtG4W3Ld+xQGPAL2fhgaGbzQwkSyfBtKDP
wy3rXws6gXKaKtHv8Csd/Yf9UjkbTB7T+QdTNUfc7KSSb8Aill0VK+IdKAGv9C1h
ICAeO+9xU/TyxJ1XNKOP0Ue9qgJGsJ/+S6jmeyiKTMKi6d9/V/tOws5UEduYKLxj
9wtNtoT7onsQjzpVHI8DkGVQo87F/f7T3JvbzWYuJSVyo7aYpOdNK9eygcuCeGUg
TKug5ZBQSUopMB2yjZECQ8E8kfKOehhgaAo95ijgWmcy8LK7j3jOWwGO0wYitbg=
=CzxO
-----END PGP SIGNATURE-----

--BWTrN6xqNMe5XNHVfe25x3BMkWOl1PbWj--


From nobody Fri Jul 31 13:07:04 2015
Return-Path: <cabo@tzi.org>
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 2CBF41A0173 for <cfrg@ietfa.amsl.com>; Fri, 31 Jul 2015 13:07:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.15
X-Spam-Level: 
X-Spam-Status: No, score=-0.15 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, HELO_EQ_DE=0.35] 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 oqiZUTa0TheO for <cfrg@ietfa.amsl.com>; Fri, 31 Jul 2015 13:07:02 -0700 (PDT)
Received: from mailhost.informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7DCC41A9174 for <cfrg@irtf.org>; Fri, 31 Jul 2015 13:07:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from submithost.informatik.uni-bremen.de (submithost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::b]) by mailhost.informatik.uni-bremen.de (8.14.5/8.14.5) with ESMTP id t6VK6uE3004923; Fri, 31 Jul 2015 22:06:56 +0200 (CEST)
Received: from alma.local (p5DC7F6B9.dip0.t-ipconnect.de [93.199.246.185]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by submithost.informatik.uni-bremen.de (Postfix) with ESMTPSA id 3mjflN18trzDHCs; Fri, 31 Jul 2015 22:06:56 +0200 (CEST)
Message-ID: <55BBD55E.2070903@tzi.org>
Date: Fri, 31 Jul 2015 22:06:54 +0200
From: Carsten Bormann <cabo@tzi.org>
User-Agent: Postbox 4.0.1 (Macintosh/20150514)
MIME-Version: 1.0
To: Hannes Tschofenig <hannes.tschofenig@gmx.net>
References: <55AE1BB7.8070906@gmx.net> <55AF6E7E.5000300@gmx.net> <D1D6F1D9.3967B%john.mattsson@ericsson.com> <55BBA442.805@gmx.net>
In-Reply-To: <55BBA442.805@gmx.net>
X-Enigmail-Version: 1.2.3
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/nxpeeZlGmI1J7xXOWbZkf-XN93I>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] ECDHE_PSK was Re: Short Authentication Tags in AES-128-CCM
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 31 Jul 2015 20:07:04 -0000

Hannes Tschofenig wrote:
> When you add ECDHE to the PSK ciphersuite all the
> arguments for using PSK become much weaker or may even become invalid.

You use PSK between constrained devices because somebody else has done
the hard work.  That doesn't make forward secrecy superfluous.
If you have the means to do it (and the chips you are championing
generally do), do it.

> We also didn't want to create a dependency on a new ciphersuite spec
> that has only been submitted recently. This would stall the document for
> a while.

Absolutely; any ECDHE/PSK suite for constrained devices would come after
the profile (and possibly include a section to update the profile).

GrÃ¼ÃŸe, Carsten


From nobody Fri Jul 31 13:08:55 2015
Return-Path: <dbrown@certicom.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 336E11ACE5C for <cfrg@ietfa.amsl.com>; Fri, 31 Jul 2015 13:08:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.7
X-Spam-Level: 
X-Spam-Status: No, score=0.7 tagged_above=-999 required=5 tests=[BAYES_50=0.8,  J_CHICKENPOX_14=0.6, 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 xDaqn2N7iJUw for <cfrg@ietfa.amsl.com>; Fri, 31 Jul 2015 13:08:51 -0700 (PDT)
Received: from smtp-p02.blackberry.com (smtp-p02.blackberry.com [208.65.78.89]) by ietfa.amsl.com (Postfix) with ESMTP id 6FD781A9174 for <cfrg@irtf.org>; Fri, 31 Jul 2015 13:08:51 -0700 (PDT)
Received: from xct103cnc.rim.net ([10.65.161.203]) by mhs215cnc.rim.net with ESMTP/TLS/AES128-SHA; 31 Jul 2015 16:08:51 -0400
Received: from XCT115CNC.rim.net (10.65.161.215) by XCT103CNC.rim.net (10.65.161.203) with Microsoft SMTP Server (TLS) id 14.3.210.2; Fri, 31 Jul 2015 16:08:50 -0400
Received: from XMB116CNC.rim.net ([fe80::45d:f4fe:6277:5d1b]) by XCT115CNC.rim.net ([::1]) with mapi id 14.03.0210.002; Fri, 31 Jul 2015 16:08:49 -0400
From: Dan Brown <dbrown@certicom.com>
To: "'djb@cr.yp.to'" <djb@cr.yp.to>, "'cfrg@irtf.org'" <cfrg@irtf.org>
Thread-Topic: [Cfrg] Internal collisions
Thread-Index: AQHQy68R+xgpZDff0UGF08OtLC2WBJ316kiQ
Date: Fri, 31 Jul 2015 20:08:49 +0000
Message-ID: <810C31990B57ED40B2062BA10D43FBF5E1DC43@XMB116CNC.rim.net>
References: <D1DFC4DD.512B0%kenny.paterson@rhul.ac.uk> <810C31990B57ED40B2062BA10D43FBF5E1B4F4@XMB116CNC.rim.net> <20150727180148.GA20149@LK-Perkele-VII> <55B66F2E.8070105@sbcglobal.net> <810C31990B57ED40B2062BA10D43FBF5E1B345@XMB116CNC.rim.net> <20150731163636.21016.qmail@cr.yp.to>
In-Reply-To: <20150731163636.21016.qmail@cr.yp.to>
Accept-Language: en-CA, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [10.65.160.251]
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=SHA1; boundary="----=_NextPart_000_002B_01D0CBAB.2FCF8640"
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/HA7QihsaR4lBU5fdG8W9x3YDo7M>
Subject: Re: [Cfrg] Internal collisions
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 31 Jul 2015 20:08:54 -0000

------=_NextPart_000_002B_01D0CBAB.2FCF8640
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


> -----Original Message-----
> From: D. J. Bernstein
>      reading twice through the message---so a stateless deterministic
>      IUF interface requires a variable-length buffer or a limited
>      message length.=20

[DB] If CFRG will support message-length buffered IUF signers that can =
fall
back to pre-hashing whenever needed, then, as I said before, I would =
amend
my proposal to make it similar to the other proposals. I.e., to use =
H(R,M)
falling back to H(M,R), or just to pre-hashing H(R,H(M)) for alignment =
with
the other proposals. =20

The reason my proposal has H(M,R) is because I interpreted the various =
CFRG
polls to _require_:
- IUF signer (i.e. message streaming/buffering),
- fixed-length buffer (for signer and verifier), i.e. a buffer shorter =
than
the message length,
- stateless signer,=20
- deterministic signer.
The H(R,M) proposals are _incompatible_ with this interpretation.

>    * H(seed,M) followed by H(R,M): Collision-resilient. Serious =
defense
>      against the possibility of collisions in H.
>=20

[DB] Yes, but incompatible with CFRG requirements as I understand them.

>    * H(seed,M) and in parallel H(M,R): _Not_ collision-resilient;
>      resilient only to external collisions, not internal collisions.

[DB] You didn't mention that my proposal requires a wide-pipe hash.=20

Wide pipe hashes are a _serious_ defense against the possibility of
collisions. =20

For consistency, if CFRG views prefixed wide-pipe hashes as a serious
general-purpose PRF construct, thereby obviating the need for HMAC's
extension-resilience, then it is not much of stretch to say that a =
wide-pipe
hash obviates the need for H(R,M)'s collision-resilience.=20


>      This is not much safer than simply using H(M).

[DB] In my ECDSA_CFRG proposal, there are two security benefits of =
H(M,R)
over H(M):
- Pointcheval-Stern security analysis in the random oracle model
- External collision resilience.

Oops, in Watson Ladd's proposal: H(M,R) has no known feasible attacks, =
but
changing this to H(M) makes it forgeable: the verification equation =
would
only have R appearing once, so you can just solve for R.=20

>=20
>    * H(M): Not collision-resilient.

[DB] As I interpret the CFRG requirements, the H(R,M) proposals will be
forced to pre-hash and fall into this situation: they are _not_
collision-resilient.

Ok, the H(M,R) proposal may only be "slightly safer" than H(M) (ignoring
Watson's proposal), especially if you doubt the random oracle like =
promises
of the SHA3 competition.  So, maybe this slight safety gain does not =
warrant
the dual hashing of H(M,R). =20

If H(M,R) signers are just too slow, then either pre-hash, or if =
desperate
for collision-resilience, secretly maintain a stateful PRG and feed its
output into the PRF input.  If you're worried CFRG will find out, then =
try
to ensure some message control that ensures you never sign the same =
message
twice.

>=20
> What three proposals actually do is take the "H(seed,M) followed by
H(R,M)"
> approach for maximum security, optionally wrapped in the H(M) =
prehashing
> approach for people who need maximum performance and aren't worried
> about collisions. The other two proposals focus on the middle option,
which I
> see as an unhappy combination of close-to-worst speed and =
close-to-worst
> security.
>=20
> Dan Brown writes:
> > If 2^256 is the best/expected number of steps for an internal
> > collision on 256-bit wide pipe hash
>=20
> Do 24 rounds of SHA-512 provide 2^128 times more security than 24 =
rounds
> of SHA-256? Does MD5 have security level 2^64? This metric isn't =
useful.
>=20
> >From a risk-assessment perspective, there's no difference between
> generic attacks taking time 2^128 and generic attacks taking 2^256;
they're
> simply not going to happen. What matters are the _non-generic_ =
attacks,
and
> those produce internal collisions by the same techniques as external
collisions.

[DB] The Wikipedia page for MD5 mentions a 2^24 collision attack, which =
is
2^(64-40), so MD5 can be viewed as 2^40 times weaker than a generic hash =
of
the same size.  Alternatively, this is 2^(64  * 3/8), so there MD5 has =
only
3/8 of the "bits" of collision security that a generic hash would have.

In a na=EFve risk assessment, I would attempt to extrapolate along these
lines, estimating collision resistance of SHA-X for X=3D256 or X=3D512 =
to be
2^((X/2)-w)  or 2^((X/2) * v), on the basis that SHA-256 and SHA-512 =
have
similar designs and thus similar values of w and v, and probably =
somewhat
better than the corresponding values of MD5.   This approach yields an
assessment that SHA-512 is much safer, and well beyond feasible.

But perhaps I did not fully comprehend your reduced-round examples.  =
Sorry.
Maybe a better risk assessment of  SHA-512's collision resistance is the
same as SHA-256.   Is that what the reduced-round attacks are =
indicating: no
difference between SHA-512 and SHA-256? What about for SHA-3?

If the SHA-2 designs are such that reduced-round attacks indicate that
SHA-512 larger's state has no benefit, then I'd worry about their design
considerably.  In that case, I'd probably amend my proposal to require
SHA-3.

------=_NextPart_000_002B_01D0CBAB.2FCF8640
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIUoDCCBo8w
ggV3oAMCAQICClvwCZYABAA8faIwDQYJKoZIhvcNAQEFBQAwUDETMBEGCgmSJomT8ixkARkWA25l
dDETMBEGCgmSJomT8ixkARkWA3JpbTEkMCIGA1UEAxMbUklNIFN1Ym9yZGluYXRlIENBIE1DQTAz
WUtGMB4XDTE1MDQxMDIxMjgwNFoXDTE2MDQwMjAxMTEwNVowgaQxEzARBgoJkiaJk/IsZAEZFgNu
ZXQxEzARBgoJkiaJk/IsZAEZFgNyaW0xDTALBgNVBAsTBEFNRVIxCzAJBgNVBAsTAkNBMRQwEgYD
VQQLEwtNaXNzaXNzYXVnYTEOMAwGA1UECxMFVXNlcnMxEjAQBgNVBAMTCURhbiBCcm93bjEiMCAG
CSqGSIb3DQEJARYTZGJyb3duQGNlcnRpY29tLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkC
gYEAnqyP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/fekiiaoyfphHqlzAu/VXnAK2L9dq
nzKw0hd7H4MPU6kTrTrsHORzakKgEx7PlTBQ3pgiPW7SEH1U7uv4OxJ1UKS/gJ3x247Bwo6xhdAW
6hynDuHythAge990xLd7K06n2xkpbA8DLLkFiyVIgJ3er7+hyJEFMBcBnQG0AchmWwAAAAAAAA==

------=_NextPart_000_002B_01D0CBAB.2FCF8640--


From nobody Fri Jul 31 13:30:19 2015
Return-Path: <hannes.tschofenig@gmx.net>
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 B37071ACE7D for <cfrg@ietfa.amsl.com>; Fri, 31 Jul 2015 13:30:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level: 
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, 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 HZX1ndM8zsjl for <cfrg@ietfa.amsl.com>; Fri, 31 Jul 2015 13:30:16 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 030ED1ACE25 for <cfrg@irtf.org>; Fri, 31 Jul 2015 13:30:15 -0700 (PDT)
Received: from [192.168.131.133] ([80.92.122.31]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0LiTJE-1Ykper0qJY-00cizb; Fri, 31 Jul 2015 22:30:05 +0200
Message-ID: <55BBDACC.3060901@gmx.net>
Date: Fri, 31 Jul 2015 22:30:04 +0200
From: Hannes Tschofenig <hannes.tschofenig@gmx.net>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0
MIME-Version: 1.0
To: Carsten Bormann <cabo@tzi.org>
References: <55AE1BB7.8070906@gmx.net> <55AF6E7E.5000300@gmx.net> <D1D6F1D9.3967B%john.mattsson@ericsson.com> <55BBA442.805@gmx.net> <55BBD55E.2070903@tzi.org>
In-Reply-To: <55BBD55E.2070903@tzi.org>
OpenPGP: id=4D776BC9
Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="sMPkvIirqo2lNfFN70av7j8xlUq8I3X7Q"
X-Provags-ID: V03:K0:nVkSvvWrRuPxk0avQU6Cio3Q1O9SGSoeNZ4I77dG6PWnSPN/QD7 8RLdcxdlOHfco86Bybf9i6EWlOadHoEsdM8zx9SK0q6ODLWVZF2Ej0RP//AtS/Aw5LVQcE8 zfpk1Jo4xLhbpq1Sx5ZUV2kDSyvm++lSvAb8H6bvLkZjlMKoeeFvm1I41nbiEXSeNTtvnC6 m95XKUzB6zLikUJBXnC3w==
X-UI-Out-Filterresults: notjunk:1;V01:K0:KmEw7Ch7RG0=:ZxajRYeFEt/VdbnJ+fbdDJ eBoJUafsB26rCw9+TDJFUSjHIOs6IQZl7gSw6Kp0q6N9CIjEC3YHbNrG+sckVz0PoJBIcDl8x gczzmbkuslo8uDHcIhwHUBlex0NhVCvQxITaCzAVkFhvGHvvPVgdWvnr6CZr71Gb8WpxzGlgu O19DgyUvrTAUAmmCHAuRtrRGUwSizyASUJaelE+x5J0Ap38YtVB1qtFyAZBfA6noRElC1DpgI fHvcLumXJw3ivbFsCw10DLOStX6Go2cA6eVGAKay3NBIxrWMzy+D+IC2KQciP67FtGg7QAvUs reaZgFPqF9hWrRXMHQt0/6cyhbQ3rOjen2N7o4Fv6gX1SEGKWw+kpeq6YH3SNgJrsW4rGKO+C Tqh15SAq1je1b+MTwFAfdyWJJX6Z2yr7/YaTZJ30RqKcwmnPJuNE5ZUUAj+ck4/+POZOhM8hW Lkx8sWF+9saQvq5TJObwfwW1lQhr6n+gmiNs9clX1dZDu844XCyw7iG58RGprldzHoI/o5SvA Iq7I3Q9csTaMD+AEaBb3716yoLDroDNvnzjGnqamamojbKSBiBFv15BbOlcrhs/9x1xbMDXmJ Wml7RJ7qxSqpCWMWR5NKd1jDKaEQtK7PLnRa+Dfw2XdOJGHe2l/vn7XIp4vQUt1ETg5FwHX0D HSpeVHstGWmxLv+E+3x5XuxHwaUR80o6RpRtLXmJXxj0Nmw==
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/msCIPXxmFT9ABTrGdnOxFD-xJcU>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] ECDHE_PSK was Re: Short Authentication Tags in AES-128-CCM
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 31 Jul 2015 20:30:17 -0000

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--sMPkvIirqo2lNfFN70av7j8xlUq8I3X7Q
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi Carsten,

On 07/31/2015 10:06 PM, Carsten Bormann wrote:
> Hannes Tschofenig wrote:
>> When you add ECDHE to the PSK ciphersuite all the
>> arguments for using PSK become much weaker or may even become invalid.=

>=20
> You use PSK between constrained devices because somebody else has done
> the hard work.  That doesn't make forward secrecy superfluous.
> If you have the means to do it (and the chips you are championing
> generally do), do it.

I agree that you should use forward secrecy whenever you can. If you are
able to run ECDHE then I argue that you should which to a  ciphersuite
that does not use PSK at all (because of other benefits beyond forward
secrecy).

>=20
>> We also didn't want to create a dependency on a new ciphersuite spec
>> that has only been submitted recently. This would stall the document f=
or
>> a while.
>=20
> Absolutely; any ECDHE/PSK suite for constrained devices would come afte=
r
> the profile (and possibly include a section to update the profile).

Good that we agree on that aspect.

Ciao
Hannes

>=20
> Gr=C3=BC=C3=9Fe, Carsten
>=20


--sMPkvIirqo2lNfFN70av7j8xlUq8I3X7Q
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org

iQEcBAEBCgAGBQJVu9rMAAoJEGhJURNOOiAtfUoH/25IeZ8wDR9wj6WQ5GtsskB3
E2PCD3JaVq4W8tflJVwqD1bj81M4Ue5T74LD9hG5vEAwL82Evtt8Fcn+Q/V7+Djr
BEEzYKSwLzFK+apCDE9uAwqUGHhcsybSPJcauUv8Ek+fxHhyJ5SDYHkA8y8mgyvF
BxuMBoCaN/J6iFMVx7opn9NCkSphN6LPn83MQ5S0K3DL5KbePGqeIuOfqEhkAyuK
jdsu9vhu9EBhNkWQnlDcvxXyYf6N+ZA1u5cd/oip9rci7YybIOWPHm8iLaqAbUF/
pTRRTx2J/Ng6PR9DN3eoDI6lCOagobM1eqXvf5HZLhCUzBJIQyTYNDUY4AePP00=
=qCox
-----END PGP SIGNATURE-----

--sMPkvIirqo2lNfFN70av7j8xlUq8I3X7Q--


From nobody Fri Jul 31 14:17:25 2015
Return-Path: <cabo@tzi.org>
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 341DC1A0BE8 for <cfrg@ietfa.amsl.com>; Fri, 31 Jul 2015 14:17:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.55
X-Spam-Level: 
X-Spam-Status: No, score=-1.55 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35] 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 0Q0bsOd2v3OZ for <cfrg@ietfa.amsl.com>; Fri, 31 Jul 2015 14:17:22 -0700 (PDT)
Received: from mailhost.informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C3CE61A01D5 for <cfrg@irtf.org>; Fri, 31 Jul 2015 14:17:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from submithost.informatik.uni-bremen.de (submithost.informatik.uni-bremen.de [134.102.201.11]) by mailhost.informatik.uni-bremen.de (8.14.5/8.14.5) with ESMTP id t6VLHCjw019808; Fri, 31 Jul 2015 23:17:12 +0200 (CEST)
Received: from alma.local (p5DC7F6B9.dip0.t-ipconnect.de [93.199.246.185]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by submithost.informatik.uni-bremen.de (Postfix) with ESMTPSA id 3mjhJS2PPHzDHDV; Fri, 31 Jul 2015 23:17:12 +0200 (CEST)
Message-ID: <55BBE5D6.2030403@tzi.org>
Date: Fri, 31 Jul 2015 23:17:10 +0200
From: Carsten Bormann <cabo@tzi.org>
User-Agent: Postbox 4.0.1 (Macintosh/20150514)
MIME-Version: 1.0
To: Hannes Tschofenig <hannes.tschofenig@gmx.net>
References: <55AE1BB7.8070906@gmx.net> <55AF6E7E.5000300@gmx.net> <D1D6F1D9.3967B%john.mattsson@ericsson.com> <55BBA442.805@gmx.net> <55BBD55E.2070903@tzi.org> <55BBDACC.3060901@gmx.net>
In-Reply-To: <55BBDACC.3060901@gmx.net>
X-Enigmail-Version: 1.2.3
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/xOesYSMXv5QSvsHg40KYy2_GGc4>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] ECDHE_PSK was Re: Short Authentication Tags in AES-128-CCM
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 31 Jul 2015 21:17:23 -0000

Hannes Tschofenig wrote:
> I agree that you should use forward secrecy whenever you can. If you are
> able to run ECDHE then I argue that you should which to a  ciphersuite
> that does not use PSK at all (because of other benefits beyond forward
> secrecy).

It is well known that you believe that :-)
What makes a lot of sense in the browser web does not always fit the
thing-to-thing web.  But I think we are now solidly off-topic on the
CFRG list.

GrÃ¼ÃŸe, Carsten

