[Cfrg] draft-mcgrew-hash-sigs

Jim Schaad <ietf@augustcellars.com> Wed, 06 February 2019 04:07 UTC

Return-Path: <ietf@augustcellars.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost []) by ietfa.amsl.com (Postfix) with ESMTP id BD000126C7E for <cfrg@ietfa.amsl.com>; Tue, 5 Feb 2019 20:07:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.794
X-Spam-Status: No, score=-0.794 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, LOCALPART_IN_SUBJECT=1.107, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Received: from mail.ietf.org ([]) by localhost (ietfa.amsl.com []) (amavisd-new, port 10024) with ESMTP id kK2GlMN1tQmE for <cfrg@ietfa.amsl.com>; Tue, 5 Feb 2019 20:07:17 -0800 (PST)
Received: from mail2.augustcellars.com (augustcellars.com []) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 19C5812D4E7 for <cfrg@irtf.org>; Tue, 5 Feb 2019 20:07:17 -0800 (PST)
Received: from Jude ( by mail2.augustcellars.com ( with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 5 Feb 2019 20:07:11 -0800
From: Jim Schaad <ietf@augustcellars.com>
To: draft-mcgrew-hash-sigs@ietf.org
CC: cfrg@irtf.org
Date: Tue, 05 Feb 2019 20:07:07 -0800
Message-ID: <048d01d4bdd1$6eb00170$4c100450$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AdS90Q2nH2hqVlYLS3uZexTS2u9JSQ==
Content-Language: en-us
X-Originating-IP: []
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/-DrluIFk8gPVRwHq-KgwQoaiF9Y>
Subject: [Cfrg] draft-mcgrew-hash-sigs
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.29
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: Wed, 06 Feb 2019 04:07:29 -0000

In trying to do a fast implementation of this draft I ended up with the
following question:

In section 4.5 there is a byte string append operation between Q and
Cksm(Q).  The problem is that the result of Cksm appears to be a 16-bit
unsigned integer.  Should there be a u16str inserted in the function?

a = coef(Q || u16str(Cksm(Q)), i, w)