From cfrg-bounces@ietf.org  Wed Jan  5 03:24:53 2005
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id DAA11721
	for <cfrg-web-archive@ietf.org>; Wed, 5 Jan 2005 03:24:53 -0500 (EST)
Received: from megatron.ietf.org ([132.151.6.71])
	by ietf-mx.ietf.org with esmtp (Exim 4.33)
	id 1Cm6fv-0006Bb-3Q
	for cfrg-web-archive@ietf.org; Wed, 05 Jan 2005 03:37:53 -0500
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1Cm6Rg-0003mP-G8; Wed, 05 Jan 2005 03:23:08 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1Cm6Lu-0002Dt-IA
	for cfrg@megatron.ietf.org; Wed, 05 Jan 2005 03:17:10 -0500
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id DAA10525
	for <cfrg@ietf.org>; Wed, 5 Jan 2005 03:17:07 -0500 (EST)
Received: from web15301.mail.cnb.yahoo.com ([202.43.216.176]
	helo=web15301.mail.bjs.yahoo.com)
	by ietf-mx.ietf.org with smtp (Exim 4.33) id 1Cm6WS-0005qf-Gc
	for cfrg@ietf.org; Wed, 05 Jan 2005 03:28:10 -0500
Message-ID: <20050105081426.20342.qmail@web15301.mail.bjs.yahoo.com>
Received: from [219.150.142.155] by web15301.mail.cnb.yahoo.com via HTTP;
	Wed, 05 Jan 2005 16:14:26 CST
Date: Wed, 5 Jan 2005 16:14:26 +0800 (CST)
From: Carol Chang <carol_chang8009@yahoo.com.cn>
To: cfrg@ietf.org
MIME-Version: 1.0
X-Spam-Score: 4.3 (++++)
X-Scan-Signature: cab78e1e39c4b328567edb48482b6a69
Subject: [Cfrg] Looking forward to cooperate with you----Our company sell
	IPphone, ATA 
X-BeenThere: cfrg@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:cfrg@ietf.org>
List-Help: <mailto:cfrg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0323230275=="
Sender: cfrg-bounces@ietf.org
Errors-To: cfrg-bounces@ietf.org
X-Spam-Score: 4.3 (++++)
X-Scan-Signature: 10d3e4e3c32e363f129e380e644649be

--===============0323230275==
Content-Type: multipart/alternative; boundary="0-1690533337-1104912866=:17247"

--0-1690533337-1104912866=:17247
Content-Type: text/plain; charset=gb2312
X-MIME-Autoconverted: from 8bit to quoted-printable by ietf.org id DAA10525
Content-Transfer-Encoding: quoted-printable

HI,All Friends,
    We take the liberty of writing to you with a view to building bussine=
ss relations with your firm.    We are a manufacturer of IP PHONE,ATA at =
china, Our ip phone=A3=ACATA --YWH100,YWH10 and YGW10 series are well kno=
wn for its first-quality,good voice ,high stability ,low cost.=20
Now we have CE and FCC ,at the same time we own export liscense!=20
If you want to know more informations in details, please contact with us =
or visit our website:=20
http://www.yntx.com
=20
=20
Wishing you the best of business.
Carol
=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
Contact person:Carol=20
MSN:Carol_chang8009@hotmail.com=20
Email:ync@vip.163.com=20
YahooID:Carol_chang8009=20
ICQ:200931135=20
Tel:8603717657239=20
http://www.yntx.com
Zhengzhou Yuneng Communication Equipment Co.Ltd.
=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=20





---------------------------------
Do You Yahoo!?
=D7=A2=B2=E1=CA=C0=BD=E7=D2=BB=C1=F7=C6=B7=D6=CA=B5=C4=D1=C5=BB=A2=C3=E2=B7=
=D1=B5=E7=D3=CA
--0-1690533337-1104912866=:17247
Content-Type: text/html; charset=gb2312
X-MIME-Autoconverted: from 8bit to quoted-printable by ietf.org id DAA10525
Content-Transfer-Encoding: quoted-printable

<DIV>HI,All Friends,</DIV>
<DIV>&nbsp;&nbsp;&nbsp; We take the liberty of writing to you with a view=
 to building bussiness relations with your firm.
<DIV><FONT size=3D2><FONT size=3D2>&nbsp;&nbsp; &nbsp;We are&nbsp;a manuf=
acturer of IP PHONE,ATA at china, Our ip phone=A3=ACATA --YWH100,YWH10 an=
d YGW10 series are well known for its first-quality,good voice ,high stab=
ility ,low cost. <BR>Now we have CE  and FCC ,at the same time we own exp=
ort liscense! <BR>If you want to know more informations in details, pleas=
e contact with&nbsp;us or visit our website: <BR><A href=3D"http://www.yn=
tx.com">http://www.yntx.com</A></FONT></DIV>
<DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>Wishing you the best of business.<BR>Carol<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<BR>Contact person:Carol <BR>MSN:Carol_chang8009@hotmail.com <BR>Em=
ail:ync@vip.163.com <BR>YahooID:Carol_chang8009 <BR>ICQ:200931135 <BR>Tel=
:8603717657239 <BR><A href=3D"http://www.yntx.com">http://www.yntx.com</A=
><BR>Zhengzhou Yuneng Communication Equipment Co.Ltd.<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=3D=3D=3D </FONT></DIV></FONT></DIV></DIV><p><br><hr size=3D1>
<b>Do You Yahoo!?</b><br>
<a href=3D"http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.co=
m/" target=3Dblank>=D7=A2=B2=E1=CA=C0=BD=E7=D2=BB=C1=F7=C6=B7=D6=CA=B5=C4=
=D1=C5=BB=A2=C3=E2=B7=D1=B5=E7=D3=CA</a>
--0-1690533337-1104912866=:17247--


--===============0323230275==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

_______________________________________________
Cfrg mailing list
Cfrg@ietf.org
https://www1.ietf.org/mailman/listinfo/cfrg

--===============0323230275==--



From cfrg-bounces@ietf.org  Fri Jan 14 02:06:52 2005
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id CAA10705
	for <cfrg-web-archive@ietf.org>; Fri, 14 Jan 2005 02:06:52 -0500 (EST)
Received: from megatron.ietf.org ([132.151.6.71])
	by ietf-mx.ietf.org with esmtp (Exim 4.33)
	id 1CpLmC-0004Ab-UF
	for cfrg-web-archive@ietf.org; Fri, 14 Jan 2005 02:21:46 -0500
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1CpLVz-0004zh-CX; Fri, 14 Jan 2005 02:04:59 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1CpLPX-0001Ng-4r
	for cfrg@megatron.ietf.org; Fri, 14 Jan 2005 01:58:19 -0500
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id BAA03588
	for <cfrg@ietf.org>; Fri, 14 Jan 2005 01:58:13 -0500 (EST)
Received: from stoneport.math.uic.edu ([131.193.178.160])
	by ietf-mx.ietf.org with smtp (Exim 4.33) id 1CpLdq-00040b-3z
	for cfrg@ietf.org; Fri, 14 Jan 2005 02:13:06 -0500
Received: (qmail 57337 invoked by uid 1016); 14 Jan 2005 06:58:36 -0000
Date: 14 Jan 2005 06:58:36 -0000
Message-ID: <20050114065836.57336.qmail@cr.yp.to>
Automatic-Legal-Notices: See http://cr.yp.to/mailcopyright.html.
From: "D. J. Bernstein" <djb@cr.yp.to>
To: saag@mit.edu, cfrg@ietf.org
Subject: Re: [Cfrg] Re: universal MACs
References: <151A63B4E33B4F49896AC6D1BA788A6E15C57F@EXCHVS2.louisville.stortek.com>
	<20040926155422.1F55F1AE84@berkshire.research.att.com>
	<20040926195031.59299.qmail@cr.yp.to>
	<B382BA62-28D7-11D9-8709-0003935495EC@cisco.com>
	<20041102205520.89918.qmail@cr.yp.to>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 1ac7cc0a4cd376402b85bc1961a86ac2
X-BeenThere: cfrg@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:cfrg@ietf.org>
List-Help: <mailto:cfrg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@ietf.org?subject=subscribe>
Sender: cfrg-bounces@ietf.org
Errors-To: cfrg-bounces@ietf.org
X-Spam-Score: 0.0 (/)
X-Scan-Signature: d6b246023072368de71562c0ab503126

I wrote, a couple of months ago:
> I've just posted http://cr.yp.to/papers.html#poly1305, introducing and
> analyzing Poly1305-AES, a 128-bit MAC.

As a followup: The Poly1305-AES paper will appear in the Fast Software
Encryption 2005 proceedings. Today I've posted http://cr.yp.to/mac.html
with C API details, a reference implementation, and some tests.

The main piece missing from the web page at this point is my optimized
implementation; stay tuned. In the meantime, I'll be happy to answer any
questions that people have about security, the API, protocol use, etc.

---D. J. Bernstein, Associate Professor, Department of Mathematics,
Statistics, and Computer Science, University of Illinois at Chicago

_______________________________________________
Cfrg mailing list
Cfrg@ietf.org
https://www1.ietf.org/mailman/listinfo/cfrg


From cfrg-bounces@ietf.org  Fri Jan 14 12:58:32 2005
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA01679
	for <cfrg-web-archive@ietf.org>; Fri, 14 Jan 2005 12:58:32 -0500 (EST)
Received: from megatron.ietf.org ([132.151.6.71])
	by ietf-mx.ietf.org with esmtp (Exim 4.33)
	id 1CpVwy-00006m-FJ
	for cfrg-web-archive@ietf.org; Fri, 14 Jan 2005 13:13:33 -0500
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1CpVcw-0003c4-1N; Fri, 14 Jan 2005 12:52:50 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1CpVQp-00006J-D7
	for cfrg@megatron.ietf.org; Fri, 14 Jan 2005 12:40:19 -0500
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA00799
	for <cfrg@ietf.org>; Fri, 14 Jan 2005 12:40:16 -0500 (EST)
Received: from mail1.international.gc.ca ([198.103.104.92]
	helo=mail1.dfait-maeci.gc.ca)
	by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1CpVfI-0008DW-M5
	for cfrg@ietf.org; Fri, 14 Jan 2005 12:55:17 -0500
Received: from mail pickup service by mail1.dfait-maeci.gc.ca with Microsoft
	SMTPSVC; Fri, 14 Jan 2005 12:28:35 -0500
Received: from jis.mit.edu ([18.7.21.84]) by mail2.dfait-maeci.gc.ca with
	Microsoft SMTPSVC(6.0.3790.211); Fri, 14 Jan 2005 02:02:52 -0500
Received: from jis.mit.edu (localhost [127.0.0.1])
	by jis.mit.edu (8.12.8p2/8.12.8) with ESMTP id j0E6wI5m006972;
	Fri, 14 Jan 2005 01:58:26 -0500 (EST)
Received: from fort-point-station.mit.edu (FORT-POINT-STATION.MIT.EDU
	[18.7.7.76])
	by jis.mit.edu (8.12.8p2/8.12.8) with ESMTP id j0E6wE5j006968
	for <saag@jis.mit.edu>; Fri, 14 Jan 2005 01:58:14 -0500 (EST)
Received: from stoneport.math.uic.edu (stoneport.math.uic.edu
	[131.193.178.160])j0E6wC3J006149
	for <saag@mit.edu>; Fri, 14 Jan 2005 01:58:12 -0500 (EST)
Received: (qmail 57337 invoked by uid 1016); 14 Jan 2005 06:58:36 -0000
Date: 14 Jan 2005 06:58:36 -0000
Message-ID: <20050114065836.57336.qmail@cr.yp.to>
Automatic-Legal-Notices: See http://cr.yp.to/mailcopyright.html.
From: "D. J. Bernstein" <djb@cr.yp.to>
To: saag@mit.edu, cfrg@ietf.org
References: <151A63B4E33B4F49896AC6D1BA788A6E15C57F@EXCHVS2.louisville.stortek.com>
	<20040926155422.1F55F1AE84@berkshire.research.att.com>
	<20040926195031.59299.qmail@cr.yp.to>
	<B382BA62-28D7-11D9-8709-0003935495EC@cisco.com>
	<20041102205520.89918.qmail@cr.yp.to>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Spam-Score: -4.9
X-Spam-Flag: NO
X-Scanned-By: MIMEDefang 2.42
Spam-Alum-Prob: 0.000001
Spam-Alum-Prob: 0.000000
Spam-Alum-Time: 0.162557
Spam-Alum-Time: 0.874130
Subject: [saag] Re: [Cfrg] Re: universal MACs
X-BeenThere: saag@mit.edu
X-Mailman-Version: 2.1
Precedence: list
List-Archive: <http://jis.mit.edu/pipermail/saag>
X-OriginalArrivalTime: 14 Jan 2005 07:02:54.0140 (UTC)
	FILETIME=[11ABBFC0:01C4FA07]
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 856eb5f76e7a34990d1d457d8e8e5b7f
X-BeenThere: cfrg@ietf.org
List-Id: Crypto Forum Research Group <cfrg.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:cfrg@ietf.org>
List-Help: <mailto:cfrg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@ietf.org?subject=subscribe>
Sender: cfrg-bounces@ietf.org
Errors-To: cfrg-bounces@ietf.org
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 7655788c23eb79e336f5f8ba8bce7906

I wrote, a couple of months ago:
> I've just posted http://cr.yp.to/papers.html#poly1305, introducing and
> analyzing Poly1305-AES, a 128-bit MAC.

As a followup: The Poly1305-AES paper will appear in the Fast Software
Encryption 2005 proceedings. Today I've posted http://cr.yp.to/mac.html
with C API details, a reference implementation, and some tests.

The main piece missing from the web page at this point is my optimized
implementation; stay tuned. In the meantime, I'll be happy to answer any
questions that people have about security, the API, protocol use, etc.

---D. J. Bernstein, Associate Professor, Department of Mathematics,
Statistics, and Computer Science, University of Illinois at Chicago
_______________________________________________
saag mailing list
saag@mit.edu
https://jis.mit.edu/mailman/listinfo/saag

_______________________________________________
Cfrg mailing list
Cfrg@ietf.org
https://www1.ietf.org/mailman/listinfo/cfrg


From cfrg-bounces@ietf.org  Mon Jan 17 10:21:14 2005
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA13670
	for <cfrg-web-archive@ietf.org>; Mon, 17 Jan 2005 10:21:14 -0500 (EST)
Received: from megatron.ietf.org ([132.151.6.71])
	by ietf-mx.ietf.org with esmtp (Exim 4.33)
	id 1CqYvz-00072F-9X
	for cfrg-web-archive@ietf.org; Mon, 17 Jan 2005 10:36:51 -0500
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1CqYfH-0001Op-Uo; Mon, 17 Jan 2005 10:19:35 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1CqYdT-0000zI-B0
	for cfrg@megatron.ietf.org; Mon, 17 Jan 2005 10:17:43 -0500
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA13229
	for <cfrg@ietf.org>; Mon, 17 Jan 2005 10:17:40 -0500 (EST)
Received: from sj-iport-2-in.cisco.com ([171.71.176.71]
	helo=sj-iport-2.cisco.com) by ietf-mx.ietf.org with esmtp (Exim 4.33)
	id 1CqYsX-0006wM-9l
	for cfrg@ietf.org; Mon, 17 Jan 2005 10:33:17 -0500
Received: from sj-core-5.cisco.com (171.71.177.238)
	by sj-iport-2.cisco.com with ESMTP; 17 Jan 2005 07:21:22 -0800
Received: from mira-sjc5-b.cisco.com (IDENT:mirapoint@mira-sjc5-b.cisco.com
	[171.71.163.14])
	by sj-core-5.cisco.com (8.12.10/8.12.6) with ESMTP id j0HFH8jw014135;
	Mon, 17 Jan 2005 07:17:09 -0800 (PST)
Received: from [10.32.254.210] ([10.32.254.210])
	by mira-sjc5-b.cisco.com (MOS 3.4.5-GR) with SMTP id BAR80162;
	Mon, 17 Jan 2005 07:17:04 -0800 (PST)
In-Reply-To: <20050114065836.57336.qmail@cr.yp.to>
References: <151A63B4E33B4F49896AC6D1BA788A6E15C57F@EXCHVS2.louisville.stortek.com>
	<20040926155422.1F55F1AE84@berkshire.research.att.com>
	<20040926195031.59299.qmail@cr.yp.to>
	<B382BA62-28D7-11D9-8709-0003935495EC@cisco.com>
	<20041102205520.89918.qmail@cr.yp.to>
	<20050114065836.57336.qmail@cr.yp.to>
Mime-Version: 1.0 (Apple Message framework v619)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <D8DADB81-689A-11D9-A10E-0003935495EC@cisco.com>
Content-Transfer-Encoding: 7bit
From: "David A. McGrew" <mcgrew@cisco.com>
Subject: Re: [Cfrg] Re: universal MACs
Date: Mon, 17 Jan 2005 07:17:05 -0800
To: "D. J. Bernstein" <djb@cr.yp.to>
X-Mailer: Apple Mail (2.619)
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 9ed51c9d1356100bce94f1ae4ec616a9
Content-Transfer-Encoding: 7bit
Cc: "'cfrg@ietf.org'" <cfrg@ietf.org>
X-BeenThere: cfrg@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:cfrg@ietf.org>
List-Help: <mailto:cfrg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@ietf.org?subject=subscribe>
Sender: cfrg-bounces@ietf.org
Errors-To: cfrg-bounces@ietf.org
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 769a46790fb42fbb0b0cc700c82f7081
Content-Transfer-Encoding: 7bit

Dan,

thanks for posting the links to the new info.  It is interesting work.  
I encourage you to consider writing up an internet draft on this MAC 
and then moving it to an informational RFC if there is interest; my 
guess is that there will be plenty of interest.  There was discussion 
about generating an RFC for UMAC a while back, which shows the interest 
in this area (there was a UMAC draft, but never an RFC, nor were test 
vectors published IIRC).

For others on the list: anyone else interested in implementing the MAC? 
  It would be great to hear a 'second' on the test vectors, and it would 
be interesting to hear about implementation experience in other 
environments.  In particular, it will be useful to hear how the hash 
performs on platforms which lack fast floating-point multiplies, but 
which have a decent integer-based multiply (see Section 5 of "The 
Poly1305-AES message-authentication code").

David

On Jan 13, 2005, at 10:58 PM, D. J. Bernstein wrote:

> I wrote, a couple of months ago:
>> I've just posted http://cr.yp.to/papers.html#poly1305, introducing and
>> analyzing Poly1305-AES, a 128-bit MAC.
>
> As a followup: The Poly1305-AES paper will appear in the Fast Software
> Encryption 2005 proceedings. Today I've posted http://cr.yp.to/mac.html
> with C API details, a reference implementation, and some tests.
>
> The main piece missing from the web page at this point is my optimized
> implementation; stay tuned. In the meantime, I'll be happy to answer 
> any
> questions that people have about security, the API, protocol use, etc.
>
> ---D. J. Bernstein, Associate Professor, Department of Mathematics,
> Statistics, and Computer Science, University of Illinois at Chicago
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@ietf.org
> https://www1.ietf.org/mailman/listinfo/cfrg
>

_______________________________________________
Cfrg mailing list
Cfrg@ietf.org
https://www1.ietf.org/mailman/listinfo/cfrg


From cfrg-bounces@ietf.org  Mon Jan 17 12:29:36 2005
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA26408
	for <cfrg-web-archive@ietf.org>; Mon, 17 Jan 2005 12:29:36 -0500 (EST)
Received: from megatron.ietf.org ([132.151.6.71])
	by ietf-mx.ietf.org with esmtp (Exim 4.33)
	id 1CqawB-0001n4-1m
	for cfrg-web-archive@ietf.org; Mon, 17 Jan 2005 12:45:12 -0500
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1CqaeX-0003m1-6c; Mon, 17 Jan 2005 12:26:57 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1Cqab9-00030g-El
	for cfrg@megatron.ietf.org; Mon, 17 Jan 2005 12:23:27 -0500
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA25259
	for <cfrg@ietf.org>; Mon, 17 Jan 2005 12:23:23 -0500 (EST)
Received: from ylpvm01-ext.prodigy.net ([207.115.57.32]
	helo=ylpvm01.prodigy.net) by ietf-mx.ietf.org with esmtp (Exim 4.33)
	id 1CqaqD-0001YH-Vg
	for cfrg@ietf.org; Mon, 17 Jan 2005 12:39:03 -0500
Received: from [192.168.0.100] (adsl-67-125-13-19.dsl.scrm01.pacbell.net
	[67.125.13.19])
	by ylpvm01.prodigy.net (8.12.10 outbound/8.12.10) with ESMTP id
	j0HHNOvE019356 for <cfrg@ietf.org>; Mon, 17 Jan 2005 12:23:24 -0500
Mime-Version: 1.0 (Apple Message framework v619)
Content-Transfer-Encoding: 7bit
Message-Id: <7C59D4BC-68AC-11D9-AD57-000D93AE7CA2@csus.edu>
Content-Type: text/plain; charset=US-ASCII; format=flowed
To: cfrg@ietf.org
From: Ted Krovetz <tdk@csus.edu>
Date: Mon, 17 Jan 2005 09:23:21 -0800
X-Mailer: Apple Mail (2.619)
X-Spam-Score: 0.1 (/)
X-Scan-Signature: 79899194edc4f33a41f49410777972f8
Content-Transfer-Encoding: 7bit
Subject: [Cfrg] Re: universal MACs
X-BeenThere: cfrg@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:cfrg@ietf.org>
List-Help: <mailto:cfrg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@ietf.org?subject=subscribe>
Sender: cfrg-bounces@ietf.org
Errors-To: cfrg-bounces@ietf.org
X-Spam-Score: 0.1 (/)
X-Scan-Signature: 9182cfff02fae4f1b6e9349e01d62f32
Content-Transfer-Encoding: 7bit

Hello,

> there was a UMAC draft, but never an RFC, nor were test
> vectors published IIRC

The UMAC draft has been simplified and was resubmitted in October with 
test vectors. We plan on moving it to an Informational RFC when its 
draft status expires. The draft can be acquired through the IETF or at

   http://www.cs.ucdavis.edu/~rogaway/umac/

UMAC, in many situations, is the fastest fully-developed MAC. But, in 
many other situations, these fast and compact MAC's of Bernstein's may 
be more appropriate. I recommend having a close look at both.

Cheers,
Ted Krovetz
Computer Science Department
California State University, Sacramento


_______________________________________________
Cfrg mailing list
Cfrg@ietf.org
https://www1.ietf.org/mailman/listinfo/cfrg


From cfrg-bounces@ietf.org  Mon Jan 17 13:25:35 2005
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA01809
	for <cfrg-web-archive@ietf.org>; Mon, 17 Jan 2005 13:25:34 -0500 (EST)
Received: from megatron.ietf.org ([132.151.6.71])
	by ietf-mx.ietf.org with esmtp (Exim 4.33)
	id 1CqboQ-0003Kb-Ol
	for cfrg-web-archive@ietf.org; Mon, 17 Jan 2005 13:41:14 -0500
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1CqbUu-0004mO-MN; Mon, 17 Jan 2005 13:21:04 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1CqbQ7-00047Z-HN
	for cfrg@megatron.ietf.org; Mon, 17 Jan 2005 13:16:07 -0500
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA01114
	for <cfrg@ietf.org>; Mon, 17 Jan 2005 13:16:04 -0500 (EST)
Received: from sj-iport-3-in.cisco.com ([171.71.176.72]
	helo=sj-iport-3.cisco.com) by ietf-mx.ietf.org with esmtp (Exim 4.33)
	id 1CqbfC-000363-Vs
	for cfrg@ietf.org; Mon, 17 Jan 2005 13:31:44 -0500
Received: from sj-core-1.cisco.com (171.71.177.237)
	by sj-iport-3.cisco.com with ESMTP; 17 Jan 2005 11:22:47 +0000
X-BrightmailFiltered: true
X-Brightmail-Tracker: AAAAAA==
Received: from mira-sjc5-b.cisco.com (IDENT:mirapoint@mira-sjc5-b.cisco.com
	[171.71.163.14])
	by sj-core-1.cisco.com (8.12.10/8.12.6) with ESMTP id j0HIFWvl015191;
	Mon, 17 Jan 2005 10:15:32 -0800 (PST)
Received: from [10.32.254.210] ([10.32.254.210])
	by mira-sjc5-b.cisco.com (MOS 3.4.5-GR) with SMTP id BAR93504;
	Mon, 17 Jan 2005 10:15:31 -0800 (PST)
In-Reply-To: <7C59D4BC-68AC-11D9-AD57-000D93AE7CA2@csus.edu>
References: <7C59D4BC-68AC-11D9-AD57-000D93AE7CA2@csus.edu>
Mime-Version: 1.0 (Apple Message framework v619)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <C6D3F68B-68B3-11D9-A10E-0003935495EC@cisco.com>
Content-Transfer-Encoding: 7bit
From: "David A. McGrew" <mcgrew@cisco.com>
Subject: Re: [Cfrg] Re: universal MACs
Date: Mon, 17 Jan 2005 10:15:32 -0800
To: Ted Krovetz <tdk@csus.edu>
X-Mailer: Apple Mail (2.619)
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 69a74e02bbee44ab4f8eafdbcedd94a1
Content-Transfer-Encoding: 7bit
Cc: cfrg@ietf.org
X-BeenThere: cfrg@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:cfrg@ietf.org>
List-Help: <mailto:cfrg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@ietf.org?subject=subscribe>
Sender: cfrg-bounces@ietf.org
Errors-To: cfrg-bounces@ietf.org
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 9ed51c9d1356100bce94f1ae4ec616a9
Content-Transfer-Encoding: 7bit

Ted,

thanks for posting the link.   We should solicit comments and set a 
target date, to make your job as lead author easier.

For other CFRGers: the test vectors are in the appendix of the new 
version.

David

On Jan 17, 2005, at 9:23 AM, Ted Krovetz wrote:

> Hello,
>
>> there was a UMAC draft, but never an RFC, nor were test
>> vectors published IIRC
>
> The UMAC draft has been simplified and was resubmitted in October with 
> test vectors. We plan on moving it to an Informational RFC when its 
> draft status expires. The draft can be acquired through the IETF or at
>
>   http://www.cs.ucdavis.edu/~rogaway/umac/
>
> UMAC, in many situations, is the fastest fully-developed MAC. But, in 
> many other situations, these fast and compact MAC's of Bernstein's may 
> be more appropriate. I recommend having a close look at both.
>
> Cheers,
> Ted Krovetz
> Computer Science Department
> California State University, Sacramento
>
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@ietf.org
> https://www1.ietf.org/mailman/listinfo/cfrg
>

_______________________________________________
Cfrg mailing list
Cfrg@ietf.org
https://www1.ietf.org/mailman/listinfo/cfrg


From cfrg-bounces@ietf.org  Tue Jan 18 13:48:38 2005
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA19265
	for <cfrg-web-archive@ietf.org>; Tue, 18 Jan 2005 13:48:37 -0500 (EST)
Received: from megatron.ietf.org ([132.151.6.71])
	by ietf-mx.ietf.org with esmtp (Exim 4.33)
	id 1CqyeS-0008AJ-T1
	for cfrg-web-archive@ietf.org; Tue, 18 Jan 2005 14:04:29 -0500
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1CqyLX-0007U2-U9; Tue, 18 Jan 2005 13:44:55 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1CqyKd-0007IK-4a
	for cfrg@megatron.ietf.org; Tue, 18 Jan 2005 13:43:59 -0500
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA18838
	for <cfrg@ietf.org>; Tue, 18 Jan 2005 13:43:57 -0500 (EST)
Received: from stoneport.math.uic.edu ([131.193.178.160])
	by ietf-mx.ietf.org with smtp (Exim 4.33) id 1CqyZv-00081a-B0
	for cfrg@ietf.org; Tue, 18 Jan 2005 13:59:48 -0500
Received: (qmail 96576 invoked by uid 1016); 18 Jan 2005 18:44:18 -0000
Date: 18 Jan 2005 18:44:18 -0000
Message-ID: <20050118184418.96575.qmail@cr.yp.to>
Automatic-Legal-Notices: See http://cr.yp.to/mailcopyright.html.
From: "D. J. Bernstein" <djb@cr.yp.to>
To: cfrg@ietf.org
Subject: Re: [Cfrg] Re: universal MACs
References: <7C59D4BC-68AC-11D9-AD57-000D93AE7CA2@csus.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 7aafa0432175920a4b3e118e16c5cb64
X-BeenThere: cfrg@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:cfrg@ietf.org>
List-Help: <mailto:cfrg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@ietf.org?subject=subscribe>
Sender: cfrg-bounces@ietf.org
Errors-To: cfrg-bounces@ietf.org
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 0a7aa2e6e558383d84476dc338324fab

The UMAC spec describes the security of UMAC-64 as follows: ``If an
attacker could try out 2^60 MACs, then the attacker would probably get
one right.''

But the normal situation for 60-bit Wegman-Carter MACs---including
UMAC-64, presumably---is that an attacker who tries out 2^60 MACs has a
good chance of seizing complete control and producing more than 2^59
selectively forged messages. Similarly, an attacker who tries out 2^40
MACs has roughly a one-in-a-million chance of producing billions of
forged messages.

The reason that cryptographers normally don't bother counting forgeries
after the first one is that cryptographers normally choose parameter
sizes to prevent the first forgery. There's a big difference in security
between 60 bits and 100 bits!

Furthermore, the UMAC security analysis ignores an issue raised by Shoup
in 1996. I'll assume (without having checked) that the UMAC proof is
correct, i.e., that the hash collision probability is under 2^60. What
this means for security is that the attacker's chance of success is at
most D/2^60 + delta, where D is the number of forgery attempts and delta
is the attacker's chance of distinguishing AES from a uniform random
_function_. The problem is that AES was actually designed to be
indistinguishable from a uniform random _permutation_. In other words,
if AES is secure, then delta is B(B-1)/2^129, where B is the number of
blocks fed through AES. This number B can be rather large!

For example, say the legitimate sender sends 2^50 messages and the
attacker tries _one_ forgery. The UMAC security analysis then says that,
if AES is secure, the chance that the forgery succeeds is at most about
1/2^39. This is better than no guarantee at all, of course, but it
doesn't justify the assertion that ``an adversary ... can do no better
than about 1/2^60.'' 

As one final security note, I'm bothered by the time variability of the
POLY(64) algorithm inside UMAC. The attacker will be able to detect,
from timings, whether L1-Hash has produced several consecutive 0xff
bytes; this won't occur often by chance, but figuring out whether the
attacker could trigger it deliberately would require a new analysis of
the details of the L1-Hash function.

Suggested fixes to UMAC: stop promoting MACs at a breakable security
level, notably UMAC-32 and UMAC-64; make whatever MAC changes are
necessary to prove a permutation-based security bound; and, internally,
switch from POLY to Poly1305. (The times for my fast Poly1305 software
are independent of the input.)

Once UMAC has caught up to the state of the art security-wise, we should
work together on comparative benchmarks of UMAC and Poly1305-AES for
various computers, various packet sizes, various data alignments,
various numbers of simultaneous keys, etc.

---D. J. Bernstein, Associate Professor, Department of Mathematics,
Statistics, and Computer Science, University of Illinois at Chicago

_______________________________________________
Cfrg mailing list
Cfrg@ietf.org
https://www1.ietf.org/mailman/listinfo/cfrg


From cfrg-bounces@ietf.org  Tue Jan 18 22:23:47 2005
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA04713
	for <cfrg-web-archive@ietf.org>; Tue, 18 Jan 2005 22:23:47 -0500 (EST)
Received: from megatron.ietf.org ([132.151.6.71])
	by ietf-mx.ietf.org with esmtp (Exim 4.33)
	id 1Cr6h6-0005Ks-7H
	for cfrg-web-archive@ietf.org; Tue, 18 Jan 2005 22:39:44 -0500
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1Cr6QP-0003O2-QJ; Tue, 18 Jan 2005 22:22:29 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1Cr6Nj-0002bT-AD
	for cfrg@megatron.ietf.org; Tue, 18 Jan 2005 22:19:43 -0500
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA04330
	for <cfrg@ietf.org>; Tue, 18 Jan 2005 22:19:40 -0500 (EST)
Received: from biscayne-one-station.mit.edu ([18.7.7.80])
	by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1Cr6d6-0005EA-Fc
	for cfrg@ietf.org; Tue, 18 Jan 2005 22:35:37 -0500
Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103])
	by biscayne-one-station.mit.edu (8.12.4/8.9.2) with ESMTP id
	j0J3IcxD029945; Tue, 18 Jan 2005 22:18:38 -0500 (EST)
Received: from [18.18.1.76] (KEN-WIRELESS.MIT.EDU [18.18.1.76])
	(authenticated bits=0) (User authenticated as raeburn@ATHENA.MIT.EDU)
	by outgoing.mit.edu (8.12.4/8.12.4) with ESMTP id j0J3Ia1x019202
	(version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT);
	Tue, 18 Jan 2005 22:18:37 -0500 (EST)
In-Reply-To: <D8DADB81-689A-11D9-A10E-0003935495EC@cisco.com>
References: <151A63B4E33B4F49896AC6D1BA788A6E15C57F@EXCHVS2.louisville.stortek.com>
	<20040926155422.1F55F1AE84@berkshire.research.att.com>
	<20040926195031.59299.qmail@cr.yp.to>
	<B382BA62-28D7-11D9-8709-0003935495EC@cisco.com>
	<20041102205520.89918.qmail@cr.yp.to>
	<20050114065836.57336.qmail@cr.yp.to>
	<D8DADB81-689A-11D9-A10E-0003935495EC@cisco.com>
Mime-Version: 1.0 (Apple Message framework v619)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <CECE1E9E-69C8-11D9-9F67-000A95909EE2@mit.edu>
From: Ken Raeburn <raeburn@MIT.EDU>
Subject: Re: [Cfrg] Re: universal MACs
Date: Tue, 18 Jan 2005 22:18:36 -0500
To: "David A. McGrew" <mcgrew@cisco.com>
X-Mailer: Apple Mail (2.619)
X-Spam-Score: -4.9
X-Spam-Flag: NO
X-Scanned-By: MIMEDefang 2.42
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 79899194edc4f33a41f49410777972f8
Content-Transfer-Encoding: 7bit
Cc: "'cfrg@ietf.org'" <cfrg@ietf.org>, Ken Raeburn <raeburn@MIT.EDU>,
        "D. J. Bernstein" <djb@cr.yp.to>
X-BeenThere: cfrg@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:cfrg@ietf.org>
List-Help: <mailto:cfrg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@ietf.org?subject=subscribe>
Sender: cfrg-bounces@ietf.org
Errors-To: cfrg-bounces@ietf.org
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 9182cfff02fae4f1b6e9349e01d62f32
Content-Transfer-Encoding: 7bit

On Jan 17, 2005, at 10:17, David A. McGrew wrote:
> For others on the list: anyone else interested in implementing the 
> MAC?  It would be great to hear a 'second' on the test vectors, and it 
> would be interesting to hear about implementation experience in other 
> environments.  In particular, it will be useful to hear how the hash 
> performs on platforms which lack fast floating-point multiplies, but 
> which have a decent integer-based multiply (see Section 5 of "The 
> Poly1305-AES message-authentication code").

I got the same results from a Python implementation 
(www.mit.edu/~raeburn/poly1305aes.py) for the test cases in appendix A 
of the paper.

It's using the generic Python large-integer support, totally untuned 
for this specific application, and openssl's AES implementation via a 
small C module.  I doubt the performance numbers for this setup are 
going to be anything interesting. :-)

Ken


_______________________________________________
Cfrg mailing list
Cfrg@ietf.org
https://www1.ietf.org/mailman/listinfo/cfrg


From cfrg-bounces@ietf.org  Wed Jan 19 09:41:36 2005
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id JAA17037
	for <cfrg-web-archive@ietf.org>; Wed, 19 Jan 2005 09:41:36 -0500 (EST)
Received: from megatron.ietf.org ([132.151.6.71])
	by ietf-mx.ietf.org with esmtp (Exim 4.33)
	id 1CrHH8-000410-LJ
	for cfrg-web-archive@ietf.org; Wed, 19 Jan 2005 09:57:38 -0500
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1CrH0B-0005PX-0n; Wed, 19 Jan 2005 09:40:07 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1CrGvj-0004lU-03
	for cfrg@megatron.ietf.org; Wed, 19 Jan 2005 09:35:31 -0500
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id JAA16356
	for <cfrg@ietf.org>; Wed, 19 Jan 2005 09:35:28 -0500 (EST)
Received: from [192.38.9.169] (helo=mail-gw.cryptico.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1CrHB6-0003pO-Hb
	for cfrg@ietf.org; Wed, 19 Jan 2005 09:51:30 -0500
Subject: RE: [Cfrg] Re: universal MACs
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Wed, 19 Jan 2005 15:34:21 +0100
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
Message-ID: <B45C9898A5D8B643B7205C7A991F9E2F10EF1B@srv-01>
content-class: urn:content-classes:message
Thread-Topic: [Cfrg] Re: universal MACs
Thread-Index: AcT8qETfh0q16yL7QZuA+yMYm5DLHgBfnVvg
From: "Erik Zenner" <ez@cryptico.com>
To: <cfrg@ietf.org>
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 7655788c23eb79e336f5f8ba8bce7906
Content-Transfer-Encoding: quoted-printable
X-BeenThere: cfrg@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:cfrg@ietf.org>
List-Help: <mailto:cfrg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@ietf.org?subject=subscribe>
Sender: cfrg-bounces@ietf.org
Errors-To: cfrg-bounces@ietf.org
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 0bc60ec82efc80c84b8d02f4b0e4de22
Content-Transfer-Encoding: quoted-printable

Dear all,

> thanks for posting the links to the new info.  It is=20
> interesting work. =20
> I encourage you to consider writing up an internet draft on this MAC=20
> and then moving it to an informational RFC if there is interest; my=20
> guess is that there will be plenty of interest.

we have recently proposed another Wegman-Carter based MAC design, named
"Badger". Information is available from the IACR eprint server at
http://eprint.iacr.org/2004/319. As with UMAC and Poly1305, the
performance is very good, with very fast tagging available for short
messages (as relevant for e.g. TLS or IPSec).=20

Any comments are welcome!

Erik Zenner

--
Dr. Erik Zenner    Phone:  +45 39 17 96 06    Cryptico A/S
Cryptographer      Mobile: +45 60 77 95 41    Fruebjergvej 3
ez@cryptico.com    www.cryptico.com           DK 2100 Copenhagen
=20

_______________________________________________
Cfrg mailing list
Cfrg@ietf.org
https://www1.ietf.org/mailman/listinfo/cfrg


From cfrg-bounces@ietf.org  Wed Jan 19 13:40:02 2005
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA09395
	for <cfrg-web-archive@ietf.org>; Wed, 19 Jan 2005 13:40:02 -0500 (EST)
Received: from megatron.ietf.org ([132.151.6.71])
	by ietf-mx.ietf.org with esmtp (Exim 4.33)
	id 1CrKzr-0001wB-Q0
	for cfrg-web-archive@ietf.org; Wed, 19 Jan 2005 13:56:06 -0500
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1CrKgX-0002yd-1D; Wed, 19 Jan 2005 13:36:05 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1CrKeH-0002Nt-01
	for cfrg@megatron.ietf.org; Wed, 19 Jan 2005 13:33:45 -0500
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA08983
	for <cfrg@ietf.org>; Wed, 19 Jan 2005 13:33:41 -0500 (EST)
Received: from ylpvm01-ext.prodigy.net ([207.115.57.32]
	helo=ylpvm01.prodigy.net) by ietf-mx.ietf.org with esmtp (Exim 4.33)
	id 1CrKtl-0001kq-U2
	for cfrg@ietf.org; Wed, 19 Jan 2005 13:49:47 -0500
Received: from [192.168.0.100] (adsl-67-122-229-254.dsl.pltn13.pacbell.net
	[67.122.229.254])
	by ylpvm01.prodigy.net (8.12.10 outbound/8.12.10) with ESMTP id
	j0JIXbvE024408 for <cfrg@ietf.org>; Wed, 19 Jan 2005 13:33:37 -0500
Mime-Version: 1.0 (Apple Message framework v619)
Content-Transfer-Encoding: 7bit
Message-Id: <A0E80332-6A48-11D9-AACD-000D93AE7CA2@csus.edu>
Content-Type: text/plain; charset=US-ASCII; format=flowed
To: cfrg@ietf.org
From: Ted Krovetz <tdk@csus.edu>
Date: Wed, 19 Jan 2005 10:33:35 -0800
X-Mailer: Apple Mail (2.619)
X-Spam-Score: 0.1 (/)
X-Scan-Signature: f4c2cf0bccc868e4cc88dace71fb3f44
Content-Transfer-Encoding: 7bit
Subject: [Cfrg] Re: universal MACs
X-BeenThere: cfrg@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:cfrg@ietf.org>
List-Help: <mailto:cfrg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@ietf.org?subject=subscribe>
Sender: cfrg-bounces@ietf.org
Errors-To: cfrg-bounces@ietf.org
X-Spam-Score: 0.1 (/)
X-Scan-Signature: e8a67952aa972b528dd04570d58ad8fe
Content-Transfer-Encoding: 7bit

A few responses to Bernstein's comments:

> The reason that cryptographers normally don't bother counting forgeries
> after the first one is that cryptographers normally choose parameter
> sizes to prevent the first forgery. There's a big difference in 
> security
> between 60 bits and 100 bits!

Two principle goals on which UMAC was designed are (i) high speed, and 
(ii) provable security of around 2^{-60} forgery probability per 
message. With throughput, in many circumstances, of around 1 cpu cycle 
per byte authenticated, UMAC clearly achieves goal (i). As for (ii), 
UMAC *does* achieve a forgery probability of 2^{-60} per message, with 
options for a 2^{-30} and 2^{-90} mode, if desired. All are safe if 
used appropriately. If you anticipate sending a huge number of 
messages, then you should use the higher security version, or re-key 
occasionally. If you will be authenticating a moderate number of 
messages, then UMAC is appropriate without any worries regarding 
rekeying.

> The problem is that AES was actually designed to be
> indistinguishable from a uniform random _permutation_. In other words,
> if AES is secure, then delta is B(B-1)/2^129, where B is the number of
> blocks fed through AES. This number B can be rather large!

If one is concerned about the UMAC analysis treating AES as a random 
function rather than a random permutation, then this means that B 
should be chosen to not get too high. Letting B get no larger than 2^40 
would keep this concern from dominating the analysis. In other words, 
rekey at least once every 2^40 messages, and this concern goes away.

> As one final security note, I'm bothered by the time variability of the
> POLY(64) algorithm inside UMAC.

This is not a specification or analysis issue. An implementation could 
easily mask such timing differentials if there was concern regarding 
timing attacks.

> Suggested fixes to UMAC: stop promoting MACs at a breakable security
> level, notably UMAC-32 and UMAC-64

UMAC, and in general other MACs with similar forgery probability, is 
safe if used appropriately. Don't use MACs with moderate bit security 
for a huge number of messages without rekeying. But, if you want very 
high speeds, and don't intend to authenticate a huge number of 
messages, then UMAC may be most appropriate.

> Once UMAC has caught up to the state of the art security-wise

Some might disagree with this premise. We take the (perhaps more 
enlightened) view that bit security is not "one size fits all", and 
that UMAC's provision of a choice between 30, 60 and 90 bits of 
security makes for a versatile and fast authentication tool.

Ted Krovetz
Computer Science Department
California State University, Sacrammento


_______________________________________________
Cfrg mailing list
Cfrg@ietf.org
https://www1.ietf.org/mailman/listinfo/cfrg


From cfrg-bounces@ietf.org  Thu Jan 20 00:21:40 2005
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id AAA06815
	for <cfrg-web-archive@ietf.org>; Thu, 20 Jan 2005 00:21:40 -0500 (EST)
Received: from megatron.ietf.org ([132.151.6.71])
	by ietf-mx.ietf.org with esmtp (Exim 4.33)
	id 1CrV0x-0002qK-Bu
	for cfrg-web-archive@ietf.org; Thu, 20 Jan 2005 00:37:51 -0500
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1CrUf1-0004W7-B0; Thu, 20 Jan 2005 00:15:11 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1CrUbj-0002vh-Hh
	for cfrg@megatron.ietf.org; Thu, 20 Jan 2005 00:11:47 -0500
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id AAA06015
	for <cfrg@ietf.org>; Thu, 20 Jan 2005 00:11:44 -0500 (EST)
Received: from stoneport.math.uic.edu ([131.193.178.160])
	by ietf-mx.ietf.org with smtp (Exim 4.33) id 1CrUrK-0002Yv-Dw
	for cfrg@ietf.org; Thu, 20 Jan 2005 00:27:55 -0500
Received: (qmail 45702 invoked by uid 1016); 20 Jan 2005 05:12:09 -0000
Date: 20 Jan 2005 05:12:09 -0000
Message-ID: <20050120051209.45701.qmail@cr.yp.to>
Automatic-Legal-Notices: See http://cr.yp.to/mailcopyright.html.
From: "D. J. Bernstein" <djb@cr.yp.to>
To: cfrg@ietf.org
Subject: Re: [Cfrg] Re: universal MACs
References: <A0E80332-6A48-11D9-AACD-000D93AE7CA2@csus.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 769a46790fb42fbb0b0cc700c82f7081
X-BeenThere: cfrg@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:cfrg@ietf.org>
List-Help: <mailto:cfrg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@ietf.org?subject=subscribe>
Sender: cfrg-bounces@ietf.org
Errors-To: cfrg-bounces@ietf.org
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 538aad3a3c4f01d8b6a6477ca4248793

Ted Krovetz writes:
> An implementation could easily mask such timing differentials

But your public implementation doesn't. Masking would take extra work.
Have you measured the slowdown? Have you analyzed how much information
is leaked by implementations that don't go to this extra effort?

  [ permutations vs. functions ]
> Letting B get no larger than 2^40 would keep this concern from
> dominating the analysis.

Let's check the numbers here. Assume that AES is secure; that a UMAC-64
key is used for 2^40 messages; and that the attacker doesn't try many
forgery attempts---let's say just one. Please confirm that you agree
with the following calculations.

There are slightly over 2^39 AES invocations, assuming consecutive
nonces. Your security bound therefore says that the attacker's forgery
attempt succeeds with probability at most about 1/2^52. Furthermore, if
the forgery attempt _does_ succeed, and the attacker tries a few more
messages, then he can almost certainly compute the key, and selectively
forge messages until rekeying is forced---2^39 forgeries on average.

To summarize: What you've proven is that the attacker's one forgery
attempt---which, if successful, allows half a trillion extra forgeries
practically for free---has probability at most 1/2^52 of occurring,
under your recommended keying strategy, assuming that AES is secure. If
the attacker tries this against four billion different keys then he has
at most a one-in-a-million chance of forging half a trillion messages.

You summarize this as ``If an attacker could try out 2^60 MACs, then the
attacker would probably get one right.'' I don't think that's an honest
summary. The 2^60 isn't what you've actually proven, and ``one'' is a
wild underestimate of the number of successful forgeries.

I'm perfectly willing to discuss speed issues---for example, how long it
takes to load lengthy keys from DRAM---but security is job #1, and a job
that you don't seem to be taking seriously. I've been quite careful to
quantify the Poly1305-AES security guarantee in terms of the number of
authenticated messages, the number of forgery attempts, and the
attacker's chance of breaking AES; I suggest that you do the same for
UMAC, and then reconsider your assertion that UMAC-64 is ``safe.''

You say that moving to a much more reasonable security level costs only
0.5 cycles per byte. Why haven't you done it?

---D. J. Bernstein, Associate Professor, Department of Mathematics,
Statistics, and Computer Science, University of Illinois at Chicago

_______________________________________________
Cfrg mailing list
Cfrg@ietf.org
https://www1.ietf.org/mailman/listinfo/cfrg


From cfrg-bounces@ietf.org  Thu Jan 20 13:20:29 2005
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA21676
	for <cfrg-web-archive@ietf.org>; Thu, 20 Jan 2005 13:20:29 -0500 (EST)
Received: from megatron.ietf.org ([132.151.6.71])
	by ietf-mx.ietf.org with esmtp (Exim 4.33)
	id 1CrhAl-0005yE-BL
	for cfrg-web-archive@ietf.org; Thu, 20 Jan 2005 13:36:47 -0500
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1Crgo5-0002CP-Cb; Thu, 20 Jan 2005 13:13:21 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1CrghA-0000Zl-99
	for cfrg@megatron.ietf.org; Thu, 20 Jan 2005 13:06:12 -0500
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA20588
	for <cfrg@ietf.org>; Thu, 20 Jan 2005 13:06:09 -0500 (EST)
Received: from ylpvm01-ext.prodigy.net ([207.115.57.32]
	helo=ylpvm01.prodigy.net) by ietf-mx.ietf.org with esmtp (Exim 4.33)
	id 1Crgws-0005Zt-1b
	for cfrg@ietf.org; Thu, 20 Jan 2005 13:22:27 -0500
Received: from [192.168.0.100] (adsl-67-122-229-254.dsl.scrm01.pacbell.net
	[67.122.229.254])
	by ylpvm01.prodigy.net (8.12.10 outbound/8.12.10) with ESMTP id
	j0KI68vE024061 for <cfrg@ietf.org>; Thu, 20 Jan 2005 13:06:09 -0500
Mime-Version: 1.0 (Apple Message framework v619)
Content-Transfer-Encoding: 7bit
Message-Id: <F4C82A47-6B0D-11D9-90B9-000D93AE7CA2@csus.edu>
Content-Type: text/plain; charset=US-ASCII; format=flowed
To: cfrg@ietf.org
From: Ted Krovetz <tdk@csus.edu>
Date: Thu, 20 Jan 2005 10:06:06 -0800
X-Mailer: Apple Mail (2.619)
X-Spam-Score: 0.1 (/)
X-Scan-Signature: 7baded97d9887f7a0c7e8a33c2e3ea1b
Content-Transfer-Encoding: 7bit
Subject: [Cfrg] Re: universal MACs
X-BeenThere: cfrg@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:cfrg@ietf.org>
List-Help: <mailto:cfrg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@ietf.org?subject=subscribe>
Sender: cfrg-bounces@ietf.org
Errors-To: cfrg-bounces@ietf.org
X-Spam-Score: 0.1 (/)
X-Scan-Signature: cab78e1e39c4b328567edb48482b6a69
Content-Transfer-Encoding: 7bit

>> An implementation could easily mask such timing differentials
>
> But your public implementation doesn't.

It really doesn't need to. If you look carefully, POLY is only executed 
on messages longer than 1K, and the difference between a long POLY 
invocation and a short one is just a dozen or so instructions, 
something that will be lost in the noise over the network delay and 
thousands of instructions needed to hash the 1K of message.

But, if it is a serious concern, we could add some conditional 
compilation to mask it. The difference in performance would not be 
significant.

> You summarize this as ``If an attacker could try out 2^60 MACs, then 
> the
> attacker would probably get one right.'' I don't think that's an honest
> summary. The 2^60 isn't what you've actually proven, and ``one'' is a
> wild underestimate of the number of successful forgeries.

Your point here is well taken. We will amend our statement to reflect 
that a birthday bound is applicable if one is using a permutation 
rather than a function.

> reconsider your assertion that UMAC-64 is ``safe.''
>
> You say that moving to a much more reasonable security level costs only
> 0.5 cycles per byte. Why haven't you done it?

Because UMAC-32, UMAC-64 and UMAC-96 are all safe in various contexts, 
and we wish to provide high-speed tools for various scenarios.

Rather than get into some sort of flame war with you over UMAC, I will 
sign off now, and let you have the last word if you wish.

Cheers,
Ted Krovetz
Computer Science Department
California State University, Sacramento


_______________________________________________
Cfrg mailing list
Cfrg@ietf.org
https://www1.ietf.org/mailman/listinfo/cfrg


