Re: [TLS] Salsa20 and Poly1305 in TLS
Ted Krovetz <ted@krovetz.net> Tue, 06 August 2013 16:20 UTC
Return-Path: <ted@krovetz.net>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 11E4121F9FFC for <tls@ietfa.amsl.com>; Tue, 6 Aug 2013 09:20:58 -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=-2.599]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Fd9x-YEJw2gK for <tls@ietfa.amsl.com>; Tue, 6 Aug 2013 09:20:50 -0700 (PDT)
Received: from mail-pd0-f173.google.com (mail-pd0-f173.google.com [209.85.192.173]) by ietfa.amsl.com (Postfix) with ESMTP id AAAF221F991F for <tls@ietf.org>; Tue, 6 Aug 2013 09:20:40 -0700 (PDT)
Received: by mail-pd0-f173.google.com with SMTP id p11so458058pdj.4 for <tls@ietf.org>; Tue, 06 Aug 2013 09:20:34 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=gDEgNDM2ZSQga4y/wdWw6mTBr9rI9pVpxrIY+fBoQFo=; b=JpFhx/h5gCLpR66aqSwhELvj6xw+lvPKcvVk31L3pqv4RPwIQ4rTdONbXNZsTxnQVA ExIqJdEd5esAe4rWx6HRjVgfUYkSOKXjgG4UoO6FbiLeUDiP5BQl0mTmAY5ImBjUnYYD tqkU12XnnV90X1iImyH4PNrjhJAmmr5t2j/iM0Oxipd4CnKzwX3SRcozV9cq7kj5pNwL e6ONITRMSSiaufOjvQt5lNaWP4SvKbTQPNI81fm+pUSgBccLqmNYdB+Z2OIOgoZPRuzH R3OyY0iJ70LaLpRkGIBEvcAmVeTKaHlsRMv9tUSdKotf4V32fFye+fMYUjNTE9fy9i+Q SQxA==
X-Gm-Message-State: ALoCoQkTETnyJ3eDdzXL3S40qYX/faop/fBKAgzK/MKNcE1asDtLyZFNR+dvv+IfsoF5z8H0AWyX
X-Received: by 10.66.122.5 with SMTP id lo5mr3991810pab.175.1375806034652; Tue, 06 Aug 2013 09:20:34 -0700 (PDT)
Received: from [192.168.1.162] (c-67-166-145-119.hsd1.ca.comcast.net. [67.166.145.119]) by mx.google.com with ESMTPSA id il4sm2827843pbb.36.2013.08.06.09.20.32 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 06 Aug 2013 09:20:33 -0700 (PDT)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\))
From: Ted Krovetz <ted@krovetz.net>
In-Reply-To: <CAL9PXLwh8+pYVXwByD1Q0gVGO4=SkSyLTEowH6BqySTAB7mO7Q@mail.gmail.com>
Date: Tue, 06 Aug 2013 09:20:32 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <C5653E7F-D187-4F8D-AC2E-9B182BB98954@krovetz.net>
References: <CAL9PXLySuS1gn8YisobYrbEnNpxJuYPbKB0qtkCOMnb+m90Jjg@mail.gmail.com> <CADi0yUNPENmF9G=oiteRuZ3tXn4JFMOEuMsnD9Ean6arjWveKw@mail.gmail.com> <23D5606B-9225-4428-99AA-EC66C93D4088@krovetz.net> <CAL9PXLxhPh=+uaac_+oWJsd7ePkY-47sfZGDRs6yUJouxrxWfQ@mail.gmail.com> <CAL9PXLwh8+pYVXwByD1Q0gVGO4=SkSyLTEowH6BqySTAB7mO7Q@mail.gmail.com>
To: Adam Langley <agl@google.com>
X-Mailer: Apple Mail (2.1508)
X-Mailman-Approved-At: Sat, 10 Aug 2013 11:29:03 -0700
Cc: "tls@ietf.org" <tls@ietf.org>
Subject: Re: [TLS] Salsa20 and Poly1305 in TLS
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/tls>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 06 Aug 2013 16:20:58 -0000
Adam, Thanks a lot for taking the time to do these tests. > On a Cortex-A8 (specifically a Galaxy Nexus) using Linaro GCC 4.7: I'm a bozo. When I gave you the VMAC code using ARM intrinsics I should have explicitly reminded you to enable NEON when compiling: gcc -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=hard On a modern ARM, you should always use these settings so that your compiler uses the NEON unit when possible. -Ted
- Re: [TLS] Salsa20 and Poly1305 in TLS Rene Struik
- Re: [TLS] Salsa20 and Poly1305 in TLS Nick Mathewson
- Re: [TLS] Salsa20 and Poly1305 in TLS Ted Krovetz
- [TLS] Salsa20 and Poly1305 in TLS Adam Langley
- Re: [TLS] Salsa20 and Poly1305 in TLS Nico Williams
- Re: [TLS] Salsa20 and Poly1305 in TLS Nikos Mavrogiannopoulos
- Re: [TLS] Salsa20 and Poly1305 in TLS Ben Laurie
- Re: [TLS] Salsa20 and Poly1305 in TLS Adam Langley
- Re: [TLS] Salsa20 and Poly1305 in TLS Adam Langley
- Re: [TLS] Salsa20 and Poly1305 in TLS Geoffrey Keating
- Re: [TLS] Salsa20 and Poly1305 in TLS Adam Langley
- Re: [TLS] Salsa20 and Poly1305 in TLS Adam Langley
- Re: [TLS] Salsa20 and Poly1305 in TLS Adam Langley
- Re: [TLS] Salsa20 and Poly1305 in TLS Ben Laurie
- Re: [TLS] Salsa20 and Poly1305 in TLS Adam Langley
- Re: [TLS] Salsa20 and Poly1305 in TLS Ted Krovetz
- Re: [TLS] Salsa20 and Poly1305 in TLS Simon Josefsson
- Re: [TLS] Salsa20 and Poly1305 in TLS Blumenthal, Uri - 0558 - MITLL
- Re: [TLS] Salsa20 and Poly1305 in TLS Ted Krovetz