Re: [Cfrg] A2 versus A^2 and BB verus AA

Samuel Neves <sneves@dei.uc.pt> Sat, 10 January 2015 21:31 UTC

Return-Path: <sneves@dei.uc.pt>
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 9BE031A0363 for <cfrg@ietfa.amsl.com>; Sat, 10 Jan 2015 13:31:53 -0800 (PST)
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_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, 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 icfTh7BWDjXh for <cfrg@ietfa.amsl.com>; Sat, 10 Jan 2015 13:31:52 -0800 (PST)
Received: from smtp.dei.uc.pt (smtp.dei.uc.pt [193.137.203.253]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A40A51A0004 for <cfrg@irtf.org>; Sat, 10 Jan 2015 13:31:51 -0800 (PST)
Received: from [192.168.1.64] (bl6-191-211.dsl.telepac.pt [82.155.191.211]) (authenticated bits=0) by smtp.dei.uc.pt (8.14.4/8.14.4) with ESMTP id t0ALVDHD022233 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 10 Jan 2015 21:31:19 GMT
Message-ID: <54B19A21.9060505@dei.uc.pt>
Date: Sat, 10 Jan 2015 21:31:13 +0000
From: Samuel Neves <sneves@dei.uc.pt>
User-Agent:
MIME-Version: 1.0
To: Tanja Lange <tanja@hyperelliptic.org>, Adam Langley <agl@imperialviolet.org>
References: <D0D6B088.5815C%paul@marvell.com> <CAMfhd9XTQB-QjMpkW9PQ1e7NaV5jc56KfRP12i6WLaiNGqUyRg@mail.gmail.com> <20150110204227.GF11760@cph.win.tue.nl>
In-Reply-To: <20150110204227.GF11760@cph.win.tue.nl>
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: quoted-printable
X-FCTUC-DEI-SIC-MailScanner-Information: Please contact helpdesk@dei.uc.pt for more information
X-FCTUC-DEI-SIC-MailScanner-ID: t0ALVDHD022233
X-FCTUC-DEI-SIC-MailScanner: Found to be clean
X-FCTUC-DEI-SIC-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-60.25, required 3.252, autolearn=not spam, ALL_TRUSTED -10.00, BAYES_00 -0.25, L_SMTP_AUTH -50.00)
X-FCTUC-DEI-SIC-MailScanner-From: sneves@dei.uc.pt
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/dvNwxDcF2NEYzvmkc7o0DRoR_8s>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] A2 versus A^2 and BB verus AA
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sat, 10 Jan 2015 21:31:53 -0000

On 01/10/2015 08:42 PM, Tanja Lange wrote:
>> Whether it works out or not, it's good to match EFD. I've updated the
>> draft in GitHub to match, thanks!
>>
> This is not a typo, it is using a different (better) definition
> of the curve constant which is what the implementations use.

Not trying to turn this into another pointless discussion, but the choice of a24 seems 50/50 in actual implementations.
From the current SUPERCOP version:

 - amd64-51: 121666
 - amd64-64: 121666
 - athlon: 121665
 - costigan-schwabe: 121666
 - donna: 121665
 - donna_c64: 121665
 - neon2: 121666
 - ref: 121665
 - ref10: 121666

All of these were written by experts. What makes 121665 better?

Best regards,
Samuel Neves