Re: [Cfrg] draft-irtf-cfrg-eddsa - test vectors

Ilari Liusvaara <ilariliusvaara@welho.com> Tue, 12 July 2016 09:08 UTC

Return-Path: <ilariliusvaara@welho.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0463112D778 for <cfrg@ietfa.amsl.com>; Tue, 12 Jul 2016 02:08:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.187
X-Spam-Level:
X-Spam-Status: No, score=-3.187 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-1.287] autolearn=ham autolearn_force=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 kBQidQmIIn1J for <cfrg@ietfa.amsl.com>; Tue, 12 Jul 2016 02:08:27 -0700 (PDT)
Received: from welho-filter4.welho.com (welho-filter4.welho.com [83.102.41.26]) by ietfa.amsl.com (Postfix) with ESMTP id 135FF12D765 for <cfrg@ietf.org>; Tue, 12 Jul 2016 02:08:27 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter4.welho.com (Postfix) with ESMTP id 6501463B1; Tue, 12 Jul 2016 12:08:26 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp1.welho.com ([IPv6:::ffff:83.102.41.84]) by localhost (welho-filter4.welho.com [::ffff:83.102.41.26]) (amavisd-new, port 10024) with ESMTP id bhgRMdEqjSoF; Tue, 12 Jul 2016 12:08:26 +0300 (EEST)
Received: from LK-Perkele-V2 (87-100-177-32.bb.dnainternet.fi [87.100.177.32]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp1.welho.com (Postfix) with ESMTPSA id 23CC427F; Tue, 12 Jul 2016 12:08:26 +0300 (EEST)
Date: Tue, 12 Jul 2016 12:08:23 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: Jim Schaad <ietf@augustcellars.com>
Message-ID: <20160712090823.GC30472@LK-Perkele-V2.elisa-laajakaista.fi>
References: <021201d1dc0e$1b9138d0$52b3aa70$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
In-Reply-To: <021201d1dc0e$1b9138d0$52b3aa70$@augustcellars.com>
User-Agent: Mutt/1.6.0 (2016-04-01)
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/aGbgysjO2AkOsnCVn8pff8XmGM8>
Resent-From: alias-bounces@ietf.org
Resent-To: <>
Cc: cfrg@ietf.org, draft-irtf-cfrg-eddsa@tools.ietf.org
Subject: Re: [Cfrg] draft-irtf-cfrg-eddsa - test vectors
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://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: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Jul 2016 09:08:34 -0000

On Tue, Jul 12, 2016 at 12:22:10AM -0700, Jim Schaad wrote:
> Do you have test vectors for the Ed448 curve?  There appears to be a driver
> for Ed25519 but not for Ed448 as well as a pointer for only one set of test
> vectors.
> 
> Yes, I can see the test vectors in the text, but the python test vectors
> would be useful as well.

There are no actual test vectors for Ed448 python implementation. The way
the stuff in document is generated is taking driver from the repo,
and using it with given inputs to yield those "test vectors" (the same
applies to everything except Ed25519).

I do happen to have another implementation (In C, pretty slow) I can
feed the "test vectors" to check those.


-Ilari