From cfrg-bounces@irtf.org  Thu Jan  1 03:11:40 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 4131E3A67EC;
	Thu,  1 Jan 2009 03:11:40 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id EA3163A67EC
	for <cfrg@core3.amsl.com>; Thu,  1 Jan 2009 03:11:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.008
X-Spam-Level: 
X-Spam-Status: No, score=-4.008 tagged_above=-999 required=5
	tests=[AWL=-0.409, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 4m-PDoh9jTU5 for <cfrg@core3.amsl.com>;
	Thu,  1 Jan 2009 03:11:38 -0800 (PST)
Received: from mailhost.auckland.ac.nz (curly.its.auckland.ac.nz
	[130.216.12.33])
	by core3.amsl.com (Postfix) with ESMTP id 1C0ED3A679C
	for <cfrg@irtf.org>; Thu,  1 Jan 2009 03:11:37 -0800 (PST)
Received: from localhost (localhost.localdomain [127.0.0.1])
	by mailhost.auckland.ac.nz (Postfix) with ESMTP id 576539D817;
	Fri,  2 Jan 2009 00:11:23 +1300 (NZDT)
X-Virus-Scanned: by amavisd-new at mailhost.auckland.ac.nz
Received: from mailhost.auckland.ac.nz ([127.0.0.1])
	by localhost (curly.its.auckland.ac.nz [127.0.0.1]) (amavisd-new,
	port 10024)
	with ESMTP id StmylvlTOtW7; Fri,  2 Jan 2009 00:11:23 +1300 (NZDT)
Received: from iris.cs.auckland.ac.nz (iris.cs.auckland.ac.nz [130.216.33.152])
	by mailhost.auckland.ac.nz (Postfix) with ESMTP id DE48F9D81F;
	Fri,  2 Jan 2009 00:11:07 +1300 (NZDT)
Received: from wintermute01.cs.auckland.ac.nz (wintermute01.cs.auckland.ac.nz
	[130.216.34.38]) (using TLSv1 with cipher AES256-SHA (256/256 bits))
	(No client certificate requested)
	by iris.cs.auckland.ac.nz (Postfix) with ESMTP
	id 7EC871BE4002; Fri,  2 Jan 2009 00:11:01 +1300 (NZDT)
Received: from pgut001 by wintermute01.cs.auckland.ac.nz with local (Exim 4.63)
	(envelope-from <pgut001@wintermute01.cs.auckland.ac.nz>)
	id 1LILS9-0005ff-DN; Fri, 02 Jan 2009 00:11:01 +1300
From: pgut001@cs.auckland.ac.nz (Peter Gutmann)
To: SChokhani@cygnacom.com, tmiller@mitre.org
In-Reply-To: <FAD1CF17F2A45B43ADE04E140BA83D489365A4@scygexch1.cygnacom.com>
Message-Id: <E1LILS9-0005ff-DN@wintermute01.cs.auckland.ac.nz>
Date: Fri, 02 Jan 2009 00:11:01 +1300
Cc: ietf-pkix@imc.org, ietf-smime@imc.org, cfrg@irtf.org, saag@ietf.org
Subject: Re: [Cfrg] [saag] Further MD5 breaks: Creating a rogue CAcertificate
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

"Santosh Chokhani" <SChokhani@cygnacom.com> writes:

>We are simply not vigilant enough.  This issue has been on our plate since
>2004.

It's not just this, the fact that there were CA certs out there with the CA
flag (in basicConstraints) not set was known for at least five years before
widespread bad publicity forced CAs to address it, the RSA exponent=1 debacle
was known for at least that long but no-one cared until there was lots of bad
publicity about it... there's a really serious problem with CAs and vendors
simply not caring about PKI security until bad publicity forces a change, the
curent MD5 issue (and the mozilla.com cert debacle and the Gromozon malware-
signing cert issue and ...) are just the latest examples.  It's like the
Microsoft of ten years ago, security holes just get ignored until bad
publicity forces a fix (and even then it's often more of a sidestep to avoid
further criticism than an actual fix).

It's small wonder that there's such widespread cynicism about PKI when even
the organisations pushing it don't seem to care whether it's done properly or
not.

Peter.
_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg


From cfrg-bounces@irtf.org  Thu Jan  1 03:42:43 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 49EED3A68EB;
	Thu,  1 Jan 2009 03:42:43 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 0C11A3A68EB
	for <cfrg@core3.amsl.com>; Thu,  1 Jan 2009 03:42:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.599
X-Spam-Level: 
X-Spam-Status: No, score=-5.599 tagged_above=-999 required=5 tests=[AWL=1.000, 
	BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id PyMV2-BJz6SW for <cfrg@core3.amsl.com>;
	Thu,  1 Jan 2009 03:42:41 -0800 (PST)
Received: from mailhost.auckland.ac.nz (moe.its.auckland.ac.nz [130.216.12.35])
	by core3.amsl.com (Postfix) with ESMTP id 392913A679C
	for <cfrg@irtf.org>; Thu,  1 Jan 2009 03:42:39 -0800 (PST)
Received: from localhost (localhost.localdomain [127.0.0.1])
	by mailhost.auckland.ac.nz (Postfix) with ESMTP id B9719481C06;
	Fri,  2 Jan 2009 00:17:51 +1300 (NZDT)
X-Virus-Scanned: by amavisd-new at mailhost.auckland.ac.nz
Received: from mailhost.auckland.ac.nz ([127.0.0.1])
	by localhost (moe.its.auckland.ac.nz [127.0.0.1]) (amavisd-new,
	port 10024)
	with ESMTP id PPAZbKuv7Db5; Fri,  2 Jan 2009 00:17:51 +1300 (NZDT)
Received: from iris.cs.auckland.ac.nz (iris.cs.auckland.ac.nz [130.216.33.152])
	by mailhost.auckland.ac.nz (Postfix) with ESMTP id 048B4481BFB;
	Fri,  2 Jan 2009 00:17:51 +1300 (NZDT)
Received: from wintermute01.cs.auckland.ac.nz (wintermute01.cs.auckland.ac.nz
	[130.216.34.38]) (using TLSv1 with cipher AES256-SHA (256/256 bits))
	(No client certificate requested)
	by iris.cs.auckland.ac.nz (Postfix) with ESMTP
	id 2436B1BE4002; Fri,  2 Jan 2009 00:17:50 +1300 (NZDT)
Received: from pgut001 by wintermute01.cs.auckland.ac.nz with local (Exim 4.63)
	(envelope-from <pgut001@wintermute01.cs.auckland.ac.nz>)
	id 1LILYj-00066V-WE; Fri, 02 Jan 2009 00:17:50 +1300
From: pgut001@cs.auckland.ac.nz (Peter Gutmann)
To: ietf-pkix@imc.org, mike-list@pobox.com
In-Reply-To: <495BA5E9.8040305@pobox.com>
Message-Id: <E1LILYj-00066V-WE@wintermute01.cs.auckland.ac.nz>
Date: Fri, 02 Jan 2009 00:17:49 +1300
Cc: ietf-smime@imc.org, cfrg@irtf.org, saag@ietf.org
Subject: Re: [Cfrg] [saag] Further MD5 breaks: Creating a rogue CAcertificate
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

Mike <mike-list@pobox.com> writes:

>> We are simply not vigilant enough.  This issue has been on our plate
>> since 2004.
>>
>> SHA-1 is next and neither the client side vendors nor the big
>> Enterprises have pushed to move to SHA-256.
>
>There is a simple fix -- a CA can just reorder the extensions prior to
>issuing a certificate.

That's actually a nice fix, but unfortunately not universally applicable: for
some types of signed data (e.g. S/MIME attributes) the DER rules require
sorting the encoded extensions, so there's only one valid order for them (and
some applications actually check for this, so you have to do it or sig checks
will start failing).

Peter.
_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg


From cfrg-bounces@irtf.org  Thu Jan  1 04:40:07 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 78C863A6905;
	Thu,  1 Jan 2009 04:40:07 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id A3E263A6905
	for <cfrg@core3.amsl.com>; Thu,  1 Jan 2009 04:40:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.434
X-Spam-Level: 
X-Spam-Status: No, score=-1.434 tagged_above=-999 required=5 tests=[AWL=0.035, 
	BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id cHD6dqINMXUF for <cfrg@core3.amsl.com>;
	Thu,  1 Jan 2009 04:40:06 -0800 (PST)
Received: from scygmxsecs1.cygnacom.com (scygmxsecs1.cygnacom.com
	[65.242.48.253]) by core3.amsl.com (Postfix) with SMTP id B3ABF3A679C
	for <cfrg@irtf.org>; Thu,  1 Jan 2009 04:40:05 -0800 (PST)
Received: (qmail 10279 invoked from network); 1 Jan 2009 11:40:15 -0000
Received: from SChokhani@cygnacom.com by scygmxsecs1.cygnacom.com with
	EntrustECS-Server-7.4; 01 Jan 2009 11:40:15 -0000
Received: from unknown (HELO scygexch1.cygnacom.com) (10.60.50.8)
	by scygmxsecs1.cygnacom.com with SMTP; 1 Jan 2009 11:40:15 -0000
Content-class: urn:content-classes:message
MIME-Version: 1.0
X-MimeOLE: Produced By Microsoft Exchange V6.5
Date: Thu, 1 Jan 2009 06:39:50 -0500
Message-ID: <FAD1CF17F2A45B43ADE04E140BA83D489365EF@scygexch1.cygnacom.com>
In-Reply-To: <E1LILYj-00066V-WE@wintermute01.cs.auckland.ac.nz>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [saag] [Cfrg] Further MD5 breaks: Creating a rogue CAcertificate
Thread-Index: AclsApjZvyr7mv5ST36mpmxAU3jJIwAAnlMA
References: <495BA5E9.8040305@pobox.com>
	<E1LILYj-00066V-WE@wintermute01.cs.auckland.ac.nz>
From: "Santosh Chokhani" <SChokhani@cygnacom.com>
To: "Peter Gutmann" <pgut001@cs.auckland.ac.nz>, <ietf-pkix@imc.org>,
	<mike-list@pobox.com>
Cc: ietf-smime@imc.org, cfrg@irtf.org, saag@ietf.org
Subject: Re: [Cfrg] [saag] Further MD5 breaks: Creating a rogue CAcertificate
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

Also, for the actual attack, the ordering of extensions will not work as
long as the certificate size does not change.  If you look at the actual
attack, collision block in the real certificate is up to the SPKI.  The
extension values from the real certificate are simply copied in the
tumor of the rogue certificate.

Given the property that if H(M) = H (M') then H(M | X) = H (M' | X), the
attacker simply copies the extensions from actual certificate in the
tumor.

-----Original Message-----
From: saag-bounces@ietf.org [mailto:saag-bounces@ietf.org] On Behalf Of
Peter Gutmann
Sent: Thursday, January 01, 2009 6:18 AM
To: ietf-pkix@imc.org; mike-list@pobox.com
Cc: ietf-smime@imc.org; cfrg@irtf.org; saag@ietf.org
Subject: Re: [saag] [Cfrg] Further MD5 breaks: Creating a rogue
CAcertificate

Mike <mike-list@pobox.com> writes:

>> We are simply not vigilant enough.  This issue has been on our plate
>> since 2004.
>>
>> SHA-1 is next and neither the client side vendors nor the big
>> Enterprises have pushed to move to SHA-256.
>
>There is a simple fix -- a CA can just reorder the extensions prior to
>issuing a certificate.

That's actually a nice fix, but unfortunately not universally
applicable: for
some types of signed data (e.g. S/MIME attributes) the DER rules require
sorting the encoded extensions, so there's only one valid order for them
(and
some applications actually check for this, so you have to do it or sig
checks
will start failing).

Peter.
_______________________________________________
saag mailing list
saag@ietf.org
https://www.ietf.org/mailman/listinfo/saag
_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg


From callahanheads@kenmon110.com  Thu Jan  1 06:45:28 2009
Return-Path: <callahanheads@kenmon110.com>
X-Original-To: ietfarch-cfrg-archive@core3.amsl.com
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 392B03A6838;
	Thu,  1 Jan 2009 06:45:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -20.739
X-Spam-Level: 
X-Spam-Status: No, score=-20.739 tagged_above=-999 required=5
	tests=[BAYES_99=3.5, HELO_EQ_DE=0.35, HELO_EQ_DSL=1.129,
	RAZOR2_CF_RANGE_51_100=0.5, RAZOR2_CF_RANGE_E8_51_100=1.5,
	RAZOR2_CHECK=0.5, RCVD_IN_PBL=0.905, RCVD_IN_SORBS_DUL=0.877,
	URIBL_BLACK=20, URIBL_JP_SURBL=10, URIBL_OB_SURBL=10, URIBL_SBL=20,
	URIBL_WS_SURBL=10, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id A6db-Y6yOA5d; Thu,  1 Jan 2009 06:45:27 -0800 (PST)
Received: from e178121229.adsl.alicedsl.de (e178121229.adsl.alicedsl.de [85.178.121.229])
	by core3.amsl.com (Postfix) with SMTP id 789D63A65A5;
	Thu,  1 Jan 2009 06:45:13 -0800 (PST)
Message-ID: <bvnks54574467architecture-discuss@ietf.org>
Date: Thu, 01 Jan 2009 09:45:07 -0500
From: "Bobbie Wolfe" <architecture-discuss@ietf.org>
Subject: Cartier watch models from 2009!
To: architecture-discuss@ietf.org
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Dear Bobbie,

I had never seen such beautiful and greatly-performing watches like the ones I found online at
http://www.clipcape.com/

Take advantage of our christmas specials and get yourself {$WATCH$} watch that you've always wanted!
http://www.clipcape.com/

Our Longines watches have perfect weight and feel same as orginal.

Sincerely,
Mr Wolfe



From cfrg-bounces@irtf.org  Thu Jan  1 07:06:38 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 9F2193A68CC;
	Thu,  1 Jan 2009 07:06:38 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 2E6EF3A68CC
	for <cfrg@core3.amsl.com>; Thu,  1 Jan 2009 07:06:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.422
X-Spam-Level: 
X-Spam-Status: No, score=-101.422 tagged_above=-999 required=5
	tests=[AWL=0.555, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622,
	USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id Ppef2C1Fluw3 for <cfrg@core3.amsl.com>;
	Thu,  1 Jan 2009 07:06:37 -0800 (PST)
Received: from smtp-out.google.com (smtp-out.google.com [216.239.45.13])
	by core3.amsl.com (Postfix) with ESMTP id 9C9963A65A5
	for <cfrg@irtf.org>; Thu,  1 Jan 2009 07:06:36 -0800 (PST)
Received: from wpaz17.hot.corp.google.com (wpaz17.hot.corp.google.com
	[172.24.198.81]) by smtp-out.google.com with ESMTP id n01F6OkX002703
	for <cfrg@irtf.org>; Thu, 1 Jan 2009 07:06:24 -0800
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta;
	t=1230822384; bh=tg074PHvAieD9nLWnxuDNpZtK/w=;
	h=DomainKey-Signature:MIME-Version:In-Reply-To:References:Date:
	Message-ID:Subject:From:To:Cc:Content-Type:
	Content-Transfer-Encoding:X-GMailtapped-By:X-GMailtapped; b=N5cLkj
	IsEptmk79qyQU2ol9s9ID1j2aUZFXTMkYxZH/QpKaW5rRhxHhimqJuJUsMDVhdGa7d3
	PEqBUl8uAMo8w==
DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to:
	cc:content-type:content-transfer-encoding:
	x-gmailtapped-by:x-gmailtapped;
	b=URbs0YvVPpHo/EEXD0qBUdpwuXvq/pGq515DbmTSitIhzOYNLrFIr1S7cwQ2kPGN2
	N3jfCuoxSWSUbIEzlcHnQ==
Received: from fg-out-1718.google.com (fge22.prod.google.com [10.86.5.22])
	by wpaz17.hot.corp.google.com with ESMTP id n01F6IYw003837
	for <cfrg@irtf.org>; Thu, 1 Jan 2009 07:06:19 -0800
Received: by fg-out-1718.google.com with SMTP id 22so2579989fge.1
	for <cfrg@irtf.org>; Thu, 01 Jan 2009 07:06:18 -0800 (PST)
MIME-Version: 1.0
Received: by 10.86.59.18 with SMTP id h18mr8480886fga.45.1230822377800; Thu, 
	01 Jan 2009 07:06:17 -0800 (PST)
In-Reply-To: <E1LILYj-00066V-WE@wintermute01.cs.auckland.ac.nz>
References: <495BA5E9.8040305@pobox.com>
	<E1LILYj-00066V-WE@wintermute01.cs.auckland.ac.nz>
Date: Thu, 1 Jan 2009 15:06:17 +0000
Message-ID: <1b587cab0901010706j6e8cd2f8pf23345660a4825a5@mail.gmail.com>
From: Ben Laurie <benl@google.com>
To: Peter Gutmann <pgut001@cs.auckland.ac.nz>
X-GMailtapped-By: 172.24.198.81
X-GMailtapped: benl
Cc: ietf-pkix@imc.org, mike-list@pobox.com, cfrg@irtf.org, saag@ietf.org,
	ietf-smime@imc.org
Subject: Re: [Cfrg] [saag] Further MD5 breaks: Creating a rogue CAcertificate
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

On Thu, Jan 1, 2009 at 11:17 AM, Peter Gutmann
<pgut001@cs.auckland.ac.nz> wrote:
>
> Mike <mike-list@pobox.com> writes:
> >There is a simple fix -- a CA can just reorder the extensions prior to
> >issuing a certificate.
>
> That's actually a nice fix, but unfortunately not universally applicable: for
> some types of signed data (e.g. S/MIME attributes) the DER rules require
> sorting the encoded extensions, so there's only one valid order for them (and
> some applications actually check for this, so you have to do it or sig checks
> will start failing).

Surely the whole point of DER is that there's only one correct way to
encode any particular certificate?

So, either extensions must be sorted, or changing their order changes
their meaning. Either way, nothing can be reordered.
_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg


From cfrg-bounces@irtf.org  Thu Jan  1 08:15:06 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 6D7E03A67E9;
	Thu,  1 Jan 2009 08:15:06 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id C68723A67E9
	for <cfrg@core3.amsl.com>; Thu,  1 Jan 2009 08:15:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.436
X-Spam-Level: 
X-Spam-Status: No, score=-1.436 tagged_above=-999 required=5 tests=[AWL=0.033, 
	BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id jRIhj4zHN3j7 for <cfrg@core3.amsl.com>;
	Thu,  1 Jan 2009 08:15:04 -0800 (PST)
Received: from scygmxsecs1.cygnacom.com (scygmxsecs1.cygnacom.com
	[65.242.48.253]) by core3.amsl.com (Postfix) with SMTP id CCD063A65A5
	for <cfrg@irtf.org>; Thu,  1 Jan 2009 08:15:03 -0800 (PST)
Received: (qmail 11256 invoked from network); 1 Jan 2009 15:15:13 -0000
Received: from SChokhani@cygnacom.com by scygmxsecs1.cygnacom.com with
	EntrustECS-Server-7.4; 01 Jan 2009 15:15:13 -0000
Received: from unknown (HELO scygexch1.cygnacom.com) (10.60.50.8)
	by scygmxsecs1.cygnacom.com with SMTP; 1 Jan 2009 15:15:13 -0000
Content-class: urn:content-classes:message
MIME-Version: 1.0
X-MimeOLE: Produced By Microsoft Exchange V6.5
Date: Thu, 1 Jan 2009 10:14:49 -0500
Message-ID: <FAD1CF17F2A45B43ADE04E140BA83D489365F0@scygexch1.cygnacom.com>
In-Reply-To: <1b587cab0901010706j6e8cd2f8pf23345660a4825a5@mail.gmail.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Cfrg] [saag] Further MD5 breaks: Creating a rogue CAcertificate
Thread-Index: AclsIoYaC7zrH+YEQlGlPwinB2nccwAAQV+A
References: <495BA5E9.8040305@pobox.com><E1LILYj-00066V-WE@wintermute01.cs.auckland.ac.nz>
	<1b587cab0901010706j6e8cd2f8pf23345660a4825a5@mail.gmail.com>
From: "Santosh Chokhani" <SChokhani@cygnacom.com>
To: "Ben Laurie" <benl@google.com>, "Peter Gutmann" <pgut001@cs.auckland.ac.nz>
Cc: ietf-pkix@imc.org, mike-list@pobox.com, cfrg@irtf.org, saag@ietf.org,
	ietf-smime@imc.org
Subject: Re: [Cfrg] [saag] Further MD5 breaks: Creating a rogue CAcertificate
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

Changing the order of extensions does not change their meaning.

Actually, a CA could put the extensions in random order for various
certificates.  The attack will still work if the certificate size does
not change.

-----Original Message-----
From: cfrg-bounces@irtf.org [mailto:cfrg-bounces@irtf.org] On Behalf Of
Ben Laurie
Sent: Thursday, January 01, 2009 10:06 AM
To: Peter Gutmann
Cc: ietf-pkix@imc.org; mike-list@pobox.com; cfrg@irtf.org;
saag@ietf.org; ietf-smime@imc.org
Subject: Re: [Cfrg] [saag] Further MD5 breaks: Creating a rogue
CAcertificate

On Thu, Jan 1, 2009 at 11:17 AM, Peter Gutmann
<pgut001@cs.auckland.ac.nz> wrote:
>
> Mike <mike-list@pobox.com> writes:
> >There is a simple fix -- a CA can just reorder the extensions prior
to
> >issuing a certificate.
>
> That's actually a nice fix, but unfortunately not universally
applicable: for
> some types of signed data (e.g. S/MIME attributes) the DER rules
require
> sorting the encoded extensions, so there's only one valid order for
them (and
> some applications actually check for this, so you have to do it or sig
checks
> will start failing).

Surely the whole point of DER is that there's only one correct way to
encode any particular certificate?

So, either extensions must be sorted, or changing their order changes
their meaning. Either way, nothing can be reordered.
_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg
_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg


From cfrg-bounces@irtf.org  Thu Jan  1 08:51:00 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 79BEE28C153;
	Thu,  1 Jan 2009 08:51:00 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id A693C3A68B9
	for <cfrg@core3.amsl.com>; Thu,  1 Jan 2009 08:50:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.395
X-Spam-Level: 
X-Spam-Status: No, score=-2.395 tagged_above=-999 required=5 tests=[AWL=0.204, 
	BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id kxhznFTUXD1B for <cfrg@core3.amsl.com>;
	Thu,  1 Jan 2009 08:50:59 -0800 (PST)
Received: from romeo.rtfm.com (romeo.rtfm.com [74.95.2.173])
	by core3.amsl.com (Postfix) with ESMTP id 8ED633A65A5
	for <cfrg@irtf.org>; Thu,  1 Jan 2009 08:50:59 -0800 (PST)
Received: from romeo.rtfm.com (localhost.rtfm.com [127.0.0.1])
	by romeo.rtfm.com (Postfix) with ESMTP id 5783750822;
	Thu,  1 Jan 2009 09:07:06 -0800 (PST)
Date: Thu, 01 Jan 2009 09:07:05 -0800
From: Eric Rescorla <ekr@networkresonance.com>
To: Mike <mike-list@pobox.com>
In-Reply-To: <495CE68A.5040709@pobox.com>
References: <495BA5E9.8040305@pobox.com>
	<E1LILYj-00066V-WE@wintermute01.cs.auckland.ac.nz>
	<1b587cab0901010706j6e8cd2f8pf23345660a4825a5@mail.gmail.com>
	<FAD1CF17F2A45B43ADE04E140BA83D489365F0@scygexch1.cygnacom.com>
	<495CE68A.5040709@pobox.com>
User-Agent: Wanderlust/2.14.0 (Africa) Emacs/21.3 Mule/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Message-Id: <20090101170706.5783750822@romeo.rtfm.com>
Cc: ietf-pkix@imc.org, ietf-smime@imc.org, cfrg@irtf.org, saag@ietf.org
Subject: Re: [Cfrg] [saag] Further MD5 breaks: Creating a rogue CAcertificate
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

At Thu, 01 Jan 2009 07:51:38 -0800,
Mike wrote:
> 
> 
> Is there anything that could be added to RP software to reliably
> detect and thwart the use of a rogue CA certificate?  Or would
> any attempt to do that just cause too many problems?
> 
> Mike (who is writing "I am not a security expert" 100 times on
>        the chalkboard)

You could certainly add a check for this particular certificate
and any others you discovered. To the extent to which CAs no 
longer use MD5, this would likely quickly clean up the damage.
It's less clear that you could safely detect this kind of
cert in a generic way.

-Ekr
_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg


From cfrg-bounces@irtf.org  Thu Jan  1 09:20:26 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 7C60D3A689C;
	Thu,  1 Jan 2009 09:20:26 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id D4BE33A65A5;
	Thu,  1 Jan 2009 09:20:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.576
X-Spam-Level: 
X-Spam-Status: No, score=-2.576 tagged_above=-999 required=5 tests=[AWL=0.023, 
	BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id dNAge8yHkfL1; Thu,  1 Jan 2009 09:20:25 -0800 (PST)
Received: from balder-227.proper.com
	(properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net
	[IPv6:2001:470:1f04:392::2])
	by core3.amsl.com (Postfix) with ESMTP id D2A4A3A689C;
	Thu,  1 Jan 2009 09:20:24 -0800 (PST)
Received: from [10.20.30.158] (dsl-63-249-108-169.cruzio.com [63.249.108.169])
	(authenticated bits=0)
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n01HK1Rw084974
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Thu, 1 Jan 2009 10:20:02 -0700 (MST)
	(envelope-from paul.hoffman@vpnc.org)
Mime-Version: 1.0
Message-Id: <p06240824c582ab4501d1@[10.20.30.158]>
In-Reply-To: <1b587cab0901010706j6e8cd2f8pf23345660a4825a5@mail.gmail.com>
References: <495BA5E9.8040305@pobox.com>
	<E1LILYj-00066V-WE@wintermute01.cs.auckland.ac.nz>
	<1b587cab0901010706j6e8cd2f8pf23345660a4825a5@mail.gmail.com>
Date: Thu, 1 Jan 2009 09:20:00 -0800
To: Ben Laurie <benl@google.com>, Peter Gutmann <pgut001@cs.auckland.ac.nz>
From: Paul Hoffman <paul.hoffman@vpnc.org>
Cc: ietf-pkix@imc.org, mike-list@pobox.com, cfrg@irtf.org, saag@ietf.org,
	ietf-smime@imc.org
Subject: Re: [Cfrg] [saag] Further MD5 breaks: Creating a rogue CAcertificate
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

At 3:06 PM +0000 1/1/09, Ben Laurie wrote:
>Surely the whole point of DER is that there's only one correct way to
>encode any particular certificate?

Not so "surely". The SEQUENCE for extensions does not say what order they should be in.

>So, either extensions must be sorted, or changing their order changes
>their meaning. Either way, nothing can be reordered.

Wrong on both counts. Each extension has stand-alone semantics, and they can be in any order.

However, this is irrelevant for the MD5 break discussion, as is clearly shown in the paper.

--Paul Hoffman, Director
--VPN Consortium
_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg


From cfrg-bounces@irtf.org  Thu Jan  1 09:54:40 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id B915228C163;
	Thu,  1 Jan 2009 09:54:40 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 165D228C163
	for <cfrg@core3.amsl.com>; Thu,  1 Jan 2009 09:54:39 -0800 (PST)
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 ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id EDWrhyGnrEvx for <cfrg@core3.amsl.com>;
	Thu,  1 Jan 2009 09:54:39 -0800 (PST)
Received: from mail.links.org (mail.links.org [217.155.92.109])
	by core3.amsl.com (Postfix) with ESMTP id C2E3E3A65A5
	for <cfrg@irtf.org>; Thu,  1 Jan 2009 09:54:38 -0800 (PST)
Received: from [193.133.15.218] (localhost [127.0.0.1])
	by mail.links.org (Postfix) with ESMTP id 5BA8133C1E;
	Thu,  1 Jan 2009 17:46:01 +0000 (GMT)
Message-ID: <495D0100.6000200@links.org>
Date: Thu, 01 Jan 2009 17:44:32 +0000
From: Ben Laurie <ben@links.org>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
	rv:1.8.1.3) Gecko/20070326 Thunderbird/2.0.0.0 Mnenhy/0.7.4.0
MIME-Version: 1.0
To: Paul Hoffman <paul.hoffman@vpnc.org>
References: <495BA5E9.8040305@pobox.com>	<E1LILYj-00066V-WE@wintermute01.cs.auckland.ac.nz>	<1b587cab0901010706j6e8cd2f8pf23345660a4825a5@mail.gmail.com>
	<p06240824c582ab4501d1@[10.20.30.158]>
In-Reply-To: <p06240824c582ab4501d1@[10.20.30.158]>
X-Enigmail-Version: 0.95.7
Cc: Peter Gutmann <pgut001@cs.auckland.ac.nz>, cfrg@irtf.org,
	ietf-smime@imc.org, saag@ietf.org, ietf-pkix@imc.org, mike-list@pobox.com
Subject: Re: [Cfrg] [saag] Further MD5 breaks: Creating a rogue CAcertificate
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

Paul Hoffman wrote:
> At 3:06 PM +0000 1/1/09, Ben Laurie wrote:
>> Surely the whole point of DER is that there's only one correct way to
>> encode any particular certificate?
> 
> Not so "surely". The SEQUENCE for extensions does not say what order they should be in.

That doesn't change the _point_ of DER. If extensions should have been
specified as a SET but are defined as a SEQUENCE, then they are broken
(technically).

>> So, either extensions must be sorted, or changing their order changes
>> their meaning. Either way, nothing can be reordered.
> 
> Wrong on both counts. Each extension has stand-alone semantics, and they can be in any order.

My point was about the correct use of DER. It seems extensions use it
incorrectly.

> However, this is irrelevant for the MD5 break discussion, as is clearly shown in the paper.

I am discussing the correct use of DER :-)

-- 
http://www.apache-ssl.org/ben.html           http://www.links.org/

"There is no limit to what a man can do or how far he can go if he
doesn't mind who gets the credit." - Robert Woodruff
_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg


From cfrg-bounces@irtf.org  Thu Jan  1 11:49:39 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 2965D28C186;
	Thu,  1 Jan 2009 11:49:39 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id A8E3728C180
	for <cfrg@core3.amsl.com>; Thu,  1 Jan 2009 11:49:38 -0800 (PST)
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=[AWL=0.000, 
	BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id OFtoqWzsIIuu for <cfrg@core3.amsl.com>;
	Thu,  1 Jan 2009 11:49:38 -0800 (PST)
Received: from mail.links.org (mail.links.org [217.155.92.109])
	by core3.amsl.com (Postfix) with ESMTP id 615FB28C169
	for <cfrg@irtf.org>; Thu,  1 Jan 2009 11:49:38 -0800 (PST)
Received: from [193.133.15.218] (localhost [127.0.0.1])
	by mail.links.org (Postfix) with ESMTP id 6A66333C1E;
	Thu,  1 Jan 2009 19:41:23 +0000 (GMT)
Message-ID: <495D1C0A.2080105@links.org>
Date: Thu, 01 Jan 2009 19:39:54 +0000
From: Ben Laurie <ben@links.org>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
	rv:1.8.1.3) Gecko/20070326 Thunderbird/2.0.0.0 Mnenhy/0.7.4.0
MIME-Version: 1.0
To: Santosh Chokhani <SChokhani@cygnacom.com>
References: <495BA5E9.8040305@pobox.com>	<E1LILYj-00066V-WE@wintermute01.cs.auckland.ac.nz>	<1b587cab0901010706j6e8cd2f8pf23345660a4825a5@mail.gmail.com><p06240824c582ab4501d1@[10.20.30.158]>
	<495D0100.6000200@links.org>
	<FAD1CF17F2A45B43ADE04E140BA83D489365F1@scygexch1.cygnacom.com>
In-Reply-To: <FAD1CF17F2A45B43ADE04E140BA83D489365F1@scygexch1.cygnacom.com>
X-Enigmail-Version: 0.95.7
Cc: cfrg@irtf.org, Paul Hoffman <paul.hoffman@vpnc.org>, ietf-smime@imc.org,
	saag@ietf.org, ietf-pkix@imc.org, mike-list@pobox.com
Subject: Re: [Cfrg] [saag] Further MD5 breaks: Creating a rogue CAcertificate
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

Santosh Chokhani wrote:
> We must fix X.509 since it is not broken.

I am not suggesting that we should fix X.509, I am pointing out, in my
own roundabout way, that X.509 certs are supposed to have a canonical
form. But it seems they do not.

Makes me wonder why we go to all the effort of using a supposedly
canonical encoding that isn't? If we can only rely on the original bits
in the cert when checking the signature, why bother?

-- 
http://www.apache-ssl.org/ben.html           http://www.links.org/

"There is no limit to what a man can do or how far he can go if he
doesn't mind who gets the credit." - Robert Woodruff
_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg


From cfrg-bounces@irtf.org  Thu Jan  1 12:15:37 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 152943A6AB9;
	Thu,  1 Jan 2009 12:15:37 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 6F3523A6AB4
	for <cfrg@core3.amsl.com>; Thu,  1 Jan 2009 12:15:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.44
X-Spam-Level: 
X-Spam-Status: No, score=-1.44 tagged_above=-999 required=5 tests=[AWL=0.029, 
	BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 0cGUzwtd+uXk for <cfrg@core3.amsl.com>;
	Thu,  1 Jan 2009 12:15:34 -0800 (PST)
Received: from scygmxsecs1.cygnacom.com (scygmxsecs1.cygnacom.com
	[65.242.48.253]) by core3.amsl.com (Postfix) with SMTP id 77F4328C169
	for <cfrg@irtf.org>; Thu,  1 Jan 2009 12:15:34 -0800 (PST)
Received: (qmail 12536 invoked from network); 1 Jan 2009 19:49:03 -0000
Received: from SChokhani@cygnacom.com by scygmxsecs1.cygnacom.com with
	EntrustECS-Server-7.4; 01 Jan 2009 19:49:03 -0000
Received: from unknown (HELO scygexch1.cygnacom.com) (10.60.50.8)
	by scygmxsecs1.cygnacom.com with SMTP; 1 Jan 2009 19:49:03 -0000
Content-class: urn:content-classes:message
MIME-Version: 1.0
X-MimeOLE: Produced By Microsoft Exchange V6.5
Date: Thu, 1 Jan 2009 14:48:40 -0500
Message-ID: <FAD1CF17F2A45B43ADE04E140BA83D489365F2@scygexch1.cygnacom.com>
In-Reply-To: <495D1C0A.2080105@links.org>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [saag] [Cfrg] Further MD5 breaks: Creating a rogue CAcertificate
Thread-Index: AclsSLgggyxnPlLcRtiDUadx0CecswAANOjQ
References: <495BA5E9.8040305@pobox.com>	<E1LILYj-00066V-WE@wintermute01.cs.auckland.ac.nz>	<1b587cab0901010706j6e8cd2f8pf23345660a4825a5@mail.gmail.com><p06240824c582ab4501d1@[10.20.30.158]>
	<495D0100.6000200@links.org>
	<FAD1CF17F2A45B43ADE04E140BA83D489365F1@scygexch1.cygnacom.com>
	<495D1C0A.2080105@links.org>
From: "Santosh Chokhani" <SChokhani@cygnacom.com>
To: "Ben Laurie" <ben@links.org>
Cc: cfrg@irtf.org, Paul Hoffman <paul.hoffman@vpnc.org>, ietf-smime@imc.org,
	saag@ietf.org, ietf-pkix@imc.org, mike-list@pobox.com
Subject: Re: [Cfrg] [saag] Further MD5 breaks: Creating a rogue CAcertificate
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

I do not think canonical means only one way to represent.

Extensions have always been a SEQUENCE with their OID denoting what
extension is next and their syntax.

Actually, we find SET in the case of RDN problematic.

-----Original Message-----
From: Ben Laurie [mailto:ben@links.org] 
Sent: Thursday, January 01, 2009 2:40 PM
To: Santosh Chokhani
Cc: Paul Hoffman; cfrg@irtf.org; ietf-smime@imc.org; saag@ietf.org;
ietf-pkix@imc.org; mike-list@pobox.com
Subject: Re: [saag] [Cfrg] Further MD5 breaks: Creating a rogue
CAcertificate

Santosh Chokhani wrote:
> We must fix X.509 since it is not broken.

I am not suggesting that we should fix X.509, I am pointing out, in my
own roundabout way, that X.509 certs are supposed to have a canonical
form. But it seems they do not.

Makes me wonder why we go to all the effort of using a supposedly
canonical encoding that isn't? If we can only rely on the original bits
in the cert when checking the signature, why bother?

-- 
http://www.apache-ssl.org/ben.html           http://www.links.org/

"There is no limit to what a man can do or how far he can go if he
doesn't mind who gets the credit." - Robert Woodruff
_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg


From cfrg-bounces@irtf.org  Thu Jan  1 12:30:02 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id DA2D83A694F;
	Thu,  1 Jan 2009 12:30:02 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 47BD93A6916
	for <cfrg@core3.amsl.com>; Thu,  1 Jan 2009 12:30:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.44
X-Spam-Level: 
X-Spam-Status: No, score=-1.44 tagged_above=-999 required=5 tests=[AWL=0.029, 
	BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 9gHZcXjZnPHr for <cfrg@core3.amsl.com>;
	Thu,  1 Jan 2009 12:30:01 -0800 (PST)
Received: from scygmxsecs1.cygnacom.com (scygmxsecs1.cygnacom.com
	[65.242.48.253]) by core3.amsl.com (Postfix) with SMTP id 20F993A694F
	for <cfrg@irtf.org>; Thu,  1 Jan 2009 12:30:01 -0800 (PST)
Received: (qmail 12442 invoked from network); 1 Jan 2009 19:30:10 -0000
Received: from SChokhani@cygnacom.com by scygmxsecs1.cygnacom.com with
	EntrustECS-Server-7.4; 01 Jan 2009 19:30:10 -0000
Received: from unknown (HELO scygexch1.cygnacom.com) (10.60.50.8)
	by scygmxsecs1.cygnacom.com with SMTP; 1 Jan 2009 19:30:10 -0000
Content-class: urn:content-classes:message
MIME-Version: 1.0
X-MimeOLE: Produced By Microsoft Exchange V6.5
Date: Thu, 1 Jan 2009 14:29:46 -0500
Message-ID: <FAD1CF17F2A45B43ADE04E140BA83D489365F1@scygexch1.cygnacom.com>
In-Reply-To: <495D0100.6000200@links.org>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [saag] [Cfrg] Further MD5 breaks: Creating a rogue CAcertificate
Thread-Index: AclsOJwh2A/o+dm4RcK781oKyPwOkAADl7sA
References: <495BA5E9.8040305@pobox.com>	<E1LILYj-00066V-WE@wintermute01.cs.auckland.ac.nz>	<1b587cab0901010706j6e8cd2f8pf23345660a4825a5@mail.gmail.com><p06240824c582ab4501d1@[10.20.30.158]>
	<495D0100.6000200@links.org>
From: "Santosh Chokhani" <SChokhani@cygnacom.com>
To: "Ben Laurie" <ben@links.org>,
	"Paul Hoffman" <paul.hoffman@vpnc.org>
Cc: mike-list@pobox.com, ietf-pkix@imc.org, ietf-smime@imc.org, cfrg@irtf.org,
	saag@ietf.org
Subject: Re: [Cfrg] [saag] Further MD5 breaks: Creating a rogue CAcertificate
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

We must fix X.509 since it is not broken.

We must preserve MD5 since it is weak.

We must provide economic and political support to client side vendors
who refuse to implement SHA-256.  We must treat them with kid gloves and
work around them.

The world economy is in the tank.

People want to shoot each other.

I see a patent here that is not very random.

-----Original Message-----
From: saag-bounces@ietf.org [mailto:saag-bounces@ietf.org] On Behalf Of
Ben Laurie
Sent: Thursday, January 01, 2009 12:45 PM
To: Paul Hoffman
Cc: cfrg@irtf.org; ietf-smime@imc.org; saag@ietf.org; ietf-pkix@imc.org;
mike-list@pobox.com
Subject: Re: [saag] [Cfrg] Further MD5 breaks: Creating a rogue
CAcertificate

Paul Hoffman wrote:
> At 3:06 PM +0000 1/1/09, Ben Laurie wrote:
>> Surely the whole point of DER is that there's only one correct way to
>> encode any particular certificate?
> 
> Not so "surely". The SEQUENCE for extensions does not say what order
they should be in.

That doesn't change the _point_ of DER. If extensions should have been
specified as a SET but are defined as a SEQUENCE, then they are broken
(technically).

>> So, either extensions must be sorted, or changing their order changes
>> their meaning. Either way, nothing can be reordered.
> 
> Wrong on both counts. Each extension has stand-alone semantics, and
they can be in any order.

My point was about the correct use of DER. It seems extensions use it
incorrectly.

> However, this is irrelevant for the MD5 break discussion, as is
clearly shown in the paper.

I am discussing the correct use of DER :-)

-- 
http://www.apache-ssl.org/ben.html           http://www.links.org/

"There is no limit to what a man can do or how far he can go if he
doesn't mind who gets the credit." - Robert Woodruff
_______________________________________________
saag mailing list
saag@ietf.org
https://www.ietf.org/mailman/listinfo/saag
_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg


From ben@pagodaaust.com.au  Thu Jan  1 15:32:08 2009
Return-Path: <ben@pagodaaust.com.au>
X-Original-To: ietfarch-cfrg-archive@core3.amsl.com
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 19EC73A67FD;
	Thu,  1 Jan 2009 15:32:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.616
X-Spam-Level: 
X-Spam-Status: No, score=-4.616 tagged_above=-999 required=5
	tests=[BAYES_95=3, FH_HELO_EQ_D_D_D_D=1.597, FH_HOST_EQ_D_D_D_D=0.765,
	FH_HOST_EQ_D_D_D_DB=0.888, FM_DDDD_TIMES_2=1.999,
	HELO_DYNAMIC_IPADDR2=4.395, HELO_EQ_BR=0.955, HELO_EQ_DYNAMIC=1.144,
	HOST_EQ_BR=1.295, RAZOR2_CF_RANGE_51_100=0.5,
	RAZOR2_CF_RANGE_E8_51_100=1.5, RAZOR2_CHECK=0.5, RCVD_IN_PBL=0.905,
	RCVD_IN_SORBS_DUL=0.877, RCVD_IN_XBL=3.033, RDNS_DYNAMIC=0.1,
	TVD_RCVD_IP=1.931, URIBL_BLACK=20, URIBL_JP_SURBL=10,
	URIBL_OB_SURBL=10, URIBL_SBL=20, URIBL_WS_SURBL=10,
	USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id eLo0RUxACtxM; Thu,  1 Jan 2009 15:32:07 -0800 (PST)
Received: from 189-015-198-174.xd-dynamic.ctbcnetsuper.com.br (189-015-198-174.xd-dynamic.ctbcnetsuper.com.br [189.15.198.174])
	by core3.amsl.com (Postfix) with SMTP id CC6F13A67B3;
	Thu,  1 Jan 2009 15:31:51 -0800 (PST)
Message-ID: <gytndnm03118427architecture-discuss@ietf.org>
Date: Thu, 01 Jan 2009 18:31:45 -0500
From: "Kelsey Witherspoon" <architecture-discuss@ietf.org>
Subject: Omega cheaper than you could imagine!
To: architecture-discuss@ietf.org
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Dear Kelsey,

I had never seen such beautiful and greatly-performing watches like the ones I found online at
http://www.clipslim.com/

We are offering wholesaler prices on all watches during the month of December. 
http://www.clipslim.com/

Our Jaeger LeCoultre have all appropriate markings, wordings and engravings same as orginal.

Sincerely,
Mr Witherspoon



From cfrg-bounces@irtf.org  Fri Jan  2 07:36:55 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 5AFA128C0D6;
	Fri,  2 Jan 2009 07:36:55 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 365EC28C0EA
	for <cfrg@core3.amsl.com>; Fri,  2 Jan 2009 07:36:54 -0800 (PST)
X-Quarantine-ID: <qeaV0Qkkutu9>
X-Virus-Scanned: amavisd-new at amsl.com
X-Amavis-Alert: BAD HEADER, Header field occurs more than once: "References"
	occurs 6 times
X-Spam-Flag: NO
X-Spam-Score: -2.284
X-Spam-Level: 
X-Spam-Status: No, score=-2.284 tagged_above=-999 required=5
	tests=[BAYES_00=-2.599, SARE_MILLIONSOF=0.315]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id qeaV0Qkkutu9 for <cfrg@core3.amsl.com>;
	Fri,  2 Jan 2009 07:36:54 -0800 (PST)
Received: from z9m9z.htt-consult.com (z9m9z.htt-consult.com [208.83.67.147])
	by core3.amsl.com (Postfix) with ESMTP id 94B8928C0DD
	for <cfrg@irtf.org>; Fri,  2 Jan 2009 07:36:53 -0800 (PST)
Received: from z9m9z.htt-consult.com (localhost.localdomain [127.0.0.1])
	by z9m9z.htt-consult.com (8.13.8/8.13.8) with ESMTP id n02FZsW3016664; 
	Fri, 2 Jan 2009 10:35:54 -0500
Received: from nc2400.htt-consult.com (onlo.htt-consult.com [208.83.67.148])
	by z9m9z.htt-consult.com (Scalix SMTP Relay 11.3.0.11339)
	via ESMTP; Fri, 02 Jan 2009 10:35:43 -0500 (EST)
Date: Fri, 2 Jan 2009 10:35:34 -0500
From: Robert Moskowitz <rgm-sec@htt-consult.com>
To: Peter Hesse <pmhesse@geminisecurity.com>
Message-ID: <495E3446.4070606@htt-consult.com>
In-Reply-To: <0c6f01c96ce8$2c13d700$843b8500$@com>
References: <495BA5E9.8040305@pobox.com>
References: <E1LILYj-00066V-WE@wintermute01.cs.auckland.ac.nz>
References: <1b587cab0901010706j6e8cd2f8pf23345660a4825a5@mail.gmail.com>
References: <FAD1CF17F2A45B43ADE04E140BA83D489365F0@scygexch1.cygnacom.com>
References: <495CE68A.5040709@pobox.com>
References: <0c6f01c96ce8$2c13d700$843b8500$@com>
x-scalix-Hops: 1
User-Agent: Thunderbird 2.0.0.18 (X11/20081120)
MIME-Version: 1.0
Content-Disposition: inline
Cc: ietf-pkix@imc.org, 'Mike' <mike-list@pobox.com>, cfrg@irtf.org,
	saag@ietf.org, ietf-smime@imc.org
Subject: Re: [Cfrg] [saag] Further MD5 breaks: Creating a rogue CAcertificate
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

Peter Hesse wrote:
>> Is there anything that could be added to RP software to reliably
>> detect and thwart the use of a rogue CA certificate?  Or would
>> any attempt to do that just cause too many problems?
>>     
>
> Since MD5 is known bad and potentially dangerous at this point, I would
> suggest that the best client side action would be to fail to verify any
> signatures created using MD5.  This will break some things, especially if
> existing business processes are relying on a certificate signed with MD5.
> However, it is a fail-safe and would prevent a rogue CA certificate created
> in this fashion from being considered trustworthy.
>
> And to Santosh's point (and others), my earlier email about
> removing/replacing trust anchors was not because the self-signed
> certificates are signed using MD5; I agree the trust anchor public keys are
> protected using other mechanisms.  I am recommending that if CAs do nothing
> to prevent this kind of attack (non-random serial numbers, issue
> certificates signed with MD5, issue certificates in an automated,
> predictable fashion) that those CAs should be removed from trust lists
> because they are no longer acting in the interest of the relying party--they
> are an accomplice to the creation of these rogue certificates.
Peter,

This sounds great at an IETF mike, but out in the field how do you get 
all those millions of browsers to pull down a new trust list that will 
no longer include CA foobar?

Can't happen now, and the way things are going, ain't going to happen 
before 2026 either.

So what tool do we have to get compliance to best practices? The good 
old 5th estate, get out their and give bad press to foobar until they 
fix their behaviour or their business model collapses and they go out of 
business and can no longer issue potentially rogue certs.

We can talk and posture all we want in the IETF. We are rather good at 
that, IMNSHO. But this is perfect proof of our impact as such on the 
business model of companies that use our technology; they will do what 
is expedient, not what is Best Practices.


_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg


From ajay@worlddesign.com  Sat Jan  3 02:05:08 2009
Return-Path: <ajay@worlddesign.com>
X-Original-To: ietfarch-cfrg-archive@core3.amsl.com
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id D265F3A6768;
	Sat,  3 Jan 2009 02:05:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.617
X-Spam-Level: 
X-Spam-Status: No, score=-7.617 tagged_above=-999 required=5
	tests=[BAYES_80=2, FH_HELO_EQ_D_D_D_D=1.597, FH_HOST_EQ_D_D_D_D=0.765,
	FH_HOST_EQ_D_D_D_DB=0.888, FM_DDDD_TIMES_2=1.999,
	HELO_DYNAMIC_IPADDR2=4.395, HELO_EQ_DYNAMIC=1.144, RCVD_IN_PBL=0.905,
	RCVD_IN_SORBS_DUL=0.877, RCVD_IN_XBL=3.033, RDNS_DYNAMIC=0.1,
	SARE_RECV_SPAM_DOMN0b=1.666, TVD_RCVD_IP=1.931, URIBL_AB_SURBL=10,
	URIBL_BLACK=20, URIBL_JP_SURBL=10, URIBL_OB_SURBL=10,
	URIBL_RHS_DOB=1.083, URIBL_SBL=20, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id MqnXx05qAPEN; Sat,  3 Jan 2009 02:05:07 -0800 (PST)
Received: from 218-171-152-24.dynamic.hinet.net (218-171-152-24.dynamic.hinet.net [218.171.152.24])
	by core3.amsl.com (Postfix) with SMTP id 804503A6405;
	Sat,  3 Jan 2009 02:04:10 -0800 (PST)
Message-ID: <hyitn353221architecture-discuss@ietf.org>
Date: Sat, 03 Jan 2009 05:03:55 -0500
From: "Irving Leach" <architecture-discuss@ietf.org>
Subject: IWC cheaper than you could imagine!
To: architecture-discuss@ietf.org
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Dear Irving,

Christmas is the time to get Breitling watch, and the only place to get top notch watches that look and perform exactly like the originals is
http://www.peonmine.com/

We are offering wholesaler prices on all watches during the month of December. 
http://www.peonmine.com/

Our Breitling watches have perfect weight and feel same as orginal.

Sincerely,
Mr Leach



From cfrg-bounces@irtf.org  Sat Jan  3 22:57:17 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 7DEBA3A6A3F;
	Sat,  3 Jan 2009 22:57:17 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 60B1D3A63EB
	for <cfrg@core3.amsl.com>; Sat,  3 Jan 2009 22:57:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.867
X-Spam-Level: 
X-Spam-Status: No, score=-1.867 tagged_above=-999 required=5 tests=[AWL=0.733, 
	BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id mAYcp6H3CnKY for <cfrg@core3.amsl.com>;
	Sat,  3 Jan 2009 22:57:14 -0800 (PST)
Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [119.145.14.65])
	by core3.amsl.com (Postfix) with ESMTP id 401293A68BB
	for <cfrg@irtf.org>; Sat,  3 Jan 2009 22:57:14 -0800 (PST)
Received: from huawei.com (szxga02-in [172.24.2.6])
	by szxga02-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 2.14
	(built Aug
	8 2006)) with ESMTP id <0KCX00JKUPYZ4G@szxga02-in.huawei.com> for
	cfrg@irtf.org; Sun, 04 Jan 2009 14:56:59 +0800 (CST)
Received: from huawei.com ([172.24.1.12])
	by szxga02-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 2.14
	(built Aug
	8 2006)) with ESMTP id <0KCX002O6PYZ4U@szxga02-in.huawei.com> for
	cfrg@irtf.org; Sun, 04 Jan 2009 14:56:59 +0800 (CST)
Received: from s00102542 ([10.111.12.128])
	by szxml05-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 2.14
	(built Aug
	8 2006)) with ESMTPA id <0KCX0036MPYVAH@szxml05-in.huawei.com> for
	cfrg@irtf.org; Sun, 04 Jan 2009 14:56:59 +0800 (CST)
Date: Sun, 04 Jan 2009 14:56:55 +0800
From: Sean Shen <sshen@huawei.com>
In-reply-to: <C35F257D-7F83-4CF4-8262-981A85A7C196@extremenetworks.com>
To: saag@ietf.org
Message-id: <000101c96e39$a1b36690$800c6f0a@china.huawei.com>
MIME-version: 1.0
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3350
X-Mailer: Microsoft Office Outlook 11
Thread-index: AclrgQN5ksL11e1iQy2M+lQmJsX4VQCtdEfA
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] [saag] Further MD5 breaks: Creating a rogue CAcertificate
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

Hi,
I agree with the value of some document providing analysis of crypto threats
on IETF protocols, RFC4270 (Attacks on Cryptographic Hashes in Internet
Protocols
) did a good job on this. I think more analysis for different IETF protocols
can be provides and this type of information document can be updated
periodically (at least when there is big cryptoanalysis improvement).
Thanks,

Sean 



>-----Original Message-----
>From: saag-bounces@ietf.org [mailto:saag-bounces@ietf.org] On 
>Behalf Of RJ Atkinson
>Sent: Thursday, January 01, 2009 3:50 AM
>To: saag@ietf.org
>Cc: cfrg@irtf.org
>Subject: Re: [saag] [Cfrg] Further MD5 breaks: Creating a 
>rogue CAcertificate
>
>
>On  31 Dec 2008, at 14:14, Rich Graveman wrote:
>> For an expert, authoritative, and incredibly up-to-date tutorial on 
>> the state of hash functions, go to http://www.inscrypt.cn/, get the 
>> invited talks, and see the one by Preneel. If the intro material is 
>> boring, flip to slide 45 and start reading. No, MD5 and 
>SHA-1 are not 
>> quite in the same boat.
>
>Those talk about the hash functions generally, but they do not 
>really address the question specifically *as such functions 
>are actually employed by some number of IETF protocols*.  (And 
>just to be clear, I'm thinking quite broadly -- well beyond 
>the narrow realm of hashes as used by certificates.)
>
>A collision attack on some hash function f() might or might 
>not be an issue if f() is used in any of several different 
>modes, for example.
>
>> Unfortunately, the ways cryptologists look at these things and the 
>> ways the IETF uses them are not always the same, so there is 
>more work 
>> to do.
>
>Right.  What I was asking for, specifically, was analysis that 
>considered the various ways that various IETF protocols 
>actually use them -- not abstract concerns that might or might 
>not relate to the way they are actually used by various IETF protocols.
>("ways" means not just deployment model, but also the mode of 
>operation).
>
>One could easily imagine, for example, that some uses of these 
>algorithms might be viewed as entirely fine, with other uses 
>being clearly unsuitable, with a wide range of possibilities 
>in between those two extremes.
>
>It is this specific analysis that is missing, needed, and 
>would be most valuable to various IETF WGs -- if available in 
>a public document (ideally an Informational RFC, developed 
>jointly as a public group effort, such as by the IRTF CFRG, 
>and including full references to the public literature).
>
>My apologies for somehow being unclear in my earlier note.
>
>Thanks,
>
>Ran
>rja@extremenetworks.com
>
>
>_______________________________________________
>saag mailing list
>saag@ietf.org
>https://www.ietf.org/mailman/listinfo/saag
>


_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg


From cfrg-bounces@irtf.org  Sun Jan  4 11:11:32 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id D90FA3A6934;
	Sun,  4 Jan 2009 11:11:32 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 369AA3A6934;
	Sun,  4 Jan 2009 11:11:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.579
X-Spam-Level: 
X-Spam-Status: No, score=-2.579 tagged_above=-999 required=5 tests=[AWL=0.020, 
	BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id tugWycIrZqQm; Sun,  4 Jan 2009 11:11:30 -0800 (PST)
Received: from balder-227.proper.com
	(properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net
	[IPv6:2001:470:1f04:392::2])
	by core3.amsl.com (Postfix) with ESMTP id 23EAD3A689C;
	Sun,  4 Jan 2009 11:11:29 -0800 (PST)
Received: from [10.20.30.158] (dsl-63-249-108-169.cruzio.com [63.249.108.169])
	(authenticated bits=0)
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n04JBA90047521
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Sun, 4 Jan 2009 12:11:11 -0700 (MST)
	(envelope-from paul.hoffman@vpnc.org)
Mime-Version: 1.0
Message-Id: <p06240804c586b9520715@[10.20.30.158]>
In-Reply-To: <230CAA22-D118-4F29-9DC8-32FDCD7D771E@checkpoint.com>
References: <495BA5E9.8040305@pobox.com> <495E3446.4070606@htt-consult.com>
	<230CAA22-D118-4F29-9DC8-32FDCD7D771E@checkpoint.com>
Date: Sun, 4 Jan 2009 11:11:09 -0800
To: Yoav Nir <ynir@checkpoint.com>
From: Paul Hoffman <paul.hoffman@vpnc.org>
Cc: ietf-pkix@imc.org, ietf-smime@imc.org, cfrg@irtf.org, saag@ietf.org
Subject: Re: [Cfrg] [saag] Further MD5 breaks: Creating a rogue CAcertificate
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

At 9:02 AM +0200 1/4/09, Yoav Nir wrote:
>Best we can do is to get the CAs to
>
>(1) not issue MD5 certs anymore and
>(2) randomize the serial number and/or
>(3) and a random fluff extension that people are talking about

Just to repeat it one more time: #3 does not prevent the published attack.

>But still, I don't see Microsoft removing a root CA because one of their sub-CAs is issuing non-compliant certificates.

It is hard to see Microsoft removing or adding CAs. If anyone knows of a public interface (mailing list, web site, whatever) for when this happens, by all means please the world know.

>And if Microsoft don't, nobody else will. The Firefox/Opera/Safari/Chrome people don't want any sites that "only work with Explorer".

At least with respect to Firefox, I think that statement is false.

--Paul Hoffman, Director
--VPN Consortium
_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg


From cfrg-bounces@irtf.org  Sun Jan  4 12:40:33 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id E713428C0DB;
	Sun,  4 Jan 2009 12:40:32 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 44C9E28C0DB;
	Sun,  4 Jan 2009 12:40:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.582
X-Spam-Level: 
X-Spam-Status: No, score=-2.582 tagged_above=-999 required=5 tests=[AWL=0.017, 
	BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id JWEdNJOu5Lpn; Sun,  4 Jan 2009 12:40:30 -0800 (PST)
Received: from balder-227.proper.com
	(properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net
	[IPv6:2001:470:1f04:392::2])
	by core3.amsl.com (Postfix) with ESMTP id 08C2D28C0CE;
	Sun,  4 Jan 2009 12:40:29 -0800 (PST)
Received: from [10.20.30.158] (dsl-63-249-108-169.cruzio.com [63.249.108.169])
	(authenticated bits=0)
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n04KeBuF050753
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Sun, 4 Jan 2009 13:40:13 -0700 (MST)
	(envelope-from paul.hoffman@vpnc.org)
Mime-Version: 1.0
Message-Id: <p06240819c586cdf1dc38@[10.20.30.158]>
In-Reply-To: <C178CD90-F101-4E52-9C6F-055510471654@checkpoint.com>
References: <495BA5E9.8040305@pobox.com> <495E3446.4070606@htt-consult.com>
	<230CAA22-D118-4F29-9DC8-32FDCD7D771E@checkpoint.com>
	<p06240804c586b9520715@[10.20.30.158]>
	<C178CD90-F101-4E52-9C6F-055510471654@checkpoint.com>
Date: Sun, 4 Jan 2009 12:40:10 -0800
To: Yoav Nir <ynir@checkpoint.com>
From: Paul Hoffman <paul.hoffman@vpnc.org>
Cc: ietf-pkix@imc.org, ietf-smime@imc.org, cfrg@irtf.org, saag@ietf.org
Subject: Re: [Cfrg] [saag] Further MD5 breaks: Creating a rogue CAcertificate
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

At 10:23 PM +0200 1/4/09, Yoav Nir wrote:
>On Jan 4, 2009, at 9:11 PM, Paul Hoffman wrote:
>
>>At 9:02 AM +0200 1/4/09, Yoav Nir wrote:
>>>Best we can do is to get the CAs to
>>>
>>>(1) not issue MD5 certs anymore and
>>>(2) randomize the serial number and/or
>>>(3) and a random fluff extension that people are talking about
>>
>>Just to repeat it one more time: #3 does not prevent the published attack.
>
>It does if the random fluff is inserted by the CA. The attack depends on their ability to predict the entire TBS part.

I may have misunderstood the paper, but I think that changes after the subjectPublicKeyInfo do not affect the attack.

>>>But still, I don't see Microsoft removing a root CA because one of their sub-CAs is issuing non-compliant certificates.
>>
>>It is hard to see Microsoft removing or adding CAs. If anyone knows of a public interface (mailing list, web site, whatever) for when this happens, by all means please the world know.
>
>I managed to find a page with their policy on adding new root CAs. Nothing there about removing old root CAs.

I'm not talking about the policy: I'm talking about the actual trust anchors themselves.

>>>And if Microsoft don't, nobody else will. The Firefox/Opera/Safari/Chrome people don't want any sites that "only work with Explorer".
>>
>>At least with respect to Firefox, I think that statement is false.
>
>They've done quite a bit to render broken sites that were made for IE.

That is irrelevant for this thread. There are active discussions in the Firefox community about adding and removing trust anchors that are and are not already in the IE trust anchor pile.

>Also, I've updated today and all the "bad" CAs with MD5 signatures are still in the TAS.

As was pointed out to me earlier: it does not matter if the CA has its cert signed with MD5, only whether that CA *signs* with MD5. RapidSSL, for example, is still signed with MD5 but is now signing with SHA-1.

--Paul Hoffman, Director
--VPN Consortium
_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg


From cfrg-bounces@irtf.org  Sun Jan  4 14:10:18 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id A34393A6A0D;
	Sun,  4 Jan 2009 14:10:18 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 673C03A6A0D
	for <cfrg@core3.amsl.com>; Sun,  4 Jan 2009 14:10:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.504
X-Spam-Level: 
X-Spam-Status: No, score=-4.504 tagged_above=-999 required=5
	tests=[BAYES_00=-2.599, HELO_EQ_NL=0.55, HOST_EQ_NL=1.545,
	RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id LY3cvCiEZDjH for <cfrg@core3.amsl.com>;
	Sun,  4 Jan 2009 14:10:18 -0800 (PST)
Received: from mailhost.tue.nl (mailhost.tue.nl [131.155.2.19])
	by core3.amsl.com (Postfix) with ESMTP id 164253A691D
	for <cfrg@irtf.org>; Sun,  4 Jan 2009 14:10:18 -0800 (PST)
Received: from localhost (localhost [127.0.0.1])
	by mailhost.tue.nl (Postfix) with ESMTP id 01BC45C005;
	Sun,  4 Jan 2009 23:02:15 +0100 (CET)
X-Virus-Scanned: amavisd-new at tue.nl
Received: from mailhost.tue.nl ([131.155.2.19])
	by localhost (pastinakel.tue.nl [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id rHJqCkviIVtX; Sun,  4 Jan 2009 23:02:14 +0100 (CET)
Received: from EXCHANGE5.campus.tue.nl (xserver6.campus.tue.nl [131.155.6.9])
	by mailhost.tue.nl (Postfix) with ESMTP id BACDA5C002;
	Sun,  4 Jan 2009 23:02:14 +0100 (CET)
Received: from webmail11.campus.tue.nl ([131.155.6.51]) by
	EXCHANGE5.campus.tue.nl with Microsoft SMTPSVC(6.0.3790.3959); 
	Sun, 4 Jan 2009 23:02:14 +0100
Received: from EXCHANGE11.campus.tue.nl ([131.155.6.30]) by
	webmail11.campus.tue.nl ([131.155.6.51]) with mapi;
	Sun, 4 Jan 2009 23:02:14 +0100
From: "Weger, B.M.M. de" <b.m.m.d.weger@TUE.nl>
To: Paul Hoffman <paul.hoffman@vpnc.org>, Yoav Nir <ynir@checkpoint.com>
Date: Sun, 4 Jan 2009 23:02:36 +0100
Thread-Topic: [Cfrg] [saag] Further MD5 breaks: Creating a rogue CAcertificate
Thread-Index: AclurK43+Y7mFmYNToKiFNQb0Pgg2QAChf2w
Message-ID: <7DF2365FF07C0E4E89419D65CCC93C9E014149035E31@EXCHANGE11.campus.tue.nl>
References: <495BA5E9.8040305@pobox.com> <495E3446.4070606@htt-consult.com>
	<230CAA22-D118-4F29-9DC8-32FDCD7D771E@checkpoint.com>
	<p06240804c586b9520715@[10.20.30.158]>
	<C178CD90-F101-4E52-9C6F-055510471654@checkpoint.com>
	<p06240819c586cdf1dc38@[10.20.30.158]>
In-Reply-To: <p06240819c586cdf1dc38@[10.20.30.158]>
Accept-Language: nl-NL, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: nl-NL, en-US
MIME-Version: 1.0
X-OriginalArrivalTime: 04 Jan 2009 22:02:14.0620 (UTC)
	FILETIME=[1A02D1C0:01C96EB8]
Cc: "ietf-pkix@imc.org" <ietf-pkix@imc.org>,
	"ietf-smime@imc.org" <ietf-smime@imc.org>,
	"cfrg@irtf.org" <cfrg@irtf.org>, "saag@ietf.org" <saag@ietf.org>
Subject: Re: [Cfrg] [saag] Further MD5 breaks: Creating a rogue CAcertificate
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

Hi Paul,

> >>Just to repeat it one more time: #3 does not prevent the 
> published attack.
> >
> >It does if the random fluff is inserted by the CA. The 
> attack depends on their ability to predict the entire TBS part.
> 
> I may have misunderstood the paper, but I think that changes 
> after the subjectPublicKeyInfo do not affect the attack.

Almost correct. A random looking "collision block" has to be inserted
somewhere. We chose to insert it in the public key, as that seems
the most convenient. Somebody else may find another place where
it can be hidden (maybe in a "subject key identifier" field or something,
I don't know what would be feasible). Everything after the "collision
block" must be copied bitwise into the twin certificate, and must be
'harmless' there. If 'random fluff' is inserted by the CA after the
"collision block", this 'random fluff' can be copied into the twin 
certificate as well, retaining the collision property, and this
would indeed be irrelevant to our attack.

> >Also, I've updated today and all the "bad" CAs with MD5 
> signatures are still in the TAS.
> 
> As was pointed out to me earlier: it does not matter if the 
> CA has its cert signed with MD5, only whether that CA *signs* 
> with MD5. RapidSSL, for example, is still signed with MD5 but 
> is now signing with SHA-1.

Correct.

Grtz,
Benne de Weger
_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg


From cfrg-bounces@irtf.org  Sun Jan  4 15:34:39 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 5008228C0E4;
	Sun,  4 Jan 2009 15:34:39 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 9D5B128C0E2
	for <cfrg@core3.amsl.com>; Sun,  4 Jan 2009 15:34:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.479
X-Spam-Level: 
X-Spam-Status: No, score=-1.479 tagged_above=-999 required=5
	tests=[AWL=-0.010, BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id WHPfCBMWtZxm for <cfrg@core3.amsl.com>;
	Sun,  4 Jan 2009 15:34:36 -0800 (PST)
Received: from scygmxsecs1.cygnacom.com (scygmxsecs1.cygnacom.com
	[65.242.48.253]) by core3.amsl.com (Postfix) with SMTP id 8D2B028B56A
	for <cfrg@irtf.org>; Sun,  4 Jan 2009 15:34:36 -0800 (PST)
Received: (qmail 6928 invoked from network); 4 Jan 2009 22:34:40 -0000
Received: from SChokhani@cygnacom.com by scygmxsecs1.cygnacom.com with
	EntrustECS-Server-7.4; 04 Jan 2009 22:34:40 -0000
Received: from unknown (HELO scygexch1.cygnacom.com) (10.60.50.8)
	by scygmxsecs1.cygnacom.com with SMTP; 4 Jan 2009 22:34:40 -0000
Content-class: urn:content-classes:message
MIME-Version: 1.0
X-MimeOLE: Produced By Microsoft Exchange V6.5
Date: Sun, 4 Jan 2009 17:34:21 -0500
Message-ID: <FAD1CF17F2A45B43ADE04E140BA83D4893664F@scygexch1.cygnacom.com>
In-Reply-To: <p06240819c586cdf1dc38@[10.20.30.158]>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Cfrg] [saag] Further MD5 breaks: Creating a rogue CAcertificate
Thread-Index: AclurKoRqf7W7I+NT92pGLSCmb5SbAAD7uUg
References: <495BA5E9.8040305@pobox.com>
	<495E3446.4070606@htt-consult.com><230CAA22-D118-4F29-9DC8-32FDCD7D771E@checkpoint.com><p06240804c586b9520715@[10.20.30.158]><C178CD90-F101-4E52-9C6F-055510471654@checkpoint.com>
	<p06240819c586cdf1dc38@[10.20.30.158]>
From: "Santosh Chokhani" <SChokhani@cygnacom.com>
To: "Paul Hoffman" <paul.hoffman@vpnc.org>,
	"Yoav Nir" <ynir@checkpoint.com>
Cc: ietf-pkix@imc.org, ietf-smime@imc.org, cfrg@irtf.org, saag@ietf.org
Subject: Re: [Cfrg] [saag] Further MD5 breaks: Creating a rogue CAcertificate
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

I agree with Paul.

Unless the Length of TBD certificate as part of DER is made
unpredictable, any values on extensions just go in the tumor.

-----Original Message-----
From: cfrg-bounces@irtf.org [mailto:cfrg-bounces@irtf.org] On Behalf Of
Paul Hoffman
Sent: Sunday, January 04, 2009 3:40 PM
To: Yoav Nir
Cc: ietf-pkix@imc.org; ietf-smime@imc.org; cfrg@irtf.org; saag@ietf.org
Subject: Re: [Cfrg] [saag] Further MD5 breaks: Creating a rogue
CAcertificate

At 10:23 PM +0200 1/4/09, Yoav Nir wrote:
>On Jan 4, 2009, at 9:11 PM, Paul Hoffman wrote:
>
>>At 9:02 AM +0200 1/4/09, Yoav Nir wrote:
>>>Best we can do is to get the CAs to
>>>
>>>(1) not issue MD5 certs anymore and
>>>(2) randomize the serial number and/or
>>>(3) and a random fluff extension that people are talking about
>>
>>Just to repeat it one more time: #3 does not prevent the published
attack.
>
>It does if the random fluff is inserted by the CA. The attack depends
on their ability to predict the entire TBS part.

I may have misunderstood the paper, but I think that changes after the
subjectPublicKeyInfo do not affect the attack.

>>>But still, I don't see Microsoft removing a root CA because one of
their sub-CAs is issuing non-compliant certificates.
>>
>>It is hard to see Microsoft removing or adding CAs. If anyone knows of
a public interface (mailing list, web site, whatever) for when this
happens, by all means please the world know.
>
>I managed to find a page with their policy on adding new root CAs.
Nothing there about removing old root CAs.

I'm not talking about the policy: I'm talking about the actual trust
anchors themselves.

>>>And if Microsoft don't, nobody else will. The
Firefox/Opera/Safari/Chrome people don't want any sites that "only work
with Explorer".
>>
>>At least with respect to Firefox, I think that statement is false.
>
>They've done quite a bit to render broken sites that were made for IE.

That is irrelevant for this thread. There are active discussions in the
Firefox community about adding and removing trust anchors that are and
are not already in the IE trust anchor pile.

>Also, I've updated today and all the "bad" CAs with MD5 signatures are
still in the TAS.

As was pointed out to me earlier: it does not matter if the CA has its
cert signed with MD5, only whether that CA *signs* with MD5. RapidSSL,
for example, is still signed with MD5 but is now signing with SHA-1.

--Paul Hoffman, Director
--VPN Consortium
_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg
_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg


From a1aaa1azzzz1zaaaaa@gayrelish.com  Mon Jan  5 00:42:17 2009
Return-Path: <a1aaa1azzzz1zaaaaa@gayrelish.com>
X-Original-To: ietfarch-cfrg-archive@core3.amsl.com
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 38A443A6AC3;
	Mon,  5 Jan 2009 00:42:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.73
X-Spam-Level: 
X-Spam-Status: No, score=-15.73 tagged_above=-999 required=5
	tests=[BAYES_60=1, FH_HELO_EQ_D_D_D_D=1.597, FH_HOST_EQ_D_D_D_D=0.765,
	FH_HOST_EQ_D_D_D_DB=0.888, FM_DDDD_TIMES_2=1.999,
	HELO_DYNAMIC_HCC=4.295, HELO_DYNAMIC_IPADDR2=4.395, HELO_EQ_BR=0.955,
	HOST_EQ_BR=1.295, RCVD_IN_BL_SPAMCOP_NET=1.96, RCVD_IN_PBL=0.905,
	RCVD_IN_XBL=3.033, RDNS_DYNAMIC=0.1, URIBL_BLACK=20,
	URIBL_JP_SURBL=10, URIBL_OB_SURBL=10, URIBL_RHS_DOB=1.083,
	URIBL_SBL=20, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id NVxrNmQecKEh; Mon,  5 Jan 2009 00:42:16 -0800 (PST)
Received: from 201-75-82-91-ma.cpe.vivax.com.br (201-75-82-91-ma.cpe.vivax.com.br [201.75.82.91])
	by core3.amsl.com (Postfix) with SMTP id 91CE13A69D3;
	Mon,  5 Jan 2009 00:41:49 -0800 (PST)
Message-ID: <fbcwr304995044architecture-discuss@ietf.org>
Date: Mon, 05 Jan 2009 03:41:46 -0500
From: "Brett Gee" <architecture-discuss@ietf.org>
Subject: Breitling watches wholesale all year long!
To: architecture-discuss@ietf.org
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Dear Brett,

Looking for a Chopard? How about getting two, one for you and one for your spouse?
http://www.wanemake.com/

With top notch customer service and super warranty, we stand behind our watches.
http://www.wanemake.com/

Our Chopard have all appropriate markings, wordings and engravings same as orginal.

Sincerely,
Mr Gee



From cfrg-bounces@irtf.org  Mon Jan  5 05:27:25 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 77C4A3A6A31;
	Mon,  5 Jan 2009 05:27:25 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id D998F3A6A31
	for <cfrg@core3.amsl.com>; Mon,  5 Jan 2009 05:27:23 -0800 (PST)
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 ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id q2lWVPxjo25h for <cfrg@core3.amsl.com>;
	Mon,  5 Jan 2009 05:27:23 -0800 (PST)
Received: from vms044pub.verizon.net (vms044pub.verizon.net [206.46.252.44])
	by core3.amsl.com (Postfix) with ESMTP id A52293A6A2E
	for <cfrg@irtf.org>; Mon,  5 Jan 2009 05:27:23 -0800 (PST)
Received: from [10.30.20.71] ([70.104.193.39])
	by vms044.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01
	(built Apr
	3 2006)) with ESMTPA id <0KD000BYR2OSD332@vms044.mailsrvcs.net> for
	cfrg@irtf.org; Mon, 05 Jan 2009 07:26:57 -0600 (CST)
Date: Mon, 05 Jan 2009 08:26:52 -0500
From: RJ Atkinson <rja@extremenetworks.com>
In-reply-to: <200901051006.FAA20784@Sparkle.Rodents-Montreal.ORG>
To: der Mouse <mouse@Rodents-Montreal.ORG>
Message-id: <EDF5EEB5-4363-4ED1-A865-66C073E17969@extremenetworks.com>
MIME-version: 1.0 (Apple Message framework v930.3)
X-Mailer: Apple Mail (2.930.3)
References: <200812301605.mBUG5cKU027325@raisinbran.srv.cs.cmu.edu>
	<9535147E88DA266C69B983D0@atlantis.pc.cs.cmu.edu>
	<p0624081dc5802a331eac@[10.20.30.158]>
	<alpine.LFD.1.10.0812301313570.2644@perf.cac.washington.edu>
	<200901051006.FAA20784@Sparkle.Rodents-Montreal.ORG>
Cc: "ietf-pkix@imc.org" <ietf-pkix@imc.org>,
	"ietf-smime@imc.org" <ietf-smime@imc.org>,
	"cfrg@irtf.org" <cfrg@irtf.org>, "saag@ietf.org" <saag@ietf.org>
Subject: Re: [Cfrg] [saag] Further MD5 breaks: Creating a rogue CA
	certificate
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes"
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org


On  5 Jan 2009, at 04:57, der Mouse wrote:
> What I, as an amateur, take away from it is approximately "MD5 is
> showing more and more cracks and nobody should use it for anything  
> that
> needs to withstand a malicious adversary".

Within the CA world, many folks here seem to agree.

However, the usage in CAs is rather different from
some other modes of operation (e.g. Keyed-Hash, HMAC-Hash).

So far, there are no known attacks on those other modes of operation.
[If someone knows of a refereed paper that's been published
on those latter topics, please share a citation here.]

> These may be the best openly published breaks of MD5 at the moment,

Mind, there are published "serious attacks" [using NIST's words
from their web site] against SHA-0 and SHA-1 also.   Timothy
Miller seemed to suggest in recent email that perhaps the PKIX WG
might enhance the CA structure to increase attack resistance in an
algorithm-independent way.

Now, may I suggest that folks please LOOK AT and possibly
REDUCE/EDIT the CC line as they reply to this thread going forward.
Items that are PKIX specific likely belong only on the PKIX
list.  Ditto for SMIME specific issues to the SMIME list.
That would leave only generic comments for the SAAG list.

Cheers,

Ran

_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg


From cfrg-bounces@irtf.org  Mon Jan  5 08:16:09 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 7F3AC28C0F7;
	Mon,  5 Jan 2009 08:16:09 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 66C6F28C0E8;
	Mon,  5 Jan 2009 08:16:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.999
X-Spam-Level: 
X-Spam-Status: No, score=-5.999 tagged_above=-999 required=5
	tests=[AWL=-0.600, BAYES_00=-2.599, J_CHICKENPOX_18=0.6,
	J_CHICKENPOX_61=0.6, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id AyQ5gTPZxtCd; Mon,  5 Jan 2009 08:16:06 -0800 (PST)
Received: from sj-iport-4.cisco.com (sj-iport-4.cisco.com [171.68.10.86])
	by core3.amsl.com (Postfix) with ESMTP id 2ABA43A67A5;
	Mon,  5 Jan 2009 08:16:06 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.36,332,1228089600"; 
	d="p7s'?scan'208";a="27329950"
Received: from sj-dkim-3.cisco.com ([171.71.179.195])
	by sj-iport-4.cisco.com with ESMTP; 05 Jan 2009 16:15:53 +0000
Received: from sj-core-1.cisco.com (sj-core-1.cisco.com [171.71.177.237])
	by sj-dkim-3.cisco.com (8.12.11/8.12.11) with ESMTP id n05GFr4E001120; 
	Mon, 5 Jan 2009 08:15:53 -0800
Received: from xbh-sjc-231.amer.cisco.com (xbh-sjc-231.cisco.com
	[128.107.191.100])
	by sj-core-1.cisco.com (8.13.8/8.13.8) with ESMTP id n05GFrJe025401;
	Mon, 5 Jan 2009 16:15:53 GMT
Received: from xfe-sjc-212.amer.cisco.com ([171.70.151.187]) by
	xbh-sjc-231.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Mon, 5 Jan 2009 08:15:51 -0800
Received: from stealth-10-32-254-212.cisco.com ([10.32.254.212]) by
	xfe-sjc-212.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Mon, 5 Jan 2009 08:15:50 -0800
Message-Id: <DA750EAE-54D0-40CE-998C-840F6057A9C8@cisco.com>
From: David McGrew <mcgrew@cisco.com>
To: der Mouse <mouse@Rodents-Montreal.ORG>
In-Reply-To: <200812240156.UAA04704@Sparkle.Rodents-Montreal.ORG>
Mime-Version: 1.0 (Apple Message framework v929.2)
Date: Mon, 5 Jan 2009 08:15:48 -0800
References: <20081219172158.9B50F3A6886@core3.amsl.com>
	<DE09FED0-96D8-41DD-93A8-06F1A16DA8BD@cisco.com>
	<200812191755.mBJHtWQm008375@toasties.srv.cs.cmu.edu>
	<AE8FA9B2B782C334AD0ADA96@atlantis.pc.cs.cmu.edu>
	<200812240156.UAA04704@Sparkle.Rodents-Montreal.ORG>
X-Mailer: Apple Mail (2.929.2)
X-OriginalArrivalTime: 05 Jan 2009 16:15:51.0110 (UTC)
	FILETIME=[E07C9E60:01C96F50]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=10557; t=1231172153;
	x=1232036153; c=relaxed/simple; s=sjdkim3002;
	h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version;
	d=cisco.com; i=mcgrew@cisco.com;
	z=From:=20David=20McGrew=20<mcgrew@cisco.com>
	|Subject:=20Re=3A=20[saag]=20[Cfrg]=20draft-mcgrew-tss-01
	|Sender:=20; bh=n38mgod7BasSjjwfiWqxxyLxvkvfuxInqrL5nJsY4ss=;
	b=PiGopg82/ZnaSzi/R345Ps5ZNJfgKiRY8woZzsZBJ5YkSkXOha/lFmW/uL
	G6NuGBCd6IdQ52GmH3fLY2A2SQ0d3WQQ+YL9sqbMXACmmxhQyQKMNatRsGNn
	rc2k27uIms;
Authentication-Results: sj-dkim-3; header.From=mcgrew@cisco.com; dkim=pass (
	sig from cisco.com/sjdkim3002 verified; ); 
Cc: cfrg@ietf.org, saag@ietf.org
Subject: Re: [Cfrg] [saag]  draft-mcgrew-tss-01
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
Content-Type: multipart/mixed; boundary="===============1021153903=="
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org


--===============1021153903==
Content-Type: multipart/signed; boundary=Apple-Mail-26--538121289; micalg=sha1; protocol="application/pkcs7-signature"


--Apple-Mail-26--538121289
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed;
	delsp=yes
Content-Transfer-Encoding: 7bit


On Dec 23, 2008, at 4:47 PM, der Mouse wrote:

>> - The field multiplication operation is more than a little opaque.
>>  How were the EXP and LOG tables generated?  Is there any convenient
>>  way to demonstrate that that the tables are actually correct and
>>  result in an invertible operation?
>
> The simple thing to do is to build a small program that uses the
> tables, and definitions of multiplication and division, from the
> draft, and verifies that a*b/a=b and a*b/b=a whenever, respectively, a
> or b is nonzero, and that, for any nonzero a, the function x->a*x is a
> permutation on the nonzero values of x.  I've done this (test program
> source is below), and they pass.
>
> I'm hardly an expert group theorist, but I *think* that the underlying
> math will work for any tables that pass those two tests.  (Since the
> definition of multiplication is symmetric, there is no need to test
> separately that x->x*b is a permutation for any nonzero b.)
>
> As for how EXP and LOG were generated, I don't know, since I didn't
> generate them. :)  I suspect EXP was generated by computing successive
> powers of 3 in the field used by Rijndael (ie, GF(256) with reducing
> polynomial 0x11b); the values match values computed that way, so even
> if it wasn't it might as well have been.  (LOG is just the inverse of
> EXP.)  My program checks that EXP matches the powers of 3 in GF(256)
> with polynomial 0x11b, and that EXP and LOG are inverses.

that's right, it's the AES/Rijndael field representation.  The draft  
should state this, since it might be useful to other implementers.

> (I actually
> would prefer that the spec define multiplication and division in terms
> of GF(256) and a particular reducing polynomial rather than in terms  
> of
> tables, even if the operations defined are identical.)

The way that the field is currently defined, there are no bit- 
operations.  That was a conscious choice, because the bit/byte  
conversion is often a point of confusion.

Others have also commented that more info on the field should be  
included, so I think the next version will have an appendix with more  
information in it.   I'd prefer to have minimum information in the  
normative section, and then have more background in an informative  
appendix.

David

>
>
> /~\ The ASCII				  Mouse
> \ / Ribbon Campaign
> X  Against HTML		mouse@rodents-montreal.org
> / \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B
>
> Here's that test program.  It prints any errors it finds, so it should
> produce no output.
>
> #include <stdio.h>
> #include <stdlib.h>
> #include <strings.h>
>
> static unsigned char EXP[] = {
>         0x01, 0x03, 0x05, 0x0f, 0x11, 0x33, 0x55, 0xff,
>         0x1a, 0x2e, 0x72, 0x96, 0xa1, 0xf8, 0x13, 0x35,
>         0x5f, 0xe1, 0x38, 0x48, 0xd8, 0x73, 0x95, 0xa4,
>         0xf7, 0x02, 0x06, 0x0a, 0x1e, 0x22, 0x66, 0xaa,
>         0xe5, 0x34, 0x5c, 0xe4, 0x37, 0x59, 0xeb, 0x26,
>         0x6a, 0xbe, 0xd9, 0x70, 0x90, 0xab, 0xe6, 0x31,
>         0x53, 0xf5, 0x04, 0x0c, 0x14, 0x3c, 0x44, 0xcc,
>         0x4f, 0xd1, 0x68, 0xb8, 0xd3, 0x6e, 0xb2, 0xcd,
>         0x4c, 0xd4, 0x67, 0xa9, 0xe0, 0x3b, 0x4d, 0xd7,
>         0x62, 0xa6, 0xf1, 0x08, 0x18, 0x28, 0x78, 0x88,
>         0x83, 0x9e, 0xb9, 0xd0, 0x6b, 0xbd, 0xdc, 0x7f,
>         0x81, 0x98, 0xb3, 0xce, 0x49, 0xdb, 0x76, 0x9a,
>         0xb5, 0xc4, 0x57, 0xf9, 0x10, 0x30, 0x50, 0xf0,
>         0x0b, 0x1d, 0x27, 0x69, 0xbb, 0xd6, 0x61, 0xa3,
>         0xfe, 0x19, 0x2b, 0x7d, 0x87, 0x92, 0xad, 0xec,
>         0x2f, 0x71, 0x93, 0xae, 0xe9, 0x20, 0x60, 0xa0,
>         0xfb, 0x16, 0x3a, 0x4e, 0xd2, 0x6d, 0xb7, 0xc2,
>         0x5d, 0xe7, 0x32, 0x56, 0xfa, 0x15, 0x3f, 0x41,
>         0xc3, 0x5e, 0xe2, 0x3d, 0x47, 0xc9, 0x40, 0xc0,
>         0x5b, 0xed, 0x2c, 0x74, 0x9c, 0xbf, 0xda, 0x75,
>         0x9f, 0xba, 0xd5, 0x64, 0xac, 0xef, 0x2a, 0x7e,
>         0x82, 0x9d, 0xbc, 0xdf, 0x7a, 0x8e, 0x89, 0x80,
>         0x9b, 0xb6, 0xc1, 0x58, 0xe8, 0x23, 0x65, 0xaf,
>         0xea, 0x25, 0x6f, 0xb1, 0xc8, 0x43, 0xc5, 0x54,
>         0xfc, 0x1f, 0x21, 0x63, 0xa5, 0xf4, 0x07, 0x09,
>         0x1b, 0x2d, 0x77, 0x99, 0xb0, 0xcb, 0x46, 0xca,
>         0x45, 0xcf, 0x4a, 0xde, 0x79, 0x8b, 0x86, 0x91,
>         0xa8, 0xe3, 0x3e, 0x42, 0xc6, 0x51, 0xf3, 0x0e,
>         0x12, 0x36, 0x5a, 0xee, 0x29, 0x7b, 0x8d, 0x8c,
>         0x8f, 0x8a, 0x85, 0x94, 0xa7, 0xf2, 0x0d, 0x17,
>         0x39, 0x4b, 0xdd, 0x7c, 0x84, 0x97, 0xa2, 0xfd,
>         0x1c, 0x24, 0x6c, 0xb4, 0xc7, 0x52, 0xf6, 0x00 };
>
> static unsigned char LOG[] = {
>         0x00, 0x00, 0x19, 0x01, 0x32, 0x02, 0x1a, 0xc6,
>         0x4b, 0xc7, 0x1b, 0x68, 0x33, 0xee, 0xdf, 0x03,
>         0x64, 0x04, 0xe0, 0x0e, 0x34, 0x8d, 0x81, 0xef,
>         0x4c, 0x71, 0x08, 0xc8, 0xf8, 0x69, 0x1c, 0xc1,
>         0x7d, 0xc2, 0x1d, 0xb5, 0xf9, 0xb9, 0x27, 0x6a,
>         0x4d, 0xe4, 0xa6, 0x72, 0x9a, 0xc9, 0x09, 0x78,
>         0x65, 0x2f, 0x8a, 0x05, 0x21, 0x0f, 0xe1, 0x24,
>         0x12, 0xf0, 0x82, 0x45, 0x35, 0x93, 0xda, 0x8e,
>         0x96, 0x8f, 0xdb, 0xbd, 0x36, 0xd0, 0xce, 0x94,
>         0x13, 0x5c, 0xd2, 0xf1, 0x40, 0x46, 0x83, 0x38,
>         0x66, 0xdd, 0xfd, 0x30, 0xbf, 0x06, 0x8b, 0x62,
>         0xb3, 0x25, 0xe2, 0x98, 0x22, 0x88, 0x91, 0x10,
>         0x7e, 0x6e, 0x48, 0xc3, 0xa3, 0xb6, 0x1e, 0x42,
>         0x3a, 0x6b, 0x28, 0x54, 0xfa, 0x85, 0x3d, 0xba,
>         0x2b, 0x79, 0x0a, 0x15, 0x9b, 0x9f, 0x5e, 0xca,
>         0x4e, 0xd4, 0xac, 0xe5, 0xf3, 0x73, 0xa7, 0x57,
>         0xaf, 0x58, 0xa8, 0x50, 0xf4, 0xea, 0xd6, 0x74,
>         0x4f, 0xae, 0xe9, 0xd5, 0xe7, 0xe6, 0xad, 0xe8,
>         0x2c, 0xd7, 0x75, 0x7a, 0xeb, 0x16, 0x0b, 0xf5,
>         0x59, 0xcb, 0x5f, 0xb0, 0x9c, 0xa9, 0x51, 0xa0,
>         0x7f, 0x0c, 0xf6, 0x6f, 0x17, 0xc4, 0x49, 0xec,
>         0xd8, 0x43, 0x1f, 0x2d, 0xa4, 0x76, 0x7b, 0xb7,
>         0xcc, 0xbb, 0x3e, 0x5a, 0xfb, 0x60, 0xb1, 0x86,
>         0x3b, 0x52, 0xa1, 0x6c, 0xaa, 0x55, 0x29, 0x9d,
>         0x97, 0xb2, 0x87, 0x90, 0x61, 0xbe, 0xdc, 0xfc,
>         0xbc, 0x95, 0xcf, 0xcd, 0x37, 0x3f, 0x5b, 0xd1,
>         0x53, 0x39, 0x84, 0x3c, 0x41, 0xa2, 0x6d, 0x47,
>         0x14, 0x2a, 0x9e, 0x5d, 0x56, 0xf2, 0xd3, 0xab,
>         0x44, 0x11, 0x92, 0xd9, 0x23, 0x20, 0x2e, 0x89,
>         0xb4, 0x7c, 0xb8, 0x26, 0x77, 0x99, 0xe3, 0xa5,
>         0x67, 0x4a, 0xed, 0xde, 0xc5, 0x31, 0xfe, 0x18,
>         0x0d, 0x63, 0x8c, 0x80, 0xc0, 0xf7, 0x70, 0x07 };
>
> static unsigned char m(unsigned char a, unsigned char b)
> {
> return((a&&b)?EXP[(LOG[a]+LOG[b])%255]:0);
> }
>
> static unsigned char d(unsigned char a, unsigned char b)
> {
> if (! b) abort();
> return(a?EXP[(255+LOG[a]-LOG[b])%255]:0);
> }
>
> int main(void);
> int main(void)
> {
> unsigned int a;
> unsigned int b;
> unsigned int p;
> unsigned int q;
> char v[256];
>
> p = 1;
> for (a=0;a<255;a++)
>  { if (EXP[a] != p)
>     { printf("EXP[%02x] = %02x, not %02x\n",a,EXP[a],p);
>     }
>    p = (p ^ ((p&0x7f)<<1)) ^ ((p&0x80) ? 0x1b : 0);
>  }
> for (a=1;a<256;a++)
>  { if (EXP[LOG[a]] != a)
>     { printf("EXP[LOG[%02x]] = %02x\n",a,EXP[LOG[a]]);
>     }
>    bzero(&v[0],256);
>    for (b=1;b<256;b++)
>     { p = m(a,b);
>       v[p] = 1;
>       q = d(p,a);
>       if (q != b)
> 	{ printf("%02x * %02x = %02x / %02x = %02x\n",a,b,p,a,q);
> 	}
>       q = d(p,b);
>       if (q != a)
> 	{ printf("%02x * %02x = %02x / %02x = %02x\n",a,b,p,b,q);
> 	}
>     }
>    for (b=1;b<256;b++)
>     { if (! v[b])
> 	{ printf("%02x * all misses %02x\n",a,b);
> 	}
>     }
>  }
> return(0);
> }
> _______________________________________________
> saag mailing list
> saag@ietf.org
> https://www.ietf.org/mailman/listinfo/saag


--Apple-Mail-26--538121289
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIDnjCCA5ow
ggKCoAMCAQICAWQwCwYJKoZIhvcNAQEFMG0xFTATBgNVBAMMDERhdmlkIE1jR3JldzETMBEGA1UE
CAwKQ2FsaWZvcm5pYTELMAkGA1UEBhMCVVMxETAPBgNVBAcMCFNhbiBKb3NlMR8wHQYJKoZIhvcN
AQkBFhBtY2dyZXdAY2lzY28uY29tMB4XDTA4MTIwOTIyMDMzMFoXDTA5MTIwOTIyMDMzMFowbTEV
MBMGA1UEAwwMRGF2aWQgTWNHcmV3MRMwEQYDVQQIDApDYWxpZm9ybmlhMQswCQYDVQQGEwJVUzER
MA8GA1UEBwwIU2FuIEpvc2UxHzAdBgkqhkiG9w0BCQEWEG1jZ3Jld0BjaXNjby5jb20wggEiMA0G
CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDh5WR1gATRK4ubbWwmG2T/XTUeVc2FAxnmtoYy00fM
5jp3DYFXHkWj4Cl8RVVfAJxP/2PhKsTl0qx2b7N9pIZZa6BaODEyJ8yVMRHloHrpzHeU8DIrst/H
SFVkcJvl3p9LFD42BCvznzQ48VxnWX68OCk7GAwg6XoKMY8Z1F70PVvcZ0JcbnDuKx0efQ+P74uY
UdpjRYSXb2xJUziGs5k6b1kTr5754B3tnYCGkum49YAbONpsOL4R+e4HNNrkVTx254ggrcDb1GDr
IpZYCSPh6lZWwOp0XBoJiLYEKXuBf/jSNEv15/Kt/Uu5Oh8jUBxkBHGAVZuaVu25s3Zk9waLAgMB
AAGjRzBFMA4GA1UdDwEB/wQEAwIEsDAWBgNVHSUBAf8EDDAKBggrBgEFBQcDBDAbBgNVHREEFDAS
gRBtY2dyZXdAY2lzY28uY29tMA0GCSqGSIb3DQEBBQUAA4IBAQCbD+Y6Yu0d5FZHSGd7WTP7vlo+
SE2rF0YzqvcMYrEuu6VBbkOFGfq3leu2WVJinXYQwAgaZ7vJpH43/bjDIK4YuOqAUv57ZQjtCJ6W
6b0rdG8/A2cWcGoDjqmjAGJ4TC8oMIc0h33QPEjsGdon0nsV0QCxrgWcWEjFSzlE6kbR4pT3yA2V
zo7byNoDoYpH5otGH0/cRQM9i6ENTytxzczPeNTt2uaMp/3s8MZ5W/0Yz8U/yy5bcS5TGrqgTvN7
mI+nngoJ4TNKapSpdSqCyEK86z51VWtRRFyBosLQsNhMYb7HWzW/mIQCG0SygOVjUcRPKxhYUokR
gCmxsHqcL1uMMYIDBDCCAwACAQEwcjBtMRUwEwYDVQQDDAxEYXZpZCBNY0dyZXcxEzARBgNVBAgM
CkNhbGlmb3JuaWExCzAJBgNVBAYTAlVTMREwDwYDVQQHDAhTYW4gSm9zZTEfMB0GCSqGSIb3DQEJ
ARYQbWNncmV3QGNpc2NvLmNvbQIBZDAJBgUrDgMCGgUAoIIBZzAYBgkqhkiG9w0BCQMxCwYJKoZI
hvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0wOTAxMDUxNjE1NDlaMCMGCSqGSIb3DQEJBDEWBBTO2X3w
GdYtZPvADVgI1zowkyjS8zCBgQYJKwYBBAGCNxAEMXQwcjBtMRUwEwYDVQQDDAxEYXZpZCBNY0dy
ZXcxEzARBgNVBAgMCkNhbGlmb3JuaWExCzAJBgNVBAYTAlVTMREwDwYDVQQHDAhTYW4gSm9zZTEf
MB0GCSqGSIb3DQEJARYQbWNncmV3QGNpc2NvLmNvbQIBZDCBgwYLKoZIhvcNAQkQAgsxdKByMG0x
FTATBgNVBAMMDERhdmlkIE1jR3JldzETMBEGA1UECAwKQ2FsaWZvcm5pYTELMAkGA1UEBhMCVVMx
ETAPBgNVBAcMCFNhbiBKb3NlMR8wHQYJKoZIhvcNAQkBFhBtY2dyZXdAY2lzY28uY29tAgFkMA0G
CSqGSIb3DQEBAQUABIIBALHKB7VNrF2gGc12fgBxbJeC0LFtNb2RN94zCs2+wqzJR8lfF2/DRCCX
9gZzs08Qte8hhEkzR8d4GJu2hpnIaUc2BZuX7PYnEoJJcSST1G8+6lYX39bOL6lGReXf7JXs6QGd
tDiTs1hLT13QcujyUDHH57yx8SPoxtB411dqcALQ5AIVV/dTLpRGbOYIedfiuuyMZQRKYba15TRa
lY4DHgBSM3stkVxCiuVrGW95vn1mvXrc6CUPvv9t5x+wJIPsnIWRYnxn91diqowMO+NamibOic3b
GYOkx1mwXPLtNaBc8H+UC5RtBq64flm1HVFhoR1gNRRj1vwT4ylkG6JijLwAAAAAAAA=

--Apple-Mail-26--538121289--

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

_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg

--===============1021153903==--


From cfrg-bounces@irtf.org  Mon Jan  5 10:16:43 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 43C193A687B;
	Mon,  5 Jan 2009 10:16:43 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 1A7C73A687B
	for <cfrg@core3.amsl.com>; Mon,  5 Jan 2009 10:16:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.513
X-Spam-Level: 
X-Spam-Status: No, score=-6.513 tagged_above=-999 required=5 tests=[AWL=0.086, 
	BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 7kglbylFqC51 for <cfrg@core3.amsl.com>;
	Mon,  5 Jan 2009 10:16:42 -0800 (PST)
Received: from sj-iport-6.cisco.com (sj-iport-6.cisco.com [171.71.176.117])
	by core3.amsl.com (Postfix) with ESMTP id 0230F3A680C
	for <cfrg@irtf.org>; Mon,  5 Jan 2009 10:16:42 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.36,332,1228089600"; 
	d="p7s'?scan'208";a="224066225"
Received: from sj-dkim-1.cisco.com ([171.71.179.21])
	by sj-iport-6.cisco.com with ESMTP; 05 Jan 2009 18:15:29 +0000
Received: from sj-core-1.cisco.com (sj-core-1.cisco.com [171.71.177.237])
	by sj-dkim-1.cisco.com (8.12.11/8.12.11) with ESMTP id n05IFTwg004793; 
	Mon, 5 Jan 2009 10:15:29 -0800
Received: from xbh-sjc-221.amer.cisco.com (xbh-sjc-221.cisco.com
	[128.107.191.63])
	by sj-core-1.cisco.com (8.13.8/8.13.8) with ESMTP id n05IFTt1024062;
	Mon, 5 Jan 2009 18:15:29 GMT
Received: from xfe-sjc-212.amer.cisco.com ([171.70.151.187]) by
	xbh-sjc-221.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Mon, 5 Jan 2009 10:15:29 -0800
Received: from stealth-10-32-254-212.cisco.com ([10.32.254.212]) by
	xfe-sjc-212.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Mon, 5 Jan 2009 10:15:28 -0800
Message-Id: <5F8E31B0-CD96-4ED1-83FD-883F0AD78657@cisco.com>
From: David McGrew <mcgrew@cisco.com>
To: RJ Atkinson <rja@extremenetworks.com>
In-Reply-To: <EDF5EEB5-4363-4ED1-A865-66C073E17969@extremenetworks.com>
Mime-Version: 1.0 (Apple Message framework v929.2)
Date: Mon, 5 Jan 2009 10:15:26 -0800
References: <200812301605.mBUG5cKU027325@raisinbran.srv.cs.cmu.edu>
	<9535147E88DA266C69B983D0@atlantis.pc.cs.cmu.edu>
	<p0624081dc5802a331eac@[10.20.30.158]>
	<alpine.LFD.1.10.0812301313570.2644@perf.cac.washington.edu>
	<200901051006.FAA20784@Sparkle.Rodents-Montreal.ORG>
	<EDF5EEB5-4363-4ED1-A865-66C073E17969@extremenetworks.com>
X-Mailer: Apple Mail (2.929.2)
X-OriginalArrivalTime: 05 Jan 2009 18:15:28.0611 (UTC)
	FILETIME=[969C5B30:01C96F61]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=5059; t=1231179329;
	x=1232043329; c=relaxed/simple; s=sjdkim1004;
	h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version;
	d=cisco.com; i=mcgrew@cisco.com;
	z=From:=20David=20McGrew=20<mcgrew@cisco.com>
	|Subject:=20attacks=20on=20keyed-hash=20constructions=20[wa
	s=3A=20Re=3A=20[cfrg]=20Further=20MD5=20breaks=3A=20Creating
	=20a=20rogue=20CA=20certificate] |Sender:=20;
	bh=qPhI4WZyZUZj1QJj+mjGuOCPBHDq0ZmCR0YsJEtfVis=;
	b=jLe9CpwfbLw6qFZiLttqNAHMr3IckcKvlUyuj0O3RSjvj7W+2q0K8ZOsfm
	i6/sXhyWMPuxWIseEY7CbLm4+1NyhFHB4TZ6C3+eFDZ0FC/ZJ4VwuHnPi5uv
	rtI8RjGvfhStRo0a+jdc5Ydow8QC76wKUkpfpqtbas/QDxwbVTXZI=;
Authentication-Results: sj-dkim-1; header.From=mcgrew@cisco.com; dkim=pass (
	sig from cisco.com/sjdkim1004 verified; ); 
Cc: ietf-pkix@imc.org, ietf-smime@imc.org, cfrg@irtf.org, saag@ietf.org
Subject: [Cfrg] attacks on keyed-hash constructions [was: Re: [cfrg] Further
	MD5 breaks: Creating a rogue CA certificate]
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
Content-Type: multipart/mixed; boundary="===============0068789088=="
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org


--===============0068789088==
Content-Type: multipart/signed; boundary=Apple-Mail-28--530943312; micalg=sha1; protocol="application/pkcs7-signature"


--Apple-Mail-28--530943312
Content-Type: text/plain;
	charset=WINDOWS-1252;
	format=flowed;
	delsp=yes
Content-Transfer-Encoding: quoted-printable

Hi Ran,

On Jan 5, 2009, at 5:26 AM, RJ Atkinson wrote:

>
> On  5 Jan 2009, at 04:57, der Mouse wrote:
>> What I, as an amateur, take away from it is approximately "MD5 is
>> showing more and more cracks and nobody should use it for anything =20=

>> that
>> needs to withstand a malicious adversary".
>
> Within the CA world, many folks here seem to agree.
>
> However, the usage in CAs is rather different from
> some other modes of operation (e.g. Keyed-Hash, HMAC-Hash).
>
> So far, there are no known attacks on those other modes of operation.
> [If someone knows of a refereed paper that's been published
> on those latter topics, please share a citation here.]

I'm not sure what you mean by keyed-hash, but here are some attacks =20
that might be relevant.

[1] B. Preneel and P. van Oorschot, =93MD-x MAC and building fast MACs =20=

from hash
functions,=94 Advances in Cryptology =96 Crypto 95 Proceedings, Lecture =20=

Notes in Computer
Science Vol. 963, D. Coppersmith ed., Springer-Verlag, 1995.

[2] B. Preneel and P. van Oorschot, =93On the security of two MAC =20
algorithms,=94 Advances
in Cryptology =96 Eurocrypt 96 Proceedings, Lecture Notes in Computer =20=

Science Vol. ??,
U. Maurer ed., Springer-Verlag, 1996.

RFC 2385 uses the method broken in Section 4.2 of [1].

HMAC seems to be secure given some reasonable assumptions about the =20
hash functions (namely, that the underlying hash has a compression =20
function that is a PRF - no collision resistance is required); see =
http://eprint.iacr.org/2006/043

>
>
>> These may be the best openly published breaks of MD5 at the moment,
>
> Mind, there are published "serious attacks" [using NIST's words
> from their web site] against SHA-0 and SHA-1 also.   Timothy
> Miller seemed to suggest in recent email that perhaps the PKIX WG
> might enhance the CA structure to increase attack resistance in an
> algorithm-independent way.
>
> Now, may I suggest that folks please LOOK AT and possibly
> REDUCE/EDIT the CC line as they reply to this thread going forward.
> Items that are PKIX specific likely belong only on the PKIX
> list.  Ditto for SMIME specific issues to the SMIME list.
> That would leave only generic comments for the SAAG list.
>

Done.

David


--Apple-Mail-28--530943312
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIDnjCCA5ow
ggKCoAMCAQICAWQwCwYJKoZIhvcNAQEFMG0xFTATBgNVBAMMDERhdmlkIE1jR3JldzETMBEGA1UE
CAwKQ2FsaWZvcm5pYTELMAkGA1UEBhMCVVMxETAPBgNVBAcMCFNhbiBKb3NlMR8wHQYJKoZIhvcN
AQkBFhBtY2dyZXdAY2lzY28uY29tMB4XDTA4MTIwOTIyMDMzMFoXDTA5MTIwOTIyMDMzMFowbTEV
MBMGA1UEAwwMRGF2aWQgTWNHcmV3MRMwEQYDVQQIDApDYWxpZm9ybmlhMQswCQYDVQQGEwJVUzER
MA8GA1UEBwwIU2FuIEpvc2UxHzAdBgkqhkiG9w0BCQEWEG1jZ3Jld0BjaXNjby5jb20wggEiMA0G
CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDh5WR1gATRK4ubbWwmG2T/XTUeVc2FAxnmtoYy00fM
5jp3DYFXHkWj4Cl8RVVfAJxP/2PhKsTl0qx2b7N9pIZZa6BaODEyJ8yVMRHloHrpzHeU8DIrst/H
SFVkcJvl3p9LFD42BCvznzQ48VxnWX68OCk7GAwg6XoKMY8Z1F70PVvcZ0JcbnDuKx0efQ+P74uY
UdpjRYSXb2xJUziGs5k6b1kTr5754B3tnYCGkum49YAbONpsOL4R+e4HNNrkVTx254ggrcDb1GDr
IpZYCSPh6lZWwOp0XBoJiLYEKXuBf/jSNEv15/Kt/Uu5Oh8jUBxkBHGAVZuaVu25s3Zk9waLAgMB
AAGjRzBFMA4GA1UdDwEB/wQEAwIEsDAWBgNVHSUBAf8EDDAKBggrBgEFBQcDBDAbBgNVHREEFDAS
gRBtY2dyZXdAY2lzY28uY29tMA0GCSqGSIb3DQEBBQUAA4IBAQCbD+Y6Yu0d5FZHSGd7WTP7vlo+
SE2rF0YzqvcMYrEuu6VBbkOFGfq3leu2WVJinXYQwAgaZ7vJpH43/bjDIK4YuOqAUv57ZQjtCJ6W
6b0rdG8/A2cWcGoDjqmjAGJ4TC8oMIc0h33QPEjsGdon0nsV0QCxrgWcWEjFSzlE6kbR4pT3yA2V
zo7byNoDoYpH5otGH0/cRQM9i6ENTytxzczPeNTt2uaMp/3s8MZ5W/0Yz8U/yy5bcS5TGrqgTvN7
mI+nngoJ4TNKapSpdSqCyEK86z51VWtRRFyBosLQsNhMYb7HWzW/mIQCG0SygOVjUcRPKxhYUokR
gCmxsHqcL1uMMYIDBDCCAwACAQEwcjBtMRUwEwYDVQQDDAxEYXZpZCBNY0dyZXcxEzARBgNVBAgM
CkNhbGlmb3JuaWExCzAJBgNVBAYTAlVTMREwDwYDVQQHDAhTYW4gSm9zZTEfMB0GCSqGSIb3DQEJ
ARYQbWNncmV3QGNpc2NvLmNvbQIBZDAJBgUrDgMCGgUAoIIBZzAYBgkqhkiG9w0BCQMxCwYJKoZI
hvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0wOTAxMDUxODE1MjdaMCMGCSqGSIb3DQEJBDEWBBSXSan/
gRHaf9+QPHq7m6l0XczZ+DCBgQYJKwYBBAGCNxAEMXQwcjBtMRUwEwYDVQQDDAxEYXZpZCBNY0dy
ZXcxEzARBgNVBAgMCkNhbGlmb3JuaWExCzAJBgNVBAYTAlVTMREwDwYDVQQHDAhTYW4gSm9zZTEf
MB0GCSqGSIb3DQEJARYQbWNncmV3QGNpc2NvLmNvbQIBZDCBgwYLKoZIhvcNAQkQAgsxdKByMG0x
FTATBgNVBAMMDERhdmlkIE1jR3JldzETMBEGA1UECAwKQ2FsaWZvcm5pYTELMAkGA1UEBhMCVVMx
ETAPBgNVBAcMCFNhbiBKb3NlMR8wHQYJKoZIhvcNAQkBFhBtY2dyZXdAY2lzY28uY29tAgFkMA0G
CSqGSIb3DQEBAQUABIIBABVUvthNkhYllLAjRtmJy0tf+00evlXhRTx0bq+50TyFYSf4aSSGW3m+
wkwhu+lCVdLGUZeyfjyDvTDpEPI2Glol6WHM2P0R0L7bL/IC5ZwYv9NAtLuP1e6jOGFzmN9V+bOG
5W5x5qWUCAkJVVScgH2ZAC7+wU2lmWaZMffDY8MKRhsW4Pwjx7r666Yl5LqjWRXLOMLF495KfgFE
IdHUcM377I/JRTXvLxZeEs0r6K6+oI+5k/syJLiJ2Gg2OiVX7w6HdODcM6cXNHe5OaXjjvAwFD9K
7Ceckf0Hj42TLmvjEkV31AdWlNEhyl6XFkIDnTaSHRtDtOKgN4fZDIUT5hwAAAAAAAA=

--Apple-Mail-28--530943312--

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

_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg

--===============0068789088==--


From cfrg-bounces@irtf.org  Mon Jan  5 11:48:01 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 315AF3A68E1;
	Mon,  5 Jan 2009 11:48:01 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 17DEA3A68E1
	for <cfrg@core3.amsl.com>; Mon,  5 Jan 2009 11:48:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.539
X-Spam-Level: 
X-Spam-Status: No, score=-2.539 tagged_above=-999 required=5 tests=[AWL=0.060, 
	BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id EtkKFfdB4AvV for <cfrg@core3.amsl.com>;
	Mon,  5 Jan 2009 11:47:59 -0800 (PST)
Received: from vms173001pub.verizon.net (vms173001pub.verizon.net
	[206.46.173.1]) by core3.amsl.com (Postfix) with ESMTP id 528393A66B4
	for <cfrg@irtf.org>; Mon,  5 Jan 2009 11:47:59 -0800 (PST)
Received: from [10.30.20.71] ([70.104.193.39]) by vms173001.mailsrvcs.net
	(Sun Java System Messaging Server 6.2-6.01 (built Apr  3 2006))
	with ESMTPA id <0KD000D3IKBBPG83@vms173001.mailsrvcs.net> for
	cfrg@irtf.org; Mon, 05 Jan 2009 13:47:36 -0600 (CST)
Date: Mon, 05 Jan 2009 14:47:35 -0500
From: RJ Atkinson <rja@extremenetworks.com>
In-reply-to: <5F8E31B0-CD96-4ED1-83FD-883F0AD78657@cisco.com>
To: David McGrew <mcgrew@cisco.com>
Message-id: <23490481-F122-4CEE-B0DE-57CBD06CCF11@extremenetworks.com>
MIME-version: 1.0 (Apple Message framework v930.3)
X-Mailer: Apple Mail (2.930.3)
References: <200812301605.mBUG5cKU027325@raisinbran.srv.cs.cmu.edu>
	<9535147E88DA266C69B983D0@atlantis.pc.cs.cmu.edu>
	<p0624081dc5802a331eac@[10.20.30.158]>
	<alpine.LFD.1.10.0812301313570.2644@perf.cac.washington.edu>
	<200901051006.FAA20784@Sparkle.Rodents-Montreal.ORG>
	<EDF5EEB5-4363-4ED1-A865-66C073E17969@extremenetworks.com>
	<5F8E31B0-CD96-4ED1-83FD-883F0AD78657@cisco.com>
Cc: "ietf-pkix@imc.org" <ietf-pkix@imc.org>,
	"ietf-smime@imc.org" <ietf-smime@imc.org>,
	"cfrg@irtf.org" <cfrg@irtf.org>, "saag@ietf.org" <saag@ietf.org>
Subject: Re: [Cfrg] attacks on keyed-hash constructions [was: Re: [cfrg]
 Further MD5 breaks: Creating a rogue CA certificate]
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="windows-1252"; Format="flowed"; DelSp="yes"
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org


On  5 Jan 2009, at 13:15, David McGrew wrote:
> I'm not sure what you mean by keyed-hash, but here are some attacks  =

> that might be relevant.
>
> [1] B. Preneel and P. van Oorschot, =93MD-x MAC and building fast MACs  =

> from hash
> functions,=94 Advances in Cryptology =96 Crypto 95 Proceedings, Lecture  =

> Notes in Computer
> Science Vol. 963, D. Coppersmith ed., Springer-Verlag, 1995.
>
> [2] B. Preneel and P. van Oorschot, =93On the security of two MAC  =

> algorithms,=94 Advances
> in Cryptology =96 Eurocrypt 96 Proceedings, Lecture Notes in Computer  =

> Science Vol. ??,
> U. Maurer ed., Springer-Verlag, 1996.
>
> RFC 2385 uses the method broken in Section 4.2 of [1].
>
> HMAC seems to be secure given some reasonable assumptions about the  =

> hash functions (namely, that the underlying hash has a compression  =

> function that is a PRF - no collision resistance is required); see http:/=
/eprint.iacr.org/2006/043

Thank you very much.
Pointers to the literature are very helpful.

One followup question, if I might, as a non-mathematician here.

Does the community agree on whether MD5, SHA-0, SHA-1, and/or SHA-2
meet the assumptions required by the HMAC proofs (e.g. your mention
above that the hash "is a PRF -- no collision resistance is
required") ???

I do continue to think that an Informational RFC that surveys
the use of hash functions -- as used by IETF protocols -- citing
the literature (as above) and comparing hash functions and modes
would be most helpful.  While RFC-4270 was good as far as it went,
it did not fully explain what the results meant relative to the
modes and algorithms that IETF specifications use -- and of course
time moves on and that RFC is now 3 years old.  :-)

Thanks again,

Ran
rja@extremenetworks.com


_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg


From aanstoos@westga.edu  Mon Jan  5 12:52:55 2009
Return-Path: <aanstoos@westga.edu>
X-Original-To: ietfarch-cfrg-archive@core3.amsl.com
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 7FD583A67A1;
	Mon,  5 Jan 2009 12:52:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -18.924
X-Spam-Level: 
X-Spam-Status: No, score=-18.924 tagged_above=-999 required=5
	tests=[AWL=-11.224, BAYES_50=0.001, HELO_DYNAMIC_HCC=4.295,
	HELO_EQ_DSL=1.129, RCVD_IN_BL_SPAMCOP_NET=1.96, RCVD_IN_PBL=0.905,
	RCVD_IN_SORBS_DUL=0.877, RCVD_IN_XBL=3.033, RDNS_DYNAMIC=0.1,
	URIBL_BLACK=20, URIBL_JP_SURBL=10, URIBL_OB_SURBL=10, URIBL_SBL=20,
	URIBL_SC_SURBL=10, URIBL_WS_SURBL=10, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id feF4XrCMHg-X; Mon,  5 Jan 2009 12:52:48 -0800 (PST)
Received: from a104-133.adsl.paltel.net (a104-133.adsl.paltel.net [213.6.104.133])
	by core3.amsl.com (Postfix) with SMTP id 89A8C3A67CC;
	Mon,  5 Jan 2009 12:51:33 -0800 (PST)
Message-ID: <petgt8.e8e9787architecture-discuss@ietf.org>
From: "Joy Cornett" <architecture-discuss@ietf.org>
Date: Mon, 05 Jan 2009 15:51:27 -0500
Subject: Vacheron Constantin cheaper than you could imagine!
To: architecture-discuss@ietf.org
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Dear Joy,

Looking for a Gucci watch that no one can tell from the original? You're in luck, because we have the best copies
http://www.daylike.com/

Take an extra 15% off your purchase during month of January (2009).
http://www.daylike.com/

Our Gucci have all appropriate markings, wordings and engravings same as orginal.

Sincerely,
Mr Cornett


From cfrg-bounces@irtf.org  Mon Jan  5 14:51:24 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 9AC1E28C130;
	Mon,  5 Jan 2009 14:51:24 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 94EAC28C130
	for <cfrg@core3.amsl.com>; Mon,  5 Jan 2009 14:51:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.532
X-Spam-Level: 
X-Spam-Status: No, score=-6.532 tagged_above=-999 required=5 tests=[AWL=0.067, 
	BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 0y1lY+D0whnU for <cfrg@core3.amsl.com>;
	Mon,  5 Jan 2009 14:51:23 -0800 (PST)
Received: from sj-iport-6.cisco.com (sj-iport-6.cisco.com [171.71.176.117])
	by core3.amsl.com (Postfix) with ESMTP id 764F63A68A9
	for <cfrg@irtf.org>; Mon,  5 Jan 2009 14:51:23 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.36,334,1228089600"; d="scan'208";a="224209674"
Received: from sj-dkim-2.cisco.com ([171.71.179.186])
	by sj-iport-6.cisco.com with ESMTP; 05 Jan 2009 22:50:09 +0000
Received: from sj-core-1.cisco.com (sj-core-1.cisco.com [171.71.177.237])
	by sj-dkim-2.cisco.com (8.12.11/8.12.11) with ESMTP id n05MoALW025455; 
	Mon, 5 Jan 2009 14:50:10 -0800
Received: from xbh-sjc-231.amer.cisco.com (xbh-sjc-231.cisco.com
	[128.107.191.100])
	by sj-core-1.cisco.com (8.13.8/8.13.8) with ESMTP id n05MoA78014524;
	Mon, 5 Jan 2009 22:50:10 GMT
Received: from xfe-sjc-211.amer.cisco.com ([171.70.151.174]) by
	xbh-sjc-231.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Mon, 5 Jan 2009 14:50:10 -0800
Received: from stealth-10-32-254-212.cisco.com ([10.32.254.212]) by
	xfe-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Mon, 5 Jan 2009 14:50:09 -0800
Message-Id: <21E69071-3D71-4882-94DF-80163CE7BEC9@cisco.com>
From: David McGrew <mcgrew@cisco.com>
To: RJ Atkinson <rja@extremenetworks.com>
In-Reply-To: <7E552E3F-C85A-4F0E-AC3E-879720A1E55F@extremenetworks.com>
Mime-Version: 1.0 (Apple Message framework v929.2)
Date: Mon, 5 Jan 2009 14:50:07 -0800
References: <E1LHplH-0006Xw-V6@wintermute01.cs.auckland.ac.nz>
	<7E552E3F-C85A-4F0E-AC3E-879720A1E55F@extremenetworks.com>
X-Mailer: Apple Mail (2.929.2)
X-OriginalArrivalTime: 05 Jan 2009 22:50:10.0168 (UTC)
	FILETIME=[F6625F80:01C96F87]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=3144; t=1231195810;
	x=1232059810; c=relaxed/simple; s=sjdkim2002;
	h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version;
	d=cisco.com; i=mcgrew@cisco.com;
	z=From:=20David=20McGrew=20<mcgrew@cisco.com>
	|Subject:=20RFC=20analyzing=20IETF=20use=20of=20hash=20func
	tions=20[was=3A=20Re=3A=20[Cfrg]=20[saag]=20Further=20MD5=20
	breaks=3A=20Creating=20a=20rogue=20CA=20certificate]
	|Sender:=20; bh=/EOm7o7BFuNGEpF8AWkLvl4Syyir1HDoZeP6RPRibLk=;
	b=oUT4ALOBNjDsljdVPM+ilLgq4X+HrTd7Qehyy9qeW6vRwPq03+2wXckKZ0
	NKtOcHzPvXJ2AFsVwY3vIIY/wUzMHOQl4h9bme9Q0kZbqzksVMB0y760eXcb
	d1CAE4f3WB;
Authentication-Results: sj-dkim-2; header.From=mcgrew@cisco.com; dkim=pass (
	sig from cisco.com/sjdkim2002 verified; ); 
Cc: cfrg@irtf.org, saag@ietf.org
Subject: [Cfrg] RFC analyzing IETF use of hash functions [was: Re: [saag]
	Further MD5 breaks: Creating a rogue CA certificate]
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes"
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

Hi Ran,

I think it is a great idea to document the IETF applications/uses of  
hashing, and the attacks against particular uses of hashing.  It would  
make a great CFRG informational RFC, if we can find volunteers to  
contribute to and edit it.  I offer to review it.

David

On Dec 31, 2008, at 7:48 AM, RJ Atkinson wrote:

>
> [Distribution trimmed slightly to reduce cross-posting and improve  
> SNR.]
>
> On  30 Dec 2008, at 20:20, Peter Gutmann wrote:
>> The current MD5 attack is very cool but there's no need to worry  
>> about
>> bad guys doing much with it because it's much, much easier to get
>> legitimate CA-issued certs the normal way, you buy them just like
>> everyone else does (except that you use someone else's credit card
>> and identity, obviously).
>
>
> Two thoughts:
>
> 1) Protocol Issues
>
> The IETF ought to be thinking about a wide range of IETF protools
> in the same way that Peter thinks about CA security issues above.
>
> For some IETF protocols, for example all of the IGP authentication
> extensions (excepting RFC-2154, AFAICT), active non-cryptographic
> attacks are feasible (if not yet seen in the deployed world, AFAICT)
> that are much easier than *any* cryptographic attack.  Again, and
> only by way of example, RFC-4822 discusses some of these that are
> specific to RIPv2 authentication.
>
> For protocols where non-cryptographic attacks are feasible AND
> are lower cost than a cryptographic attack, really it does not make
> much difference what cryptographic algorithm gets deployed by a user
> -- and the IETF's focus should be on improving the underlying  
> authentication mechanism BEFORE worrying about which cryptographic
> algorithms are being deployed.
>
> Attackers are generally both smart and lazy, so they won't waste
> time on an expensive cryptographic attack when a lower effort
> non-cryptographic attack exists.
>
>
> 2) Hash algorithm analysis
>
> It would be very helpful if a *set* of mathematicians/cryptographers
> could jointly put together a summary of the known attacks on all
> the widely used hash algorithms (e.g. MD2, MD4, MD5, SHA-0, SHA-1,
> SHA-2, others), *including references to the published literature*.
>
> Ideally, this analysis would also include discussion of whether those
> attacks apply for those same algorithms when used in the modes  
> employed
> by various IETF protocols today (e.g. Keyed-Hash as used in OSPFv2 MD5
> or RIPv2 MD5, HMAC-Hash, and so forth).
>
> This would be most useful to have as an Informational RFC,
> and SOON, so that IETF WGs could have some "consensus" document
> to refer to -- and to cite explicitly -- if any IETF WGs decide
> to make hash algorithm recommendations or decisions.
>
> I don't understand IRTF process details perfectly, but perhaps
> the CFRG chairs might undertake creating such a document as a
> near-term official CFRG group project.
>
> Yours,
>
> Ran
> rja@extremenetworks.com
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> https://www.irtf.org/mailman/listinfo/cfrg

_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg


From cfrg-bounces@irtf.org  Mon Jan  5 15:10:29 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 6888F3A6A22;
	Mon,  5 Jan 2009 15:10:29 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id F11E33A68BA;
	Mon,  5 Jan 2009 15:10:27 -0800 (PST)
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=[AWL=0.000, 
	BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id oYj8bWPXJEba; Mon,  5 Jan 2009 15:10:26 -0800 (PST)
Received: from balder-227.proper.com
	(properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net
	[IPv6:2001:470:1f04:392::2])
	by core3.amsl.com (Postfix) with ESMTP id 779203A684C;
	Mon,  5 Jan 2009 15:10:26 -0800 (PST)
Received: from [10.20.30.158] (sn81.proper.com [75.101.18.81])
	(authenticated bits=0)
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n05N9xhd057971
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Mon, 5 Jan 2009 16:10:01 -0700 (MST)
	(envelope-from paul.hoffman@vpnc.org)
Mime-Version: 1.0
Message-Id: <p06240813c58843633ee5@[10.20.30.158]>
In-Reply-To: <21E69071-3D71-4882-94DF-80163CE7BEC9@cisco.com>
References: <E1LHplH-0006Xw-V6@wintermute01.cs.auckland.ac.nz>
	<7E552E3F-C85A-4F0E-AC3E-879720A1E55F@extremenetworks.com>
	<21E69071-3D71-4882-94DF-80163CE7BEC9@cisco.com>
Date: Mon, 5 Jan 2009 15:09:58 -0800
To: David McGrew <mcgrew@cisco.com>, RJ Atkinson <rja@extremenetworks.com>
From: Paul Hoffman <paul.hoffman@vpnc.org>
Cc: cfrg@irtf.org, saag@ietf.org
Subject: Re: [Cfrg] RFC analyzing IETF use of hash functions [was: Re:
 [saag] Further MD5 breaks: Creating a rogue CA certificate]
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

At 2:50 PM -0800 1/5/09, David McGrew wrote:
>I think it is a great idea to document the IETF applications/uses of hashing, and the attacks against particular uses of hashing.  It would make a great CFRG informational RFC, if we can find volunteers to contribute to and edit it.  I offer to review it.

I will volunteer to update RFC 4270, and I assume that Bruce Schneier would be willing to still be my co-author.

--Paul Hoffman, Director
--VPN Consortium
_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg


From cfrg-bounces@irtf.org  Mon Jan  5 18:56:36 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 87AA628C0E0;
	Mon,  5 Jan 2009 18:56:36 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 8BF6E28C0CE;
	Mon,  5 Jan 2009 18:56:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.567
X-Spam-Level: 
X-Spam-Status: No, score=-2.567 tagged_above=-999 required=5 tests=[AWL=0.032, 
	BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id kdfyzHWEtUwo; Mon,  5 Jan 2009 18:56:33 -0800 (PST)
Received: from mx11.bbn.com (mx11.bbn.com [128.33.0.80])
	by core3.amsl.com (Postfix) with ESMTP id 9CD753A6835;
	Mon,  5 Jan 2009 18:56:33 -0800 (PST)
Received: from dommiel.bbn.com ([192.1.122.15] helo=[10.16.95.209])
	by mx11.bbn.com with esmtp (Exim 4.60) (envelope-from <kent@bbn.com>)
	id 1LK26z-0000cO-DW; Mon, 05 Jan 2009 21:56:09 -0500
Mime-Version: 1.0
Message-Id: <p06240804c5887593febc@[10.16.95.209]>
In-Reply-To: <496214E9.6010902@mitre.org>
References: <495BA5E9.8040305@pobox.com>
	<E1LILYj-00066V-WE@wintermute01.cs.auckland.ac.nz>
	<1b587cab0901010706j6e8cd2f8pf23345660a4825a5@mail.gmail.com><p06240824c58
	2ab4501d1@[10.20.30.158]> <495D0100.6000200@links.org>
	<FAD1CF17F2A45B43ADE04E140BA83D489365F1@scygexch1.cygnacom.com>
	<495D1C0A.2080105@links.org> <496214E9.6010902@mitre.org>
Date: Mon, 5 Jan 2009 21:53:15 -0500
To: "Timothy J. Miller" <tmiller@mitre.org>
From: Stephen Kent <kent@bbn.com>
Cc: "cfrg@irtf.org" <cfrg@irtf.org>, Paul Hoffman <paul.hoffman@vpnc.org>,
	"ietf-smime@imc.org" <ietf-smime@imc.org>, "saag@ietf.org" <saag@ietf.org>,
	"ietf-pkix@imc.org" <ietf-pkix@imc.org>,
	Santosh Chokhani <SChokhani@cygnacom.com>,
	"mike-list@pobox.com" <mike-list@pobox.com>
Subject: Re: [Cfrg] [saag] Further MD5 breaks: Creating a rogue CAcertificate
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

At 8:10 AM -0600 1/5/09, Timothy J. Miller wrote:
>Ben Laurie wrote:
>
>>I am not suggesting that we should fix X.509, I am pointing out, in my
>>own roundabout way, that X.509 certs are supposed to have a canonical
>>form. But it seems they do not.
>
>That was last month's major discussion on PKIX.  The upshot: there's 
>no canonical form other than what's in memory.
>
>-- Tim

Tim,

Your response is an oversimplification, in several respects.

Ben's comment was a bit ill-formed. It's not that certs in general do 
or do not have a canonical form, but whether a given cert has a 
canonical representation. If the cert has no extensions, then it 
does. If it has extensions, then since the top level extension syntax 
is a SEQUENCE, there the order of extensions in that sequence (when 
the cert was signed) is definitive. (if that syntax had called for a 
SET, then  DER encoding would impose an order at this level, so use 
of the SEQUENCE construct here make life a bit easier.)

The context in which there is some disagreement is whether an 
extension needs to be DER encoded below the next level, where it is 
defined as an OCTET string. If one stops at the OCTET string level, 
the  life is easy and an RP can always encode to DER upon receipt 
(since the base cert format IS known by all RPs and they are 
technically capable of encoding it in DER).

If one interprets X.509 to require DER for the lower levels of the 
structure of a cert extension, then a problem can arise. It was noted 
that a non-critical extension (which therefore ought not be rejected 
out of hand by an RP) might have a syntax unknown to an RP. Thus the 
RP needs to assume that what it received is DER encoded when 
computing the signature, as it has no way to recompute the DER.

Steve
_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg


From cfrg-bounces@irtf.org  Mon Jan  5 19:27:26 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 0FBAB3A68E4;
	Mon,  5 Jan 2009 19:27:26 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id D9D333A68E4
	for <cfrg@core3.amsl.com>; Mon,  5 Jan 2009 19:27:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.291
X-Spam-Level: 
X-Spam-Status: No, score=-1.291 tagged_above=-999 required=5 tests=[AWL=1.308, 
	BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 0bdfgzYXUjy0 for <cfrg@core3.amsl.com>;
	Mon,  5 Jan 2009 19:27:24 -0800 (PST)
Received: from smtp104.biz.mail.re2.yahoo.com (smtp104.biz.mail.re2.yahoo.com
	[206.190.52.173])
	by core3.amsl.com (Postfix) with SMTP id 7E7E43A6826
	for <cfrg@irtf.org>; Mon,  5 Jan 2009 19:27:24 -0800 (PST)
Received: (qmail 50388 invoked from network); 6 Jan 2009 03:20:30 -0000
Received: from unknown (HELO ?192.168.1.2?) (turners@71.191.9.174 with plain)
	by smtp104.biz.mail.re2.yahoo.com with SMTP;
	6 Jan 2009 03:20:29 -0000
X-YMail-OSG: Z63BL6oVM1m.U4ByW.ZtpB8LfadDgSTjCSmqUkj2rNSI0CFaqLyAOG3Fmnfq6SGVjVCCOPxLGbfMNfJdNH06leCCa2AYTSU7O9hlDmLoBPHn3bx5T4estdF1LorH6mAtva2yvcWIbb4jnYUkp2kyS.OIKqmKOXF_AU3Gjr4blM5PFfn6CUeLQ5ag97NaCewnoJKasS70kLkH5sq77EwY.FeakfqiXlyHZEYh2YTdNM3pteyOd_OY19706R1v084-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4962CE09.5010007@ieca.com>
Date: Mon, 05 Jan 2009 22:20:41 -0500
From: Sean Turner <turners@ieca.com>
User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
MIME-Version: 1.0
To: David McGrew <mcgrew@cisco.com>
References: <E1LHplH-0006Xw-V6@wintermute01.cs.auckland.ac.nz>	<7E552E3F-C85A-4F0E-AC3E-879720A1E55F@extremenetworks.com>
	<21E69071-3D71-4882-94DF-80163CE7BEC9@cisco.com>
In-Reply-To: <21E69071-3D71-4882-94DF-80163CE7BEC9@cisco.com>
Cc: cfrg@irtf.org, saag@ietf.org
Subject: Re: [Cfrg] [saag] RFC analyzing IETF use of hash functions [was:
 Re: Further MD5 breaks: Creating a rogue CA certificate]
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

Dave,

When the S/MIME WG penned 
http://tools.ietf.org/html/draft-ietf-smime-multisig-05 we added an 
appendix that addresses where hashes are located in CMS's SignedData and 
the attacks against those hashes.  I'd be willing to help craft any 
other wording necessary for S/MIME|CMS.

spt

David McGrew wrote:
> Hi Ran,
> 
> I think it is a great idea to document the IETF applications/uses of 
> hashing, and the attacks against particular uses of hashing.  It would 
> make a great CFRG informational RFC, if we can find volunteers to 
> contribute to and edit it.  I offer to review it.
> 
> David
> 
> On Dec 31, 2008, at 7:48 AM, RJ Atkinson wrote:
> 
>>
>> [Distribution trimmed slightly to reduce cross-posting and improve SNR.]
>>
>> On  30 Dec 2008, at 20:20, Peter Gutmann wrote:
>>> The current MD5 attack is very cool but there's no need to worry about
>>> bad guys doing much with it because it's much, much easier to get
>>> legitimate CA-issued certs the normal way, you buy them just like
>>> everyone else does (except that you use someone else's credit card
>>> and identity, obviously).
>>
>>
>> Two thoughts:
>>
>> 1) Protocol Issues
>>
>> The IETF ought to be thinking about a wide range of IETF protools
>> in the same way that Peter thinks about CA security issues above.
>>
>> For some IETF protocols, for example all of the IGP authentication
>> extensions (excepting RFC-2154, AFAICT), active non-cryptographic
>> attacks are feasible (if not yet seen in the deployed world, AFAICT)
>> that are much easier than *any* cryptographic attack.  Again, and
>> only by way of example, RFC-4822 discusses some of these that are
>> specific to RIPv2 authentication.
>>
>> For protocols where non-cryptographic attacks are feasible AND
>> are lower cost than a cryptographic attack, really it does not make
>> much difference what cryptographic algorithm gets deployed by a user
>> -- and the IETF's focus should be on improving the underlying 
>> authentication mechanism BEFORE worrying about which cryptographic
>> algorithms are being deployed.
>>
>> Attackers are generally both smart and lazy, so they won't waste
>> time on an expensive cryptographic attack when a lower effort
>> non-cryptographic attack exists.
>>
>>
>> 2) Hash algorithm analysis
>>
>> It would be very helpful if a *set* of mathematicians/cryptographers
>> could jointly put together a summary of the known attacks on all
>> the widely used hash algorithms (e.g. MD2, MD4, MD5, SHA-0, SHA-1,
>> SHA-2, others), *including references to the published literature*.
>>
>> Ideally, this analysis would also include discussion of whether those
>> attacks apply for those same algorithms when used in the modes employed
>> by various IETF protocols today (e.g. Keyed-Hash as used in OSPFv2 MD5
>> or RIPv2 MD5, HMAC-Hash, and so forth).
>>
>> This would be most useful to have as an Informational RFC,
>> and SOON, so that IETF WGs could have some "consensus" document
>> to refer to -- and to cite explicitly -- if any IETF WGs decide
>> to make hash algorithm recommendations or decisions.
>>
>> I don't understand IRTF process details perfectly, but perhaps
>> the CFRG chairs might undertake creating such a document as a
>> near-term official CFRG group project.
>>
>> Yours,
>>
>> Ran
>> rja@extremenetworks.com
>>
>> _______________________________________________
>> Cfrg mailing list
>> Cfrg@irtf.org
>> https://www.irtf.org/mailman/listinfo/cfrg
> 
> _______________________________________________
> saag mailing list
> saag@ietf.org
> https://www.ietf.org/mailman/listinfo/saag
> 
_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg


From cfrg-bounces@irtf.org  Mon Jan  5 19:33:51 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 6A8EC3A6810;
	Mon,  5 Jan 2009 19:33:51 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 98DCD3A6810
	for <cfrg@core3.amsl.com>; Mon,  5 Jan 2009 19:33:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.948
X-Spam-Level: 
X-Spam-Status: No, score=-1.948 tagged_above=-999 required=5 tests=[AWL=0.651, 
	BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id bRAVRtvfKInn for <cfrg@core3.amsl.com>;
	Mon,  5 Jan 2009 19:33:49 -0800 (PST)
Received: from szxga04-in.huawei.com (szxga04-in.huawei.com [119.145.14.67])
	by core3.amsl.com (Postfix) with ESMTP id 167C23A67D8
	for <cfrg@irtf.org>; Mon,  5 Jan 2009 19:33:49 -0800 (PST)
Received: from huawei.com (szxga04-in [172.24.2.12])
	by szxga04-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 2.14
	(built Aug
	8 2006)) with ESMTP id <0KD100G975VY5B@szxga04-in.huawei.com> for
	cfrg@irtf.org; Tue, 06 Jan 2009 11:33:34 +0800 (CST)
Received: from huawei.com ([172.24.1.12])
	by szxga04-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 2.14
	(built Aug
	8 2006)) with ESMTP id <0KD1003XW5VYAR@szxga04-in.huawei.com> for
	cfrg@irtf.org; Tue, 06 Jan 2009 11:33:34 +0800 (CST)
Received: from s00102542 ([10.111.12.128])
	by szxml05-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 2.14
	(built Aug
	8 2006)) with ESMTPA id <0KD100IR75VV1T@szxml05-in.huawei.com> for
	cfrg@irtf.org; Tue, 06 Jan 2009 11:33:34 +0800 (CST)
Date: Tue, 06 Jan 2009 11:33:31 +0800
From: Sean Shen <sshen@huawei.com>
In-reply-to: <4962CE09.5010007@ieca.com>
To: cfrg@irtf.org, saag@ietf.org
Message-id: <00be01c96faf$8bea0720$800c6f0a@china.huawei.com>
MIME-version: 1.0
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3350
X-Mailer: Microsoft Office Outlook 11
Thread-index: AclvrcHnT6xNM1OrR8C5J7pd5NPAAQAAK0Ww
Subject: Re: [Cfrg] [saag] RFC analyzing IETF use of hash functions [was:
 Re: Further MD5 breaks: Creating a rogue CA certificate]
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

Hi,
A draft in CSI work group gives some analysis on hash threats on
CGA(RFC3972) and SeND(RFC3971). Hope it also provides valuable info.
I will be happy to give review or other possible support for this valuable
work.

Best,

Sean

>-----Original Message-----
>From: saag-bounces@ietf.org [mailto:saag-bounces@ietf.org] On 
>Behalf Of Sean Turner
>Sent: Tuesday, January 06, 2009 11:21 AM
>To: David McGrew
>Cc: cfrg@irtf.org; saag@ietf.org
>Subject: Re: [saag] RFC analyzing IETF use of hash functions 
>[was: Re: [Cfrg] Further MD5 breaks: Creating a rogue CA certificate]
>
>Dave,
>
>When the S/MIME WG penned
>http://tools.ietf.org/html/draft-ietf-smime-multisig-05 we 
>added an appendix that addresses where hashes are located in 
>CMS's SignedData and the attacks against those hashes.  I'd be 
>willing to help craft any other wording necessary for S/MIME|CMS.
>
>spt
>
>David McGrew wrote:
>> Hi Ran,
>> 
>> I think it is a great idea to document the IETF applications/uses of 
>> hashing, and the attacks against particular uses of hashing. 
> It would 
>> make a great CFRG informational RFC, if we can find volunteers to 
>> contribute to and edit it.  I offer to review it.
>> 
>> David
>> 
>> On Dec 31, 2008, at 7:48 AM, RJ Atkinson wrote:
>> 
>>>
>>> [Distribution trimmed slightly to reduce cross-posting and 
>improve SNR.]
>>>
>>> On  30 Dec 2008, at 20:20, Peter Gutmann wrote:
>>>> The current MD5 attack is very cool but there's no need to 
>worry about
>>>> bad guys doing much with it because it's much, much easier to get
>>>> legitimate CA-issued certs the normal way, you buy them just like
>>>> everyone else does (except that you use someone else's credit card
>>>> and identity, obviously).
>>>
>>>
>>> Two thoughts:
>>>
>>> 1) Protocol Issues
>>>
>>> The IETF ought to be thinking about a wide range of IETF protools
>>> in the same way that Peter thinks about CA security issues above.
>>>
>>> For some IETF protocols, for example all of the IGP authentication
>>> extensions (excepting RFC-2154, AFAICT), active non-cryptographic
>>> attacks are feasible (if not yet seen in the deployed world, AFAICT)
>>> that are much easier than *any* cryptographic attack.  Again, and
>>> only by way of example, RFC-4822 discusses some of these that are
>>> specific to RIPv2 authentication.
>>>
>>> For protocols where non-cryptographic attacks are feasible AND
>>> are lower cost than a cryptographic attack, really it does not make
>>> much difference what cryptographic algorithm gets deployed by a user
>>> -- and the IETF's focus should be on improving the underlying 
>>> authentication mechanism BEFORE worrying about which cryptographic
>>> algorithms are being deployed.
>>>
>>> Attackers are generally both smart and lazy, so they won't waste
>>> time on an expensive cryptographic attack when a lower effort
>>> non-cryptographic attack exists.
>>>
>>>
>>> 2) Hash algorithm analysis
>>>
>>> It would be very helpful if a *set* of mathematicians/cryptographers
>>> could jointly put together a summary of the known attacks on all
>>> the widely used hash algorithms (e.g. MD2, MD4, MD5, SHA-0, SHA-1,
>>> SHA-2, others), *including references to the published literature*.
>>>
>>> Ideally, this analysis would also include discussion of 
>whether those
>>> attacks apply for those same algorithms when used in the 
>modes employed
>>> by various IETF protocols today (e.g. Keyed-Hash as used in 
>OSPFv2 MD5
>>> or RIPv2 MD5, HMAC-Hash, and so forth).
>>>
>>> This would be most useful to have as an Informational RFC,
>>> and SOON, so that IETF WGs could have some "consensus" document
>>> to refer to -- and to cite explicitly -- if any IETF WGs decide
>>> to make hash algorithm recommendations or decisions.
>>>
>>> I don't understand IRTF process details perfectly, but perhaps
>>> the CFRG chairs might undertake creating such a document as a
>>> near-term official CFRG group project.
>>>
>>> Yours,
>>>
>>> Ran
>>> rja@extremenetworks.com
>>>
>>> _______________________________________________
>>> Cfrg mailing list
>>> Cfrg@irtf.org
>>> https://www.irtf.org/mailman/listinfo/cfrg
>> 
>> _______________________________________________
>> saag mailing list
>> saag@ietf.org
>> https://www.ietf.org/mailman/listinfo/saag
>> 
>_______________________________________________
>saag mailing list
>saag@ietf.org
>https://www.ietf.org/mailman/listinfo/saag
>


_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg


From cfrg-bounces@irtf.org  Tue Jan  6 01:02:19 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 8BEDE3A69F2;
	Tue,  6 Jan 2009 01:02:19 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 395EE3A69F2
	for <cfrg@core3.amsl.com>; Tue,  6 Jan 2009 01:02:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.742
X-Spam-Level: 
X-Spam-Status: No, score=-5.742 tagged_above=-999 required=5 tests=[AWL=0.857, 
	BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id wvYkPg5o0Jo1 for <cfrg@core3.amsl.com>;
	Tue,  6 Jan 2009 01:02:17 -0800 (PST)
Received: from mailhost.auckland.ac.nz (larry.its.auckland.ac.nz
	[130.216.12.34])
	by core3.amsl.com (Postfix) with ESMTP id 574B13A686D
	for <cfrg@irtf.org>; Tue,  6 Jan 2009 01:02:17 -0800 (PST)
Received: from localhost (localhost.localdomain [127.0.0.1])
	by mailhost.auckland.ac.nz (Postfix) with ESMTP id 7CAC71A20F;
	Tue,  6 Jan 2009 21:44:06 +1300 (NZDT)
X-Virus-Scanned: by amavisd-new at mailhost.auckland.ac.nz
Received: from mailhost.auckland.ac.nz ([127.0.0.1])
	by localhost (larry.its.auckland.ac.nz [127.0.0.1]) (amavisd-new,
	port 10024)
	with ESMTP id wXHL334utc-6; Tue,  6 Jan 2009 21:44:06 +1300 (NZDT)
Received: from iris.cs.auckland.ac.nz (iris.cs.auckland.ac.nz [130.216.33.152])
	by mailhost.auckland.ac.nz (Postfix) with ESMTP id 057771A202;
	Tue,  6 Jan 2009 21:44:00 +1300 (NZDT)
Received: from wintermute01.cs.auckland.ac.nz (wintermute01.cs.auckland.ac.nz
	[130.216.34.38]) (using TLSv1 with cipher AES256-SHA (256/256 bits))
	(No client certificate requested)
	by iris.cs.auckland.ac.nz (Postfix) with ESMTP
	id 78D7D1BE4002; Tue,  6 Jan 2009 21:43:56 +1300 (NZDT)
Received: from pgut001 by wintermute01.cs.auckland.ac.nz with local (Exim 4.63)
	(envelope-from <pgut001@wintermute01.cs.auckland.ac.nz>)
	id 1LK7XY-0004kA-BQ; Tue, 06 Jan 2009 21:43:56 +1300
From: pgut001@cs.auckland.ac.nz (Peter Gutmann)
To: tmiller@mitre.org, ynir@checkpoint.com
In-Reply-To: <49621BD4.1020909@mitre.org>
Message-Id: <E1LK7XY-0004kA-BQ@wintermute01.cs.auckland.ac.nz>
Date: Tue, 06 Jan 2009 21:43:56 +1300
Cc: rgm-sec@htt-consult.com, cfrg@irtf.org, ietf-smime@imc.org, saag@ietf.org,
	pmhesse@geminisecurity.com, ietf-pkix@imc.org, mike-list@pobox.com
Subject: Re: [Cfrg] [saag] Further MD5 breaks: Creating a rogue CAcertificate
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

"Timothy J. Miller" <tmiller@mitre.org> writes:

>The only reliable way to nuke a trusted cert from Windows is touch management
>of workstations.

It's worse than that, there is no reliable way to remove trusted certs from
Windows.  See Paul Hoffman's analysis at
http://www.proper.com/root-cert-problem/.

Peter.

_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg


From cfrg-bounces@irtf.org  Tue Jan  6 04:32:48 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id ECB133A6A4B;
	Tue,  6 Jan 2009 04:32:47 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 140863A6A4B
	for <cfrg@core3.amsl.com>; Tue,  6 Jan 2009 04:32:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.539
X-Spam-Level: 
X-Spam-Status: No, score=-6.539 tagged_above=-999 required=5 tests=[AWL=0.060, 
	BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id mmTRJjLY6zSQ for <cfrg@core3.amsl.com>;
	Tue,  6 Jan 2009 04:32:47 -0800 (PST)
Received: from sj-iport-2.cisco.com (sj-iport-2.cisco.com [171.71.176.71])
	by core3.amsl.com (Postfix) with ESMTP id EA0973A68FF
	for <cfrg@irtf.org>; Tue,  6 Jan 2009 04:32:46 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.36,338,1228089600"; d="scan'208";a="119996290"
Received: from sj-dkim-4.cisco.com ([171.71.179.196])
	by sj-iport-2.cisco.com with ESMTP; 06 Jan 2009 12:31:34 +0000
Received: from sj-core-1.cisco.com (sj-core-1.cisco.com [171.71.177.237])
	by sj-dkim-4.cisco.com (8.12.11/8.12.11) with ESMTP id n06CVYBG027276; 
	Tue, 6 Jan 2009 04:31:34 -0800
Received: from xbh-sjc-211.amer.cisco.com (xbh-sjc-211.cisco.com
	[171.70.151.144])
	by sj-core-1.cisco.com (8.13.8/8.13.8) with ESMTP id n06CVY4f017949;
	Tue, 6 Jan 2009 12:31:34 GMT
Received: from xfe-sjc-211.amer.cisco.com ([171.70.151.174]) by
	xbh-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Tue, 6 Jan 2009 04:31:33 -0800
Received: from stealth-10-32-254-212.cisco.com ([10.32.254.212]) by
	xfe-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Tue, 6 Jan 2009 04:31:32 -0800
Message-Id: <A3446CF9-EFD3-49FD-AD97-2B4A7785B41B@cisco.com>
From: David McGrew <mcgrew@cisco.com>
To: Sean Turner <turners@ieca.com>
In-Reply-To: <4962CE09.5010007@ieca.com>
Mime-Version: 1.0 (Apple Message framework v929.2)
Date: Tue, 6 Jan 2009 04:31:32 -0800
References: <E1LHplH-0006Xw-V6@wintermute01.cs.auckland.ac.nz>	<7E552E3F-C85A-4F0E-AC3E-879720A1E55F@extremenetworks.com>
	<21E69071-3D71-4882-94DF-80163CE7BEC9@cisco.com>
	<4962CE09.5010007@ieca.com>
X-Mailer: Apple Mail (2.929.2)
X-OriginalArrivalTime: 06 Jan 2009 12:31:33.0426 (UTC)
	FILETIME=[B57EC120:01C96FFA]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=3902; t=1231245094;
	x=1232109094; c=relaxed/simple; s=sjdkim4002;
	h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version;
	d=cisco.com; i=mcgrew@cisco.com;
	z=From:=20David=20McGrew=20<mcgrew@cisco.com>
	|Subject:=20Re=3A=20[saag]=20RFC=20analyzing=20IETF=20use=2
	0of=20hash=20functions=20[was=3A=20Re=3A=20[Cfrg]=20Further=
	20MD5=20breaks=3A=20Creating=20a=20rogue=20CA=20certificate]
	|Sender:=20; bh=vBJlGO+EuxYjCfoNr5I9eqI7zK265hkDT1IlN//XTWE=;
	b=PLAhdQD7RHT3CVkmF0Iw2n6ti8TlY4y86x5yKjcEXDFcmCiL4KYnOJs2DX
	RJtKz7q//pPB+gs0TXDhLNxyyz7RFbrWV+EpE7ym0Llz8q9OJvYlnOdwne6V
	zq2twmjkUJ;
Authentication-Results: sj-dkim-4; header.From=mcgrew@cisco.com; dkim=pass (
	sig from cisco.com/sjdkim4002 verified; ); 
Cc: cfrg@irtf.org, saag@ietf.org
Subject: Re: [Cfrg] [saag] RFC analyzing IETF use of hash functions [was:
	Re: Further MD5 breaks: Creating a rogue CA certificate]
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes"
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

Hi Sean,

On Jan 5, 2009, at 7:20 PM, Sean Turner wrote:

> Dave,
>
> When the S/MIME WG penned http://tools.ietf.org/html/draft-ietf-smime-multisig-05 
>  we added an appendix that addresses where hashes are located in  
> CMS's SignedData and the attacks against those hashes.  I'd be  
> willing to help craft any other wording necessary for S/MIME|CMS.

great, thanks for volunteering.

David

>
>
> spt
>
> David McGrew wrote:
>> Hi Ran,
>> I think it is a great idea to document the IETF applications/uses  
>> of hashing, and the attacks against particular uses of hashing.  It  
>> would make a great CFRG informational RFC, if we can find  
>> volunteers to contribute to and edit it.  I offer to review it.
>> David
>> On Dec 31, 2008, at 7:48 AM, RJ Atkinson wrote:
>>>
>>> [Distribution trimmed slightly to reduce cross-posting and improve  
>>> SNR.]
>>>
>>> On  30 Dec 2008, at 20:20, Peter Gutmann wrote:
>>>> The current MD5 attack is very cool but there's no need to worry  
>>>> about
>>>> bad guys doing much with it because it's much, much easier to get
>>>> legitimate CA-issued certs the normal way, you buy them just like
>>>> everyone else does (except that you use someone else's credit card
>>>> and identity, obviously).
>>>
>>>
>>> Two thoughts:
>>>
>>> 1) Protocol Issues
>>>
>>> The IETF ought to be thinking about a wide range of IETF protools
>>> in the same way that Peter thinks about CA security issues above.
>>>
>>> For some IETF protocols, for example all of the IGP authentication
>>> extensions (excepting RFC-2154, AFAICT), active non-cryptographic
>>> attacks are feasible (if not yet seen in the deployed world, AFAICT)
>>> that are much easier than *any* cryptographic attack.  Again, and
>>> only by way of example, RFC-4822 discusses some of these that are
>>> specific to RIPv2 authentication.
>>>
>>> For protocols where non-cryptographic attacks are feasible AND
>>> are lower cost than a cryptographic attack, really it does not make
>>> much difference what cryptographic algorithm gets deployed by a user
>>> -- and the IETF's focus should be on improving the underlying  
>>> authentication mechanism BEFORE worrying about which cryptographic
>>> algorithms are being deployed.
>>>
>>> Attackers are generally both smart and lazy, so they won't waste
>>> time on an expensive cryptographic attack when a lower effort
>>> non-cryptographic attack exists.
>>>
>>>
>>> 2) Hash algorithm analysis
>>>
>>> It would be very helpful if a *set* of mathematicians/cryptographers
>>> could jointly put together a summary of the known attacks on all
>>> the widely used hash algorithms (e.g. MD2, MD4, MD5, SHA-0, SHA-1,
>>> SHA-2, others), *including references to the published literature*.
>>>
>>> Ideally, this analysis would also include discussion of whether  
>>> those
>>> attacks apply for those same algorithms when used in the modes  
>>> employed
>>> by various IETF protocols today (e.g. Keyed-Hash as used in OSPFv2  
>>> MD5
>>> or RIPv2 MD5, HMAC-Hash, and so forth).
>>>
>>> This would be most useful to have as an Informational RFC,
>>> and SOON, so that IETF WGs could have some "consensus" document
>>> to refer to -- and to cite explicitly -- if any IETF WGs decide
>>> to make hash algorithm recommendations or decisions.
>>>
>>> I don't understand IRTF process details perfectly, but perhaps
>>> the CFRG chairs might undertake creating such a document as a
>>> near-term official CFRG group project.
>>>
>>> Yours,
>>>
>>> Ran
>>> rja@extremenetworks.com
>>>
>>> _______________________________________________
>>> Cfrg mailing list
>>> Cfrg@irtf.org
>>> https://www.irtf.org/mailman/listinfo/cfrg
>> _______________________________________________
>> saag mailing list
>> saag@ietf.org
>> https://www.ietf.org/mailman/listinfo/saag

_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg


From cfrg-bounces@irtf.org  Tue Jan  6 04:33:30 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 347323A6A98;
	Tue,  6 Jan 2009 04:33:30 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 65AE73A6ABC
	for <cfrg@core3.amsl.com>; Tue,  6 Jan 2009 04:33:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.544
X-Spam-Level: 
X-Spam-Status: No, score=-6.544 tagged_above=-999 required=5 tests=[AWL=0.055, 
	BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id ZTzn7gJ55OdW for <cfrg@core3.amsl.com>;
	Tue,  6 Jan 2009 04:33:28 -0800 (PST)
Received: from sj-iport-3.cisco.com (sj-iport-3.cisco.com [171.71.176.72])
	by core3.amsl.com (Postfix) with ESMTP id 5026B3A6A98
	for <cfrg@irtf.org>; Tue,  6 Jan 2009 04:33:28 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.36,338,1228089600"; d="scan'208";a="126827219"
Received: from sj-dkim-1.cisco.com ([171.71.179.21])
	by sj-iport-3.cisco.com with ESMTP; 06 Jan 2009 12:32:15 +0000
Received: from sj-core-5.cisco.com (sj-core-5.cisco.com [171.71.177.238])
	by sj-dkim-1.cisco.com (8.12.11/8.12.11) with ESMTP id n06CWFmw002914; 
	Tue, 6 Jan 2009 04:32:15 -0800
Received: from xbh-sjc-221.amer.cisco.com (xbh-sjc-221.cisco.com
	[128.107.191.63])
	by sj-core-5.cisco.com (8.13.8/8.13.8) with ESMTP id n06CWFet020575;
	Tue, 6 Jan 2009 12:32:15 GMT
Received: from xfe-sjc-211.amer.cisco.com ([171.70.151.174]) by
	xbh-sjc-221.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Tue, 6 Jan 2009 04:32:15 -0800
Received: from stealth-10-32-254-212.cisco.com ([10.32.254.212]) by
	xfe-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Tue, 6 Jan 2009 04:32:14 -0800
Message-Id: <7D2B3E4D-B8DE-46C3-AFE8-48FC88C375AF@cisco.com>
From: David McGrew <mcgrew@cisco.com>
To: Sean Shen <sshen@huawei.com>
In-Reply-To: <00be01c96faf$8bea0720$800c6f0a@china.huawei.com>
Mime-Version: 1.0 (Apple Message framework v929.2)
Date: Tue, 6 Jan 2009 04:32:13 -0800
References: <00be01c96faf$8bea0720$800c6f0a@china.huawei.com>
X-Mailer: Apple Mail (2.929.2)
X-OriginalArrivalTime: 06 Jan 2009 12:32:14.0879 (UTC)
	FILETIME=[CE33FAF0:01C96FFA]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=4911; t=1231245135;
	x=1232109135; c=relaxed/simple; s=sjdkim1004;
	h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version;
	d=cisco.com; i=mcgrew@cisco.com;
	z=From:=20David=20McGrew=20<mcgrew@cisco.com>
	|Subject:=20Re=3A=20[Cfrg]=20[saag]=20RFC=20analyzing=20IET
	F=20use=20of=20hash=20functions=20[was=3A=20Re=3A=20Further=
	20MD5=20breaks=3A=20Creating=20a=20rogue=20CA=20certificate]
	|Sender:=20; bh=8pGPbrqdajogPvPYDwWEaK+jPD/TzQG4edLtySsWBUU=;
	b=IUIaXoEV+BUsVHbcj564OxhuUpwbtEw1JHD7a6d/4iOPjovFRz/xD8F2Hp
	ySRv/6sORPQkzMxrzgwh4++YM7n0WkA+IyTRsgjEylUJzebh2ZW6h2tII1+K
	QwlSi3MBhln/SI7MTmhXNGNY0salcpPCBUCiPRM7NcLyt1GEKmXfU=;
Authentication-Results: sj-dkim-1; header.From=mcgrew@cisco.com; dkim=pass (
	sig from cisco.com/sjdkim1004 verified; ); 
Cc: cfrg@irtf.org, saag@ietf.org
Subject: Re: [Cfrg] [saag] RFC analyzing IETF use of hash functions [was:
	Re: Further MD5 breaks: Creating a rogue CA certificate]
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes"
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

thanks for volunteering, Sean.

On Jan 5, 2009, at 7:33 PM, Sean Shen wrote:

> Hi,
> A draft in CSI work group gives some analysis on hash threats on
> CGA(RFC3972) and SeND(RFC3971). Hope it also provides valuable info.
> I will be happy to give review or other possible support for this  
> valuable
> work.
>
> Best,
>
> Sean
>
>> -----Original Message-----
>> From: saag-bounces@ietf.org [mailto:saag-bounces@ietf.org] On
>> Behalf Of Sean Turner
>> Sent: Tuesday, January 06, 2009 11:21 AM
>> To: David McGrew
>> Cc: cfrg@irtf.org; saag@ietf.org
>> Subject: Re: [saag] RFC analyzing IETF use of hash functions
>> [was: Re: [Cfrg] Further MD5 breaks: Creating a rogue CA certificate]
>>
>> Dave,
>>
>> When the S/MIME WG penned
>> http://tools.ietf.org/html/draft-ietf-smime-multisig-05 we
>> added an appendix that addresses where hashes are located in
>> CMS's SignedData and the attacks against those hashes.  I'd be
>> willing to help craft any other wording necessary for S/MIME|CMS.
>>
>> spt
>>
>> David McGrew wrote:
>>> Hi Ran,
>>>
>>> I think it is a great idea to document the IETF applications/uses of
>>> hashing, and the attacks against particular uses of hashing.
>> It would
>>> make a great CFRG informational RFC, if we can find volunteers to
>>> contribute to and edit it.  I offer to review it.
>>>
>>> David
>>>
>>> On Dec 31, 2008, at 7:48 AM, RJ Atkinson wrote:
>>>
>>>>
>>>> [Distribution trimmed slightly to reduce cross-posting and
>> improve SNR.]
>>>>
>>>> On  30 Dec 2008, at 20:20, Peter Gutmann wrote:
>>>>> The current MD5 attack is very cool but there's no need to
>> worry about
>>>>> bad guys doing much with it because it's much, much easier to get
>>>>> legitimate CA-issued certs the normal way, you buy them just like
>>>>> everyone else does (except that you use someone else's credit card
>>>>> and identity, obviously).
>>>>
>>>>
>>>> Two thoughts:
>>>>
>>>> 1) Protocol Issues
>>>>
>>>> The IETF ought to be thinking about a wide range of IETF protools
>>>> in the same way that Peter thinks about CA security issues above.
>>>>
>>>> For some IETF protocols, for example all of the IGP authentication
>>>> extensions (excepting RFC-2154, AFAICT), active non-cryptographic
>>>> attacks are feasible (if not yet seen in the deployed world,  
>>>> AFAICT)
>>>> that are much easier than *any* cryptographic attack.  Again, and
>>>> only by way of example, RFC-4822 discusses some of these that are
>>>> specific to RIPv2 authentication.
>>>>
>>>> For protocols where non-cryptographic attacks are feasible AND
>>>> are lower cost than a cryptographic attack, really it does not make
>>>> much difference what cryptographic algorithm gets deployed by a  
>>>> user
>>>> -- and the IETF's focus should be on improving the underlying 
>>>> authentication mechanism BEFORE worrying about which cryptographic
>>>> algorithms are being deployed.
>>>>
>>>> Attackers are generally both smart and lazy, so they won't waste
>>>> time on an expensive cryptographic attack when a lower effort
>>>> non-cryptographic attack exists.
>>>>
>>>>
>>>> 2) Hash algorithm analysis
>>>>
>>>> It would be very helpful if a *set* of mathematicians/ 
>>>> cryptographers
>>>> could jointly put together a summary of the known attacks on all
>>>> the widely used hash algorithms (e.g. MD2, MD4, MD5, SHA-0, SHA-1,
>>>> SHA-2, others), *including references to the published literature*.
>>>>
>>>> Ideally, this analysis would also include discussion of
>> whether those
>>>> attacks apply for those same algorithms when used in the
>> modes employed
>>>> by various IETF protocols today (e.g. Keyed-Hash as used in
>> OSPFv2 MD5
>>>> or RIPv2 MD5, HMAC-Hash, and so forth).
>>>>
>>>> This would be most useful to have as an Informational RFC,
>>>> and SOON, so that IETF WGs could have some "consensus" document
>>>> to refer to -- and to cite explicitly -- if any IETF WGs decide
>>>> to make hash algorithm recommendations or decisions.
>>>>
>>>> I don't understand IRTF process details perfectly, but perhaps
>>>> the CFRG chairs might undertake creating such a document as a
>>>> near-term official CFRG group project.
>>>>
>>>> Yours,
>>>>
>>>> Ran
>>>> rja@extremenetworks.com
>>>>
>>>> _______________________________________________
>>>> Cfrg mailing list
>>>> Cfrg@irtf.org
>>>> https://www.irtf.org/mailman/listinfo/cfrg
>>>
>>> _______________________________________________
>>> saag mailing list
>>> saag@ietf.org
>>> https://www.ietf.org/mailman/listinfo/saag
>>>
>> _______________________________________________
>> saag mailing list
>> saag@ietf.org
>> https://www.ietf.org/mailman/listinfo/saag
>>
>
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> https://www.irtf.org/mailman/listinfo/cfrg

_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg


From cfrg-bounces@irtf.org  Wed Jan  7 07:36:23 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 002C53A695A;
	Wed,  7 Jan 2009 07:36:23 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id DCCA63A684D
	for <cfrg@core3.amsl.com>; Wed,  7 Jan 2009 07:36:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.591
X-Spam-Level: 
X-Spam-Status: No, score=-3.591 tagged_above=-999 required=5
	tests=[AWL=-0.991, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id S0TPdg1AYIwt for <cfrg@core3.amsl.com>;
	Wed,  7 Jan 2009 07:36:21 -0800 (PST)
Received: from z9m9z.htt-consult.com (z9m9z.htt-consult.com [208.83.67.147])
	by core3.amsl.com (Postfix) with ESMTP id F2AC13A695A
	for <cfrg@irtf.org>; Wed,  7 Jan 2009 07:36:19 -0800 (PST)
Received: from z9m9z.htt-consult.com (localhost.localdomain [127.0.0.1])
	by z9m9z.htt-consult.com (8.13.8/8.13.8) with ESMTP id n07FZk0G022833
	for <cfrg@irtf.org>; Wed, 7 Jan 2009 10:36:01 -0500
Received: from nc2400.htt-consult.com (onlo.htt-consult.com [208.83.67.148])
	by z9m9z.htt-consult.com (Scalix SMTP Relay 11.3.0.11339)
	via ESMTP; Wed, 07 Jan 2009 10:34:51 -0500 (EST)
Date: Wed, 7 Jan 2009 10:34:41 -0500
From: Robert Moskowitz <rgm-sec@htt-consult.com>
To: cfrg@irtf.org
Message-ID: <4964CB91.8030001@htt-consult.com>
In-Reply-To: <00be01c96faf$8bea0720$800c6f0a@china.huawei.com>
References: <00be01c96faf$8bea0720$800c6f0a@china.huawei.com>
x-scalix-Hops: 1
User-Agent: Thunderbird 2.0.0.18 (X11/20081120)
MIME-Version: 1.0
Content-Disposition: inline
Subject: [Cfrg] Analyzing IETF use of hash functions -- ORCHIDs
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

I have a vested interest in this discussion, as I designed the HITs in 
HIP to be hashes of the public key (the HIs), and I speced SHA-1 with no 
agility for using another cipher.

My ASSuMption was that it would take a post-image attack (think I got 
that right without going back to my old notes) for someone to design a 
public key pair to duplicate a published HIT.

A pre-image attack is just not interesting as so what if someone has two 
HIs with the same HIT, provided they are not 'selling' these, it is easy 
enough for any platform to gen its own HIs and HITs.

If it is the concensus of people that are deeper into hashes than I am 
(doesn't take all that much), I will add HIT hash agility to a proposed 
change to HIP.


Though, another argument for the agility is 5 years down the road we 
might not want SHA-1 in any RFC, so the ablity to 'age it out, 
gracefully' is still needed.


_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg


From cfrg-bounces@irtf.org  Wed Jan  7 07:43:54 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 598D13A6A4C;
	Wed,  7 Jan 2009 07:43:54 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 8234C3A6A5E
	for <cfrg@core3.amsl.com>; Wed,  7 Jan 2009 07:43:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.563
X-Spam-Level: 
X-Spam-Status: No, score=-2.563 tagged_above=-999 required=5 tests=[AWL=0.036, 
	BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id zHs9g+bnb3VR for <cfrg@core3.amsl.com>;
	Wed,  7 Jan 2009 07:43:52 -0800 (PST)
Received: from romeo.rtfm.com (romeo.rtfm.com [74.95.2.173])
	by core3.amsl.com (Postfix) with ESMTP id D44923A6A33
	for <cfrg@irtf.org>; Wed,  7 Jan 2009 07:43:52 -0800 (PST)
Received: from romeo.rtfm.com (localhost.rtfm.com [127.0.0.1])
	by romeo.rtfm.com (Postfix) with ESMTP id BB5EF50822;
	Wed,  7 Jan 2009 08:00:02 -0800 (PST)
Date: Wed, 07 Jan 2009 08:00:02 -0800
From: Eric Rescorla <ekr@networkresonance.com>
To: Robert Moskowitz <rgm-sec@htt-consult.com>
In-Reply-To: <4964CB91.8030001@htt-consult.com>
References: <00be01c96faf$8bea0720$800c6f0a@china.huawei.com>
	<4964CB91.8030001@htt-consult.com>
User-Agent: Wanderlust/2.14.0 (Africa) Emacs/21.3 Mule/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Message-Id: <20090107160002.BB5EF50822@romeo.rtfm.com>
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] Analyzing IETF use of hash functions -- ORCHIDs
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

At Wed, 7 Jan 2009 10:34:41 -0500,
Robert Moskowitz wrote:
> 
> I have a vested interest in this discussion, as I designed the HITs in 
> HIP to be hashes of the public key (the HIs), and I speced SHA-1 with no 
> agility for using another cipher.
> 
> My ASSuMption was that it would take a post-image attack (think I got 
> that right without going back to my old notes) for someone to design a 
> public key pair to duplicate a published HIT.

This would be a 1st preimage attack. 


> A pre-image attack is just not interesting as so what if someone has two 
> HIs with the same HIT, provided they are not 'selling' these, it is easy 
> enough for any platform to gen its own HIs and HITs.

That would be a collision attack.

-Ekr
_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg


From cfrg-bounces@irtf.org  Wed Jan  7 08:55:14 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id F258D3A6A83;
	Wed,  7 Jan 2009 08:55:13 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 0E5803A6A82
	for <cfrg@core3.amsl.com>; Wed,  7 Jan 2009 08:55:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.185
X-Spam-Level: 
X-Spam-Status: No, score=-6.185 tagged_above=-999 required=5 tests=[AWL=0.413, 
	BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id yDHjb0uF6usk for <cfrg@core3.amsl.com>;
	Wed,  7 Jan 2009 08:55:04 -0800 (PST)
Received: from robin.verisign.com (robin.verisign.com [65.205.251.75])
	by core3.amsl.com (Postfix) with ESMTP id 902AD3A6A7D
	for <cfrg@irtf.org>; Wed,  7 Jan 2009 08:55:04 -0800 (PST)
Received: from MOU1WNEXCN02.vcorp.ad.vrsn.com (mailer2.verisign.com
	[65.205.251.35])
	by robin.verisign.com (8.12.11/8.13.4) with ESMTP id n07GsLOo032367;
	Wed, 7 Jan 2009 08:54:21 -0800
Received: from MOU1WNEXMB09.vcorp.ad.vrsn.com ([10.25.15.197]) by
	MOU1WNEXCN02.vcorp.ad.vrsn.com with Microsoft
	SMTPSVC(6.0.3790.3959); Wed, 7 Jan 2009 08:54:21 -0800
Content-class: urn:content-classes:message
MIME-Version: 1.0
X-MimeOLE: Produced By Microsoft Exchange V6.5
Date: Wed, 7 Jan 2009 08:54:20 -0800
Message-ID: <2788466ED3E31C418E9ACC5C316615572FFC4B@mou1wnexmb09.vcorp.ad.vrsn.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Cfrg] Analyzing IETF use of hash functions -- ORCHIDs
Thread-Index: Aclw3a4fj0xLeoagTBeiRVdzJNkCEAABIOeI
References: <00be01c96faf$8bea0720$800c6f0a@china.huawei.com>
	<4964CB91.8030001@htt-consult.com>
From: "Hallam-Baker, Phillip" <pbaker@verisign.com>
To: "Robert Moskowitz" <rgm-sec@htt-consult.com>, <cfrg@irtf.org>
X-OriginalArrivalTime: 07 Jan 2009 16:54:21.0140 (UTC)
	FILETIME=[9632B940:01C970E8]
Subject: Re: [Cfrg] Analyzing IETF use of hash functions -- ORCHIDs
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
Content-Type: multipart/mixed; boundary="===============1770428234=="
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

This is a multi-part message in MIME format.

--===============1770428234==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C970E8.95F81E66"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C970E8.95F81E66
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I have been looking into the issue as well, at this point I do not wish =
to comment on any past circumstances and would appreciate it if others =
did not attempt to raise them.


One of my major concerns here is what the implications are for the SHA1 =
to future digest transition. And that is a really difficult problem =
because I can well imagine a circumstance in which SHA1 is broken while =
it is still in widespread use. Moreover I can well imagine SHA1 being =
broken at a point where there is a significant legacy application base =
that does not support the successor.

The MD5->SHA1 transition does not provide a good model here because =
every deployment of SSL supported both MD5 and SHA1.


The current situation is that we have known issues with SHA1 that we =
believe to be manageable. We have SHA256 as a possible replacement but =
it is from the same family and thus gives only limited additional =
confidence. And SHA2 is going to be 2010 at the earliest and possibly =
2011 or later and even then may be optimized more for speed than for the =
greatest possible certitude of security.

This all has me looking at using MAC functions and in particular =
CMAC-AES as a digest function. The simple collision attack using a =
supplied source text can be defeated entirely using a MAC function and a =
randomly chosen IV.


The principal advantages of using CMAC-AES with a random IV are

1) It is completely specified today, except for the details of the =
packaging in RSA and DSA.
2) Simple collision attacks are defeated entirely through use of a =
sufficiently random IV.
3) Plug compatible with existing crypto APIs
4) A constrained implementation can render every symmetric cryptographic =
function (encryption, digest, MAC) from a single cryptographic =
primitive.
5) CMAC construction means that the security of our cryptographic system =
only depends on the security of a single symmetric primitive - AES and =
our random number generator.

[We can also derive a random number generator by using CMAC-AES over a =
counter plus a secret key.]

Another interesting property is that it gives us the DSA like feature =
that signing the same message with the same key does not generate the =
same signature. This means that we have binding to the signature event. =
and not simply the signing key. It also means that disclosure is =
limited. An attacker cannot deduce that two messages are the same =
because the signatures are the same.

Now there are certainly cases where this is not a desirable property. =
Hash tables are not going to work so well. But that objection could be =
avoided by using CMAC-AES, (t, 0).


OK so imagine we have our better digest, whether it is CMAC-AES or SHA2. =
How do we make use of it? In particular what can we start doing today =
that creates an 'insurance plan' in case the worst should happen to =
SHA1? In particular any insurance policy must be 100% backwards =
compatible. We cannot shut off old browsers just because there might be =
a chance that there is a problem.

One option being suggested for certificates is to sign the cert twice, =
once with the new algorithm which is added to the cert as an extension =
and then again with the old one. Ugly, ugly. yuk yuk yuk. And what if =
you don't have one single algorithm you know in advance you will trust?

I think a better mechanism is to use my OCSP algorithm agility proposal =
with one additional extension in the OCSP, response, an extension giving =
the digest value of the cert whose status is being reported using the =
new algorithm.


So if SHA1 is compromised, a message is sent out to tell browsers that =
SHA1 can no longer be fully trusted (this can be a Rivest style suicide =
note, chose a value x, generate s =3D SHA1(x), pop that in the browser =
with code that turns off the 'trustworthy' bit for SHA1 if a message is =
ever delivered containing a value y such that SHA1(y) =3D s.

At that point the browser requires an OCSP validity token signed using a =
trusted algorithm and containing an extension with a matching digest =
value before it will trust any cert signed with SHA1. (OCSP response =
stapling in SSL is a good plan then).


This appears to me to be a plausible insurance policy that application =
providers and others could begin work on now. What matters is not =
whether the CAs deploy the infrastructure now, it is the deployment in =
the applications that matters. If the worst should happen a heck of a =
lot of code can be written and deployed at CAs and other service =
providers in a rather short time. Its the legacy application code that =
is the concern.=20

I therefore propose the following as an action plan:

1) Discuss whether CMAC-AES with a random IV is an approach that =
provides confidence.

2) If so, develop packaging modes for RSA, DSA and Suite-B.

3) Define the necessary OCSP extensions

4) Application providers begin deployment of 'insured' code at their =
next regular update cycle.
   Sensible CAs do likewise.


What I like about this approach is that it provides for an insurance =
policy to be deployed in an orderly manner, without undue haste and =
without unnecessarily impacting legacy applications.



-----Original Message-----
From: cfrg-bounces@irtf.org on behalf of Robert Moskowitz
Sent: Wed 1/7/2009 10:34 AM
To: cfrg@irtf.org
Subject: [Cfrg] Analyzing IETF use of hash functions -- ORCHIDs
=20
I have a vested interest in this discussion, as I designed the HITs in=20
HIP to be hashes of the public key (the HIs), and I speced SHA-1 with no =

agility for using another cipher.

My ASSuMption was that it would take a post-image attack (think I got=20
that right without going back to my old notes) for someone to design a=20
public key pair to duplicate a published HIT.

A pre-image attack is just not interesting as so what if someone has two =

HIs with the same HIT, provided they are not 'selling' these, it is easy =

enough for any platform to gen its own HIs and HITs.

If it is the concensus of people that are deeper into hashes than I am=20
(doesn't take all that much), I will add HIT hash agility to a proposed=20
change to HIP.


Though, another argument for the agility is 5 years down the road we=20
might not want SHA-1 in any RFC, so the ablity to 'age it out,=20
gracefully' is still needed.


_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg


------_=_NextPart_001_01C970E8.95F81E66
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.7653.38">
<TITLE>RE: [Cfrg] Analyzing IETF use of hash functions -- =
ORCHIDs</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=3D2>I have been looking into the issue as well, at this =
point I do not wish to comment on any past circumstances and would =
appreciate it if others did not attempt to raise them.<BR>
<BR>
<BR>
One of my major concerns here is what the implications are for the SHA1 =
to future digest transition. And that is a really difficult problem =
because I can well imagine a circumstance in which SHA1 is broken while =
it is still in widespread use. Moreover I can well imagine SHA1 being =
broken at a point where there is a significant legacy application base =
that does not support the successor.<BR>
<BR>
The MD5-&gt;SHA1 transition does not provide a good model here because =
every deployment of SSL supported both MD5 and SHA1.<BR>
<BR>
<BR>
The current situation is that we have known issues with SHA1 that we =
believe to be manageable. We have SHA256 as a possible replacement but =
it is from the same family and thus gives only limited additional =
confidence. And SHA2 is going to be 2010 at the earliest and possibly =
2011 or later and even then may be optimized more for speed than for the =
greatest possible certitude of security.<BR>
<BR>
This all has me looking at using MAC functions and in particular =
CMAC-AES as a digest function. The simple collision attack using a =
supplied source text can be defeated entirely using a MAC function and a =
randomly chosen IV.<BR>
<BR>
<BR>
The principal advantages of using CMAC-AES with a random IV are<BR>
<BR>
1) It is completely specified today, except for the details of the =
packaging in RSA and DSA.<BR>
2) Simple collision attacks are defeated entirely through use of a =
sufficiently random IV.<BR>
3) Plug compatible with existing crypto APIs<BR>
4) A constrained implementation can render every symmetric cryptographic =
function (encryption, digest, MAC) from a single cryptographic =
primitive.<BR>
5) CMAC construction means that the security of our cryptographic system =
only depends on the security of a single symmetric primitive - AES and =
our random number generator.<BR>
<BR>
[We can also derive a random number generator by using CMAC-AES over a =
counter plus a secret key.]<BR>
<BR>
Another interesting property is that it gives us the DSA like feature =
that signing the same message with the same key does not generate the =
same signature. This means that we have binding to the signature event. =
and not simply the signing key. It also means that disclosure is =
limited. An attacker cannot deduce that two messages are the same =
because the signatures are the same.<BR>
<BR>
Now there are certainly cases where this is not a desirable property. =
Hash tables are not going to work so well. But that objection could be =
avoided by using CMAC-AES, (t, 0).<BR>
<BR>
<BR>
OK so imagine we have our better digest, whether it is CMAC-AES or SHA2. =
How do we make use of it? In particular what can we start doing today =
that creates an 'insurance plan' in case the worst should happen to =
SHA1? In particular any insurance policy must be 100% backwards =
compatible. We cannot shut off old browsers just because there might be =
a chance that there is a problem.<BR>
<BR>
One option being suggested for certificates is to sign the cert twice, =
once with the new algorithm which is added to the cert as an extension =
and then again with the old one. Ugly, ugly. yuk yuk yuk. And what if =
you don't have one single algorithm you know in advance you will =
trust?<BR>
<BR>
I think a better mechanism is to use my OCSP algorithm agility proposal =
with one additional extension in the OCSP, response, an extension giving =
the digest value of the cert whose status is being reported using the =
new algorithm.<BR>
<BR>
<BR>
So if SHA1 is compromised, a message is sent out to tell browsers that =
SHA1 can no longer be fully trusted (this can be a Rivest style suicide =
note, chose a value x, generate s =3D SHA1(x), pop that in the browser =
with code that turns off the 'trustworthy' bit for SHA1 if a message is =
ever delivered containing a value y such that SHA1(y) =3D s.<BR>
<BR>
At that point the browser requires an OCSP validity token signed using a =
trusted algorithm and containing an extension with a matching digest =
value before it will trust any cert signed with SHA1. (OCSP response =
stapling in SSL is a good plan then).<BR>
<BR>
<BR>
This appears to me to be a plausible insurance policy that application =
providers and others could begin work on now. What matters is not =
whether the CAs deploy the infrastructure now, it is the deployment in =
the applications that matters. If the worst should happen a heck of a =
lot of code can be written and deployed at CAs and other service =
providers in a rather short time. Its the legacy application code that =
is the concern.<BR>
<BR>
I therefore propose the following as an action plan:<BR>
<BR>
1) Discuss whether CMAC-AES with a random IV is an approach that =
provides confidence.<BR>
<BR>
2) If so, develop packaging modes for RSA, DSA and Suite-B.<BR>
<BR>
3) Define the necessary OCSP extensions<BR>
<BR>
4) Application providers begin deployment of 'insured' code at their =
next regular update cycle.<BR>
&nbsp;&nbsp; Sensible CAs do likewise.<BR>
<BR>
<BR>
What I like about this approach is that it provides for an insurance =
policy to be deployed in an orderly manner, without undue haste and =
without unnecessarily impacting legacy applications.<BR>
<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: cfrg-bounces@irtf.org on behalf of Robert Moskowitz<BR>
Sent: Wed 1/7/2009 10:34 AM<BR>
To: cfrg@irtf.org<BR>
Subject: [Cfrg] Analyzing IETF use of hash functions -- ORCHIDs<BR>
<BR>
I have a vested interest in this discussion, as I designed the HITs =
in<BR>
HIP to be hashes of the public key (the HIs), and I speced SHA-1 with =
no<BR>
agility for using another cipher.<BR>
<BR>
My ASSuMption was that it would take a post-image attack (think I =
got<BR>
that right without going back to my old notes) for someone to design =
a<BR>
public key pair to duplicate a published HIT.<BR>
<BR>
A pre-image attack is just not interesting as so what if someone has =
two<BR>
HIs with the same HIT, provided they are not 'selling' these, it is =
easy<BR>
enough for any platform to gen its own HIs and HITs.<BR>
<BR>
If it is the concensus of people that are deeper into hashes than I =
am<BR>
(doesn't take all that much), I will add HIT hash agility to a =
proposed<BR>
change to HIP.<BR>
<BR>
<BR>
Though, another argument for the agility is 5 years down the road we<BR>
might not want SHA-1 in any RFC, so the ablity to 'age it out,<BR>
gracefully' is still needed.<BR>
<BR>
<BR>
_______________________________________________<BR>
Cfrg mailing list<BR>
Cfrg@irtf.org<BR>
<A =
HREF=3D"https://www.irtf.org/mailman/listinfo/cfrg">https://www.irtf.org/=
mailman/listinfo/cfrg</A><BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C970E8.95F81E66--

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

_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg

--===============1770428234==--


From cfrg-bounces@irtf.org  Wed Jan  7 10:35:56 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 5154528C131;
	Wed,  7 Jan 2009 10:35:56 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id CE50828C131
	for <cfrg@core3.amsl.com>; Wed,  7 Jan 2009 10:35:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.478
X-Spam-Level: 
X-Spam-Status: No, score=-1.478 tagged_above=-999 required=5
	tests=[AWL=-0.010, BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13,
	HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id wvVs23YeZ9zX for <cfrg@core3.amsl.com>;
	Wed,  7 Jan 2009 10:35:53 -0800 (PST)
Received: from scygmxsecs1.cygnacom.com (scygmxsecs1.cygnacom.com
	[65.242.48.253]) by core3.amsl.com (Postfix) with SMTP id A3BD128C129
	for <cfrg@irtf.org>; Wed,  7 Jan 2009 10:35:52 -0800 (PST)
Received: (qmail 347 invoked from network); 7 Jan 2009 17:35:52 -0000
Received: from SChokhani@cygnacom.com by scygmxsecs1.cygnacom.com with
	EntrustECS-Server-7.4; 07 Jan 2009 17:35:52 -0000
Received: from unknown (HELO scygexch1.cygnacom.com) (10.60.50.8)
	by scygmxsecs1.cygnacom.com with SMTP; 7 Jan 2009 17:35:51 -0000
Content-class: urn:content-classes:message
MIME-Version: 1.0
X-MimeOLE: Produced By Microsoft Exchange V6.5
Date: Wed, 7 Jan 2009 12:35:36 -0500
Message-ID: <FAD1CF17F2A45B43ADE04E140BA83D4893681D@scygexch1.cygnacom.com>
In-Reply-To: <2788466ED3E31C418E9ACC5C316615572FFC4B@mou1wnexmb09.vcorp.ad.vrsn.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Cfrg] Analyzing IETF use of hash functions -- ORCHIDs
Thread-Index: Aclw3a4fj0xLeoagTBeiRVdzJNkCEAABIOeIAALwxeA=
References: <00be01c96faf$8bea0720$800c6f0a@china.huawei.com><4964CB91.8030001@htt-consult.com>
	<2788466ED3E31C418E9ACC5C316615572FFC4B@mou1wnexmb09.vcorp.ad.vrsn.com>
From: "Santosh Chokhani" <SChokhani@cygnacom.com>
To: "Hallam-Baker, Phillip" <pbaker@verisign.com>,
	"Robert Moskowitz" <rgm-sec@htt-consult.com>, <cfrg@irtf.org>
Subject: Re: [Cfrg] Analyzing IETF use of hash functions -- ORCHIDs
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
Content-Type: multipart/mixed; boundary="===============1969893959=="
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

This is a multi-part message in MIME format.

--===============1969893959==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C970EE.5A1614BD"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C970EE.5A1614BD
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

I would think multiple signatures should be achieved using algorithm OID
in SPKI and in SIGNED MACRO.  This gives X.509 extensibility without
requiring a new extension and provides straightforward signature
chaining (a critical element in certification path).  It also provides
extensibility in terms of number of signatures and whether the hash
and/or signature algorithms are different.

=20

I am still reviewing the rest of the proposal (i.e., hash/MAC and OCSP
extension)

=20

________________________________

From: cfrg-bounces@irtf.org [mailto:cfrg-bounces@irtf.org] On Behalf Of
Hallam-Baker, Phillip
Sent: Wednesday, January 07, 2009 11:54 AM
To: Robert Moskowitz; cfrg@irtf.org
Subject: Re: [Cfrg] Analyzing IETF use of hash functions -- ORCHIDs

=20

I have been looking into the issue as well, at this point I do not wish
to comment on any past circumstances and would appreciate it if others
did not attempt to raise them.


One of my major concerns here is what the implications are for the SHA1
to future digest transition. And that is a really difficult problem
because I can well imagine a circumstance in which SHA1 is broken while
it is still in widespread use. Moreover I can well imagine SHA1 being
broken at a point where there is a significant legacy application base
that does not support the successor.

The MD5->SHA1 transition does not provide a good model here because
every deployment of SSL supported both MD5 and SHA1.


The current situation is that we have known issues with SHA1 that we
believe to be manageable. We have SHA256 as a possible replacement but
it is from the same family and thus gives only limited additional
confidence. And SHA2 is going to be 2010 at the earliest and possibly
2011 or later and even then may be optimized more for speed than for the
greatest possible certitude of security.

This all has me looking at using MAC functions and in particular
CMAC-AES as a digest function. The simple collision attack using a
supplied source text can be defeated entirely using a MAC function and a
randomly chosen IV.


The principal advantages of using CMAC-AES with a random IV are

1) It is completely specified today, except for the details of the
packaging in RSA and DSA.
2) Simple collision attacks are defeated entirely through use of a
sufficiently random IV.
3) Plug compatible with existing crypto APIs
4) A constrained implementation can render every symmetric cryptographic
function (encryption, digest, MAC) from a single cryptographic
primitive.
5) CMAC construction means that the security of our cryptographic system
only depends on the security of a single symmetric primitive - AES and
our random number generator.

[We can also derive a random number generator by using CMAC-AES over a
counter plus a secret key.]

Another interesting property is that it gives us the DSA like feature
that signing the same message with the same key does not generate the
same signature. This means that we have binding to the signature event.
and not simply the signing key. It also means that disclosure is
limited. An attacker cannot deduce that two messages are the same
because the signatures are the same.

Now there are certainly cases where this is not a desirable property.
Hash tables are not going to work so well. But that objection could be
avoided by using CMAC-AES, (t, 0).


OK so imagine we have our better digest, whether it is CMAC-AES or SHA2.
How do we make use of it? In particular what can we start doing today
that creates an 'insurance plan' in case the worst should happen to
SHA1? In particular any insurance policy must be 100% backwards
compatible. We cannot shut off old browsers just because there might be
a chance that there is a problem.

One option being suggested for certificates is to sign the cert twice,
once with the new algorithm which is added to the cert as an extension
and then again with the old one. Ugly, ugly. yuk yuk yuk. And what if
you don't have one single algorithm you know in advance you will trust?

I think a better mechanism is to use my OCSP algorithm agility proposal
with one additional extension in the OCSP, response, an extension giving
the digest value of the cert whose status is being reported using the
new algorithm.


So if SHA1 is compromised, a message is sent out to tell browsers that
SHA1 can no longer be fully trusted (this can be a Rivest style suicide
note, chose a value x, generate s =3D SHA1(x), pop that in the browser
with code that turns off the 'trustworthy' bit for SHA1 if a message is
ever delivered containing a value y such that SHA1(y) =3D s.

At that point the browser requires an OCSP validity token signed using a
trusted algorithm and containing an extension with a matching digest
value before it will trust any cert signed with SHA1. (OCSP response
stapling in SSL is a good plan then).


This appears to me to be a plausible insurance policy that application
providers and others could begin work on now. What matters is not
whether the CAs deploy the infrastructure now, it is the deployment in
the applications that matters. If the worst should happen a heck of a
lot of code can be written and deployed at CAs and other service
providers in a rather short time. Its the legacy application code that
is the concern.

I therefore propose the following as an action plan:

1) Discuss whether CMAC-AES with a random IV is an approach that
provides confidence.

2) If so, develop packaging modes for RSA, DSA and Suite-B.

3) Define the necessary OCSP extensions

4) Application providers begin deployment of 'insured' code at their
next regular update cycle.
   Sensible CAs do likewise.


What I like about this approach is that it provides for an insurance
policy to be deployed in an orderly manner, without undue haste and
without unnecessarily impacting legacy applications.



-----Original Message-----
From: cfrg-bounces@irtf.org on behalf of Robert Moskowitz
Sent: Wed 1/7/2009 10:34 AM
To: cfrg@irtf.org
Subject: [Cfrg] Analyzing IETF use of hash functions -- ORCHIDs

I have a vested interest in this discussion, as I designed the HITs in
HIP to be hashes of the public key (the HIs), and I speced SHA-1 with no
agility for using another cipher.

My ASSuMption was that it would take a post-image attack (think I got
that right without going back to my old notes) for someone to design a
public key pair to duplicate a published HIT.

A pre-image attack is just not interesting as so what if someone has two
HIs with the same HIT, provided they are not 'selling' these, it is easy
enough for any platform to gen its own HIs and HITs.

If it is the concensus of people that are deeper into hashes than I am
(doesn't take all that much), I will add HIT hash agility to a proposed
change to HIP.


Though, another argument for the agility is 5 years down the road we
might not want SHA-1 in any RFC, so the ablity to 'age it out,
gracefully' is still needed.


_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg


------_=_NextPart_001_01C970EE.5A1614BD
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>RE: [Cfrg] Analyzing IETF use of hash functions -- =
ORCHIDs</title>
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:"MS Mincho";
	panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:"\@MS Mincho";}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:blue;
	text-decoration:underline;}
p
	{mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:12.0pt;
	font-family:"Times New Roman";}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:Arial;
	color:navy;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dblue>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>I would think multiple signatures =
should
be achieved using algorithm OID in SPKI and in SIGNED MACRO. &nbsp;This =
gives X.509
extensibility without requiring a new extension and provides =
straightforward signature
chaining (a critical element in certification path). &nbsp;It also =
provides extensibility
in terms of number of signatures and whether the hash and/or signature
algorithms are different.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>I am still reviewing the rest of =
the
proposal (i.e., hash/MAC and OCSP =
extension)<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>

<hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1>

</span></font></div>

<p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font =
size=3D2
face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'>
cfrg-bounces@irtf.org [mailto:cfrg-bounces@irtf.org] <b><span =
style=3D'font-weight:
bold'>On Behalf Of </span></b>Hallam-Baker, Phillip<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Wednesday, January =
07, 2009
11:54 AM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> Robert Moskowitz;
cfrg@irtf.org<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> Re: [Cfrg] =
Analyzing IETF
use of hash functions -- ORCHIDs</span></font><o:p></o:p></p>

</div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p style=3D'margin-bottom:12.0pt'><font size=3D2 face=3D"Times New =
Roman"><span
style=3D'font-size:10.0pt'>I have been looking into the issue as well, =
at this
point I do not wish to comment on any past circumstances and would =
appreciate
it if others did not attempt to raise them.<br>
<br>
<br>
One of my major concerns here is what the implications are for the SHA1 =
to
future digest transition. And that is a really difficult problem because =
I can
well imagine a circumstance in which SHA1 is broken while it is still in
widespread use. Moreover I can well imagine SHA1 being broken at a point =
where
there is a significant legacy application base that does not support the
successor.<br>
<br>
The MD5-&gt;SHA1 transition does not provide a good model here because =
every
deployment of SSL supported both MD5 and SHA1.<br>
<br>
<br>
The current situation is that we have known issues with SHA1 that we =
believe to
be manageable. We have SHA256 as a possible replacement but it is from =
the same
family and thus gives only limited additional confidence. And SHA2 is =
going to
be 2010 at the earliest and possibly 2011 or later and even then may be
optimized more for speed than for the greatest possible certitude of =
security.<br>
<br>
This all has me looking at using MAC functions and in particular =
CMAC-AES as a
digest function. The simple collision attack using a supplied source =
text can
be defeated entirely using a MAC function and a randomly chosen IV.<br>
<br>
<br>
The principal advantages of using CMAC-AES with a random IV are<br>
<br>
1) It is completely specified today, except for the details of the =
packaging in
RSA and DSA.<br>
2) Simple collision attacks are defeated entirely through use of a =
sufficiently
random IV.<br>
3) Plug compatible with existing crypto APIs<br>
4) A constrained implementation can render every symmetric cryptographic =
function
(encryption, digest, MAC) from a single cryptographic primitive.<br>
5) CMAC construction means that the security of our cryptographic system =
only
depends on the security of a single symmetric primitive - AES and our =
random
number generator.<br>
<br>
[We can also derive a random number generator by using CMAC-AES over a =
counter
plus a secret key.]<br>
<br>
Another interesting property is that it gives us the DSA like feature =
that
signing the same message with the same key does not generate the same
signature. This means that we have binding to the signature event. and =
not
simply the signing key. It also means that disclosure is limited. An =
attacker
cannot deduce that two messages are the same because the signatures are =
the
same.<br>
<br>
Now there are certainly cases where this is not a desirable property. =
Hash
tables are not going to work so well. But that objection could be =
avoided by
using CMAC-AES, (t, 0).<br>
<br>
<br>
OK so imagine we have our better digest, whether it is CMAC-AES or SHA2. =
How do
we make use of it? In particular what can we start doing today that =
creates an
'insurance plan' in case the worst should happen to SHA1? In particular =
any
insurance policy must be 100% backwards compatible. We cannot shut off =
old
browsers just because there might be a chance that there is a =
problem.<br>
<br>
One option being suggested for certificates is to sign the cert twice, =
once
with the new algorithm which is added to the cert as an extension and =
then
again with the old one. Ugly, ugly. yuk yuk yuk. And what if you don't =
have one
single algorithm you know in advance you will trust?<br>
<br>
I think a better mechanism is to use my OCSP algorithm agility proposal =
with
one additional extension in the OCSP, response, an extension giving the =
digest
value of the cert whose status is being reported using the new =
algorithm.<br>
<br>
<br>
So if SHA1 is compromised, a message is sent out to tell browsers that =
SHA1 can
no longer be fully trusted (this can be a Rivest style suicide note, =
chose a
value x, generate s =3D SHA1(x), pop that in the browser with code that =
turns off
the 'trustworthy' bit for SHA1 if a message is ever delivered containing =
a
value y such that SHA1(y) =3D s.<br>
<br>
At that point the browser requires an OCSP validity token signed using a
trusted algorithm and containing an extension with a matching digest =
value
before it will trust any cert signed with SHA1. (OCSP response stapling =
in SSL
is a good plan then).<br>
<br>
<br>
This appears to me to be a plausible insurance policy that application
providers and others could begin work on now. What matters is not =
whether the
CAs deploy the infrastructure now, it is the deployment in the =
applications
that matters. If the worst should happen a heck of a lot of code can be =
written
and deployed at CAs and other service providers in a rather short time. =
Its the
legacy application code that is the concern.<br>
<br>
I therefore propose the following as an action plan:<br>
<br>
1) Discuss whether CMAC-AES with a random IV is an approach that =
provides
confidence.<br>
<br>
2) If so, develop packaging modes for RSA, DSA and Suite-B.<br>
<br>
3) Define the necessary OCSP extensions<br>
<br>
4) Application providers begin deployment of 'insured' code at their =
next
regular update cycle.<br>
&nbsp;&nbsp; Sensible CAs do likewise.<br>
<br>
<br>
What I like about this approach is that it provides for an insurance =
policy to
be deployed in an orderly manner, without undue haste and without =
unnecessarily
impacting legacy applications.<br>
<br>
<br>
<br>
-----Original Message-----<br>
From: cfrg-bounces@irtf.org on behalf of Robert Moskowitz<br>
Sent: Wed 1/7/2009 10:34 AM<br>
To: cfrg@irtf.org<br>
Subject: [Cfrg] Analyzing IETF use of hash functions -- ORCHIDs<br>
<br>
I have a vested interest in this discussion, as I designed the HITs =
in<br>
HIP to be hashes of the public key (the HIs), and I speced SHA-1 with =
no<br>
agility for using another cipher.<br>
<br>
My ASSuMption was that it would take a post-image attack (think I =
got<br>
that right without going back to my old notes) for someone to design =
a<br>
public key pair to duplicate a published HIT.<br>
<br>
A pre-image attack is just not interesting as so what if someone has =
two<br>
HIs with the same HIT, provided they are not 'selling' these, it is =
easy<br>
enough for any platform to gen its own HIs and HITs.<br>
<br>
If it is the concensus of people that are deeper into hashes than I =
am<br>
(doesn't take all that much), I will add HIT hash agility to a =
proposed<br>
change to HIP.<br>
<br>
<br>
Though, another argument for the agility is 5 years down the road we<br>
might not want SHA-1 in any RFC, so the ablity to 'age it out,<br>
gracefully' is still needed.<br>
<br>
<br>
_______________________________________________<br>
Cfrg mailing list<br>
Cfrg@irtf.org<br>
<a =
href=3D"https://www.irtf.org/mailman/listinfo/cfrg">https://www.irtf.org/=
mailman/listinfo/cfrg</a></span></font><o:p></o:p></p>

</div>

</body>

</html>

------_=_NextPart_001_01C970EE.5A1614BD--

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

_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg

--===============1969893959==--


From cfrg-bounces@irtf.org  Wed Jan  7 15:26:56 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id B76A228C11B;
	Wed,  7 Jan 2009 15:26:56 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 2651528C11B
	for <cfrg@core3.amsl.com>; Wed,  7 Jan 2009 15:26:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.549
X-Spam-Level: 
X-Spam-Status: No, score=-6.549 tagged_above=-999 required=5 tests=[AWL=0.050, 
	BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 0cu4eRkbljQF for <cfrg@core3.amsl.com>;
	Wed,  7 Jan 2009 15:26:56 -0800 (PST)
Received: from sj-iport-3.cisco.com (sj-iport-3.cisco.com [171.71.176.72])
	by core3.amsl.com (Postfix) with ESMTP id 056AC28C108
	for <cfrg@irtf.org>; Wed,  7 Jan 2009 15:26:56 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.37,228,1231113600"; d="scan'208";a="127325342"
Received: from sj-dkim-8.cisco.com ([171.68.10.93])
	by sj-iport-3.cisco.com with ESMTP; 07 Jan 2009 23:26:26 +0000
Received: from sj-core-5.cisco.com (sj-core-5.cisco.com [171.71.177.238])
	by sj-dkim-8.cisco.com (8.12.11/8.12.11) with ESMTP id n07NQQ5B031436; 
	Wed, 7 Jan 2009 15:26:26 -0800
Received: from xbh-sjc-211.amer.cisco.com (xbh-sjc-211.cisco.com
	[171.70.151.144])
	by sj-core-5.cisco.com (8.13.8/8.13.8) with ESMTP id n07NQQBo020646;
	Wed, 7 Jan 2009 23:26:26 GMT
Received: from xfe-sjc-212.amer.cisco.com ([171.70.151.187]) by
	xbh-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Wed, 7 Jan 2009 15:26:26 -0800
Received: from stealth-10-32-254-212.cisco.com ([10.32.254.212]) by
	xfe-sjc-212.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Wed, 7 Jan 2009 15:26:26 -0800
Message-Id: <6FD97BCF-12BD-4A70-BAD2-E38549051882@cisco.com>
From: David McGrew <mcgrew@cisco.com>
To: Paul Hoffman <paul.hoffman@vpnc.org>
In-Reply-To: <p06240813c58843633ee5@[10.20.30.158]>
Mime-Version: 1.0 (Apple Message framework v929.2)
Date: Wed, 7 Jan 2009 15:26:24 -0800
References: <E1LHplH-0006Xw-V6@wintermute01.cs.auckland.ac.nz>
	<7E552E3F-C85A-4F0E-AC3E-879720A1E55F@extremenetworks.com>
	<21E69071-3D71-4882-94DF-80163CE7BEC9@cisco.com>
	<p06240813c58843633ee5@[10.20.30.158]>
X-Mailer: Apple Mail (2.929.2)
X-OriginalArrivalTime: 07 Jan 2009 23:26:26.0425 (UTC)
	FILETIME=[5C5C5690:01C9711F]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=781; t=1231370787; x=1232234787;
	c=relaxed/simple; s=sjdkim8002;
	h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version;
	d=cisco.com; i=mcgrew@cisco.com;
	z=From:=20David=20McGrew=20<mcgrew@cisco.com>
	|Subject:=20Re=3A=20[Cfrg]=20RFC=20analyzing=20IETF=20use=2
	0of=20hash=20functions=20[was=3A=20Re=3A=20[saag]=20=09Furth
	er=20MD5=20breaks=3A=20Creating=20a=20rogue=20CA=20certifica
	te] |Sender:=20;
	bh=hlrxnczxwngI/mP3c4OFjBJzuqDhczjvWbjx68p6fE8=;
	b=nuEt1veRazv//4c/c+WSZc2JVIgHms5zR7It5g6ix2RoX47XD8kkiFv4Jl
	tejfTIK7ZqoZS2u+azc+yv78UElmVbvzfCc4HmwvWAnUMJeK/xnmeHA+hshC
	YWI9vFhePX;
Authentication-Results: sj-dkim-8; header.From=mcgrew@cisco.com; dkim=pass (
	sig from cisco.com/sjdkim8002 verified; ); 
Cc: RJ Atkinson <rja@extremenetworks.com>, cfrg@irtf.org, saag@ietf.org
Subject: Re: [Cfrg] RFC analyzing IETF use of hash functions [was: Re:
	[saag] Further MD5 breaks: Creating a rogue CA certificate]
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes"
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

Hi Paul,

thanks for volunteering.  For a CFRG doc it would be good to point out  
how existing standards can benefit from newer research results, and  
what open problems could be addressed with future research.

David

On Jan 5, 2009, at 3:09 PM, Paul Hoffman wrote:

> At 2:50 PM -0800 1/5/09, David McGrew wrote:
>> I think it is a great idea to document the IETF applications/uses  
>> of hashing, and the attacks against particular uses of hashing.  It  
>> would make a great CFRG informational RFC, if we can find  
>> volunteers to contribute to and edit it.  I offer to review it.
>
> I will volunteer to update RFC 4270, and I assume that Bruce  
> Schneier would be willing to still be my co-author.
>
> --Paul Hoffman, Director
> --VPN Consortium

_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg


From cfrg-bounces@irtf.org  Wed Jan  7 16:04:24 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id C06B33A6AA4;
	Wed,  7 Jan 2009 16:04:24 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 6BAAA3A6AA4
	for <cfrg@core3.amsl.com>; Wed,  7 Jan 2009 16:04:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.541
X-Spam-Level: 
X-Spam-Status: No, score=-6.541 tagged_above=-999 required=5 tests=[AWL=0.058, 
	BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 9NhllPprbCrs for <cfrg@core3.amsl.com>;
	Wed,  7 Jan 2009 16:04:23 -0800 (PST)
Received: from sj-iport-5.cisco.com (sj-iport-5.cisco.com [171.68.10.87])
	by core3.amsl.com (Postfix) with ESMTP id 56B0E3A6A9B
	for <cfrg@irtf.org>; Wed,  7 Jan 2009 16:04:23 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.37,229,1231113600"; d="scan'208";a="58639077"
Received: from sj-dkim-2.cisco.com ([171.71.179.186])
	by sj-iport-5.cisco.com with ESMTP; 08 Jan 2009 00:03:10 +0000
Received: from sj-core-1.cisco.com (sj-core-1.cisco.com [171.71.177.237])
	by sj-dkim-2.cisco.com (8.12.11/8.12.11) with ESMTP id n0803AZx017391; 
	Wed, 7 Jan 2009 16:03:10 -0800
Received: from xbh-sjc-231.amer.cisco.com (xbh-sjc-231.cisco.com
	[128.107.191.100])
	by sj-core-1.cisco.com (8.13.8/8.13.8) with ESMTP id n08039lw000332;
	Thu, 8 Jan 2009 00:03:10 GMT
Received: from xmb-sjc-225.amer.cisco.com ([128.107.191.38]) by
	xbh-sjc-231.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Wed, 7 Jan 2009 16:03:07 -0800
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Date: Wed, 7 Jan 2009 16:03:06 -0800
Message-ID: <AC1CFD94F59A264488DC2BEC3E890DE50731654F@xmb-sjc-225.amer.cisco.com>
In-Reply-To: <6FD97BCF-12BD-4A70-BAD2-E38549051882@cisco.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [saag] [Cfrg] RFC analyzing IETF use of hash functions [was:Re:
	Further MD5 breaks: Creating a rogue CA certificate]
Thread-Index: AclxH17Je9YRaottSNKO3BQzgLfh3AABAnzg
References: <E1LHplH-0006Xw-V6@wintermute01.cs.auckland.ac.nz><7E552E3F-C85A-4F0E-AC3E-879720A1E55F@extremenetworks.com><21E69071-3D71-4882-94DF-80163CE7BEC9@cisco.com><p06240813c58843633ee5@[10.20.30.158]>
	<6FD97BCF-12BD-4A70-BAD2-E38549051882@cisco.com>
From: "Joseph Salowey (jsalowey)" <jsalowey@cisco.com>
To: "David McGrew (mcgrew)" <mcgrew@cisco.com>,
	"Paul Hoffman" <paul.hoffman@vpnc.org>
X-OriginalArrivalTime: 08 Jan 2009 00:03:07.0560 (UTC)
	FILETIME=[7C56E280:01C97124]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=1859; t=1231372990;
	x=1232236990; c=relaxed/simple; s=sjdkim2002;
	h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version;
	d=cisco.com; i=jsalowey@cisco.com;
	z=From:=20=22Joseph=20Salowey=20(jsalowey)=22=20<jsalowey@ci
	sco.com>
	|Subject:=20RE=3A=20[saag]=20[Cfrg]=20RFC=20analyzing=20IET
	F=20use=20of=20hash=20functions=20[was=3ARe=3A=20Further=20M
	D5=20breaks=3A=20Creating=20a=20rogue=20CA=20certificate]
	|Sender:=20; bh=6esYxmVx/Saucds6qru53l4eNjYhEfSuM9PNiuJOPXg=;
	b=g2CijWmqhMfqPTMjTx9YnbJnD37nVbfawyXv1h5JHY7b9DW0cahFcqt05e
	BlA0ayOyHFMZprW3QT1uqwCquJz0uI7WvHwbew1LU1TShwW4OxLpVsbI3bF4
	3uaHD/aFVZ;
Authentication-Results: sj-dkim-2; header.From=jsalowey@cisco.com; dkim=pass (
	sig from cisco.com/sjdkim2002 verified; ); 
Cc: RJ Atkinson <rja@extremenetworks.com>, cfrg@irtf.org, saag@ietf.org
Subject: Re: [Cfrg] [saag] RFC analyzing IETF use of hash functions [was:Re:
	Further MD5 breaks: Creating a rogue CA certificate]
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

I think this is an area where there is much ambiguity.  When a hash
function is used within a protocol it is often unclear what properties
are expected from it.  This causes problems when a flaw is uncovered and
the impact to the protocol is uncertain.  I think it would improve
things if we were a bit more specific about it. I'd be glad to
participate by reviewing, editing, contributing text or whatever else is
needed. 

Cheers,

Joe

> -----Original Message-----
> From: saag-bounces@ietf.org [mailto:saag-bounces@ietf.org] On 
> Behalf Of David McGrew (mcgrew)
> Sent: Wednesday, January 07, 2009 3:26 PM
> To: Paul Hoffman
> Cc: RJ Atkinson; cfrg@irtf.org; saag@ietf.org
> Subject: Re: [saag] [Cfrg] RFC analyzing IETF use of hash 
> functions [was:Re: Further MD5 breaks: Creating a rogue CA 
> certificate]
> 
> Hi Paul,
> 
> thanks for volunteering.  For a CFRG doc it would be good to 
> point out how existing standards can benefit from newer 
> research results, and what open problems could be addressed 
> with future research.
> 
> David
> 
> On Jan 5, 2009, at 3:09 PM, Paul Hoffman wrote:
> 
> > At 2:50 PM -0800 1/5/09, David McGrew wrote:
> >> I think it is a great idea to document the IETF 
> applications/uses of 
> >> hashing, and the attacks against particular uses of hashing.  It 
> >> would make a great CFRG informational RFC, if we can find 
> volunteers 
> >> to contribute to and edit it.  I offer to review it.
> >
> > I will volunteer to update RFC 4270, and I assume that 
> Bruce Schneier 
> > would be willing to still be my co-author.
> >
> > --Paul Hoffman, Director
> > --VPN Consortium
> 
> _______________________________________________
> saag mailing list
> saag@ietf.org
> https://www.ietf.org/mailman/listinfo/saag
> 
_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg


From cfrg-bounces@irtf.org  Wed Jan  7 16:52:05 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 35E233A6905;
	Wed,  7 Jan 2009 16:52:05 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 335B23A6905
	for <cfrg@core3.amsl.com>; Wed,  7 Jan 2009 16:52:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.235
X-Spam-Level: 
X-Spam-Status: No, score=-1.235 tagged_above=-999 required=5
	tests=[AWL=-0.829, BAYES_20=-0.74, IP_NOT_FRIENDLY=0.334]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id Ufv2qaeIHdwa for <cfrg@core3.amsl.com>;
	Wed,  7 Jan 2009 16:52:03 -0800 (PST)
Received: from colo.trepanning.net (colo.trepanning.net [69.55.226.174])
	by core3.amsl.com (Postfix) with ESMTP id 8F6233A682D
	for <cfrg@irtf.org>; Wed,  7 Jan 2009 16:52:03 -0800 (PST)
Received: from www.trepanning.net (localhost [127.0.0.1])
	by colo.trepanning.net (Postfix) with ESMTP id D38E63FE022A
	for <cfrg@irtf.org>; Wed,  7 Jan 2009 16:51:50 -0800 (PST)
Received: from 69.12.173.8
	(SquirrelMail authenticated user dharkins@lounge.org)
	by www.trepanning.net with HTTP; Wed, 7 Jan 2009 16:51:50 -0800 (PST)
Message-ID: <decddf3efdaa2457ddec88c2513aaca1.squirrel@www.trepanning.net>
Date: Wed, 7 Jan 2009 16:51:50 -0800 (PST)
From: "Dan Harkins" <dharkins@lounge.org>
To: cfrg@irtf.org
User-Agent: SquirrelMail/1.4.14 [SVN]
MIME-Version: 1.0
X-Priority: 3 (Normal)
Importance: Normal
Subject: [Cfrg] re-using Diffie-Hellman exponentials
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org


  Hi,

  There is an open issue in the IPsecme WG of the IETF about how to
reuse Diffie-Hellman exponentials "securely".

  A proposal has been made to increment the private value as a way
to quickly generate a new Diffie-Hellman exponential. For MODP
groups that would be multiplying the old exponential by the group's
generator, modulo the prime. For ECP groups it would be adding the
group's generator to the old exponential (point).

  An entity that employs this scheme should check the peer's exponential
for a small sub-group to prevent attack. The following check has also
been proposed:

  for MODP: perform the group operation on the peer's exponential and
            the order of the group-- if g^y is peer's exponential then
            check (g^y)^q, for order q-- and if the result is not 1
            then abort.

  for ECP: perform the group operation on the peer's exponential and
           the cofactor of the curve-- if Y is the peer's exponential
           (point) then check h*Y, for cofactor h-- and if the result
           is the "point at infinity" then abort.

Are these checks sufficient? Is there anything else that should be done?
What about characteristic-two curves? Same as ECP?

  regards,

  Dan.




_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg


From cfrg-bounces@irtf.org  Wed Jan  7 20:48:39 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 060223A6916;
	Wed,  7 Jan 2009 20:48:39 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id F162C3A6916
	for <cfrg@core3.amsl.com>; Wed,  7 Jan 2009 20:48:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.879
X-Spam-Level: 
X-Spam-Status: No, score=-5.879 tagged_above=-999 required=5 tests=[AWL=0.720, 
	BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id VfGNhC8HbTu2 for <cfrg@core3.amsl.com>;
	Wed,  7 Jan 2009 20:48:37 -0800 (PST)
Received: from mailhost.auckland.ac.nz (larry.its.auckland.ac.nz
	[130.216.12.34])
	by core3.amsl.com (Postfix) with ESMTP id 0C7DA3A681F
	for <cfrg@irtf.org>; Wed,  7 Jan 2009 20:48:37 -0800 (PST)
Received: from localhost (localhost.localdomain [127.0.0.1])
	by mailhost.auckland.ac.nz (Postfix) with ESMTP id 9E02319A23;
	Thu,  8 Jan 2009 17:21:26 +1300 (NZDT)
X-Virus-Scanned: by amavisd-new at mailhost.auckland.ac.nz
Received: from mailhost.auckland.ac.nz ([127.0.0.1])
	by localhost (larry.its.auckland.ac.nz [127.0.0.1]) (amavisd-new,
	port 10024)
	with ESMTP id FPAH1uc8SBNx; Thu,  8 Jan 2009 17:21:26 +1300 (NZDT)
Received: from iris.cs.auckland.ac.nz (iris.cs.auckland.ac.nz [130.216.33.152])
	by mailhost.auckland.ac.nz (Postfix) with ESMTP id 987C719A2C;
	Thu,  8 Jan 2009 17:21:23 +1300 (NZDT)
Received: from wintermute01.cs.auckland.ac.nz (wintermute01.cs.auckland.ac.nz
	[130.216.34.38]) (using TLSv1 with cipher AES256-SHA (256/256 bits))
	(No client certificate requested)
	by iris.cs.auckland.ac.nz (Postfix) with ESMTP
	id 6D18E1BE4002; Thu,  8 Jan 2009 17:21:22 +1300 (NZDT)
Received: from pgut001 by wintermute01.cs.auckland.ac.nz with local (Exim 4.63)
	(envelope-from <pgut001@wintermute01.cs.auckland.ac.nz>)
	id 1LKmOY-0001mL-AH; Thu, 08 Jan 2009 17:21:22 +1300
From: pgut001@cs.auckland.ac.nz (Peter Gutmann)
To: pgut001@cs.auckland.ac.nz, v.paz@uq.edu.au
In-Reply-To: <6C62167D152FAD4F91D2D6C8392D1DF005B58E85@UQEXMB1.soe.uq.edu.au>
Message-Id: <E1LKmOY-0001mL-AH@wintermute01.cs.auckland.ac.nz>
Date: Thu, 08 Jan 2009 17:21:22 +1300
Cc: tmiller@mitre.org, ietf-pkix@imc.org, ietf-smime@imc.org, cfrg@irtf.org,
	saag@ietf.org
Subject: Re: [Cfrg] [saag] Further MD5 breaks: Creating a rogue CAcertificate
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

"Viviani Paz" <v.paz@uq.edu.au> writes:

>1- browser vendors strongly encouraging the CA organisations vulnerable to
>this problem (using MD5) to get their act together. I'd like to see the
>browser vendors giving them a cut off timeframe and remove these root certs
>from their trust lists for good.

The problem with this is that it's not going to be so easy to tell who's at
fault, the first MD5 cert may not appear until several levels down the food
chain so there's no way to tell whether a particular root ends in an MD5 cert.
And if you do remove a root because some unrelated party five steps down the
food chain uses MD5 I can see lawsuits happening...

>2- meanwhile browser vendors could issue a warning when certificates relying
>on MD5 are in use, this is simpler to be done and shame goes a long way
>sometimes. It doesn't resolve the problem, but sets things in motion.

That one would definitely work, but has the downside of penalising innocent
customers of the CA that issued the cert and not the CA that made the mess.
You'd have to convince the CA to issue free replacements for this to work,
possibly by framing the warning message in terms of the CA using unsafe
practices rather than the site itself being insecure.  Even then it's a rather
indirect approach that doesn't really target the guilty party since you're
scaring the user who is supposed to exert pressure on the site which is then
supposed to pressure the CA for a fix.

(This is one of those great all-care-and-no-responsibility situations, the CAs
can pretty much screw up as much as they want but there's no real
repercussions for anyone because of the collateral damage issue.  The debate
on the Mozilla forums shows this, there's all manner of knee-jerk reactions
possible to make an example of someone convenient but none of them really get
to the root of the problem).

Peter.

_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg


From cfrg-bounces@irtf.org  Wed Jan  7 23:24:23 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id CB3283A6A7B;
	Wed,  7 Jan 2009 23:24:23 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 132A428C107
	for <cfrg@core3.amsl.com>; Wed,  7 Jan 2009 23:24:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.432
X-Spam-Level: 
X-Spam-Status: No, score=-4.432 tagged_above=-999 required=5
	tests=[AWL=-0.833, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id vPLtqY1FDuIl for <cfrg@core3.amsl.com>;
	Wed,  7 Jan 2009 23:24:21 -0800 (PST)
Received: from mailhost.auckland.ac.nz (curly.its.auckland.ac.nz
	[130.216.12.33])
	by core3.amsl.com (Postfix) with ESMTP id 210D03A681C
	for <cfrg@irtf.org>; Wed,  7 Jan 2009 23:24:18 -0800 (PST)
Received: from localhost (localhost.localdomain [127.0.0.1])
	by mailhost.auckland.ac.nz (Postfix) with ESMTP id 2516B9E5B5;
	Thu,  8 Jan 2009 20:24:04 +1300 (NZDT)
X-Virus-Scanned: by amavisd-new at mailhost.auckland.ac.nz
Received: from mailhost.auckland.ac.nz ([127.0.0.1])
	by localhost (curly.its.auckland.ac.nz [127.0.0.1]) (amavisd-new,
	port 10024)
	with ESMTP id h+pssntYkJXL; Thu,  8 Jan 2009 20:24:04 +1300 (NZDT)
Received: from iris.cs.auckland.ac.nz (iris.cs.auckland.ac.nz [130.216.33.152])
	by mailhost.auckland.ac.nz (Postfix) with ESMTP id 5EB4C9E529;
	Thu,  8 Jan 2009 20:24:01 +1300 (NZDT)
Received: from wintermute01.cs.auckland.ac.nz (wintermute01.cs.auckland.ac.nz
	[130.216.34.38]) (using TLSv1 with cipher AES256-SHA (256/256 bits))
	(No client certificate requested)
	by iris.cs.auckland.ac.nz (Postfix) with ESMTP
	id BDC571BE4002; Thu,  8 Jan 2009 20:23:55 +1300 (NZDT)
Received: from pgut001 by wintermute01.cs.auckland.ac.nz with local (Exim 4.63)
	(envelope-from <pgut001@wintermute01.cs.auckland.ac.nz>)
	id 1LKpFD-0002LS-Ks; Thu, 08 Jan 2009 20:23:55 +1300
From: pgut001@cs.auckland.ac.nz (Peter Gutmann)
To: jhutz@cmu.edu, pgut001@cs.auckland.ac.nz, v.paz@uq.edu.au
In-Reply-To: <2125BB6F6871041891AD145D@atlantis.pc.cs.cmu.edu>
Message-Id: <E1LKpFD-0002LS-Ks@wintermute01.cs.auckland.ac.nz>
Date: Thu, 08 Jan 2009 20:23:55 +1300
Cc: tmiller@mitre.org, ietf-pkix@imc.org, ietf-smime@imc.org, cfrg@irtf.org,
	saag@ietf.org
Subject: Re: [Cfrg] [saag] Further MD5 breaks: Creating a rogue CAcertificate
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

Jeffrey Hutzelman <jhutz@cmu.edu> writes:

>Perhaps a solution to this is a new model.  

A good start...

>which for a fee provides 

... and it just failed right there.

Peter :-).
_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg


From cfrg-bounces@irtf.org  Thu Jan  8 05:41:59 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 0FE183A6ABD;
	Thu,  8 Jan 2009 05:41:59 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 35C253A6841
	for <cfrg@core3.amsl.com>; Thu,  8 Jan 2009 05:41:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.872
X-Spam-Level: 
X-Spam-Status: No, score=-5.872 tagged_above=-999 required=5 tests=[AWL=0.727, 
	BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id rXeJTL-Ozd0D for <cfrg@core3.amsl.com>;
	Thu,  8 Jan 2009 05:41:57 -0800 (PST)
Received: from mailhost.auckland.ac.nz (larry.its.auckland.ac.nz
	[130.216.12.34])
	by core3.amsl.com (Postfix) with ESMTP id 7167C3A677C
	for <cfrg@irtf.org>; Thu,  8 Jan 2009 05:41:57 -0800 (PST)
Received: from localhost (localhost.localdomain [127.0.0.1])
	by mailhost.auckland.ac.nz (Postfix) with ESMTP id 0A48E199E2;
	Fri,  9 Jan 2009 02:17:54 +1300 (NZDT)
X-Virus-Scanned: by amavisd-new at mailhost.auckland.ac.nz
Received: from mailhost.auckland.ac.nz ([127.0.0.1])
	by localhost (larry.its.auckland.ac.nz [127.0.0.1]) (amavisd-new,
	port 10024)
	with ESMTP id gFtiCLKZ2K+g; Fri,  9 Jan 2009 02:17:53 +1300 (NZDT)
Received: from iris.cs.auckland.ac.nz (iris.cs.auckland.ac.nz [130.216.33.152])
	by mailhost.auckland.ac.nz (Postfix) with ESMTP id 2C9BB19ABA;
	Fri,  9 Jan 2009 02:17:51 +1300 (NZDT)
Received: from wintermute01.cs.auckland.ac.nz (wintermute01.cs.auckland.ac.nz
	[130.216.34.38]) (using TLSv1 with cipher AES256-SHA (256/256 bits))
	(No client certificate requested)
	by iris.cs.auckland.ac.nz (Postfix) with ESMTP
	id 761C91BE4002; Fri,  9 Jan 2009 02:17:44 +1300 (NZDT)
Received: from pgut001 by wintermute01.cs.auckland.ac.nz with local (Exim 4.63)
	(envelope-from <pgut001@wintermute01.cs.auckland.ac.nz>)
	id 1LKulc-0003IJ-4X; Fri, 09 Jan 2009 02:17:44 +1300
From: pgut001@cs.auckland.ac.nz (Peter Gutmann)
To: jhutz@cmu.edu, pgut001@cs.auckland.ac.nz, v.paz@uq.edu.au
In-Reply-To: <E46C19E32B9B180E244D416E@minbar.fac.cs.cmu.edu>
Message-Id: <E1LKulc-0003IJ-4X@wintermute01.cs.auckland.ac.nz>
Date: Fri, 09 Jan 2009 02:17:44 +1300
Cc: tmiller@mitre.org, ietf-pkix@imc.org, ietf-smime@imc.org, cfrg@irtf.org,
	saag@ietf.org
Subject: Re: [Cfrg] [saag] Further MD5 breaks: Creating a rogue CAcertificate
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

Jeffrey Hutzelman <jhutz@cmu.edu> writes:

>Note that charging a fee for this service is not absurd.  Lots of people
>(consumers) pay fees for up-to-date lists of virus signatures, phishing
>sites, spam-blocking rules, and so on.

Conceptually it's not absurd, but how are you going to persuade a billion-odd
users that they need to pay for something that they've been conditioned to get
for free?  Will you promise to indemnify them against identity theft (via
phishing) if they sign up to your service?  What value-add will you offer that
will convince the drool-and-click masses to pay for your service?

Peter.
_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg


From cfrg-bounces@irtf.org  Thu Jan  8 06:04:34 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 2CB003A6AF5;
	Thu,  8 Jan 2009 06:04:34 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 0DFA53A6AF5
	for <cfrg@core3.amsl.com>; Thu,  8 Jan 2009 06:04:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.195
X-Spam-Level: 
X-Spam-Status: No, score=-6.195 tagged_above=-999 required=5 tests=[AWL=0.403, 
	BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id OXPd+vKnrt4h for <cfrg@core3.amsl.com>;
	Thu,  8 Jan 2009 06:04:31 -0800 (PST)
Received: from robin.verisign.com (robin.verisign.com [65.205.251.75])
	by core3.amsl.com (Postfix) with ESMTP id A68F43A6AF2
	for <cfrg@irtf.org>; Thu,  8 Jan 2009 06:04:31 -0800 (PST)
Received: from mou1wnexcn01.vcorp.ad.vrsn.com (mailer1.verisign.com
	[65.205.251.34])
	by robin.verisign.com (8.12.11/8.13.4) with ESMTP id n08E441u005245;
	Thu, 8 Jan 2009 06:04:04 -0800
Received: from MOU1WNEXMB09.vcorp.ad.vrsn.com ([10.25.15.197]) by
	mou1wnexcn01.vcorp.ad.vrsn.com with Microsoft
	SMTPSVC(6.0.3790.3959); Thu, 8 Jan 2009 06:04:04 -0800
Content-class: urn:content-classes:message
MIME-Version: 1.0
X-MimeOLE: Produced By Microsoft Exchange V6.5
Date: Thu, 8 Jan 2009 06:04:04 -0800
Message-ID: <2788466ED3E31C418E9ACC5C316615572FFC54@mou1wnexmb09.vcorp.ad.vrsn.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Cfrg] Analyzing IETF use of hash functions -- ORCHIDs
Thread-Index: AclxYqS7Nz1LASg3ROyYpTKun0PdsAAMRwL8
References: <00be01c96faf$8bea0720$800c6f0a@china.huawei.com>	<4964CB91.8030001@htt-consult.com>
	<2788466ED3E31C418E9ACC5C316615572FFC4B@mou1wnexmb09.vcorp.ad.vrsn.com>
	<4965AAFF.3060209@sbcglobal.net>
From: "Hallam-Baker, Phillip" <pbaker@verisign.com>
To: "David Jacobson" <dmjacobson@sbcglobal.net>, <cfrg@irtf.org>
X-OriginalArrivalTime: 08 Jan 2009 14:04:04.0774 (UTC)
	FILETIME=[F72EBC60:01C97199]
Cc: Robert Moskowitz <rgm-sec@htt-consult.com>
Subject: Re: [Cfrg] Analyzing IETF use of hash functions -- ORCHIDs
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
Content-Type: multipart/mixed; boundary="===============1085375147=="
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

This is a multi-part message in MIME format.

--===============1085375147==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C97199.F6D64B82"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C97199.F6D64B82
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Ugh, that kinda makes me not want to use CMAC construction for a MAC =
function either. HMAC has the property that knowing the key does not =
allow the output to be controlled, I am somewhat surprised it was not =
considered a necessary property for a MAC.

Certainly, it means that we cannot certify CMAC as a drop in replacement =
for cases where HMAC has been used. It might well be the case that none =
of the uses of HMAC depend on this property being true, but there is no =
way to be sure without re-analysing the security of the protocol from =
scratch.=20

We have plenty of experience of problems coming from people using a =
stream cipher to do the work of a block cipher. Those problems are the =
result of having what are actually two primitives that are closely =
related enough to be considered equivalent but with one offering only a =
subset of the security guarantees of the other.


We have a strong cryptographic primitive here, a cipher function. Seems =
to me that if we do the job right it should be possible to create a =
strong one way function. I know Rogaway has argued that building =
everything on a one way function gives provable security. Problem is =
that one way functions have been the most troublesome function in =
practice. It is the only symmetric function which we have had standard =
algorithms broken through cryptanalytic attack, and not just once, we =
have had MD2, MD4 and MD5 broken and SHA1 is making us worried.

The problem for the strategy outlined is that it kinda depends on having =
a digest function that is fully certified right now. We can use the same =
strategy to use SHA256 or SHA512 as an insurance policy. But we can't =
fix CMAC and certify the result before the digest competition reads out.


I still like the idea of using a keyed digest function with a randomly =
chosen key as a digest. We should not be talking about ways to add =
randomness into the object being signed as protection. If we want =
randomness it should be input to the cryptographic layer and be - =
random.

I know that in an ideal world a digest function should be secure and not =
need some kind of backup, but given the experience of digest functions =
being the most likely to fail, I really like having the insurance of =
being able to add in the randomness.


-----Original Message-----
From: David Jacobson [mailto:dmjacobson@sbcglobal.net]
Sent: Thu 1/8/2009 2:27 AM
To: Hallam-Baker, Phillip; cfrg@irtf.org
Cc: Robert Moskowitz
Subject: Re: [Cfrg] Analyzing IETF use of hash functions -- ORCHIDs
=20
Hallam-Baker, Phillip wrote:
[snip]
> This all has me looking at using MAC functions and in particular=20
> CMAC-AES as a digest function. The simple collision attack using a=20
> supplied source text can be defeated entirely using a MAC function and =
a=20
> randomly chosen IV.
>=20
>=20
> The principal advantages of using CMAC-AES with a random IV are
>=20
> 1) It is completely specified today, except for the details of the=20
> packaging in RSA and DSA.
> 2) Simple collision attacks are defeated entirely through use of a=20
> sufficiently random IV.
> 3) Plug compatible with existing crypto APIs
> 4) A constrained implementation can render every symmetric =
cryptographic=20
> function (encryption, digest, MAC) from a single cryptographic =
primitive.
> 5) CMAC construction means that the security of our cryptographic =
system=20
> only depends on the security of a single symmetric primitive - AES and =

> our random number generator.
[snip]

We are in the context of replacing MD5 with some other hash function.

Item 3 is kind of slippery.

CMAC-AES as a plug is compatible with the socket labeled MAC, but it is=20
not compatible with the socket labeled HASH.

More concretely, applications written for MD5 and SHA1 are not prepared=20
to provide a secret key, which is needed for CMAC-AES.  And then there=20
is the IV as well.

The definition of CMAC-AES in Wikipedia does not mention an IV, but I=20
presume the intent is that first message block is XORd with E_k(IV),=20
rather than E_k(0) as specified in CMAC-AES.

But there is a security problem, too.  Let us temporarily ignore the IV. =

  I believe that the strength of MACs derives from the fact that the=20
secret key is secret. For signatures, the verifier has to know what=20
value to use for the key so it has to be a constant, or be sent, or be=20
derivable from stuff that is sent.   Finding a pre-image that works with =

CMAC_AES is trivial if the attacker knows k and can tolerate the last=20
block being arbitrary:    He runs the CMAC_AES algorithm up to the last=20
block, resulting in V. The attacker computes k1 (key for a last block=20
that is full) according the the CMAC algorithm.  He decrypts the target=20
hash value using k1 as the AES key.  Call that value W.  He makes the=20
last block be V XOR W.

The IV doesn't help any.  Rather it completely defeats security. If it=20
is a random value, it has to be communicated to the verifier, and the=20
attacker can choose it. Let the attacker's desired message blocks be=20
M_1, M_2, ... M_n.  Let the values entering the AES encryptions be P_1,=20
P_2, ... P_n.  (Somewhere in the middle, P_k =3D M_k XOR E_k{P_{k-1}.)=20
The attacker works backwards from the output, and  eventually computes=20
what P_1 has to be.  He chooses IV =3D D_k{P_1 XOR M_1}.

   -- David Jacobson


------_=_NextPart_001_01C97199.F6D64B82
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.7653.38">
<TITLE>RE: [Cfrg] Analyzing IETF use of hash functions -- =
ORCHIDs</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=3D2>Ugh, that kinda makes me not want to use CMAC =
construction for a MAC function either. HMAC has the property that =
knowing the key does not allow the output to be controlled, I am =
somewhat surprised it was not considered a necessary property for a =
MAC.<BR>
<BR>
Certainly, it means that we cannot certify CMAC as a drop in replacement =
for cases where HMAC has been used. It might well be the case that none =
of the uses of HMAC depend on this property being true, but there is no =
way to be sure without re-analysing the security of the protocol from =
scratch.<BR>
<BR>
We have plenty of experience of problems coming from people using a =
stream cipher to do the work of a block cipher. Those problems are the =
result of having what are actually two primitives that are closely =
related enough to be considered equivalent but with one offering only a =
subset of the security guarantees of the other.<BR>
<BR>
<BR>
We have a strong cryptographic primitive here, a cipher function. Seems =
to me that if we do the job right it should be possible to create a =
strong one way function. I know Rogaway has argued that building =
everything on a one way function gives provable security. Problem is =
that one way functions have been the most troublesome function in =
practice. It is the only symmetric function which we have had standard =
algorithms broken through cryptanalytic attack, and not just once, we =
have had MD2, MD4 and MD5 broken and SHA1 is making us worried.<BR>
<BR>
The problem for the strategy outlined is that it kinda depends on having =
a digest function that is fully certified right now. We can use the same =
strategy to use SHA256 or SHA512 as an insurance policy. But we can't =
fix CMAC and certify the result before the digest competition reads =
out.<BR>
<BR>
<BR>
I still like the idea of using a keyed digest function with a randomly =
chosen key as a digest. We should not be talking about ways to add =
randomness into the object being signed as protection. If we want =
randomness it should be input to the cryptographic layer and be - =
random.<BR>
<BR>
I know that in an ideal world a digest function should be secure and not =
need some kind of backup, but given the experience of digest functions =
being the most likely to fail, I really like having the insurance of =
being able to add in the randomness.<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: David Jacobson [<A =
HREF=3D"mailto:dmjacobson@sbcglobal.net">mailto:dmjacobson@sbcglobal.net<=
/A>]<BR>
Sent: Thu 1/8/2009 2:27 AM<BR>
To: Hallam-Baker, Phillip; cfrg@irtf.org<BR>
Cc: Robert Moskowitz<BR>
Subject: Re: [Cfrg] Analyzing IETF use of hash functions -- ORCHIDs<BR>
<BR>
Hallam-Baker, Phillip wrote:<BR>
[snip]<BR>
&gt; This all has me looking at using MAC functions and in =
particular<BR>
&gt; CMAC-AES as a digest function. The simple collision attack using =
a<BR>
&gt; supplied source text can be defeated entirely using a MAC function =
and a<BR>
&gt; randomly chosen IV.<BR>
&gt;<BR>
&gt;<BR>
&gt; The principal advantages of using CMAC-AES with a random IV are<BR>
&gt;<BR>
&gt; 1) It is completely specified today, except for the details of =
the<BR>
&gt; packaging in RSA and DSA.<BR>
&gt; 2) Simple collision attacks are defeated entirely through use of =
a<BR>
&gt; sufficiently random IV.<BR>
&gt; 3) Plug compatible with existing crypto APIs<BR>
&gt; 4) A constrained implementation can render every symmetric =
cryptographic<BR>
&gt; function (encryption, digest, MAC) from a single cryptographic =
primitive.<BR>
&gt; 5) CMAC construction means that the security of our cryptographic =
system<BR>
&gt; only depends on the security of a single symmetric primitive - AES =
and<BR>
&gt; our random number generator.<BR>
[snip]<BR>
<BR>
We are in the context of replacing MD5 with some other hash =
function.<BR>
<BR>
Item 3 is kind of slippery.<BR>
<BR>
CMAC-AES as a plug is compatible with the socket labeled MAC, but it =
is<BR>
not compatible with the socket labeled HASH.<BR>
<BR>
More concretely, applications written for MD5 and SHA1 are not =
prepared<BR>
to provide a secret key, which is needed for CMAC-AES.&nbsp; And then =
there<BR>
is the IV as well.<BR>
<BR>
The definition of CMAC-AES in Wikipedia does not mention an IV, but =
I<BR>
presume the intent is that first message block is XORd with E_k(IV),<BR>
rather than E_k(0) as specified in CMAC-AES.<BR>
<BR>
But there is a security problem, too.&nbsp; Let us temporarily ignore =
the IV.<BR>
&nbsp; I believe that the strength of MACs derives from the fact that =
the<BR>
secret key is secret. For signatures, the verifier has to know what<BR>
value to use for the key so it has to be a constant, or be sent, or =
be<BR>
derivable from stuff that is sent.&nbsp;&nbsp; Finding a pre-image that =
works with<BR>
CMAC_AES is trivial if the attacker knows k and can tolerate the =
last<BR>
block being arbitrary:&nbsp;&nbsp;&nbsp; He runs the CMAC_AES algorithm =
up to the last<BR>
block, resulting in V. The attacker computes k1 (key for a last =
block<BR>
that is full) according the the CMAC algorithm.&nbsp; He decrypts the =
target<BR>
hash value using k1 as the AES key.&nbsp; Call that value W.&nbsp; He =
makes the<BR>
last block be V XOR W.<BR>
<BR>
The IV doesn't help any.&nbsp; Rather it completely defeats security. If =
it<BR>
is a random value, it has to be communicated to the verifier, and =
the<BR>
attacker can choose it. Let the attacker's desired message blocks be<BR>
M_1, M_2, ... M_n.&nbsp; Let the values entering the AES encryptions be =
P_1,<BR>
P_2, ... P_n.&nbsp; (Somewhere in the middle, P_k =3D M_k XOR =
E_k{P_{k-1}.)<BR>
The attacker works backwards from the output, and&nbsp; eventually =
computes<BR>
what P_1 has to be.&nbsp; He chooses IV =3D D_k{P_1 XOR M_1}.<BR>
<BR>
&nbsp;&nbsp; -- David Jacobson<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C97199.F6D64B82--

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

_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg

--===============1085375147==--


From cfrg-bounces@irtf.org  Thu Jan  8 06:46:57 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 0D5213A6942;
	Thu,  8 Jan 2009 06:46:57 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 4674B3A6942
	for <cfrg@core3.amsl.com>; Thu,  8 Jan 2009 06:46:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.977
X-Spam-Level: 
X-Spam-Status: No, score=-101.977 tagged_above=-999 required=5
	tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id RsEwEpXAEYMk for <cfrg@core3.amsl.com>;
	Thu,  8 Jan 2009 06:46:55 -0800 (PST)
Received: from mail-fx0-f32.google.com (mail-fx0-f32.google.com
	[209.85.220.32])
	by core3.amsl.com (Postfix) with ESMTP id 2DB5C3A68D6
	for <cfrg@irtf.org>; Thu,  8 Jan 2009 06:46:55 -0800 (PST)
Received: by fxm13 with SMTP id 13so1669785fxm.7
	for <cfrg@irtf.org>; Thu, 08 Jan 2009 06:46:40 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=googlemail.com; s=gamma;
	h=domainkey-signature:received:received:message-id:date:from:sender
	:to:subject:cc:in-reply-to:mime-version:content-type
	:content-transfer-encoding:content-disposition:references
	:x-google-sender-auth;
	bh=9r5arRMFVjk+yiG03Z36BPLZvnBSO6qCOjG1iO9NgEw=;
	b=kXCdxLLl/RLxbYNhBaudBi5GHB2Xai5et1uz40Kak2h45LOID5IZkKRx5kxlWCI10B
	rnEqDD8WZRjLJkfikQ/NlqrS78inwawJw8SzJjVro5W7aea/gQ97VYBeAELIn7NxwdVf
	a4LCZPC8MdsOnlEwmuvwbyqr/He1JF+ZSX/5I=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma;
	h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version
	:content-type:content-transfer-encoding:content-disposition
	:references:x-google-sender-auth;
	b=MbyukKfljK8cmy77It3FOJlZCPQpjui4ZRPxWZQMnocVZpsAnnr4vWGBk4nOQnocMr
	dN0GsE0vAPq1uQWz3eWFLal5tXZkfPlwfvLmOQIwp52gF/dtLlDc+fj7xkWcuZQPMzVZ
	I/JP/DAR/eduHatQC9BZEGU2muT9/vq6rDgPE=
Received: by 10.223.113.193 with SMTP id b1mr16083834faq.77.1231426000531;
	Thu, 08 Jan 2009 06:46:40 -0800 (PST)
Received: by 10.223.126.135 with HTTP; Thu, 8 Jan 2009 06:46:40 -0800 (PST)
Message-ID: <47015c2b0901080646k4fe0a695gda26b3da66462509@mail.gmail.com>
Date: Thu, 8 Jan 2009 15:46:40 +0100
From: "Bodo Moeller" <bmoeller@acm.org>
To: "Dan Harkins" <dharkins@lounge.org>
In-Reply-To: <decddf3efdaa2457ddec88c2513aaca1.squirrel@www.trepanning.net>
MIME-Version: 1.0
Content-Disposition: inline
References: <decddf3efdaa2457ddec88c2513aaca1.squirrel@www.trepanning.net>
X-Google-Sender-Auth: f68fbf9ce9d95b9a
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] re-using Diffie-Hellman exponentials
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

On Thu, Jan 8, 2009 at 1:51 AM, Dan Harkins <dharkins@lounge.org> wrote:

>  There is an open issue in the IPsecme WG of the IETF about how to
> reuse Diffie-Hellman exponentials "securely".
>
>  A proposal has been made to increment the private value as a way
> to quickly generate a new Diffie-Hellman exponential. For MODP
> groups that would be multiplying the old exponential by the group's
> generator, modulo the prime. For ECP groups it would be adding the
> group's generator to the old exponential (point).

Why would you be doing this rather than just continue to use the
prevoius DH value?  (The raw DH result between two parties that do
this will be the same, allowing for caching.  If you want to generate
new outputs as symmetric key material, you can just change other
inputs to the key derivation function.)

Bodo
_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg


From cfrg-bounces@irtf.org  Thu Jan  8 07:17:40 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 75DC53A6A4D;
	Thu,  8 Jan 2009 07:17:40 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 4C69F3A6A3A
	for <cfrg@core3.amsl.com>; Thu,  8 Jan 2009 07:17:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.415
X-Spam-Level: 
X-Spam-Status: No, score=-6.415 tagged_above=-999 required=5 tests=[AWL=0.184, 
	BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id DNdZ3CO9uomC for <cfrg@core3.amsl.com>;
	Thu,  8 Jan 2009 07:17:38 -0800 (PST)
Received: from mgw-mx06.nokia.com (smtp.nokia.com [192.100.122.233])
	by core3.amsl.com (Postfix) with ESMTP id 3AF413A68BD
	for <cfrg@irtf.org>; Thu,  8 Jan 2009 07:17:38 -0800 (PST)
Received: from vaebh105.NOE.Nokia.com (vaebh105.europe.nokia.com
	[10.160.244.31])
	by mgw-mx06.nokia.com (Switch-3.2.6/Switch-3.2.6) with ESMTP id
	n08FHAj5007526; Thu, 8 Jan 2009 17:17:18 +0200
Received: from vaebh102.NOE.Nokia.com ([10.160.244.23]) by
	vaebh105.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959); 
	Thu, 8 Jan 2009 17:17:17 +0200
Received: from vaebe104.NOE.Nokia.com ([10.160.244.59]) by
	vaebh102.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959); 
	Thu, 8 Jan 2009 17:17:16 +0200
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Date: Thu, 8 Jan 2009 17:17:11 +0200
Message-ID: <1696498986EFEC4D9153717DA325CB7202D74D54@vaebe104.NOE.Nokia.com>
In-Reply-To: <47015c2b0901080646k4fe0a695gda26b3da66462509@mail.gmail.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Cfrg] re-using Diffie-Hellman exponentials
Thread-Index: Aclxn/DBQNnuYpl2R4+yznybZxapIgAA1JjQ
References: <decddf3efdaa2457ddec88c2513aaca1.squirrel@www.trepanning.net>
	<47015c2b0901080646k4fe0a695gda26b3da66462509@mail.gmail.com>
From: <Pasi.Eronen@nokia.com>
To: <bmoeller@acm.org>, <dharkins@lounge.org>
X-OriginalArrivalTime: 08 Jan 2009 15:17:16.0694 (UTC)
	FILETIME=[30F88B60:01C971A4]
X-Nokia-AV: Clean
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] re-using Diffie-Hellman exponentials
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

Bodo Moeller wrote:

> On Thu, Jan 8, 2009 at 1:51 AM, Dan Harkins 
> <dharkins@lounge.org> wrote:
> 
> >  There is an open issue in the IPsecme WG of the IETF about how to
> > reuse Diffie-Hellman exponentials "securely".
> >
> >  A proposal has been made to increment the private value as a way
> > to quickly generate a new Diffie-Hellman exponential. For MODP
> > groups that would be multiplying the old exponential by the group's
> > generator, modulo the prime. For ECP groups it would be adding the
> > group's generator to the old exponential (point).
> 
> Why would you be doing this rather than just continue to use the
> prevoius DH value?  (The raw DH result between two parties that do
> this will be the same, allowing for caching.  If you want to generate
> new outputs as symmetric key material, you can just change other
> inputs to the key derivation function.)

At least I had always assumed that when RFC 4306 spoke about reusing
DH exponentials (in Section 2.12), it meant exactly this (just use the
previous x and g^x). The last paragraph also talks about both parties
doing it (storing previous g^y and g^xy) -- since the random nonces
(Ni and Nr) are also fed to the key derivation function, the resulting
keys SK_d etc. will be different.

Best regards,
Pasi
_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg


From cfrg-bounces@irtf.org  Thu Jan  8 07:44:29 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id AA83E3A6AD4;
	Thu,  8 Jan 2009 07:44:29 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 4B7943A6AD4
	for <cfrg@core3.amsl.com>; Thu,  8 Jan 2009 07:44:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.552
X-Spam-Level: 
X-Spam-Status: No, score=-6.552 tagged_above=-999 required=5 tests=[AWL=0.046, 
	BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 41JdR0e9+Mn5 for <cfrg@core3.amsl.com>;
	Thu,  8 Jan 2009 07:44:26 -0800 (PST)
Received: from sj-iport-4.cisco.com (sj-iport-4.cisco.com [171.68.10.86])
	by core3.amsl.com (Postfix) with ESMTP id B1C463A68B2
	for <cfrg@irtf.org>; Thu,  8 Jan 2009 07:44:26 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.37,234,1231113600"; d="scan'208,217";a="27647606"
Received: from sj-dkim-3.cisco.com ([171.71.179.195])
	by sj-iport-4.cisco.com with ESMTP; 08 Jan 2009 15:44:05 +0000
Received: from sj-core-5.cisco.com (sj-core-5.cisco.com [171.71.177.238])
	by sj-dkim-3.cisco.com (8.12.11/8.12.11) with ESMTP id n08Fi57V004204; 
	Thu, 8 Jan 2009 07:44:05 -0800
Received: from xbh-sjc-211.amer.cisco.com (xbh-sjc-211.cisco.com
	[171.70.151.144])
	by sj-core-5.cisco.com (8.13.8/8.13.8) with ESMTP id n08Fi5Qc011218;
	Thu, 8 Jan 2009 15:44:05 GMT
Received: from xfe-sjc-212.amer.cisco.com ([171.70.151.187]) by
	xbh-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Thu, 8 Jan 2009 07:44:05 -0800
Received: from stealth-10-32-254-212.cisco.com ([10.32.254.212]) by
	xfe-sjc-212.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Thu, 8 Jan 2009 07:44:03 -0800
Message-Id: <B8AB1183-4531-413F-9186-29CC972A5712@cisco.com>
From: David McGrew <mcgrew@cisco.com>
To: "Hallam-Baker, Phillip" <pbaker@verisign.com>
In-Reply-To: <2788466ED3E31C418E9ACC5C316615572FFC54@mou1wnexmb09.vcorp.ad.vrsn.com>
Mime-Version: 1.0 (Apple Message framework v929.2)
Date: Thu, 8 Jan 2009 07:44:02 -0800
References: <00be01c96faf$8bea0720$800c6f0a@china.huawei.com>	<4964CB91.8030001@htt-consult.com>
	<2788466ED3E31C418E9ACC5C316615572FFC4B@mou1wnexmb09.vcorp.ad.vrsn.com>
	<4965AAFF.3060209@sbcglobal.net>
	<2788466ED3E31C418E9ACC5C316615572FFC54@mou1wnexmb09.vcorp.ad.vrsn.com>
X-Mailer: Apple Mail (2.929.2)
X-OriginalArrivalTime: 08 Jan 2009 15:44:04.0303 (UTC)
	FILETIME=[EF2E35F0:01C971A7]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=21625; t=1231429445;
	x=1232293445; c=relaxed/simple; s=sjdkim3002;
	h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version;
	d=cisco.com; i=mcgrew@cisco.com;
	z=From:=20David=20McGrew=20<mcgrew@cisco.com>
	|Subject:=20Re=3A=20[Cfrg]=20Analyzing=20IETF=20use=20of=20
	hash=20functions=20--=20ORCHIDs |Sender:=20;
	bh=Xfr/F6C2qb04jv1EYzOHF7q+9XGuQsKmqNJ+2zpu9PE=;
	b=QphDZmRoMuvvevwHY3Hq2LG9gG8iIBP79hp7oIllzjwSLQjMAOMJ8OjbeN
	RADAwJrdJxOJoGUEPIKWDHE/hhCq0umtjuPSg9jTy9AYRea1/gw3c3tJ2TAo
	2PcZ1BY37R;
Authentication-Results: sj-dkim-3; header.From=mcgrew@cisco.com; dkim=pass (
	sig from cisco.com/sjdkim3002 verified; ); 
Cc: cfrg@irtf.org, David Jacobson <dmjacobson@sbcglobal.net>,
	Robert Moskowitz <rgm-sec@htt-consult.com>
Subject: Re: [Cfrg] Analyzing IETF use of hash functions -- ORCHIDs
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
Content-Type: multipart/mixed; boundary="===============0941983142=="
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org


--===============0941983142==
Content-Type: multipart/alternative; boundary=Apple-Mail-154--280827470


--Apple-Mail-154--280827470
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed;
	delsp=yes
Content-Transfer-Encoding: 7bit

Hi Phillip,

On Jan 8, 2009, at 6:04 AM, Hallam-Baker, Phillip wrote:
> Ugh, that kinda makes me not want to use CMAC construction for a MAC  
> function either. HMAC has the property that knowing the key does not  
> allow the output to be controlled, I am somewhat surprised it was  
> not considered a necessary property for a MAC.
>
The property that you're describing assumes that there is an entity  
that knows the secret key, yet is not trusted, and that's outside of  
all of the definitions and models of MACs.  AES-CMAC is a perfectly  
good MAC, and can be substituted for HMAC whenever a MAC is needed.

Also, that property holds only if HMAC output is not truncated to a  
length below the security level for collision resistance.  For  
instance, it doesn't hold for HMAC-SHA1 truncated to 96 bits.
>
>
> Certainly, it means that we cannot certify CMAC as a drop in  
> replacement for cases where HMAC has been used. It might well be the  
> case that none of the uses of HMAC depend on this property being  
> true, but there is no way to be sure without re-analysing the  
> security of the protocol from scratch.
>

You're  right that there are uses of HMAC that require something  
stronger/different than just a MAC, though many protocols use it as  
just a MAC.  One rule of thumb for telling the difference would be to  
look at the output size of HMAC.

David
>
>
> We have plenty of experience of problems coming from people using a  
> stream cipher to do the work of a block cipher. Those problems are  
> the result of having what are actually two primitives that are  
> closely related enough to be considered equivalent but with one  
> offering only a subset of the security guarantees of the other.
>
>
> We have a strong cryptographic primitive here, a cipher function.  
> Seems to me that if we do the job right it should be possible to  
> create a strong one way function. I know Rogaway has argued that  
> building everything on a one way function gives provable security.  
> Problem is that one way functions have been the most troublesome  
> function in practice. It is the only symmetric function which we  
> have had standard algorithms broken through cryptanalytic attack,  
> and not just once, we have had MD2, MD4 and MD5 broken and SHA1 is  
> making us worried.
>
> The problem for the strategy outlined is that it kinda depends on  
> having a digest function that is fully certified right now. We can  
> use the same strategy to use SHA256 or SHA512 as an insurance  
> policy. But we can't fix CMAC and certify the result before the  
> digest competition reads out.
>
>
> I still like the idea of using a keyed digest function with a  
> randomly chosen key as a digest. We should not be talking about ways  
> to add randomness into the object being signed as protection. If we  
> want randomness it should be input to the cryptographic layer and be  
> - random.
>
> I know that in an ideal world a digest function should be secure and  
> not need some kind of backup, but given the experience of digest  
> functions being the most likely to fail, I really like having the  
> insurance of being able to add in the randomness.
>
>
> -----Original Message-----
> From: David Jacobson [mailto:dmjacobson@sbcglobal.net]
> Sent: Thu 1/8/2009 2:27 AM
> To: Hallam-Baker, Phillip; cfrg@irtf.org
> Cc: Robert Moskowitz
> Subject: Re: [Cfrg] Analyzing IETF use of hash functions -- ORCHIDs
>
> Hallam-Baker, Phillip wrote:
> [snip]
> > This all has me looking at using MAC functions and in particular
> > CMAC-AES as a digest function. The simple collision attack using a
> > supplied source text can be defeated entirely using a MAC function  
> and a
> > randomly chosen IV.
> >
> >
> > The principal advantages of using CMAC-AES with a random IV are
> >
> > 1) It is completely specified today, except for the details of the
> > packaging in RSA and DSA.
> > 2) Simple collision attacks are defeated entirely through use of a
> > sufficiently random IV.
> > 3) Plug compatible with existing crypto APIs
> > 4) A constrained implementation can render every symmetric  
> cryptographic
> > function (encryption, digest, MAC) from a single cryptographic  
> primitive.
> > 5) CMAC construction means that the security of our cryptographic  
> system
> > only depends on the security of a single symmetric primitive - AES  
> and
> > our random number generator.
> [snip]
>
> We are in the context of replacing MD5 with some other hash function.
>
> Item 3 is kind of slippery.
>
> CMAC-AES as a plug is compatible with the socket labeled MAC, but it  
> is
> not compatible with the socket labeled HASH.
>
> More concretely, applications written for MD5 and SHA1 are not  
> prepared
> to provide a secret key, which is needed for CMAC-AES.  And then there
> is the IV as well.
>
> The definition of CMAC-AES in Wikipedia does not mention an IV, but I
> presume the intent is that first message block is XORd with E_k(IV),
> rather than E_k(0) as specified in CMAC-AES.
>
> But there is a security problem, too.  Let us temporarily ignore the  
> IV.
>   I believe that the strength of MACs derives from the fact that the
> secret key is secret. For signatures, the verifier has to know what
> value to use for the key so it has to be a constant, or be sent, or be
> derivable from stuff that is sent.   Finding a pre-image that works  
> with
> CMAC_AES is trivial if the attacker knows k and can tolerate the last
> block being arbitrary:    He runs the CMAC_AES algorithm up to the  
> last
> block, resulting in V. The attacker computes k1 (key for a last block
> that is full) according the the CMAC algorithm.  He decrypts the  
> target
> hash value using k1 as the AES key.  Call that value W.  He makes the
> last block be V XOR W.
>
> The IV doesn't help any.  Rather it completely defeats security. If it
> is a random value, it has to be communicated to the verifier, and the
> attacker can choose it. Let the attacker's desired message blocks be
> M_1, M_2, ... M_n.  Let the values entering the AES encryptions be  
> P_1,
> P_2, ... P_n.  (Somewhere in the middle, P_k = M_k XOR E_k{P_{k-1}.)
> The attacker works backwards from the output, and  eventually computes
> what P_1 has to be.  He chooses IV = D_k{P_1 XOR M_1}.
>
>    -- David Jacobson
>
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> https://www.irtf.org/mailman/listinfo/cfrg


--Apple-Mail-154--280827470
Content-Type: text/html;
	charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

<html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; ">Hi =
Phillip,<div><br><div><div>On Jan 8, 2009, at 6:04 AM, Hallam-Baker, =
Phillip wrote:</div><blockquote type=3D"cite" style=3D"font-size: 14px; =
"> <div> <!-- Converted from text/plain format --><p><font size=3D"2" =
style=3D"font-size: 11px; "><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; ">Ugh, that kinda makes me not want to use =
CMAC construction for a MAC function either. HMAC has the property that =
knowing the key does not allow the output to be controlled, I am =
somewhat surprised it was not considered a necessary property for a =
MAC.</span></font></p></div></blockquote><div>The property that you're =
describing assumes that there is an entity that knows the secret key, =
yet is not trusted, and that's outside of all of the definitions and =
models of MACs. &nbsp;AES-CMAC is a perfectly good MAC, and can be =
substituted for HMAC whenever a MAC is needed. =
&nbsp;&nbsp;</div><div><br></div><div>Also, that property holds only if =
HMAC output is not truncated to a length below the security level for =
collision resistance. &nbsp;For instance, it doesn't hold for HMAC-SHA1 =
truncated to 96 bits.</div><blockquote type=3D"cite" style=3D"font-size: =
14px; "><div><p><font size=3D"2" style=3D"font-size: 11px; "><br =
style=3D"font-size: 13px; "> <br style=3D"font-size: 13px; "><span =
class=3D"Apple-style-span" style=3D"font-size: 13px; "> Certainly, it =
means that we cannot certify CMAC as a drop in replacement for cases =
where HMAC has been used. It might well be the case that none of the =
uses of HMAC depend on this property being true, but there is no way to =
be sure without re-analysing the security of the protocol from =
scratch.</span></font></p></div></blockquote><div><br></div><div>You're =
&nbsp;right that there are uses of HMAC that require something =
stronger/different than just a MAC, though many protocols use it as just =
a MAC. &nbsp;One rule of thumb for telling the difference would be to =
look at the output size of HMAC. =
&nbsp;</div><div><br></div><div>David</div><blockquote type=3D"cite" =
style=3D"font-size: 14px; "><div><p><font size=3D"2" style=3D"font-size: =
11px; "><br style=3D"font-size: 13px; "> <br style=3D"font-size: 13px; =
"><span class=3D"Apple-style-span" style=3D"font-size: 13px; "> We have =
plenty of experience of problems coming from people using a stream =
cipher to do the work of a block cipher. Those problems are the result =
of having what are actually two primitives that are closely related =
enough to be considered equivalent but with one offering only a subset =
of the security guarantees of the other.</span><br style=3D"font-size: =
13px; "> <br style=3D"font-size: 13px; "> <br style=3D"font-size: 13px; =
"><span class=3D"Apple-style-span" style=3D"font-size: 13px; "> We have =
a strong cryptographic primitive here, a cipher function. Seems to me =
that if we do the job right it should be possible to create a strong one =
way function. I know Rogaway has argued that building everything on a =
one way function gives provable security. Problem is that one way =
functions have been the most troublesome function in practice. It is the =
only symmetric function which we have had standard algorithms broken =
through cryptanalytic attack, and not just once, we have had MD2, MD4 =
and MD5 broken and SHA1 is making us worried.</span><br =
style=3D"font-size: 13px; "> <br style=3D"font-size: 13px; "><span =
class=3D"Apple-style-span" style=3D"font-size: 13px; "> The problem for =
the strategy outlined is that it kinda depends on having a digest =
function that is fully certified right now. We can use the same strategy =
to use SHA256 or SHA512 as an insurance policy. But we can't fix CMAC =
and certify the result before the digest competition reads =
out.</span><br style=3D"font-size: 13px; "> <br style=3D"font-size: =
13px; "> <br style=3D"font-size: 13px; "><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; "> I still like the idea of using a keyed =
digest function with a randomly chosen key as a digest. We should not be =
talking about ways to add randomness into the object being signed as =
protection. If we want randomness it should be input to the =
cryptographic layer and be - random.</span><br style=3D"font-size: 13px; =
"> <br style=3D"font-size: 13px; "><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; "> I know that in an ideal world a digest =
function should be secure and not need some kind of backup, but given =
the experience of digest functions being the most likely to fail, I =
really like having the insurance of being able to add in the =
randomness.</span><br style=3D"font-size: 13px; "> <br style=3D"font-size:=
 13px; "> <br style=3D"font-size: 13px; "><span class=3D"Apple-style-span"=
 style=3D"font-size: 13px; "> -----Original Message-----</span><br =
style=3D"font-size: 13px; "><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; "> From: David Jacobson [</span><a =
href=3D"mailto:dmjacobson@sbcglobal.net" style=3D"font-size: 13px; =
">mailto:dmjacobson@sbcglobal.net</a><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; ">]</span><br style=3D"font-size: 13px; =
"><span class=3D"Apple-style-span" style=3D"font-size: 13px; "> Sent: =
Thu 1/8/2009 2:27 AM</span><br style=3D"font-size: 13px; "><span =
class=3D"Apple-style-span" style=3D"font-size: 13px; "> To: =
Hallam-Baker, Phillip; <a =
href=3D"mailto:cfrg@irtf.org">cfrg@irtf.org</a></span><br =
style=3D"font-size: 13px; "><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; "> Cc: Robert Moskowitz</span><br =
style=3D"font-size: 13px; "><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; "> Subject: Re: [Cfrg] Analyzing IETF use of =
hash functions -- ORCHIDs</span><br style=3D"font-size: 13px; "> <br =
style=3D"font-size: 13px; "><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; "> Hallam-Baker, Phillip wrote:</span><br =
style=3D"font-size: 13px; "><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; "> [snip]</span><br style=3D"font-size: 13px; =
"><span class=3D"Apple-style-span" style=3D"font-size: 13px; "> > This =
all has me looking at using MAC functions and in particular</span><br =
style=3D"font-size: 13px; "><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; "> > CMAC-AES as a digest function. The simple =
collision attack using a</span><br style=3D"font-size: 13px; "><span =
class=3D"Apple-style-span" style=3D"font-size: 13px; "> > supplied =
source text can be defeated entirely using a MAC function and =
a</span><br style=3D"font-size: 13px; "><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; "> > randomly chosen IV.</span><br =
style=3D"font-size: 13px; "><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; "> ></span><br style=3D"font-size: 13px; =
"><span class=3D"Apple-style-span" style=3D"font-size: 13px; "> =
></span><br style=3D"font-size: 13px; "><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; "> > The principal advantages of using =
CMAC-AES with a random IV are</span><br style=3D"font-size: 13px; =
"><span class=3D"Apple-style-span" style=3D"font-size: 13px; "> =
></span><br style=3D"font-size: 13px; "><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; "> > 1) It is completely specified today, =
except for the details of the</span><br style=3D"font-size: 13px; =
"><span class=3D"Apple-style-span" style=3D"font-size: 13px; "> > =
packaging in RSA and DSA.</span><br style=3D"font-size: 13px; "><span =
class=3D"Apple-style-span" style=3D"font-size: 13px; "> > 2) Simple =
collision attacks are defeated entirely through use of a</span><br =
style=3D"font-size: 13px; "><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; "> > sufficiently random IV.</span><br =
style=3D"font-size: 13px; "><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; "> > 3) Plug compatible with existing crypto =
APIs</span><br style=3D"font-size: 13px; "><span =
class=3D"Apple-style-span" style=3D"font-size: 13px; "> > 4) A =
constrained implementation can render every symmetric =
cryptographic</span><br style=3D"font-size: 13px; "><span =
class=3D"Apple-style-span" style=3D"font-size: 13px; "> > function =
(encryption, digest, MAC) from a single cryptographic =
primitive.</span><br style=3D"font-size: 13px; "><span =
class=3D"Apple-style-span" style=3D"font-size: 13px; "> > 5) CMAC =
construction means that the security of our cryptographic =
system</span><br style=3D"font-size: 13px; "><span =
class=3D"Apple-style-span" style=3D"font-size: 13px; "> > only depends =
on the security of a single symmetric primitive - AES and</span><br =
style=3D"font-size: 13px; "><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; "> > our random number generator.</span><br =
style=3D"font-size: 13px; "><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; "> [snip]</span><br style=3D"font-size: 13px; =
"> <br style=3D"font-size: 13px; "><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; "> We are in the context of replacing MD5 with =
some other hash function.</span><br style=3D"font-size: 13px; "> <br =
style=3D"font-size: 13px; "><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; "> Item 3 is kind of slippery.</span><br =
style=3D"font-size: 13px; "> <br style=3D"font-size: 13px; "><span =
class=3D"Apple-style-span" style=3D"font-size: 13px; "> CMAC-AES as a =
plug is compatible with the socket labeled MAC, but it is</span><br =
style=3D"font-size: 13px; "><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; "> not compatible with the socket labeled =
HASH.</span><br style=3D"font-size: 13px; "> <br style=3D"font-size: =
13px; "><span class=3D"Apple-style-span" style=3D"font-size: 13px; "> =
More concretely, applications written for MD5 and SHA1 are not =
prepared</span><br style=3D"font-size: 13px; "><span =
class=3D"Apple-style-span" style=3D"font-size: 13px; "> to provide a =
secret key, which is needed for CMAC-AES.&nbsp; And then there</span><br =
style=3D"font-size: 13px; "><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; "> is the IV as well.</span><br =
style=3D"font-size: 13px; "> <br style=3D"font-size: 13px; "><span =
class=3D"Apple-style-span" style=3D"font-size: 13px; "> The definition =
of CMAC-AES in Wikipedia does not mention an IV, but I</span><br =
style=3D"font-size: 13px; "><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; "> presume the intent is that first message =
block is XORd with E_k(IV),</span><br style=3D"font-size: 13px; "><span =
class=3D"Apple-style-span" style=3D"font-size: 13px; "> rather than =
E_k(0) as specified in CMAC-AES.</span><br style=3D"font-size: 13px; "> =
<br style=3D"font-size: 13px; "><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; "> But there is a security problem, too.&nbsp; =
Let us temporarily ignore the IV.</span><br style=3D"font-size: 13px; =
"><span class=3D"Apple-style-span" style=3D"font-size: 13px; "> &nbsp; I =
believe that the strength of MACs derives from the fact that =
the</span><br style=3D"font-size: 13px; "><span class=3D"Apple-style-span"=
 style=3D"font-size: 13px; "> secret key is secret. For signatures, the =
verifier has to know what</span><br style=3D"font-size: 13px; "><span =
class=3D"Apple-style-span" style=3D"font-size: 13px; "> value to use for =
the key so it has to be a constant, or be sent, or be</span><br =
style=3D"font-size: 13px; "><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; "> derivable from stuff that is =
sent.&nbsp;&nbsp; Finding a pre-image that works with</span><br =
style=3D"font-size: 13px; "><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; "> CMAC_AES is trivial if the attacker knows k =
and can tolerate the last</span><br style=3D"font-size: 13px; "><span =
class=3D"Apple-style-span" style=3D"font-size: 13px; "> block being =
arbitrary:&nbsp;&nbsp;&nbsp; He runs the CMAC_AES algorithm up to the =
last</span><br style=3D"font-size: 13px; "><span =
class=3D"Apple-style-span" style=3D"font-size: 13px; "> block, resulting =
in V. The attacker computes k1 (key for a last block</span><br =
style=3D"font-size: 13px; "><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; "> that is full) according the the CMAC =
algorithm.&nbsp; He decrypts the target</span><br style=3D"font-size: =
13px; "><span class=3D"Apple-style-span" style=3D"font-size: 13px; "> =
hash value using k1 as the AES key.&nbsp; Call that value W.&nbsp; He =
makes the</span><br style=3D"font-size: 13px; "><span =
class=3D"Apple-style-span" style=3D"font-size: 13px; "> last block be V =
XOR W.</span><br style=3D"font-size: 13px; "> <br style=3D"font-size: =
13px; "><span class=3D"Apple-style-span" style=3D"font-size: 13px; "> =
The IV doesn't help any.&nbsp; Rather it completely defeats security. If =
it</span><br style=3D"font-size: 13px; "><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; "> is a random value, it has to be =
communicated to the verifier, and the</span><br style=3D"font-size: =
13px; "><span class=3D"Apple-style-span" style=3D"font-size: 13px; "> =
attacker can choose it. Let the attacker's desired message blocks =
be</span><br style=3D"font-size: 13px; "><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; "> M_1, M_2, ... M_n.&nbsp; Let the values =
entering the AES encryptions be P_1,</span><br style=3D"font-size: 13px; =
"><span class=3D"Apple-style-span" style=3D"font-size: 13px; "> P_2, ... =
P_n.&nbsp; (Somewhere in the middle, P_k =3D M_k XOR =
E_k{P_{k-1}.)</span><br style=3D"font-size: 13px; "><span =
class=3D"Apple-style-span" style=3D"font-size: 13px; "> The attacker =
works backwards from the output, and&nbsp; eventually computes</span><br =
style=3D"font-size: 13px; "><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; "> what P_1 has to be.&nbsp; He chooses IV =3D =
D_k{P_1 XOR M_1}.</span><br style=3D"font-size: 13px; "> <br =
style=3D"font-size: 13px; "><span class=3D"Apple-style-span" =
style=3D"font-size: 13px; "> &nbsp;&nbsp; -- David Jacobson</span><br =
style=3D"font-size: 13px; "> <br> </font> </p> </div> =
_______________________________________________<br>Cfrg mailing =
list<br><a =
href=3D"mailto:Cfrg@irtf.org">Cfrg@irtf.org</a><br>https://www.irtf.org/ma=
ilman/listinfo/cfrg<br></blockquote></div><br style=3D"font-size: 14px; =
"></div></body></html>=

--Apple-Mail-154--280827470--

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

_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg

--===============0941983142==--


From cfrg-bounces@irtf.org  Thu Jan  8 08:10:20 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 4C7C428C0DB;
	Thu,  8 Jan 2009 08:10:20 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 59EED28C0DB
	for <cfrg@core3.amsl.com>; Thu,  8 Jan 2009 08:10:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.205
X-Spam-Level: 
X-Spam-Status: No, score=-6.205 tagged_above=-999 required=5 tests=[AWL=0.393, 
	BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id CjnzoENfAOyG for <cfrg@core3.amsl.com>;
	Thu,  8 Jan 2009 08:10:10 -0800 (PST)
Received: from colibri.verisign.com (colibri.verisign.com [65.205.251.74])
	by core3.amsl.com (Postfix) with ESMTP id 2E2D628C0D7
	for <cfrg@irtf.org>; Thu,  8 Jan 2009 08:10:10 -0800 (PST)
Received: from mou1wnexcn01.vcorp.ad.vrsn.com (mailer1.verisign.com
	[65.205.251.34])
	by colibri.verisign.com (8.13.6/8.13.4) with ESMTP id n08FlLF5016845;
	Thu, 8 Jan 2009 07:47:21 -0800
Received: from MOU1WNEXMB09.vcorp.ad.vrsn.com ([10.25.15.197]) by
	mou1wnexcn01.vcorp.ad.vrsn.com with Microsoft
	SMTPSVC(6.0.3790.3959); Thu, 8 Jan 2009 08:09:42 -0800
Content-class: urn:content-classes:message
MIME-Version: 1.0
X-MimeOLE: Produced By Microsoft Exchange V6.5
Date: Thu, 8 Jan 2009 08:09:41 -0800
Message-ID: <2788466ED3E31C418E9ACC5C316615572FFC56@mou1wnexmb09.vcorp.ad.vrsn.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Cfrg] Analyzing IETF use of hash functions -- ORCHIDs
Thread-Index: Aclxp/D08P/GWOzPT2aelgvXZBOrQQAAKfBS
References: <00be01c96faf$8bea0720$800c6f0a@china.huawei.com>	<4964CB91.8030001@htt-consult.com>
	<2788466ED3E31C418E9ACC5C316615572FFC4B@mou1wnexmb09.vcorp.ad.vrsn.com>
	<4965AAFF.3060209@sbcglobal.net>
	<2788466ED3E31C418E9ACC5C316615572FFC54@mou1wnexmb09.vcorp.ad.vrsn.com>
	<B8AB1183-4531-413F-9186-29CC972A5712@cisco.com>
From: "Hallam-Baker, Phillip" <pbaker@verisign.com>
To: "David McGrew" <mcgrew@cisco.com>
X-OriginalArrivalTime: 08 Jan 2009 16:09:42.0162 (UTC)
	FILETIME=[83D0DF20:01C971AB]
Cc: cfrg@irtf.org, David Jacobson <dmjacobson@sbcglobal.net>,
	Robert Moskowitz <rgm-sec@htt-consult.com>
Subject: Re: [Cfrg] Analyzing IETF use of hash functions -- ORCHIDs
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
Content-Type: multipart/mixed; boundary="===============1100000735=="
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

This is a multi-part message in MIME format.

--===============1100000735==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C971AB.8388E531"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C971AB.8388E531
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

It is not a secret key, it is an input to a mathematical function.=20

It only becomes a secret key when a protocol designer decides to make it =
secret. Until then it is simply a key.

Cryptographers have no business assuming that particular information is =
or is not available to an attacker. That is my prerogative as a protocol =
designer. Only a protocol can determine if information is secret or not.

To take another example. It is generally considered to be desirable for =
an encryption cipher to resist disclosure of the key in the case that an =
attacker has a known plaintext/ciphertext pair. That is not a necessary =
property for an encryption cipher if you have absolutely perfect =
operational security, but its one that any sensible protocol designer is =
going to insist on whether they are going to depend on the property or =
not.


HMAC is used with the assumption of a specific set of cryptographic =
properties. CMAC does not provide the same properties. Therefore CMAC =
MUST NOT be used as a replacement for a HMAC unless there is a full =
ground up review of the security considerations.

WEP is acceptably secure if you use a block cipher as the encryption =
mechanism. It becomes hopelessly insecure when you replace the block =
cipher with RC4 or any other stream cipher.


There are two distinct approaches to security protocol design. Most of =
us tend to avoid any construction that they feel falls short of the =
highest standards and might lead to a design oversight. I do not use =
stream ciphers and I am going to avoid using CMAC. Other folk sail =
closer to the wind, and there is certainly equipment out there that can =
support stream ciphers but not block ciphers.


I don't think this is an argument that is particularly worth having =
unless it turns out that it is impossible to create a MAC function from =
an encryption primitive that is also a strong one way function or that =
doing so imposes an unacceptable performance cost.



-----Original Message-----
From: David McGrew [mailto:mcgrew@cisco.com]
Sent: Thu 1/8/2009 10:44 AM
To: Hallam-Baker, Phillip
Cc: David Jacobson; cfrg@irtf.org; Robert Moskowitz
Subject: Re: [Cfrg] Analyzing IETF use of hash functions -- ORCHIDs
=20
Hi Phillip,

On Jan 8, 2009, at 6:04 AM, Hallam-Baker, Phillip wrote:

	Ugh, that kinda makes me not want to use CMAC construction for a MAC =
function either. HMAC has the property that knowing the key does not =
allow the output to be controlled, I am somewhat surprised it was not =
considered a necessary property for a MAC.

The property that you're describing assumes that there is an entity that =
knows the secret key, yet is not trusted, and that's outside of all of =
the definitions and models of MACs.  AES-CMAC is a perfectly good MAC, =
and can be substituted for HMAC whenever a MAC is needed.  =20

Also, that property holds only if HMAC output is not truncated to a =
length below the security level for collision resistance.  For instance, =
it doesn't hold for HMAC-SHA1 truncated to 96 bits.

=09
=09
	Certainly, it means that we cannot certify CMAC as a drop in =
replacement for cases where HMAC has been used. It might well be the =
case that none of the uses of HMAC depend on this property being true, =
but there is no way to be sure without re-analysing the security of the =
protocol from scratch.


You're  right that there are uses of HMAC that require something =
stronger/different than just a MAC, though many protocols use it as just =
a MAC.  One rule of thumb for telling the difference would be to look at =
the output size of HMAC. =20

David

=09
=09
	We have plenty of experience of problems coming from people using a =
stream cipher to do the work of a block cipher. Those problems are the =
result of having what are actually two primitives that are closely =
related enough to be considered equivalent but with one offering only a =
subset of the security guarantees of the other.
=09
=09
	We have a strong cryptographic primitive here, a cipher function. Seems =
to me that if we do the job right it should be possible to create a =
strong one way function. I know Rogaway has argued that building =
everything on a one way function gives provable security. Problem is =
that one way functions have been the most troublesome function in =
practice. It is the only symmetric function which we have had standard =
algorithms broken through cryptanalytic attack, and not just once, we =
have had MD2, MD4 and MD5 broken and SHA1 is making us worried.
=09
	The problem for the strategy outlined is that it kinda depends on =
having a digest function that is fully certified right now. We can use =
the same strategy to use SHA256 or SHA512 as an insurance policy. But we =
can't fix CMAC and certify the result before the digest competition =
reads out.
=09
=09
	I still like the idea of using a keyed digest function with a randomly =
chosen key as a digest. We should not be talking about ways to add =
randomness into the object being signed as protection. If we want =
randomness it should be input to the cryptographic layer and be - =
random.
=09
	I know that in an ideal world a digest function should be secure and =
not need some kind of backup, but given the experience of digest =
functions being the most likely to fail, I really like having the =
insurance of being able to add in the randomness.
=09
=09
	-----Original Message-----
	From: David Jacobson [mailto:dmjacobson@sbcglobal.net]
	Sent: Thu 1/8/2009 2:27 AM
	To: Hallam-Baker, Phillip; cfrg@irtf.org
	Cc: Robert Moskowitz
	Subject: Re: [Cfrg] Analyzing IETF use of hash functions -- ORCHIDs
=09
	Hallam-Baker, Phillip wrote:
	[snip]
	> This all has me looking at using MAC functions and in particular
	> CMAC-AES as a digest function. The simple collision attack using a
	> supplied source text can be defeated entirely using a MAC function =
and a
	> randomly chosen IV.
	>
	>
	> The principal advantages of using CMAC-AES with a random IV are
	>
	> 1) It is completely specified today, except for the details of the
	> packaging in RSA and DSA.
	> 2) Simple collision attacks are defeated entirely through use of a
	> sufficiently random IV.
	> 3) Plug compatible with existing crypto APIs
	> 4) A constrained implementation can render every symmetric =
cryptographic
	> function (encryption, digest, MAC) from a single cryptographic =
primitive.
	> 5) CMAC construction means that the security of our cryptographic =
system
	> only depends on the security of a single symmetric primitive - AES =
and
	> our random number generator.
	[snip]
=09
	We are in the context of replacing MD5 with some other hash function.
=09
	Item 3 is kind of slippery.
=09
	CMAC-AES as a plug is compatible with the socket labeled MAC, but it is
	not compatible with the socket labeled HASH.
=09
	More concretely, applications written for MD5 and SHA1 are not prepared
	to provide a secret key, which is needed for CMAC-AES.  And then there
	is the IV as well.
=09
	The definition of CMAC-AES in Wikipedia does not mention an IV, but I
	presume the intent is that first message block is XORd with E_k(IV),
	rather than E_k(0) as specified in CMAC-AES.
=09
	But there is a security problem, too.  Let us temporarily ignore the =
IV.
	  I believe that the strength of MACs derives from the fact that the
	secret key is secret. For signatures, the verifier has to know what
	value to use for the key so it has to be a constant, or be sent, or be
	derivable from stuff that is sent.   Finding a pre-image that works =
with
	CMAC_AES is trivial if the attacker knows k and can tolerate the last
	block being arbitrary:    He runs the CMAC_AES algorithm up to the last
	block, resulting in V. The attacker computes k1 (key for a last block
	that is full) according the the CMAC algorithm.  He decrypts the target
	hash value using k1 as the AES key.  Call that value W.  He makes the
	last block be V XOR W.
=09
	The IV doesn't help any.  Rather it completely defeats security. If it
	is a random value, it has to be communicated to the verifier, and the
	attacker can choose it. Let the attacker's desired message blocks be
	M_1, M_2, ... M_n.  Let the values entering the AES encryptions be P_1,
	P_2, ... P_n.  (Somewhere in the middle, P_k =3D M_k XOR E_k{P_{k-1}.)
	The attacker works backwards from the output, and  eventually computes
	what P_1 has to be.  He chooses IV =3D D_k{P_1 XOR M_1}.
=09
	   -- David Jacobson
=09
=09

	_______________________________________________
	Cfrg mailing list
	Cfrg@irtf.org
	https://www.irtf.org/mailman/listinfo/cfrg
=09




------_=_NextPart_001_01C971AB.8388E531
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.7653.38">
<TITLE>RE: [Cfrg] Analyzing IETF use of hash functions -- =
ORCHIDs</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=3D2>It is not a secret key, it is an input to a =
mathematical function.<BR>
<BR>
It only becomes a secret key when a protocol designer decides to make it =
secret. Until then it is simply a key.<BR>
<BR>
Cryptographers have no business assuming that particular information is =
or is not available to an attacker. That is my prerogative as a protocol =
designer. Only a protocol can determine if information is secret or =
not.<BR>
<BR>
To take another example. It is generally considered to be desirable for =
an encryption cipher to resist disclosure of the key in the case that an =
attacker has a known plaintext/ciphertext pair. That is not a necessary =
property for an encryption cipher if you have absolutely perfect =
operational security, but its one that any sensible protocol designer is =
going to insist on whether they are going to depend on the property or =
not.<BR>
<BR>
<BR>
HMAC is used with the assumption of a specific set of cryptographic =
properties. CMAC does not provide the same properties. Therefore CMAC =
MUST NOT be used as a replacement for a HMAC unless there is a full =
ground up review of the security considerations.<BR>
<BR>
WEP is acceptably secure if you use a block cipher as the encryption =
mechanism. It becomes hopelessly insecure when you replace the block =
cipher with RC4 or any other stream cipher.<BR>
<BR>
<BR>
There are two distinct approaches to security protocol design. Most of =
us tend to avoid any construction that they feel falls short of the =
highest standards and might lead to a design oversight. I do not use =
stream ciphers and I am going to avoid using CMAC. Other folk sail =
closer to the wind, and there is certainly equipment out there that can =
support stream ciphers but not block ciphers.<BR>
<BR>
<BR>
I don't think this is an argument that is particularly worth having =
unless it turns out that it is impossible to create a MAC function from =
an encryption primitive that is also a strong one way function or that =
doing so imposes an unacceptable performance cost.<BR>
<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: David McGrew [<A =
HREF=3D"mailto:mcgrew@cisco.com">mailto:mcgrew@cisco.com</A>]<BR>
Sent: Thu 1/8/2009 10:44 AM<BR>
To: Hallam-Baker, Phillip<BR>
Cc: David Jacobson; cfrg@irtf.org; Robert Moskowitz<BR>
Subject: Re: [Cfrg] Analyzing IETF use of hash functions -- ORCHIDs<BR>
<BR>
Hi Phillip,<BR>
<BR>
On Jan 8, 2009, at 6:04 AM, Hallam-Baker, Phillip wrote:<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Ugh, that kinda makes me not =
want to use CMAC construction for a MAC function either. HMAC has the =
property that knowing the key does not allow the output to be =
controlled, I am somewhat surprised it was not considered a necessary =
property for a MAC.<BR>
<BR>
The property that you're describing assumes that there is an entity that =
knows the secret key, yet is not trusted, and that's outside of all of =
the definitions and models of MACs.&nbsp; AES-CMAC is a perfectly good =
MAC, and can be substituted for HMAC whenever a MAC is =
needed.&nbsp;&nbsp;<BR>
<BR>
Also, that property holds only if HMAC output is not truncated to a =
length below the security level for collision resistance.&nbsp; For =
instance, it doesn't hold for HMAC-SHA1 truncated to 96 bits.<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Certainly, it means that we =
cannot certify CMAC as a drop in replacement for cases where HMAC has =
been used. It might well be the case that none of the uses of HMAC =
depend on this property being true, but there is no way to be sure =
without re-analysing the security of the protocol from scratch.<BR>
<BR>
<BR>
You're&nbsp; right that there are uses of HMAC that require something =
stronger/different than just a MAC, though many protocols use it as just =
a MAC.&nbsp; One rule of thumb for telling the difference would be to =
look at the output size of HMAC.&nbsp;<BR>
<BR>
David<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; We have plenty of experience =
of problems coming from people using a stream cipher to do the work of a =
block cipher. Those problems are the result of having what are actually =
two primitives that are closely related enough to be considered =
equivalent but with one offering only a subset of the security =
guarantees of the other.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; We have a strong =
cryptographic primitive here, a cipher function. Seems to me that if we =
do the job right it should be possible to create a strong one way =
function. I know Rogaway has argued that building everything on a one =
way function gives provable security. Problem is that one way functions =
have been the most troublesome function in practice. It is the only =
symmetric function which we have had standard algorithms broken through =
cryptanalytic attack, and not just once, we have had MD2, MD4 and MD5 =
broken and SHA1 is making us worried.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The problem for the strategy =
outlined is that it kinda depends on having a digest function that is =
fully certified right now. We can use the same strategy to use SHA256 or =
SHA512 as an insurance policy. But we can't fix CMAC and certify the =
result before the digest competition reads out.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I still like the idea of =
using a keyed digest function with a randomly chosen key as a digest. We =
should not be talking about ways to add randomness into the object being =
signed as protection. If we want randomness it should be input to the =
cryptographic layer and be - random.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I know that in an ideal world =
a digest function should be secure and not need some kind of backup, but =
given the experience of digest functions being the most likely to fail, =
I really like having the insurance of being able to add in the =
randomness.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -----Original =
Message-----<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; From: David Jacobson [<A =
HREF=3D"mailto:dmjacobson@sbcglobal.net">mailto:dmjacobson@sbcglobal.net<=
/A>]<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sent: Thu 1/8/2009 2:27 =
AM<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; To: Hallam-Baker, Phillip; =
cfrg@irtf.org<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cc: Robert Moskowitz<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Subject: Re: [Cfrg] Analyzing =
IETF use of hash functions -- ORCHIDs<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Hallam-Baker, Phillip =
wrote:<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [snip]<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; This all has me looking =
at using MAC functions and in particular<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; CMAC-AES as a digest =
function. The simple collision attack using a<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; supplied source text can =
be defeated entirely using a MAC function and a<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; randomly chosen IV.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; The principal advantages =
of using CMAC-AES with a random IV are<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; 1) It is completely =
specified today, except for the details of the<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; packaging in RSA and =
DSA.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; 2) Simple collision =
attacks are defeated entirely through use of a<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; sufficiently random =
IV.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; 3) Plug compatible with =
existing crypto APIs<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; 4) A constrained =
implementation can render every symmetric cryptographic<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; function (encryption, =
digest, MAC) from a single cryptographic primitive.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; 5) CMAC construction =
means that the security of our cryptographic system<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; only depends on the =
security of a single symmetric primitive - AES and<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; our random number =
generator.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [snip]<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; We are in the context of =
replacing MD5 with some other hash function.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Item 3 is kind of =
slippery.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CMAC-AES as a plug is =
compatible with the socket labeled MAC, but it is<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; not compatible with the =
socket labeled HASH.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; More concretely, applications =
written for MD5 and SHA1 are not prepared<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; to provide a secret key, =
which is needed for CMAC-AES.&nbsp; And then there<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; is the IV as well.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The definition of CMAC-AES in =
Wikipedia does not mention an IV, but I<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; presume the intent is that =
first message block is XORd with E_k(IV),<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rather than E_k(0) as =
specified in CMAC-AES.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; But there is a security =
problem, too.&nbsp; Let us temporarily ignore the IV.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; I believe that the =
strength of MACs derives from the fact that the<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; secret key is secret. For =
signatures, the verifier has to know what<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; value to use for the key so =
it has to be a constant, or be sent, or be<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; derivable from stuff that is =
sent.&nbsp;&nbsp; Finding a pre-image that works with<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CMAC_AES is trivial if the =
attacker knows k and can tolerate the last<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; block being =
arbitrary:&nbsp;&nbsp;&nbsp; He runs the CMAC_AES algorithm up to the =
last<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; block, resulting in V. The =
attacker computes k1 (key for a last block<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; that is full) according the =
the CMAC algorithm.&nbsp; He decrypts the target<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; hash value using k1 as the =
AES key.&nbsp; Call that value W.&nbsp; He makes the<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; last block be V XOR W.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The IV doesn't help =
any.&nbsp; Rather it completely defeats security. If it<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; is a random value, it has to =
be communicated to the verifier, and the<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; attacker can choose it. Let =
the attacker's desired message blocks be<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; M_1, M_2, ... M_n.&nbsp; Let =
the values entering the AES encryptions be P_1,<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; P_2, ... P_n.&nbsp; =
(Somewhere in the middle, P_k =3D M_k XOR E_k{P_{k-1}.)<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The attacker works backwards =
from the output, and&nbsp; eventually computes<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; what P_1 has to be.&nbsp; He =
chooses IV =3D D_k{P_1 XOR M_1}.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; -- David =
Jacobson<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
_______________________________________________<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cfrg mailing list<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cfrg@irtf.org<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A =
HREF=3D"https://www.irtf.org/mailman/listinfo/cfrg">https://www.irtf.org/=
mailman/listinfo/cfrg</A><BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
<BR>
<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C971AB.8388E531--

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

_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg

--===============1100000735==--


From cfrg-bounces@irtf.org  Thu Jan  8 09:58:12 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id C92AB3A67EE;
	Thu,  8 Jan 2009 09:58:12 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 1B8C03A63D3
	for <cfrg@core3.amsl.com>; Thu,  8 Jan 2009 09:58:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.556
X-Spam-Level: 
X-Spam-Status: No, score=-6.556 tagged_above=-999 required=5 tests=[AWL=0.042, 
	BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id JILTiOPRuyge for <cfrg@core3.amsl.com>;
	Thu,  8 Jan 2009 09:58:10 -0800 (PST)
Received: from sj-iport-1.cisco.com (sj-iport-1.cisco.com [171.71.176.70])
	by core3.amsl.com (Postfix) with ESMTP id F36053A67EE
	for <cfrg@irtf.org>; Thu,  8 Jan 2009 09:58:09 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.37,235,1231113600"; 
	d="scan'208,217";a="126537107"
Received: from sj-dkim-1.cisco.com ([171.71.179.21])
	by sj-iport-1.cisco.com with ESMTP; 08 Jan 2009 17:57:56 +0000
Received: from sj-core-1.cisco.com (sj-core-1.cisco.com [171.71.177.237])
	by sj-dkim-1.cisco.com (8.12.11/8.12.11) with ESMTP id n08HvuOi006627; 
	Thu, 8 Jan 2009 09:57:56 -0800
Received: from xbh-sjc-231.amer.cisco.com (xbh-sjc-231.cisco.com
	[128.107.191.100])
	by sj-core-1.cisco.com (8.13.8/8.13.8) with ESMTP id n08Hvq1f004335;
	Thu, 8 Jan 2009 17:57:56 GMT
Received: from xfe-sjc-212.amer.cisco.com ([171.70.151.187]) by
	xbh-sjc-231.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Thu, 8 Jan 2009 09:57:55 -0800
Received: from stealth-10-32-254-212.cisco.com ([10.32.254.212]) by
	xfe-sjc-212.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Thu, 8 Jan 2009 09:57:54 -0800
Message-Id: <53C20AF4-AD14-47FF-A108-AE88F1DC367C@cisco.com>
From: David McGrew <mcgrew@cisco.com>
To: "Hallam-Baker, Phillip" <pbaker@verisign.com>
In-Reply-To: <2788466ED3E31C418E9ACC5C316615572FFC56@mou1wnexmb09.vcorp.ad.vrsn.com>
Mime-Version: 1.0 (Apple Message framework v929.2)
Date: Thu, 8 Jan 2009 09:57:53 -0800
References: <00be01c96faf$8bea0720$800c6f0a@china.huawei.com>	<4964CB91.8030001@htt-consult.com>
	<2788466ED3E31C418E9ACC5C316615572FFC4B@mou1wnexmb09.vcorp.ad.vrsn.com>
	<4965AAFF.3060209@sbcglobal.net>
	<2788466ED3E31C418E9ACC5C316615572FFC54@mou1wnexmb09.vcorp.ad.vrsn.com>
	<B8AB1183-4531-413F-9186-29CC972A5712@cisco.com>
	<2788466ED3E31C418E9ACC5C316615572FFC56@mou1wnexmb09.vcorp.ad.vrsn.com>
X-Mailer: Apple Mail (2.929.2)
X-OriginalArrivalTime: 08 Jan 2009 17:57:55.0097 (UTC)
	FILETIME=[A1E82090:01C971BA]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=26798; t=1231437476;
	x=1232301476; c=relaxed/simple; s=sjdkim1004;
	h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version;
	d=cisco.com; i=mcgrew@cisco.com;
	z=From:=20David=20McGrew=20<mcgrew@cisco.com>
	|Subject:=20Re=3A=20[Cfrg]=20Analyzing=20IETF=20use=20of=20
	hash=20functions=20--=20ORCHIDs |Sender:=20;
	bh=Ue2jcK0WuyxHC+kGypOFTBa9ykWuQQUiajFM+LrkR6g=;
	b=l5d5j6YFoN8nbzxyYAXF2zzEZBJ5Kiz+/YpE8fQwXfuKvr/Y1En6Iuc4Ri
	iHOR3ufhpF0IqafEKhOLczIfumoVP2v0mbE4g/OLG5NbzkT6XsrXFxL0Tozv
	ZMWKVd31s/RAgVq6fXc2BEU6KGOfXuts0XuvjsSH9pGxxnN4h/mqo=;
Authentication-Results: sj-dkim-1; header.From=mcgrew@cisco.com; dkim=pass (
	sig from cisco.com/sjdkim1004 verified; ); 
Cc: cfrg@irtf.org, David Jacobson <dmjacobson@sbcglobal.net>,
	Robert Moskowitz <rgm-sec@htt-consult.com>
Subject: Re: [Cfrg] Analyzing IETF use of hash functions -- ORCHIDs
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
Content-Type: multipart/mixed; boundary="===============1292568704=="
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org


--===============1292568704==
Content-Type: multipart/alternative; boundary=Apple-Mail-158--272796666


--Apple-Mail-158--272796666
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed;
	delsp=yes
Content-Transfer-Encoding: 7bit

Phillip,

On Jan 8, 2009, at 8:09 AM, Hallam-Baker, Phillip wrote:

> It is not a secret key, it is an input to a mathematical function.
>
> It only becomes a secret key when a protocol designer decides to  
> make it secret. Until then it is simply a key.
>
> Cryptographers have no business assuming that particular information  
> is or is not available to an attacker.
>
that's not right.  Cryptographers use models and definitions that  
determine what information is available to an attacker.  See, for  
example, Section 2.1 of "Keying Hash Functions for Message  
Authentication", the main reference for HMAC.  These precise models  
and definitions are a major part of modern cryptography.

> That is my prerogative as a protocol designer. Only a protocol can  
> determine if information is secret or not.
>
> To take another example. It is generally considered to be desirable  
> for an encryption cipher to resist disclosure of the key in the case  
> that an attacker has a known plaintext/ciphertext pair. That is not  
> a necessary property for an encryption cipher if you have absolutely  
> perfect operational security, but its one that any sensible protocol  
> designer is going to insist on whether they are going to depend on  
> the property or not.
>
>
> HMAC is used with the assumption of a specific set of cryptographic  
> properties. CMAC does not provide the same properties. Therefore  
> CMAC MUST NOT be used as a replacement for a HMAC unless there is a  
> full ground up review of the security considerations.
>
You're overstating this.  In what case can AES-CMAC not replace HMAC- 
SHA1 when the length of the ICV is truncated to 96 bits?

Perhaps I would understand your point better if you could describe an  
example of a use of HMAC that is motivating your concern.

>
>
> WEP is acceptably secure if you use a block cipher as the encryption  
> mechanism. It becomes hopelessly insecure when you replace the block  
> cipher with RC4 or any other stream cipher.
>
>
> There are two distinct approaches to security protocol design. Most  
> of us tend to avoid any construction that they feel falls short of  
> the highest standards and might lead to a design oversight. I do not  
> use stream ciphers and I am going to avoid using CMAC. Other folk  
> sail closer to the wind, and there is certainly equipment out there  
> that can support stream ciphers but not block ciphers.
>
>
> I don't think this is an argument that is particularly worth having  
> unless it turns out that it is impossible to create a MAC function  
> from an encryption primitive that is also a strong one way function  
> or that doing so imposes an unacceptable performance cost.
>
AES-CMAC is a strong pseudorandom function, and a PRF is a good one- 
way function (being pseudorandom is harder than being one-way) (see  
"Improved security analyses for CBC MACs", for example).   Of course,  
it's one-way in terms of the key, but not in terms of the message.

David
>
>
>
>
> -----Original Message-----
> From: David McGrew [mailto:mcgrew@cisco.com]
> Sent: Thu 1/8/2009 10:44 AM
> To: Hallam-Baker, Phillip
> Cc: David Jacobson; cfrg@irtf.org; Robert Moskowitz
> Subject: Re: [Cfrg] Analyzing IETF use of hash functions -- ORCHIDs
>
> Hi Phillip,
>
> On Jan 8, 2009, at 6:04 AM, Hallam-Baker, Phillip wrote:
>
>         Ugh, that kinda makes me not want to use CMAC construction  
> for a MAC function either. HMAC has the property that knowing the  
> key does not allow the output to be controlled, I am somewhat  
> surprised it was not considered a necessary property for a MAC.
>
> The property that you're describing assumes that there is an entity  
> that knows the secret key, yet is not trusted, and that's outside of  
> all of the definitions and models of MACs.  AES-CMAC is a perfectly  
> good MAC, and can be substituted for HMAC whenever a MAC is needed.
>
> Also, that property holds only if HMAC output is not truncated to a  
> length below the security level for collision resistance.  For  
> instance, it doesn't hold for HMAC-SHA1 truncated to 96 bits.
>
>
>
>         Certainly, it means that we cannot certify CMAC as a drop in  
> replacement for cases where HMAC has been used. It might well be the  
> case that none of the uses of HMAC depend on this property being  
> true, but there is no way to be sure without re-analysing the  
> security of the protocol from scratch.
>
>
> You're  right that there are uses of HMAC that require something  
> stronger/different than just a MAC, though many protocols use it as  
> just a MAC.  One rule of thumb for telling the difference would be  
> to look at the output size of HMAC.
>
> David
>
>
>
>         We have plenty of experience of problems coming from people  
> using a stream cipher to do the work of a block cipher. Those  
> problems are the result of having what are actually two primitives  
> that are closely related enough to be considered equivalent but with  
> one offering only a subset of the security guarantees of the other.
>
>
>         We have a strong cryptographic primitive here, a cipher  
> function. Seems to me that if we do the job right it should be  
> possible to create a strong one way function. I know Rogaway has  
> argued that building everything on a one way function gives provable  
> security. Problem is that one way functions have been the most  
> troublesome function in practice. It is the only symmetric function  
> which we have had standard algorithms broken through cryptanalytic  
> attack, and not just once, we have had MD2, MD4 and MD5 broken and  
> SHA1 is making us worried.
>
>         The problem for the strategy outlined is that it kinda  
> depends on having a digest function that is fully certified right  
> now. We can use the same strategy to use SHA256 or SHA512 as an  
> insurance policy. But we can't fix CMAC and certify the result  
> before the digest competition reads out.
>
>
>         I still like the idea of using a keyed digest function with  
> a randomly chosen key as a digest. We should not be talking about  
> ways to add randomness into the object being signed as protection.  
> If we want randomness it should be input to the cryptographic layer  
> and be - random.
>
>         I know that in an ideal world a digest function should be  
> secure and not need some kind of backup, but given the experience of  
> digest functions being the most likely to fail, I really like having  
> the insurance of being able to add in the randomness.
>
>
>         -----Original Message-----
>         From: David Jacobson [mailto:dmjacobson@sbcglobal.net]
>         Sent: Thu 1/8/2009 2:27 AM
>         To: Hallam-Baker, Phillip; cfrg@irtf.org
>         Cc: Robert Moskowitz
>         Subject: Re: [Cfrg] Analyzing IETF use of hash functions --  
> ORCHIDs
>
>         Hallam-Baker, Phillip wrote:
>         [snip]
>         > This all has me looking at using MAC functions and in  
> particular
>         > CMAC-AES as a digest function. The simple collision attack  
> using a
>         > supplied source text can be defeated entirely using a MAC  
> function and a
>         > randomly chosen IV.
>         >
>         >
>         > The principal advantages of using CMAC-AES with a random  
> IV are
>         >
>         > 1) It is completely specified today, except for the  
> details of the
>         > packaging in RSA and DSA.
>         > 2) Simple collision attacks are defeated entirely through  
> use of a
>         > sufficiently random IV.
>         > 3) Plug compatible with existing crypto APIs
>         > 4) A constrained implementation can render every symmetric  
> cryptographic
>         > function (encryption, digest, MAC) from a single  
> cryptographic primitive.
>         > 5) CMAC construction means that the security of our  
> cryptographic system
>         > only depends on the security of a single symmetric  
> primitive - AES and
>         > our random number generator.
>         [snip]
>
>         We are in the context of replacing MD5 with some other hash  
> function.
>
>         Item 3 is kind of slippery.
>
>         CMAC-AES as a plug is compatible with the socket labeled  
> MAC, but it is
>         not compatible with the socket labeled HASH.
>
>         More concretely, applications written for MD5 and SHA1 are  
> not prepared
>         to provide a secret key, which is needed for CMAC-AES.  And  
> then there
>         is the IV as well.
>
>         The definition of CMAC-AES in Wikipedia does not mention an  
> IV, but I
>         presume the intent is that first message block is XORd with  
> E_k(IV),
>         rather than E_k(0) as specified in CMAC-AES.
>
>         But there is a security problem, too.  Let us temporarily  
> ignore the IV.
>           I believe that the strength of MACs derives from the fact  
> that the
>         secret key is secret. For signatures, the verifier has to  
> know what
>         value to use for the key so it has to be a constant, or be  
> sent, or be
>         derivable from stuff that is sent.   Finding a pre-image  
> that works with
>         CMAC_AES is trivial if the attacker knows k and can tolerate  
> the last
>         block being arbitrary:    He runs the CMAC_AES algorithm up  
> to the last
>         block, resulting in V. The attacker computes k1 (key for a  
> last block
>         that is full) according the the CMAC algorithm.  He decrypts  
> the target
>         hash value using k1 as the AES key.  Call that value W.  He  
> makes the
>         last block be V XOR W.
>
>         The IV doesn't help any.  Rather it completely defeats  
> security. If it
>         is a random value, it has to be communicated to the  
> verifier, and the
>         attacker can choose it. Let the attacker's desired message  
> blocks be
>         M_1, M_2, ... M_n.  Let the values entering the AES  
> encryptions be P_1,
>         P_2, ... P_n.  (Somewhere in the middle, P_k = M_k XOR  
> E_k{P_{k-1}.)
>         The attacker works backwards from the output, and   
> eventually computes
>         what P_1 has to be.  He chooses IV = D_k{P_1 XOR M_1}.
>
>            -- David Jacobson
>
>
>
>         _______________________________________________
>         Cfrg mailing list
>         Cfrg@irtf.org
>         https://www.irtf.org/mailman/listinfo/cfrg
>
>
>
>
>


--Apple-Mail-158--272796666
Content-Type: text/html;
	charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

<html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; ">Phillip,<div><br><div><div>On =
Jan 8, 2009, at 8:09 AM, Hallam-Baker, Phillip wrote:</div><br =
class=3D"Apple-interchange-newline" style=3D"font-size: 15px; =
"><blockquote type=3D"cite" style=3D"font-size: 15px; "> <div> <!-- =
Converted from text/plain format --><p><font size=3D"2" =
style=3D"font-size: 12px; ">It is not a secret key, it is an input to a =
mathematical function.<br> <br> It only becomes a secret key when a =
protocol designer decides to make it secret. Until then it is simply a =
key.<br> <br> Cryptographers have no business assuming that particular =
information is or is not available to an =
attacker.</font></p></div></blockquote><div>that's not right. =
&nbsp;Cryptographers use models and definitions that determine what =
information is available to an attacker. &nbsp;See, for example, Section =
2.1 of "Keying Hash Functions for Message Authentication", the main =
reference for HMAC. &nbsp;These precise models and definitions are a =
major part of modern cryptography.</div><br><blockquote type=3D"cite" =
style=3D"font-size: 15px; "><div><p><font size=3D"2" style=3D"font-size: =
12px; ">That is my prerogative as a protocol designer. Only a protocol =
can determine if information is secret or =
not.</font></p></div></blockquote><blockquote type=3D"cite" =
style=3D"font-size: 15px; "><div><p><font size=3D"2" style=3D"font-size: =
12px; "> To take another example. It is generally considered to be =
desirable for an encryption cipher to resist disclosure of the key in =
the case that an attacker has a known plaintext/ciphertext pair. That is =
not a necessary property for an encryption cipher if you have absolutely =
perfect operational security, but its one that any sensible protocol =
designer is going to insist on whether they are going to depend on the =
property or not.<br> <br> <br> HMAC is used with the assumption of a =
specific set of cryptographic properties. CMAC does not provide the same =
properties. Therefore CMAC MUST NOT be used as a replacement for a HMAC =
unless there is a full ground up review of the security =
considerations.</font></p></div></blockquote><div>You're overstating =
this. &nbsp;In what case can AES-CMAC not replace HMAC-SHA1 when the =
length of the ICV is truncated to 96 bits? =
&nbsp;</div><div><br></div><div>Perhaps I would understand your point =
better if you could describe an example of a use of HMAC that is =
motivating your concern.</div><br><blockquote type=3D"cite" =
style=3D"font-size: 15px; "><div><p><font size=3D"2" style=3D"font-size: =
12px; "><br> <br> WEP is acceptably secure if you use a block cipher as =
the encryption mechanism. It becomes hopelessly insecure when you =
replace the block cipher with RC4 or any other stream cipher.<br> <br> =
<br> There are two distinct approaches to security protocol design. Most =
of us tend to avoid any construction that they feel falls short of the =
highest standards and might lead to a design oversight. I do not use =
stream ciphers and I am going to avoid using CMAC. Other folk sail =
closer to the wind, and there is certainly equipment out there that can =
support stream ciphers but not block ciphers.<br> <br> <br> I don't =
think this is an argument that is particularly worth having unless it =
turns out that it is impossible to create a MAC function from an =
encryption primitive that is also a strong one way function or that =
doing so imposes an unacceptable performance =
cost.</font></p></div></blockquote><div>AES-CMAC is a strong =
pseudorandom function, and a PRF is a good one-way function (being =
pseudorandom is harder than being one-way) (see "Improved security =
analyses for CBC MACs", for example). &nbsp; Of course, it's one-way in =
terms of the key, but not in terms of the message. =
&nbsp;</div><div><br></div>David</div><div><blockquote type=3D"cite" =
style=3D"font-size: 15px; "><div><p><font size=3D"2" style=3D"font-size: =
12px; "><br> <br> <br> <br> -----Original Message-----<br> From: David =
McGrew [<a =
href=3D"mailto:mcgrew@cisco.com">mailto:mcgrew@cisco.com</a>]<br> Sent: =
Thu 1/8/2009 10:44 AM<br> To: Hallam-Baker, Phillip<br> Cc: David =
Jacobson; <a href=3D"mailto:cfrg@irtf.org">cfrg@irtf.org</a>; Robert =
Moskowitz<br> Subject: Re: [Cfrg] Analyzing IETF use of hash functions =
-- ORCHIDs<br> <br> Hi Phillip,<br> <br> On Jan 8, 2009, at 6:04 AM, =
Hallam-Baker, Phillip wrote:<br> <br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Ugh, that kinda makes me not =
want to use CMAC construction for a MAC function either. HMAC has the =
property that knowing the key does not allow the output to be =
controlled, I am somewhat surprised it was not considered a necessary =
property for a MAC.<br> <br> The property that you're describing assumes =
that there is an entity that knows the secret key, yet is not trusted, =
and that's outside of all of the definitions and models of MACs.&nbsp; =
AES-CMAC is a perfectly good MAC, and can be substituted for HMAC =
whenever a MAC is needed.&nbsp;&nbsp;<br> <br> Also, that property holds =
only if HMAC output is not truncated to a length below the security =
level for collision resistance.&nbsp; For instance, it doesn't hold for =
HMAC-SHA1 truncated to 96 bits.<br> <br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Certainly, it means that we =
cannot certify CMAC as a drop in replacement for cases where HMAC has =
been used. It might well be the case that none of the uses of HMAC =
depend on this property being true, but there is no way to be sure =
without re-analysing the security of the protocol from scratch.<br> <br> =
<br> You're&nbsp; right that there are uses of HMAC that require =
something stronger/different than just a MAC, though many protocols use =
it as just a MAC.&nbsp; One rule of thumb for telling the difference =
would be to look at the output size of HMAC.&nbsp;<br> <br> David<br> =
<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; We have plenty of experience =
of problems coming from people using a stream cipher to do the work of a =
block cipher. Those problems are the result of having what are actually =
two primitives that are closely related enough to be considered =
equivalent but with one offering only a subset of the security =
guarantees of the other.<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; We have a strong =
cryptographic primitive here, a cipher function. Seems to me that if we =
do the job right it should be possible to create a strong one way =
function. I know Rogaway has argued that building everything on a one =
way function gives provable security. Problem is that one way functions =
have been the most troublesome function in practice. It is the only =
symmetric function which we have had standard algorithms broken through =
cryptanalytic attack, and not just once, we have had MD2, MD4 and MD5 =
broken and SHA1 is making us worried.<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The problem for the strategy =
outlined is that it kinda depends on having a digest function that is =
fully certified right now. We can use the same strategy to use SHA256 or =
SHA512 as an insurance policy. But we can't fix CMAC and certify the =
result before the digest competition reads out.<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I still like the idea of =
using a keyed digest function with a randomly chosen key as a digest. We =
should not be talking about ways to add randomness into the object being =
signed as protection. If we want randomness it should be input to the =
cryptographic layer and be - random.<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I know that in an ideal world =
a digest function should be secure and not need some kind of backup, but =
given the experience of digest functions being the most likely to fail, =
I really like having the insurance of being able to add in the =
randomness.<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -----Original =
Message-----<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; From: David =
Jacobson [<a =
href=3D"mailto:dmjacobson@sbcglobal.net">mailto:dmjacobson@sbcglobal.net</=
a>]<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sent: Thu 1/8/2009 =
2:27 AM<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; To: Hallam-Baker, =
Phillip; <a href=3D"mailto:cfrg@irtf.org">cfrg@irtf.org</a><br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cc: Robert Moskowitz<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Subject: Re: [Cfrg] Analyzing =
IETF use of hash functions -- ORCHIDs<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Hallam-Baker, Phillip =
wrote:<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [snip]<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; > This all has me looking at =
using MAC functions and in particular<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; > CMAC-AES as a digest =
function. The simple collision attack using a<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; > supplied source text can be =
defeated entirely using a MAC function and a<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; > randomly chosen IV.<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ><br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ><br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; > The principal advantages of =
using CMAC-AES with a random IV are<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ><br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; > 1) It is completely =
specified today, except for the details of the<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; > packaging in RSA and =
DSA.<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; > 2) Simple =
collision attacks are defeated entirely through use of a<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; > sufficiently random IV.<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; > 3) Plug compatible with =
existing crypto APIs<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; > 4) =
A constrained implementation can render every symmetric =
cryptographic<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; > function =
(encryption, digest, MAC) from a single cryptographic primitive.<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; > 5) CMAC construction means =
that the security of our cryptographic system<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; > only depends on the =
security of a single symmetric primitive - AES and<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; > our random number =
generator.<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [snip]<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; We are in the context of =
replacing MD5 with some other hash function.<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Item 3 is kind of =
slippery.<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CMAC-AES as a plug is =
compatible with the socket labeled MAC, but it is<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; not compatible with the =
socket labeled HASH.<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; More concretely, applications =
written for MD5 and SHA1 are not prepared<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; to provide a secret key, =
which is needed for CMAC-AES.&nbsp; And then there<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; is the IV as well.<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The definition of CMAC-AES in =
Wikipedia does not mention an IV, but I<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; presume the intent is that =
first message block is XORd with E_k(IV),<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rather than E_k(0) as =
specified in CMAC-AES.<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; But there is a security =
problem, too.&nbsp; Let us temporarily ignore the IV.<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; I believe that the =
strength of MACs derives from the fact that the<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; secret key is secret. For =
signatures, the verifier has to know what<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; value to use for the key so =
it has to be a constant, or be sent, or be<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; derivable from stuff that is =
sent.&nbsp;&nbsp; Finding a pre-image that works with<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CMAC_AES is trivial if the =
attacker knows k and can tolerate the last<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; block being =
arbitrary:&nbsp;&nbsp;&nbsp; He runs the CMAC_AES algorithm up to the =
last<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; block, resulting in =
V. The attacker computes k1 (key for a last block<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; that is full) according the =
the CMAC algorithm.&nbsp; He decrypts the target<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; hash value using k1 as the =
AES key.&nbsp; Call that value W.&nbsp; He makes the<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; last block be V XOR W.<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The IV doesn't help =
any.&nbsp; Rather it completely defeats security. If it<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; is a random value, it has to =
be communicated to the verifier, and the<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; attacker can choose it. Let =
the attacker's desired message blocks be<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; M_1, M_2, ... M_n.&nbsp; Let =
the values entering the AES encryptions be P_1,<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; P_2, ... P_n.&nbsp; =
(Somewhere in the middle, P_k =3D M_k XOR E_k{P_{k-1}.)<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The attacker works backwards =
from the output, and&nbsp; eventually computes<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; what P_1 has to be.&nbsp; He =
chooses IV =3D D_k{P_1 XOR M_1}.<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; -- David =
Jacobson<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br> <br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
_______________________________________________<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cfrg mailing list<br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a =
href=3D"mailto:Cfrg@irtf.org">Cfrg@irtf.org</a><br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a =
href=3D"https://www.irtf.org/mailman/listinfo/cfrg">https://www.irtf.org/m=
ailman/listinfo/cfrg</a><br> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br> <br> <br> <br> </font> =
</p> </div> </blockquote></div><br style=3D"font-size: 15px; =
"></div></body></html>=

--Apple-Mail-158--272796666--

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

_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg

--===============1292568704==--


From cfrg-bounces@irtf.org  Thu Jan  8 10:21:15 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 5D3F63A69CB;
	Thu,  8 Jan 2009 10:21:15 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 27AA13A68F0;
	Thu,  8 Jan 2009 10:21:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.585
X-Spam-Level: 
X-Spam-Status: No, score=-2.585 tagged_above=-999 required=5 tests=[AWL=0.014, 
	BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 3oHnPUBwz5ij; Thu,  8 Jan 2009 10:21:13 -0800 (PST)
Received: from balder-227.proper.com
	(properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net
	[IPv6:2001:470:1f04:392::2])
	by core3.amsl.com (Postfix) with ESMTP id 1F2293A6887;
	Thu,  8 Jan 2009 10:21:12 -0800 (PST)
Received: from [10.20.30.158] (dsl-63-249-108-169.cruzio.com [63.249.108.169])
	(authenticated bits=0)
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id n08IKuSG064552
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Thu, 8 Jan 2009 11:20:57 -0700 (MST)
	(envelope-from paul.hoffman@vpnc.org)
Mime-Version: 1.0
Message-Id: <p0624080cc58bf36b28a6@[10.20.30.158]>
In-Reply-To: <20090108163430.GH20121@mit.edu>
References: <20090108135752.GC20121@mit.edu>
	<941D5DCD8C42014FAF70FB7424686DCF0468D33B@eusrcmw721.eamcs.ericsson.se>
	<20090108145058.GE20121@mit.edu>
	<941D5DCD8C42014FAF70FB7424686DCF0468D3FE@eusrcmw721.eamcs.ericsson.se>
	<20090108163430.GH20121@mit.edu>
Date: Thu, 8 Jan 2009 10:20:55 -0800
To: cfrg@irtf.org, ietf-smime@imc.org, saag@ietf.org, ietf-pkix@imc.org
From: Paul Hoffman <paul.hoffman@vpnc.org>
Subject: Re: [Cfrg] [saag] Further MD5 breaks: Creating a rogueCAcertificate
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

Folks: is rehashing the blue-sky discussions of how to create a better trust model for SSL without a stable proposal to look at really a good use of the the CFRG, SAAG, S/MIME, and PKIX mailing lists?

If you want to be serious about this, please write an Internet Draft and set up a mailing list for the discussion. Invite people from these lists to join, and maybe announce revisions to your draft. Be sure to invite people from the Mozilla security community: they are having their own (perpetually repeating) discussion of this, again without a stable document to comment on.

We *can* change the security model, but not with the current method of discussion-without-focus.

--Paul Hoffman, Director
--VPN Consortium
_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg


From cfrg-bounces@irtf.org  Thu Jan  8 10:29:19 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 901043A68A2;
	Thu,  8 Jan 2009 10:29:19 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 1C5EA3A688B
	for <cfrg@core3.amsl.com>; Thu,  8 Jan 2009 10:29:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.958
X-Spam-Level: 
X-Spam-Status: No, score=-1.958 tagged_above=-999 required=5 tests=[AWL=0.307, 
	BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id eggchsVDn6EO for <cfrg@core3.amsl.com>;
	Thu,  8 Jan 2009 10:29:18 -0800 (PST)
Received: from colo.trepanning.net (colo.trepanning.net [69.55.226.174])
	by core3.amsl.com (Postfix) with ESMTP id 5FD193A68A2
	for <cfrg@irtf.org>; Thu,  8 Jan 2009 10:29:18 -0800 (PST)
Received: from www.trepanning.net (localhost [127.0.0.1])
	by colo.trepanning.net (Postfix) with ESMTP id AF0943FE022A;
	Thu,  8 Jan 2009 10:29:04 -0800 (PST)
Received: from 69.12.173.8
	(SquirrelMail authenticated user dharkins@lounge.org)
	by www.trepanning.net with HTTP; Thu, 8 Jan 2009 10:29:05 -0800 (PST)
Message-ID: <7e9ce04559258f827f0d9952e8551b7b.squirrel@www.trepanning.net>
In-Reply-To: <1696498986EFEC4D9153717DA325CB7202D74D54@vaebe104.NOE.Nokia.com>
References: <decddf3efdaa2457ddec88c2513aaca1.squirrel@www.trepanning.net>
	<47015c2b0901080646k4fe0a695gda26b3da66462509@mail.gmail.com>
	<1696498986EFEC4D9153717DA325CB7202D74D54@vaebe104.NOE.Nokia.com>
Date: Thu, 8 Jan 2009 10:29:05 -0800 (PST)
From: "Dan Harkins" <dharkins@lounge.org>
To: "Pasi.Eronen@nokia.com" <Pasi.Eronen@nokia.com>
User-Agent: SquirrelMail/1.4.14 [SVN]
MIME-Version: 1.0
X-Priority: 3 (Normal)
Importance: Normal
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] re-using Diffie-Hellman exponentials
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org


  This also needs protection against a small sub-group attack though.
So the question remains. Are the checks I mentioned satisfactory?

  Dan.

On Thu, January 8, 2009 7:17 am, Pasi.Eronen@nokia.com wrote:
> Bodo Moeller wrote:
>
>> On Thu, Jan 8, 2009 at 1:51 AM, Dan Harkins
>> <dharkins@lounge.org> wrote:
>>
>> >  There is an open issue in the IPsecme WG of the IETF about how to
>> > reuse Diffie-Hellman exponentials "securely".
>> >
>> >  A proposal has been made to increment the private value as a way
>> > to quickly generate a new Diffie-Hellman exponential. For MODP
>> > groups that would be multiplying the old exponential by the group's
>> > generator, modulo the prime. For ECP groups it would be adding the
>> > group's generator to the old exponential (point).
>>
>> Why would you be doing this rather than just continue to use the
>> prevoius DH value?  (The raw DH result between two parties that do
>> this will be the same, allowing for caching.  If you want to generate
>> new outputs as symmetric key material, you can just change other
>> inputs to the key derivation function.)
>
> At least I had always assumed that when RFC 4306 spoke about reusing
> DH exponentials (in Section 2.12), it meant exactly this (just use the
> previous x and g^x). The last paragraph also talks about both parties
> doing it (storing previous g^y and g^xy) -- since the random nonces
> (Ni and Nr) are also fed to the key derivation function, the resulting
> keys SK_d etc. will be different.
>
> Best regards,
> Pasi
>


_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg


From cfrg-bounces@irtf.org  Thu Jan  8 13:13:07 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 214093A6990;
	Thu,  8 Jan 2009 13:13:07 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 470443A6990
	for <cfrg@core3.amsl.com>; Thu,  8 Jan 2009 13:13:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.418
X-Spam-Level: 
X-Spam-Status: No, score=-6.418 tagged_above=-999 required=5 tests=[AWL=0.181, 
	BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id WGJmcw3CFhQL for <cfrg@core3.amsl.com>;
	Thu,  8 Jan 2009 13:13:05 -0800 (PST)
Received: from mgw-mx06.nokia.com (smtp.nokia.com [192.100.122.233])
	by core3.amsl.com (Postfix) with ESMTP id 46A683A6936
	for <cfrg@irtf.org>; Thu,  8 Jan 2009 13:13:04 -0800 (PST)
Received: from vaebh106.NOE.Nokia.com (vaebh106.europe.nokia.com
	[10.160.244.32])
	by mgw-mx06.nokia.com (Switch-3.2.6/Switch-3.2.6) with ESMTP id
	n08LCQjS016892; Thu, 8 Jan 2009 23:12:45 +0200
Received: from vaebh104.NOE.Nokia.com ([10.160.244.30]) by
	vaebh106.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959); 
	Thu, 8 Jan 2009 23:11:40 +0200
Received: from vaebe104.NOE.Nokia.com ([10.160.244.59]) by
	vaebh104.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959); 
	Thu, 8 Jan 2009 23:11:39 +0200
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Date: Thu, 8 Jan 2009 23:11:38 +0200
Message-ID: <1696498986EFEC4D9153717DA325CB7202DB115F@vaebe104.NOE.Nokia.com>
In-Reply-To: <7e9ce04559258f827f0d9952e8551b7b.squirrel@www.trepanning.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Cfrg] re-using Diffie-Hellman exponentials
Thread-Index: Aclxvv/Bzt3HdQ89TrCXejFWgbnJ4gAE9Cgg
References: <decddf3efdaa2457ddec88c2513aaca1.squirrel@www.trepanning.net>
	<47015c2b0901080646k4fe0a695gda26b3da66462509@mail.gmail.com>
	<1696498986EFEC4D9153717DA325CB7202D74D54@vaebe104.NOE.Nokia.com>
	<7e9ce04559258f827f0d9952e8551b7b.squirrel@www.trepanning.net>
From: "Pasi.Eronen@nokia.com" <Pasi.Eronen@nokia.com>
To: <dharkins@lounge.org>
X-OriginalArrivalTime: 08 Jan 2009 21:11:39.0765 (UTC)
	FILETIME=[B2BFB250:01C971D5]
X-Nokia-AV: Clean
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] re-using Diffie-Hellman exponentials
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

Dan Harkins wrote:
> This also needs protection against a small sub-group attack though.
> So the question remains. Are the checks I mentioned satisfactory?

Hmm -- I thought that all the MODP groups defined for IKEv2 were of
the form p=2q+1, so the small subgroup attack doesn't work?
(because there are no small subgroups)

For ECDH groups, something might be still needed, though. Does
e.g. X9.63 say something about this? (I don't have a copy)

Best regards,
Pasi
_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg


From cfrg-bounces@irtf.org  Thu Jan  8 13:47:17 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 290E43A6AFD;
	Thu,  8 Jan 2009 13:47:17 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 8A6563A67F8
	for <cfrg@core3.amsl.com>; Thu,  8 Jan 2009 13:47:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5
	tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id zhngBxS1JyeQ for <cfrg@core3.amsl.com>;
	Thu,  8 Jan 2009 13:47:14 -0800 (PST)
Received: from sj-iport-6.cisco.com (sj-iport-6.cisco.com [171.71.176.117])
	by core3.amsl.com (Postfix) with ESMTP id A9FE23A6B04
	for <cfrg@irtf.org>; Thu,  8 Jan 2009 13:46:53 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.37,235,1231113600"; d="scan'208";a="226309537"
Received: from sj-dkim-3.cisco.com ([171.71.179.195])
	by sj-iport-6.cisco.com with ESMTP; 08 Jan 2009 21:46:40 +0000
Received: from sj-core-5.cisco.com (sj-core-5.cisco.com [171.71.177.238])
	by sj-dkim-3.cisco.com (8.12.11/8.12.11) with ESMTP id n08Lkefm006800; 
	Thu, 8 Jan 2009 13:46:40 -0800
Received: from sfluhrerwxp (stealth-10-32-244-83.cisco.com [10.32.244.83])
	by sj-core-5.cisco.com (8.13.8/8.13.8) with ESMTP id n08LkdoH017196;
	Thu, 8 Jan 2009 21:46:39 GMT
From: "Scott Fluhrer" <sfluhrer@cisco.com>
To: <Pasi.Eronen@nokia.com>, <dharkins@lounge.org>
References: <decddf3efdaa2457ddec88c2513aaca1.squirrel@www.trepanning.net><47015c2b0901080646k4fe0a695gda26b3da66462509@mail.gmail.com><1696498986EFEC4D9153717DA325CB7202D74D54@vaebe104.NOE.Nokia.com><7e9ce04559258f827f0d9952e8551b7b.squirrel@www.trepanning.net>
	<1696498986EFEC4D9153717DA325CB7202DB115F@vaebe104.NOE.Nokia.com>
Date: Thu, 8 Jan 2009 16:46:39 -0500
Message-ID: <023301c971da$96b25a90$53f4200a@amer.cisco.com>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350
In-Reply-To: <1696498986EFEC4D9153717DA325CB7202DB115F@vaebe104.NOE.Nokia.com>
Thread-Index: Aclxvv/Bzt3HdQ89TrCXejFWgbnJ4gAE9CggAADyXQA=
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=1494; t=1231451200;
	x=1232315200; c=relaxed/simple; s=sjdkim3002;
	h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version;
	d=cisco.com; i=sfluhrer@cisco.com;
	z=From:=20=22Scott=20Fluhrer=22=20<sfluhrer@cisco.com>
	|Subject:=20RE=3A=20[Cfrg]=20re-using=20Diffie-Hellman=20ex
	ponentials |Sender:=20;
	bh=JhNkvpTuSPt6tdQYJU24+6Skd+rbwjZYZYvnV2akSFQ=;
	b=DZ9R3utonm6nyKpG7AZOfl8gbgVtmfrSEi39lEIZKhMwDo8Pn773N/aAfL
	qLIDfwekPXbaVeRehCl5DgT/6Uqx9s9BVmYX1rBzqUBbD6DN/K92+OBdlU99
	8qLGqgIr93;
Authentication-Results: sj-dkim-3; header.From=sfluhrer@cisco.com; dkim=pass (
	sig from cisco.com/sjdkim3002 verified; ); 
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] re-using Diffie-Hellman exponentials
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

 

> -----Original Message-----
> From: cfrg-bounces@irtf.org [mailto:cfrg-bounces@irtf.org] On 
> Behalf Of Pasi.Eronen@nokia.com
> Sent: Thursday, January 08, 2009 4:12 PM
> To: dharkins@lounge.org
> Cc: cfrg@irtf.org
> Subject: Re: [Cfrg] re-using Diffie-Hellman exponentials
> 
> Dan Harkins wrote:
> > This also needs protection against a small sub-group attack though.
> > So the question remains. Are the checks I mentioned satisfactory?
> 
> Hmm -- I thought that all the MODP groups defined for IKEv2 
> were of the form p=2q+1, so the small subgroup attack doesn't work?
> (because there are no small subgroups)

Not quite, there are the groups 22, 23, 24 (defined in RFC 5114), which are
of the form p = mq + 1 (where q is 160-256 bits).  Whether there are any
small subgroups in those modulii (other than the trivial subgroups {1} and
{1, p-1}) depends on the factorization of m, and I don't know if that's
known.


> 
> For ECDH groups, something might be still needed, though. 
> Does e.g. X9.63 say something about this? (I don't have a copy)

I was under the impression that all the ECC curves defined for IKEv2 were of
prime order, and hence did not have any subgroups at all (other than the
trivial one consisting only of the point at infinity).  Can someone confirm
that?

> 
> Best regards,
> Pasi
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> https://www.irtf.org/mailman/listinfo/cfrg
> 

_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg


From cfrg-bounces@irtf.org  Thu Jan  8 13:49:16 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 745D33A68B5;
	Thu,  8 Jan 2009 13:49:16 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 1C6C03A68B5
	for <cfrg@core3.amsl.com>; Thu,  8 Jan 2009 13:49:16 -0800 (PST)
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 ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id JSp-WuVwf-qG for <cfrg@core3.amsl.com>;
	Thu,  8 Jan 2009 13:49:15 -0800 (PST)
Received: from cx295.800onemail.com (cx295.800onemail.com [209.171.54.152])
	by core3.amsl.com (Postfix) with ESMTP id 2872E3A67CC
	for <cfrg@irtf.org>; Thu,  8 Jan 2009 13:49:15 -0800 (PST)
Received: from ex13-n01.exchserver.com ([192.168.162.157])
	by cx295.800onemail.com (8.13.1/8.13.1) with ESMTP id n08Llqs1027556;
	Thu, 8 Jan 2009 16:47:57 -0500
Received: from EX40.exchserver.com ([192.168.162.206]) by
	ex13-n01.exchserver.com ([192.168.162.160]) with mapi; Thu, 8 Jan 2009
	16:47:56 -0500
From: Daniel Brown <dbrown@certicom.com>
To: Dan Harkins <dharkins@lounge.org>, "cfrg@irtf.org" <cfrg@irtf.org>
Date: Thu, 8 Jan 2009 16:47:54 -0500
Thread-Topic: [Cfrg] re-using Diffie-Hellman exponentials
Thread-Index: AclxK1CZ2p4v6aWtRiOZE5hb/FaFIAArloww
Message-ID: <C49217E2D694874EB820EA90DCE676190195BEFD56@EX40.exchserver.com>
References: <decddf3efdaa2457ddec88c2513aaca1.squirrel@www.trepanning.net>
In-Reply-To: <decddf3efdaa2457ddec88c2513aaca1.squirrel@www.trepanning.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
MIME-Version: 1.0
X-CRXEFW-Info: Please contact Ceryx for more information
X-CRXEFW-Virus: Clean
X-CRXEFW-From: dbrown@certicom.com
Subject: Re: [Cfrg] re-using Diffie-Hellman exponentials
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org



> -----Original Message-----
> From: cfrg-bounces@irtf.org [mailto:cfrg-bounces@irtf.org] On Behalf Of
> Dan Harkins
> Sent: Wednesday, January 07, 2009 7:52 PM
> To: cfrg@irtf.org
> Subject: [Cfrg] re-using Diffie-Hellman exponentials
> 
> 
>   for ECP: perform the group operation on the peer's exponential and
>            the cofactor of the curve-- if Y is the peer's exponential
>            (point) then check h*Y, for cofactor h-- and if the result
>            is the "point at infinity" then abort.
> 
> Are these checks sufficient? Is there anything else that should be
> done?

This check is neither sufficient nor necessary.

X9.63 and X9.62 and NIST SP 800-56A and SEC1 (and probably IEEE 1363 and ISO #####) do the following checks:

1. make sure the point Y is on the curve
2. make sure the point Y is not the point at infinity
3. check that n*Y is the point at infinity, where n is the order the generator

Check 3 is considered optional when the "cofactor DH" or MQV is used.  

For the ECP curves, cofactor h=1 so cofactor DH and standard DH are the same and therefore step 3 is optional.  Indeed, when cofactor h=1, step 1 and step 3 are equivalent.


> What about characteristic-two curves? Same as ECP?

For characteristic-two curves, step 3 is not equivalent to Step 1, so it is required for standard DH.

Best regards,

Dan Brown
_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg


From cfrg-bounces@irtf.org  Thu Jan  8 14:10:24 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 7FA183A6A70;
	Thu,  8 Jan 2009 14:10:24 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 9DA2E3A6A45
	for <cfrg@core3.amsl.com>; Thu,  8 Jan 2009 14:10:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level: 
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5
	tests=[BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id D4vLH6BghwJw for <cfrg@core3.amsl.com>;
	Thu,  8 Jan 2009 14:10:22 -0800 (PST)
Received: from wolverine02.qualcomm.com (wolverine02.qualcomm.com
	[199.106.114.251])
	by core3.amsl.com (Postfix) with ESMTP id AC0B43A67F8
	for <cfrg@irtf.org>; Thu,  8 Jan 2009 14:10:22 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple;
	d=qualcomm.com; i=ggr@qualcomm.com; q=dns/txt;
	s=qcdkim; t=1231452609; x=1262988609;
	h=cc:message-id:from:to:in-reply-to:content-type:
	content-transfer-encoding:mime-version:subject:date:
	references:x-mailer:x-ironport-av;
	z=Cc:=20Greg=20Rose=20<ggr@qualcomm.com>,=0D=0A=20=20=20
	=20=20=20=20=20"Pasi.Eronen@nokia.com"=20<Pasi.Eronen@nok
	ia.com>,=0D=0A=20=20=20=20=20=20=20=20"dharkins@lounge.or
	g"=20<dharkins@lounge.org>,=0D=0A=20=20=20=20=20=20=20=20
	"cfrg@irtf.org"=20<cfrg@irtf.org>|Message-Id:=20<CD46033E
	-15C2-49E4-933F-7FE1838CA0AC@qualcomm.com>|From:=20Greg
	=20Rose=20<ggr@qualcomm.com>|To:=20Scott=20Fluhrer=20<sfl
	uhrer@cisco.com>|In-Reply-To:=20<023301c971da$96b25a90$53
	f4200a@amer.cisco.com>|Content-Type:=20text/plain=3B=20ch
	arset=3DUS-ASCII=3B=20format=3Dflowed=3B=20delsp=3Dyes
	|Content-Transfer-Encoding:=207bit|Mime-Version:=201.0=20
	(Apple=20Message=20framework=20v930.3)|Subject:=20Re:=20[
	Cfrg]=20re-using=20Diffie-Hellman=20exponentials|Date:=20
	Thu,=208=20Jan=202009=2014:10:07=20-0800|References:=20<d
	ecddf3efdaa2457ddec88c2513aaca1.squirrel@www.trepanning.n
	et><47015c2b0901080646k4fe0a695gda26b3da66462509@mail.gma
	il.com><1696498986EFEC4D9153717DA325CB7202D74D54@vaebe104
	.NOE.Nokia.com><7e9ce04559258f827f0d9952e8551b7b.squirrel
	@www.trepanning.net>=20<1696498986EFEC4D9153717DA325CB720
	2DB115F@vaebe104.NOE.Nokia.com>=20<023301c971da$96b25a90$
	53f4200a@amer.cisco.com>|X-Mailer:=20Apple=20Mail=20(2.93
	0.3)|X-IronPort-AV:=20E=3DMcAfee=3Bi=3D"5100,188,5489"=3B
	=20a=3D"14478743";
	bh=kf2bQLP4dvB8kE3If9Dnx1uGBqgBbcfb/tLfFHJBlhY=;
	b=Y3LuJ126WDIfIbiVzaEf26u2g3NeCLOrozLnMST/6mfj4l12sRr9QmBs
	A0nwxc1X22NwfaOG84zb+qVdhemyvCsqkO7OQlh2ZSOLGAErW2zs7Y/kI
	1eQNEzsBwgw8TUFDQH47KaIF+LnFMirY+J0Sr9q0JMT1iZDSoA40pLHFK E=;
X-IronPort-AV: E=McAfee;i="5100,188,5489"; a="14478743"
Received: from pdmz-ns-mip.qualcomm.com (HELO ithilien.qualcomm.com)
	([199.106.114.10])
	by wolverine02.qualcomm.com with ESMTP/TLS/DHE-RSA-AES256-SHA;
	08 Jan 2009 14:10:08 -0800
Received: from msgtransport04.qualcomm.com (msgtransport04.qualcomm.com
	[129.46.61.156])
	by ithilien.qualcomm.com (8.14.2/8.14.2/1.0) with ESMTP id
	n08MA8u4008869
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL);
	Thu, 8 Jan 2009 14:10:08 -0800
Received: from ggr-mac.qualcomm.com (ggr-mac.qualcomm.com [129.46.77.98])
	by msgtransport04.qualcomm.com (8.14.2/8.14.2/1.0) with ESMTP id
	n08MA7ZW025329
	(version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT);
	Thu, 8 Jan 2009 14:10:08 -0800
Message-Id: <CD46033E-15C2-49E4-933F-7FE1838CA0AC@qualcomm.com>
From: Greg Rose <ggr@qualcomm.com>
To: Scott Fluhrer <sfluhrer@cisco.com>
In-Reply-To: <023301c971da$96b25a90$53f4200a@amer.cisco.com>
Mime-Version: 1.0 (Apple Message framework v930.3)
Date: Thu, 8 Jan 2009 14:10:07 -0800
References: <decddf3efdaa2457ddec88c2513aaca1.squirrel@www.trepanning.net><47015c2b0901080646k4fe0a695gda26b3da66462509@mail.gmail.com><1696498986EFEC4D9153717DA325CB7202D74D54@vaebe104.NOE.Nokia.com><7e9ce04559258f827f0d9952e8551b7b.squirrel@www.trepanning.net>
	<1696498986EFEC4D9153717DA325CB7202DB115F@vaebe104.NOE.Nokia.com>
	<023301c971da$96b25a90$53f4200a@amer.cisco.com>
X-Mailer: Apple Mail (2.930.3)
Cc: Greg Rose <ggr@qualcomm.com>, "cfrg@irtf.org" <cfrg@irtf.org>,
	"Pasi.Eronen@nokia.com" <Pasi.Eronen@nokia.com>
Subject: Re: [Cfrg] re-using Diffie-Hellman exponentials
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes"
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org


On Jan 8, 2009, at 1:46 PM, Scott Fluhrer wrote:

>
>
>> -----Original Message-----
>> From: cfrg-bounces@irtf.org [mailto:cfrg-bounces@irtf.org] On
>> Behalf Of Pasi.Eronen@nokia.com
>> Sent: Thursday, January 08, 2009 4:12 PM
>> To: dharkins@lounge.org
>> Cc: cfrg@irtf.org
>> Subject: Re: [Cfrg] re-using Diffie-Hellman exponentials
>>
>> Dan Harkins wrote:
>>> This also needs protection against a small sub-group attack though.
>>> So the question remains. Are the checks I mentioned satisfactory?
>>
>> Hmm -- I thought that all the MODP groups defined for IKEv2
>> were of the form p=2q+1, so the small subgroup attack doesn't work?
>> (because there are no small subgroups)
>
> Not quite, there are the groups 22, 23, 24 (defined in RFC 5114),  
> which are
> of the form p = mq + 1 (where q is 160-256 bits).  Whether there are  
> any
> small subgroups in those modulii (other than the trivial subgroups  
> {1} and
> {1, p-1}) depends on the factorization of m, and I don't know if  
> that's
> known.

I believe the factorizations are known, but it doesn't really matter.  
The best way to check that you are not in a small subgroup is to check  
that you *are* in the correct subgroup, that is, check that x != 1 and  
x^q == 1.

Greg.
_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg


From cfrg-bounces@irtf.org  Thu Jan  8 15:21:43 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 73C023A6885;
	Thu,  8 Jan 2009 15:21:43 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 81B2D3A6885
	for <cfrg@core3.amsl.com>; Thu,  8 Jan 2009 15:21:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.019
X-Spam-Level: 
X-Spam-Status: No, score=-2.019 tagged_above=-999 required=5 tests=[AWL=0.246, 
	BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 5lIIz4+JewxM for <cfrg@core3.amsl.com>;
	Thu,  8 Jan 2009 15:21:41 -0800 (PST)
Received: from colo.trepanning.net (colo.trepanning.net [69.55.226.174])
	by core3.amsl.com (Postfix) with ESMTP id D3EFB3A67FD
	for <cfrg@irtf.org>; Thu,  8 Jan 2009 15:21:41 -0800 (PST)
Received: from www.trepanning.net (localhost [127.0.0.1])
	by colo.trepanning.net (Postfix) with ESMTP id 2AA2F10224090;
	Thu,  8 Jan 2009 15:21:28 -0800 (PST)
Received: from 69.12.173.8
	(SquirrelMail authenticated user dharkins@lounge.org)
	by www.trepanning.net with HTTP; Thu, 8 Jan 2009 15:21:28 -0800 (PST)
Message-ID: <5e3bb9c30cea11cc0c3851e635a6b8eb.squirrel@www.trepanning.net>
In-Reply-To: <1696498986EFEC4D9153717DA325CB7202DB115F@vaebe104.NOE.Nokia.com>
References: <decddf3efdaa2457ddec88c2513aaca1.squirrel@www.trepanning.net>
	<47015c2b0901080646k4fe0a695gda26b3da66462509@mail.gmail.com>
	<1696498986EFEC4D9153717DA325CB7202D74D54@vaebe104.NOE.Nokia.com>
	<7e9ce04559258f827f0d9952e8551b7b.squirrel@www.trepanning.net>
	<1696498986EFEC4D9153717DA325CB7202DB115F@vaebe104.NOE.Nokia.com>
Date: Thu, 8 Jan 2009 15:21:28 -0800 (PST)
From: "Dan Harkins" <dharkins@lounge.org>
To: "Pasi.Eronen@nokia.com" <Pasi.Eronen@nokia.com>
User-Agent: SquirrelMail/1.4.14 [SVN]
MIME-Version: 1.0
X-Priority: 3 (Normal)
Importance: Normal
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] re-using Diffie-Hellman exponentials
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org


On Thu, January 8, 2009 1:11 pm, Pasi.Eronen@nokia.com wrote:
> Dan Harkins wrote:
>> This also needs protection against a small sub-group attack though.
>> So the question remains. Are the checks I mentioned satisfactory?
>
> Hmm -- I thought that all the MODP groups defined for IKEv2 were of
> the form p=2q+1, so the small subgroup attack doesn't work?
> (because there are no small subgroups)

  Groups 22-24 are not p=2q+1.

> For ECDH groups, something might be still needed, though. Does
> e.g. X9.63 say something about this? (I don't have a copy)

  I don't have a copy of that either.

  Dan.



_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg


From cfrg-bounces@irtf.org  Thu Jan  8 18:49:11 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 06C3D3A6879;
	Thu,  8 Jan 2009 18:49:11 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 53EF03A6879
	for <cfrg@core3.amsl.com>; Thu,  8 Jan 2009 18:49:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.932
X-Spam-Level: 
X-Spam-Status: No, score=-5.932 tagged_above=-999 required=5 tests=[AWL=0.667, 
	BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id LeE4j9-hzKeD for <cfrg@core3.amsl.com>;
	Thu,  8 Jan 2009 18:49:08 -0800 (PST)
Received: from mailhost.auckland.ac.nz (moe.its.auckland.ac.nz [130.216.12.35])
	by core3.amsl.com (Postfix) with ESMTP id E43CB3A6876
	for <cfrg@irtf.org>; Thu,  8 Jan 2009 18:49:07 -0800 (PST)
Received: from localhost (localhost.localdomain [127.0.0.1])
	by mailhost.auckland.ac.nz (Postfix) with ESMTP id E119D480B69;
	Fri,  9 Jan 2009 15:27:47 +1300 (NZDT)
X-Virus-Scanned: by amavisd-new at mailhost.auckland.ac.nz
Received: from mailhost.auckland.ac.nz ([127.0.0.1])
	by localhost (moe.its.auckland.ac.nz [127.0.0.1]) (amavisd-new,
	port 10024)
	with ESMTP id OQwQOQG9i2MP; Fri,  9 Jan 2009 15:27:47 +1300 (NZDT)
Received: from iris.cs.auckland.ac.nz (iris.cs.auckland.ac.nz [130.216.33.152])
	by mailhost.auckland.ac.nz (Postfix) with ESMTP id 103DF480A1A;
	Fri,  9 Jan 2009 15:27:37 +1300 (NZDT)
Received: from wintermute01.cs.auckland.ac.nz (wintermute01.cs.auckland.ac.nz
	[130.216.34.38]) (using TLSv1 with cipher AES256-SHA (256/256 bits))
	(No client certificate requested)
	by iris.cs.auckland.ac.nz (Postfix) with ESMTP
	id 83FDB1AE4003; Fri,  9 Jan 2009 15:27:35 +1300 (NZDT)
Received: from pgut001 by wintermute01.cs.auckland.ac.nz with local (Exim 4.63)
	(envelope-from <pgut001@wintermute01.cs.auckland.ac.nz>)
	id 1LL75z-0005wf-CT; Fri, 09 Jan 2009 15:27:35 +1300
From: pgut001@cs.auckland.ac.nz (Peter Gutmann)
To: eric.gray@ericsson.com, pgut001@cs.auckland.ac.nz, tytso@mit.edu
In-Reply-To: <941D5DCD8C42014FAF70FB7424686DCF0468D33B@eusrcmw721.eamcs.ericsson.se>
Message-Id: <E1LL75z-0005wf-CT@wintermute01.cs.auckland.ac.nz>
Date: Fri, 09 Jan 2009 15:27:35 +1300
Cc: v.paz@uq.edu.au, cfrg@irtf.org, tmiller@mitre.org, saag@ietf.org,
	ietf-pkix@imc.org, ietf-smime@imc.org
Subject: Re: [Cfrg] [saag] Further MD5 breaks: Creating a rogue	CAcertificate
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://www.irtf.org/mailman/private/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>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

"Eric Gray" <eric.gray@ericsson.com> writes:

>Since the consumer ultimately pays the price in any case, perhaps a good
>argument can be made for paying a portion of it up front?

And how are you going to convince the consumer of this?  They get "free"
protection currently with their credit cards, and now they have to pay for it?

(In fact there's already been a case of this failing in the past, when banks
asked customers to pay a little extra to get their photos put on their credit
cards for fraud protection.  Went down like a lead zeppelin).

Anything that involves customers having to pay for something that they
consider as a right to get for free is going to fail before it even starts.
That's actually not as bad as it sounds since it's one of the few hard-and-
fast design guidelines for this area, unlike most other things ("this may or
may not work, depending on the circumstances").

Peter.
_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
https://www.irtf.org/mailman/listinfo/cfrg


From cfrg-bounces@irtf.org  Fri Jan  9 08:02:55 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id E5BAB3A6A70;
	Fri,  9 Jan 2009 08:02:55 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 466D63A680D
	for <cfrg@core3.amsl.com>; Fri,  9 Jan 2009 08:02:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.484
X-Spam-Level: 
X-Spam-Status: No, score=-5.484 tagged_above=-999 required=5
	tests=[AWL=-0.282, BAYES_00=-2.599, HTML_MESSAGE=0.001,
	MIME_QP_LONG_LINE=1.396, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id diuGtYclNhgK for <cfrg@core3.amsl.com>;
	Fri,  9 Jan 2009 08:02:53 -0800 (PST)
Received: from colibri.verisign.com (colibri.verisign.com [65.205.251.74])
	by core3.amsl.com (Postfix) with ESMTP id 46A5E3A6A70
	for <cfrg@irtf.org>; Fri,  9 Jan 2009 08:02:53 -0800 (PST)
Received: from MOU1WNEXCN03.vcorp.ad.vrsn.com (mailer6.verisign.com
	[65.205.251.33])
	by colibri.verisign.com (8.13.6/8.13.4) with ESMTP id n09Fe5PY022476;
	Fri, 9 Jan 2009 07:40:05 -0800
Received: from MOU1WNEXMB09.vcorp.ad.vrsn.com ([10.25.15.197]) by
	MOU1WNEXCN03.vcorp.ad.vrsn.com with Microsoft
	SMTPSVC(6.0.3790.3959); Fri, 9 Jan 2009 08:02:28 -0800
Content-class: urn:content-classes:message
MIME-Version: 1.0
X-MimeOLE: Produced By Microsoft Exchange V6.5
Date: Fri, 9 Jan 2009 08:02:28 -0800
Message-ID: <2788466ED3E31C418E9ACC5C316615572FFC63@mou1wnexmb09.vcorp.ad.vrsn.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Cfrg] Analyzing IETF use of hash functions -- ORCHIDs
Thread-Index: AclxuqPifTEMS50vQBeUXOmOKoNm1wAt0r0l
References: <00be01c96faf$8bea0720$800c6f0a@china.huawei.com>	<4964CB91.8030001@htt-consult.com>
	<2788466ED3E31C418E9ACC5C316615572FFC4B@mou1wnexmb09.vcorp.ad.vrsn.com>
	<4965AAFF.3060209@sbcglobal.net>
	<2788466ED3E31C418E9ACC5C316615572FFC54@mou1wnexmb09.vcorp.ad.vrsn.com>
	<B8AB1183-4531-413F-9186-29CC972A5712@cisco.com>
	<2788466ED3E31C418E9ACC5C316615572FFC56@mou1wnexmb09.vcorp.ad.vrsn.com>
	<53C20AF4-AD14-47FF-A108-AE88F1DC367C@cisco.com>
From: "Hallam-Baker, Phillip" <pbaker@verisign.com>
To: "David McGrew" <mcgrew@cisco.com>
X-OriginalArrivalTime: 09 Jan 2009 16:02:28.0642 (UTC)
	FILETIME=[ABD4B820:01C97273]
Cc: cfrg@irtf.org, Robert Moskowitz <rgm-sec@htt-consult.com>
Subject: Re: [Cfrg] Analyzing IETF use of hash functions -- ORCHIDs
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mailman/private/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>
Content-Type: multipart/mixed; boundary="===============1142768119=="
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

This is a multi-part message in MIME format.

--===============1142768119==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C97273.ABB6BE72"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C97273.ABB6BE72
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I am not sure that there are many prototcols where truncation takes =
place, apart from IPSEC and similar transport layer security I can't =
think of a good reason to do that. And in the case of IPSEC the =
practical use of the protocol is a very small subset of the original =
design intent.
=20
Given the previous experience of security breaches that have occured =
when a substitution of this type takes place without a full =
reconsideration of the security requirements of the protocol, my =
preference would be to avoid CMAC-AES for any purpose.
=20

________________________________

From: David McGrew [mailto:mcgrew@cisco.com]
Sent: Thu 1/8/2009 12:57 PM
To: Hallam-Baker, Phillip
Cc: David Jacobson; cfrg@irtf.org; Robert Moskowitz
Subject: Re: [Cfrg] Analyzing IETF use of hash functions -- ORCHIDs


Phillip,=20

On Jan 8, 2009, at 8:09 AM, Hallam-Baker, Phillip wrote:


	It is not a secret key, it is an input to a mathematical function.
=09
	It only becomes a secret key when a protocol designer decides to make =
it secret. Until then it is simply a key.
=09
	Cryptographers have no business assuming that particular information is =
or is not available to an attacker.

that's not right.  Cryptographers use models and definitions that =
determine what information is available to an attacker.  See, for =
example, Section 2.1 of "Keying Hash Functions for Message =
Authentication", the main reference for HMAC.  These precise models and =
definitions are a major part of modern cryptography.


	That is my prerogative as a protocol designer. Only a protocol can =
determine if information is secret or not.

	To take another example. It is generally considered to be desirable for =
an encryption cipher to resist disclosure of the key in the case that an =
attacker has a known plaintext/ciphertext pair. That is not a necessary =
property for an encryption cipher if you have absolutely perfect =
operational security, but its one that any sensible protocol designer is =
going to insist on whether they are going to depend on the property or =
not.
=09
=09
	HMAC is used with the assumption of a specific set of cryptographic =
properties. CMAC does not provide the same properties. Therefore CMAC =
MUST NOT be used as a replacement for a HMAC unless there is a full =
ground up review of the security considerations.

You're overstating this.  In what case can AES-CMAC not replace =
HMAC-SHA1 when the length of the ICV is truncated to 96 bits? =20

Perhaps I would understand your point better if you could describe an =
example of a use of HMAC that is motivating your concern.


=09
=09
	WEP is acceptably secure if you use a block cipher as the encryption =
mechanism. It becomes hopelessly insecure when you replace the block =
cipher with RC4 or any other stream cipher.
=09
=09
	There are two distinct approaches to security protocol design. Most of =
us tend to avoid any construction that they feel falls short of the =
highest standards and might lead to a design oversight. I do not use =
stream ciphers and I am going to avoid using CMAC. Other folk sail =
closer to the wind, and there is certainly equipment out there that can =
support stream ciphers but not block ciphers.
=09
=09
	I don't think this is an argument that is particularly worth having =
unless it turns out that it is impossible to create a MAC function from =
an encryption primitive that is also a strong one way function or that =
doing so imposes an unacceptable performance cost.

AES-CMAC is a strong pseudorandom function, and a PRF is a good one-way =
function (being pseudorandom is harder than being one-way) (see =
"Improved security analyses for CBC MACs", for example).   Of course, =
it's one-way in terms of the key, but not in terms of the message. =20

David

=09
=09
=09
=09
	-----Original Message-----
	From: David McGrew [mailto:mcgrew@cisco.com]
	Sent: Thu 1/8/2009 10:44 AM
	To: Hallam-Baker, Phillip
	Cc: David Jacobson; cfrg@irtf.org; Robert Moskowitz
	Subject: Re: [Cfrg] Analyzing IETF use of hash functions -- ORCHIDs
=09
	Hi Phillip,
=09
	On Jan 8, 2009, at 6:04 AM, Hallam-Baker, Phillip wrote:
=09
	        Ugh, that kinda makes me not want to use CMAC construction for =
a MAC function either. HMAC has the property that knowing the key does =
not allow the output to be controlled, I am somewhat surprised it was =
not considered a necessary property for a MAC.
=09
	The property that you're describing assumes that there is an entity =
that knows the secret key, yet is not trusted, and that's outside of all =
of the definitions and models of MACs.  AES-CMAC is a perfectly good =
MAC, and can be substituted for HMAC whenever a MAC is needed. =20
=09
	Also, that property holds only if HMAC output is not truncated to a =
length below the security level for collision resistance.  For instance, =
it doesn't hold for HMAC-SHA1 truncated to 96 bits.
=09
	      =20
	      =20
	        Certainly, it means that we cannot certify CMAC as a drop in =
replacement for cases where HMAC has been used. It might well be the =
case that none of the uses of HMAC depend on this property being true, =
but there is no way to be sure without re-analysing the security of the =
protocol from scratch.
=09
=09
	You're  right that there are uses of HMAC that require something =
stronger/different than just a MAC, though many protocols use it as just =
a MAC.  One rule of thumb for telling the difference would be to look at =
the output size of HMAC.=20
=09
	David
=09
	      =20
	      =20
	        We have plenty of experience of problems coming from people =
using a stream cipher to do the work of a block cipher. Those problems =
are the result of having what are actually two primitives that are =
closely related enough to be considered equivalent but with one offering =
only a subset of the security guarantees of the other.
	      =20
	      =20
	        We have a strong cryptographic primitive here, a cipher =
function. Seems to me that if we do the job right it should be possible =
to create a strong one way function. I know Rogaway has argued that =
building everything on a one way function gives provable security. =
Problem is that one way functions have been the most troublesome =
function in practice. It is the only symmetric function which we have =
had standard algorithms broken through cryptanalytic attack, and not =
just once, we have had MD2, MD4 and MD5 broken and SHA1 is making us =
worried.
	      =20
	        The problem for the strategy outlined is that it kinda depends =
on having a digest function that is fully certified right now. We can =
use the same strategy to use SHA256 or SHA512 as an insurance policy. =
But we can't fix CMAC and certify the result before the digest =
competition reads out.
	      =20
	      =20
	        I still like the idea of using a keyed digest function with a =
randomly chosen key as a digest. We should not be talking about ways to =
add randomness into the object being signed as protection. If we want =
randomness it should be input to the cryptographic layer and be - =
random.
	      =20
	        I know that in an ideal world a digest function should be =
secure and not need some kind of backup, but given the experience of =
digest functions being the most likely to fail, I really like having the =
insurance of being able to add in the randomness.
	      =20
	      =20
	        -----Original Message-----
	        From: David Jacobson [mailto:dmjacobson@sbcglobal.net]
	        Sent: Thu 1/8/2009 2:27 AM
	        To: Hallam-Baker, Phillip; cfrg@irtf.org
	        Cc: Robert Moskowitz
	        Subject: Re: [Cfrg] Analyzing IETF use of hash functions -- =
ORCHIDs
	      =20
	        Hallam-Baker, Phillip wrote:
	        [snip]
	        > This all has me looking at using MAC functions and in =
particular
	        > CMAC-AES as a digest function. The simple collision attack =
using a
	        > supplied source text can be defeated entirely using a MAC =
function and a
	        > randomly chosen IV.
	        >
	        >
	        > The principal advantages of using CMAC-AES with a random IV =
are
	        >
	        > 1) It is completely specified today, except for the details =
of the
	        > packaging in RSA and DSA.
	        > 2) Simple collision attacks are defeated entirely through use =
of a
	        > sufficiently random IV.
	        > 3) Plug compatible with existing crypto APIs
	        > 4) A constrained implementation can render every symmetric =
cryptographic
	        > function (encryption, digest, MAC) from a single =
cryptographic primitive.
	        > 5) CMAC construction means that the security of our =
cryptographic system
	        > only depends on the security of a single symmetric primitive =
- AES and
	        > our random number generator.
	        [snip]
	      =20
	        We are in the context of replacing MD5 with some other hash =
function.
	      =20
	        Item 3 is kind of slippery.
	      =20
	        CMAC-AES as a plug is compatible with the socket labeled MAC, =
but it is
	        not compatible with the socket labeled HASH.
	      =20
	        More concretely, applications written for MD5 and SHA1 are not =
prepared
	        to provide a secret key, which is needed for CMAC-AES.  And =
then there
	        is the IV as well.
	      =20
	        The definition of CMAC-AES in Wikipedia does not mention an IV, =
but I
	        presume the intent is that first message block is XORd with =
E_k(IV),
	        rather than E_k(0) as specified in CMAC-AES.
	      =20
	        But there is a security problem, too.  Let us temporarily =
ignore the IV.
	          I believe that the strength of MACs derives from the fact =
that the
	        secret key is secret. For signatures, the verifier has to know =
what
	        value to use for the key so it has to be a constant, or be =
sent, or be
	        derivable from stuff that is sent.   Finding a pre-image that =
works with
	        CMAC_AES is trivial if the attacker knows k and can tolerate =
the last
	        block being arbitrary:    He runs the CMAC_AES algorithm up to =
the last
	        block, resulting in V. The attacker computes k1 (key for a last =
block
	        that is full) according the the CMAC algorithm.  He decrypts =
the target
	        hash value using k1 as the AES key.  Call that value W.  He =
makes the
	        last block be V XOR W.
	      =20
	        The IV doesn't help any.  Rather it completely defeats =
security. If it
	        is a random value, it has to be communicated to the verifier, =
and the
	        attacker can choose it. Let the attacker's desired message =
blocks be
	        M_1, M_2, ... M_n.  Let the values entering the AES encryptions =
be P_1,
	        P_2, ... P_n.  (Somewhere in the middle, P_k =3D M_k XOR =
E_k{P_{k-1}.)
	        The attacker works backwards from the output, and  eventually =
computes
	        what P_1 has to be.  He chooses IV =3D D_k{P_1 XOR M_1}.
	      =20
	           -- David Jacobson
	      =20
	      =20
=09
	        _______________________________________________
	        Cfrg mailing list
	        Cfrg@irtf.org
	        https://www.irtf.org/mailman/listinfo/cfrg
	      =20
=09
=09
=09
=09



------_=_NextPart_001_01C97273.ABB6BE72
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<HTML dir=3Dltr><HEAD>=0A=
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dunicode">=0A=
<META content=3D"MSHTML 6.00.6001.18148" name=3DGENERATOR></HEAD>=0A=
<BODY style=3D"WORD-WRAP: break-word">=0A=
<DIV id=3DidOWAReplyText30050 dir=3Dltr>=0A=
<DIV dir=3Dltr><FONT face=3DArial color=3D#000000 size=3D2>I am not sure =
that there are many prototcols where truncation takes place, apart from =
IPSEC and similar transport layer security I can't think of a good =
reason to do that. And in the case of IPSEC the practical use of the =
protocol is a very small subset of the original design =
intent.</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2>Given the previous experience =
of security breaches that have occured when a substitution of this type =
takes place without a full reconsideration of the security requirements =
of the protocol, my preference would be to avoid CMAC-AES for any =
purpose.</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></DIV>=0A=
<DIV dir=3Dltr><BR>=0A=
<HR tabIndex=3D-1>=0A=
<FONT face=3DTahoma size=3D2><B>From:</B> David McGrew =
[mailto:mcgrew@cisco.com]<BR><B>Sent:</B> Thu 1/8/2009 12:57 =
PM<BR><B>To:</B> Hallam-Baker, Phillip<BR><B>Cc:</B> David Jacobson; =
cfrg@irtf.org; Robert Moskowitz<BR><B>Subject:</B> Re: [Cfrg] Analyzing =
IETF use of hash functions -- ORCHIDs<BR></FONT><BR></DIV>=0A=
<DIV>Phillip, =0A=
<DIV><BR>=0A=
<DIV>=0A=
<DIV>On Jan 8, 2009, at 8:09 AM, Hallam-Baker, Phillip wrote:</DIV><BR =
class=3DApple-interchange-newline style=3D"FONT-SIZE: 15px">=0A=
<BLOCKQUOTE style=3D"FONT-SIZE: 15px" type=3D"cite">=0A=
<DIV>=0A=
<P><FONT style=3D"FONT-SIZE: 12px" size=3D2>It is not a secret key, it =
is an input to a mathematical function.<BR><BR>It only becomes a secret =
key when a protocol designer decides to make it secret. Until then it is =
simply a key.<BR><BR>Cryptographers have no business assuming that =
particular information is or is not available to an =
attacker.</FONT></P></DIV></BLOCKQUOTE>=0A=
<DIV>that's not right. &nbsp;Cryptographers use models and definitions =
that determine what information is available to an attacker. &nbsp;See, =
for example, Section 2.1 of "Keying Hash Functions for Message =
Authentication", the main reference for HMAC. &nbsp;These precise models =
and definitions are a major part of modern cryptography.</DIV><BR>=0A=
<BLOCKQUOTE style=3D"FONT-SIZE: 15px" type=3D"cite">=0A=
<DIV>=0A=
<P><FONT style=3D"FONT-SIZE: 12px" size=3D2>That is my prerogative as a =
protocol designer. Only a protocol can determine if information is =
secret or not.</FONT></P></DIV></BLOCKQUOTE>=0A=
<BLOCKQUOTE style=3D"FONT-SIZE: 15px" type=3D"cite">=0A=
<DIV>=0A=
<P><FONT style=3D"FONT-SIZE: 12px" size=3D2>To take another example. It =
is generally considered to be desirable for an encryption cipher to =
resist disclosure of the key in the case that an attacker has a known =
plaintext/ciphertext pair. That is not a necessary property for an =
encryption cipher if you have absolutely perfect operational security, =
but its one that any sensible protocol designer is going to insist on =
whether they are going to depend on the property or not.<BR><BR><BR>HMAC =
is used with the assumption of a specific set of cryptographic =
properties. CMAC does not provide the same properties. Therefore CMAC =
MUST NOT be used as a replacement for a HMAC unless there is a full =
ground up review of the security =
considerations.</FONT></P></DIV></BLOCKQUOTE>=0A=
<DIV>You're overstating this. &nbsp;In what case can AES-CMAC not =
replace HMAC-SHA1 when the length of the ICV is truncated to 96 bits? =
&nbsp;</DIV>=0A=
<DIV><BR></DIV>=0A=
<DIV>Perhaps I would understand your point better if you could describe =
an example of a use of HMAC that is motivating your concern.</DIV><BR>=0A=
<BLOCKQUOTE style=3D"FONT-SIZE: 15px" type=3D"cite">=0A=
<DIV>=0A=
<P><FONT style=3D"FONT-SIZE: 12px" size=3D2><BR><BR>WEP is acceptably =
secure if you use a block cipher as the encryption mechanism. It becomes =
hopelessly insecure when you replace the block cipher with RC4 or any =
other stream cipher.<BR><BR><BR>There are two distinct approaches to =
security protocol design. Most of us tend to avoid any construction that =
they feel falls short of the highest standards and might lead to a =
design oversight. I do not use stream ciphers and I am going to avoid =
using CMAC. Other folk sail closer to the wind, and there is certainly =
equipment out there that can support stream ciphers but not block =
ciphers.<BR><BR><BR>I don't think this is an argument that is =
particularly worth having unless it turns out that it is impossible to =
create a MAC function from an encryption primitive that is also a strong =
one way function or that doing so imposes an unacceptable performance =
cost.</FONT></P></DIV></BLOCKQUOTE>=0A=
<DIV>AES-CMAC is a strong pseudorandom function, and a PRF is a good =
one-way function (being pseudorandom is harder than being one-way) (see =
"Improved security analyses for CBC MACs", for example). &nbsp; Of =
course, it's one-way in terms of the key, but not in terms of the =
message. &nbsp;</DIV>=0A=
<DIV><BR></DIV>David</DIV>=0A=
<DIV>=0A=
<BLOCKQUOTE style=3D"FONT-SIZE: 15px" type=3D"cite">=0A=
<DIV>=0A=
<P><FONT style=3D"FONT-SIZE: 12px" =
size=3D2><BR><BR><BR><BR>-----Original Message-----<BR>From: David =
McGrew [<A =
href=3D"mailto:mcgrew@cisco.com">mailto:mcgrew@cisco.com</A>]<BR>Sent: =
Thu 1/8/2009 10:44 AM<BR>To: Hallam-Baker, Phillip<BR>Cc: David =
Jacobson; <A href=3D"mailto:cfrg@irtf.org">cfrg@irtf.org</A>; Robert =
Moskowitz<BR>Subject: Re: [Cfrg] Analyzing IETF use of hash functions -- =
ORCHIDs<BR><BR>Hi Phillip,<BR><BR>On Jan 8, 2009, at 6:04 AM, =
Hallam-Baker, Phillip =
wrote:<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Ugh, that kinda =
makes me not want to use CMAC construction for a MAC function either. =
HMAC has the property that knowing the key does not allow the output to =
be controlled, I am somewhat surprised it was not considered a necessary =
property for a MAC.<BR><BR>The property that you're describing assumes =
that there is an entity that knows the secret key, yet is not trusted, =
and that's outside of all of the definitions and models of MACs.&nbsp; =
AES-CMAC is a perfectly good MAC, and can be substituted for HMAC =
whenever a MAC is needed.&nbsp;&nbsp;<BR><BR>Also, that property holds =
only if HMAC output is not truncated to a length below the security =
level for collision resistance.&nbsp; For instance, it doesn't hold for =
HMAC-SHA1 truncated to 96 =
bits.<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
; Certainly, it means that we cannot certify CMAC as a drop in =
replacement for cases where HMAC has been used. It might well be the =
case that none of the uses of HMAC depend on this property being true, =
but there is no way to be sure without re-analysing the security of the =
protocol from scratch.<BR><BR><BR>You're&nbsp; right that there are uses =
of HMAC that require something stronger/different than just a MAC, =
though many protocols use it as just a MAC.&nbsp; One rule of thumb for =
telling the difference would be to look at the output size of =
HMAC.&nbsp;<BR><BR>David<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp; We have plenty of experience of problems coming =
from people using a stream cipher to do the work of a block cipher. =
Those problems are the result of having what are actually two primitives =
that are closely related enough to be considered equivalent but with one =
offering only a subset of the security guarantees of the =
other.<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
We have a strong cryptographic primitive here, a cipher function. Seems =
to me that if we do the job right it should be possible to create a =
strong one way function. I know Rogaway has argued that building =
everything on a one way function gives provable security. Problem is =
that one way functions have been the most troublesome function in =
practice. It is the only symmetric function which we have had standard =
algorithms broken through cryptanalytic attack, and not just once, we =
have had MD2, MD4 and MD5 broken and SHA1 is making us =
worried.<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp; The problem for the strategy outlined is =
that it kinda depends on having a digest function that is fully =
certified right now. We can use the same strategy to use SHA256 or =
SHA512 as an insurance policy. But we can't fix CMAC and certify the =
result before the digest competition reads =
out.<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I =
still like the idea of using a keyed digest function with a randomly =
chosen key as a digest. We should not be talking about ways to add =
randomness into the object being signed as protection. If we want =
randomness it should be input to the cryptographic layer and be - =
random.<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp; I know that in an ideal world a digest =
function should be secure and not need some kind of backup, but given =
the experience of digest functions being the most likely to fail, I =
really like having the insurance of being able to add in the =
randomness.<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp; -----Original =
Message-----<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; From: David =
Jacobson [<A =
href=3D"mailto:dmjacobson@sbcglobal.net">mailto:dmjacobson@sbcglobal.net<=
/A>]<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sent: Thu 1/8/2009 =
2:27 AM<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; To: Hallam-Baker, =
Phillip; <A =
href=3D"mailto:cfrg@irtf.org">cfrg@irtf.org</A><BR>&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp; Cc: Robert =
Moskowitz<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Subject: Re: =
[Cfrg] Analyzing IETF use of hash functions -- =
ORCHIDs<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp; Hallam-Baker, Phillip =
wrote:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
[snip]<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; This all has =
me looking at using MAC functions and in =
particular<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; CMAC-AES =
as a digest function. The simple collision attack using =
a<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; supplied source =
text can be defeated entirely using a MAC function and =
a<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; randomly chosen =
IV.<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; The principal =
advantages of using CMAC-AES with a random IV =
are<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; 1) It is =
completely specified today, except for the details of =
the<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; packaging in RSA =
and DSA.<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; 2) Simple =
collision attacks are defeated entirely through use of =
a<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; sufficiently random =
IV.<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; 3) Plug =
compatible with existing crypto =
APIs<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; 4) A constrained =
implementation can render every symmetric =
cryptographic<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; =
function (encryption, digest, MAC) from a single cryptographic =
primitive.<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; 5) CMAC =
construction means that the security of our cryptographic =
system<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; only depends =
on the security of a single symmetric primitive - AES =
and<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; our random number =
generator.<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
[snip]<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp; We are in the context of replacing MD5 with =
some other hash =
function.<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp; Item 3 is kind of =
slippery.<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp; CMAC-AES as a plug is compatible with the =
socket labeled MAC, but it =
is<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; not compatible with the =
socket labeled =
HASH.<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp; More concretely, applications written for MD5 =
and SHA1 are not prepared<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
to provide a secret key, which is needed for CMAC-AES.&nbsp; And then =
there<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; is the IV as =
well.<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp; The definition of CMAC-AES in Wikipedia does =
not mention an IV, but I<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
presume the intent is that first message block is XORd with =
E_k(IV),<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rather than =
E_k(0) as specified in =
CMAC-AES.<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp; But there is a security problem, too.&nbsp; =
Let us temporarily ignore the =
IV.<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; I believe that =
the strength of MACs derives from the fact that =
the<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; secret key is secret. =
For signatures, the verifier has to know =
what<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; value to use for the =
key so it has to be a constant, or be sent, or =
be<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; derivable from stuff =
that is sent.&nbsp;&nbsp; Finding a pre-image that works =
with<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CMAC_AES is trivial =
if the attacker knows k and can tolerate the =
last<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; block being =
arbitrary:&nbsp;&nbsp;&nbsp; He runs the CMAC_AES algorithm up to the =
last<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; block, resulting in =
V. The attacker computes k1 (key for a last =
block<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; that is full) =
according the the CMAC algorithm.&nbsp; He decrypts the =
target<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; hash value using k1 =
as the AES key.&nbsp; Call that value W.&nbsp; He makes =
the<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; last block be V XOR =
W.<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; The IV doesn't help any.&nbsp; Rather it =
completely defeats security. If =
it<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; is a random value, it =
has to be communicated to the verifier, and =
the<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; attacker can choose =
it. Let the attacker's desired message blocks =
be<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; M_1, M_2, ... =
M_n.&nbsp; Let the values entering the AES encryptions be =
P_1,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; P_2, ... P_n.&nbsp; =
(Somewhere in the middle, P_k =3D M_k XOR =
E_k{P_{k-1}.)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The attacker =
works backwards from the output, and&nbsp; eventually =
computes<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; what P_1 has to =
be.&nbsp; He chooses IV =3D D_k{P_1 XOR =
M_1}.<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; -- David =
Jacobson<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp; =
_______________________________________________<BR>&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp; Cfrg mailing =
list<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A =
href=3D"mailto:Cfrg@irtf.org">Cfrg@irtf.org</A><BR>&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp; <A =
href=3D"https://www.irtf.org/mailman/listinfo/cfrg">https://www.irtf.org/=
mailman/listinfo/cfrg</A><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B=
R><BR><BR><BR></FONT></P></DIV></BLOCKQUOTE></DIV><BR =
style=3D"FONT-SIZE: 15px"></DIV></DIV></BODY></HTML>
------_=_NextPart_001_01C97273.ABB6BE72--

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

_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
http://www.irtf.org/mailman/listinfo/cfrg

--===============1142768119==--


From cfrg-bounces@irtf.org  Fri Jan  9 10:18:06 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id BFD643A68BA;
	Fri,  9 Jan 2009 10:18:06 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 9C4FC3A688D
	for <cfrg@core3.amsl.com>; Fri,  9 Jan 2009 10:18:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.558
X-Spam-Level: 
X-Spam-Status: No, score=-6.558 tagged_above=-999 required=5 tests=[AWL=0.040, 
	BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id Ba5SDLJNl+Ay for <cfrg@core3.amsl.com>;
	Fri,  9 Jan 2009 10:18:04 -0800 (PST)
Received: from sj-iport-6.cisco.com (sj-iport-6.cisco.com [171.71.176.117])
	by core3.amsl.com (Postfix) with ESMTP id CF1173A68BA
	for <cfrg@irtf.org>; Fri,  9 Jan 2009 10:18:04 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.37,240,1231113600"; 
	d="scan'208,217";a="226879919"
Received: from sj-dkim-1.cisco.com ([171.71.179.21])
	by sj-iport-6.cisco.com with ESMTP; 09 Jan 2009 18:17:51 +0000
Received: from sj-core-5.cisco.com (sj-core-5.cisco.com [171.71.177.238])
	by sj-dkim-1.cisco.com (8.12.11/8.12.11) with ESMTP id n09IHpBX009469; 
	Fri, 9 Jan 2009 10:17:51 -0800
Received: from xbh-sjc-231.amer.cisco.com (xbh-sjc-231.cisco.com
	[128.107.191.100])
	by sj-core-5.cisco.com (8.13.8/8.13.8) with ESMTP id n09IHpmS001290;
	Fri, 9 Jan 2009 18:17:51 GMT
Received: from xfe-sjc-212.amer.cisco.com ([171.70.151.187]) by
	xbh-sjc-231.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Fri, 9 Jan 2009 10:17:41 -0800
Received: from stealth-10-32-254-212.cisco.com ([10.32.254.212]) by
	xfe-sjc-212.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Fri, 9 Jan 2009 10:17:40 -0800
Message-Id: <F63CC092-AA48-4629-AD3A-1B338D9ECF56@cisco.com>
From: David McGrew <mcgrew@cisco.com>
To: Phillip Hallam-Baker <pbaker@verisign.com>
In-Reply-To: <2788466ED3E31C418E9ACC5C316615572FFC63@mou1wnexmb09.vcorp.ad.vrsn.com>
Mime-Version: 1.0 (Apple Message framework v929.2)
Date: Fri, 9 Jan 2009 10:17:39 -0800
References: <00be01c96faf$8bea0720$800c6f0a@china.huawei.com>	<4964CB91.8030001@htt-consult.com>
	<2788466ED3E31C418E9ACC5C316615572FFC4B@mou1wnexmb09.vcorp.ad.vrsn.com>
	<4965AAFF.3060209@sbcglobal.net>
	<2788466ED3E31C418E9ACC5C316615572FFC54@mou1wnexmb09.vcorp.ad.vrsn.com>
	<B8AB1183-4531-413F-9186-29CC972A5712@cisco.com>
	<2788466ED3E31C418E9ACC5C316615572FFC56@mou1wnexmb09.vcorp.ad.vrsn.com>
	<53C20AF4-AD14-47FF-A108-AE88F1DC367C@cisco.com>
	<2788466ED3E31C418E9ACC5C316615572FFC63@mou1wnexmb09.vcorp.ad.vrsn.com>
X-Mailer: Apple Mail (2.929.2)
X-OriginalArrivalTime: 09 Jan 2009 18:17:41.0151 (UTC)
	FILETIME=[8F435AF0:01C97286]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=4056; t=1231525071;
	x=1232389071; c=relaxed/simple; s=sjdkim1004;
	h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version;
	d=cisco.com; i=mcgrew@cisco.com;
	z=From:=20David=20McGrew=20<mcgrew@cisco.com>
	|Subject:=20suitability=20of=20AES-CMAC=20(was=3A=20Re=3A=2
	0[Cfrg]=20Analyzing=20IETF=20use=20of=20hash=20functions=20-
	-=20ORCHIDs) |Sender:=20;
	bh=fqw4pIVwZpVSrbIOyVEFzd5545cmY2beEltX1RZW+Jc=;
	b=Bg0IxV8WV7AGwDuK3ebEaVLyo2jqqV82Qf0WNc+yYsQiA+fDfxErA8Dm3u
	UFkV44rsJ8TdZHYjukBJ45cdkKYaaPWsVUtNIYPDMwgaViOJzGiQzM9JdkL7
	Dyn1MWke46d2Q4pHE0WTKja1Jp8dwEyq7TOnIJl6mZ/WwO3rmUyNA=;
Authentication-Results: sj-dkim-1; header.From=mcgrew@cisco.com; dkim=pass (
	sig from cisco.com/sjdkim1004 verified; ); 
Cc: cfrg@irtf.org, Robert Moskowitz <rgm-sec@htt-consult.com>
Subject: [Cfrg] suitability of AES-CMAC (was: Re: Analyzing IETF use of hash
	functions -- ORCHIDs)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mailman/private/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>
Content-Type: multipart/mixed; boundary="===============0942397360=="
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org


--===============0942397360==
Content-Type: multipart/alternative; boundary=Apple-Mail-323--185210605


--Apple-Mail-323--185210605
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed;
	delsp=yes
Content-Transfer-Encoding: 7bit

Hi Phillip,

On Jan 9, 2009, at 8:02 AM, Hallam-Baker, Phillip wrote:

> I am not sure that there are many prototcols where truncation takes  
> place, apart from IPSEC and similar transport layer security I can't  
> think of a good reason to do that. And in the case of IPSEC the  
> practical use of the protocol is a very small subset of the original  
> design intent.
>
> Given the previous experience of security breaches that have occured  
> when a substitution of this type takes place without a full  
> reconsideration of the security requirements of the protocol, my  
> preference would be to avoid CMAC-AES for any purpose.
>

I strongly disagree; security wise, CMAC is well suited for use as a  
MAC in ESP, IKE, SRTP, TLS, SSH, TCP-AO, and other protocols.  CMAC is  
a peer-reviewed variant of CBC-MAC, and that mode of operation may be  
the one that has seen the most formal analysis - at least three  
different proof-of-security methods have been presented in the  
literature (first Bellare, Killian, and Rogaway, then Bernstein, then  
Bellare, Pietrzak, Rogaway).  Also note that XCBC-MAC (see RFC 3566)  
has identical security properties to CMAC, and that the authentication  
properties of AES-CCM are similar.

David
--Apple-Mail-323--185210605
Content-Type: text/html;
	charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

<html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; =
">Hi&nbsp;Phillip,<div>&nbsp;<br><div><div>On Jan 9, 2009, at 8:02 AM, =
Hallam-Baker, Phillip wrote:</div><font class=3D"Apple-style-span" =
color=3D"#000000"><br class=3D"Apple-interchange-newline" =
style=3D"font-size: 15px; "></font><blockquote type=3D"cite"><div =
style=3D"WORD-WRAP: break-word"> <div id=3D"idOWAReplyText30050" =
dir=3D"ltr"> <div dir=3D"ltr" style=3D"font-size: 15px; "><font =
face=3D"Arial" size=3D"2" style=3D"font-size: 12px; "><font =
class=3D"Apple-style-span" color=3D"#000000">I am not sure that there =
are many prototcols where truncation takes place, apart from IPSEC and =
similar transport layer security I can't think of a good reason to do =
that. And in the case of IPSEC the practical use of the protocol is a =
very small subset of the original design intent.</font></font></div> =
<div dir=3D"ltr" style=3D"font-size: 15px; "><font =
class=3D"Apple-style-span" color=3D"#000000"><font face=3D"Arial" =
size=3D"2" style=3D"font-size: 12px; "></font>&nbsp;</font></div> <div =
dir=3D"ltr" style=3D"font-size: 15px; "><font face=3D"Arial" size=3D"2" =
style=3D"font-size: 12px; "><font class=3D"Apple-style-span" =
color=3D"#000000">Given the previous experience of security breaches =
that have occured when a substitution of this type takes place without a =
full reconsideration of the security requirements of the protocol, my =
preference would be to avoid CMAC-AES for any =
purpose.</font></font></div> <div dir=3D"ltr" style=3D"font-size: 15px; =
"><font class=3D"Apple-style-span" color=3D"#000000"><font face=3D"Arial" =
size=3D"2" style=3D"font-size: 12px; =
"></font>&nbsp;</font></div></div></div></blockquote><br></div><div>I =
strongly disagree; security wise, CMAC is well suited for use as a MAC =
in ESP, IKE, SRTP, TLS, SSH, TCP-AO, and other =
protocols.&nbsp;&nbsp;CMAC is a peer-reviewed variant of CBC-MAC, and =
that mode of operation may be the one that has seen the most formal =
analysis - at least three different proof-of-security methods have been =
presented in the literature (first Bellare, Killian, and Rogaway, then =
Bernstein, then&nbsp;Bellare, Pietrzak, Rogaway). &nbsp;Also note that =
XCBC-MAC (see RFC&nbsp;3566)&nbsp;has identical security properties to =
CMAC, and that the authentication properties of AES-CCM are =
similar.</div><div><br></div><div>David</div></div></body></html>=

--Apple-Mail-323--185210605--

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

_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
http://www.irtf.org/mailman/listinfo/cfrg

--===============0942397360==--


From cfrg-bounces@irtf.org  Fri Jan  9 12:22:28 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 128543A68AA;
	Fri,  9 Jan 2009 12:22:28 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id BE4433A6889
	for <cfrg@core3.amsl.com>; Fri,  9 Jan 2009 12:22:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.478
X-Spam-Level: 
X-Spam-Status: No, score=-5.478 tagged_above=-999 required=5
	tests=[AWL=-0.276, BAYES_00=-2.599, HTML_MESSAGE=0.001,
	MIME_QP_LONG_LINE=1.396, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id plfmtziEsUcN for <cfrg@core3.amsl.com>;
	Fri,  9 Jan 2009 12:22:25 -0800 (PST)
Received: from robin.verisign.com (robin.verisign.com [65.205.251.75])
	by core3.amsl.com (Postfix) with ESMTP id D25893A68AA
	for <cfrg@irtf.org>; Fri,  9 Jan 2009 12:22:25 -0800 (PST)
Received: from MOU1WNEXCN02.vcorp.ad.vrsn.com (mailer2.verisign.com
	[65.205.251.35])
	by robin.verisign.com (8.12.11/8.13.4) with ESMTP id n09KM0q5023327;
	Fri, 9 Jan 2009 12:22:00 -0800
Received: from MOU1WNEXMB09.vcorp.ad.vrsn.com ([10.25.15.197]) by
	MOU1WNEXCN02.vcorp.ad.vrsn.com with Microsoft
	SMTPSVC(6.0.3790.3959); Fri, 9 Jan 2009 12:22:00 -0800
Content-class: urn:content-classes:message
MIME-Version: 1.0
X-MimeOLE: Produced By Microsoft Exchange V6.5
Date: Fri, 9 Jan 2009 12:21:59 -0800
Message-ID: <2788466ED3E31C418E9ACC5C316615572FFC65@mou1wnexmb09.vcorp.ad.vrsn.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: suitability of AES-CMAC (was: Re: [Cfrg] Analyzing IETF use of
	hash functions -- ORCHIDs)
Thread-Index: AclyhpY1cQttIQvcSLasXoEr0fqtfQADy0bq
References: <00be01c96faf$8bea0720$800c6f0a@china.huawei.com>	<4964CB91.8030001@htt-consult.com>
	<2788466ED3E31C418E9ACC5C316615572FFC4B@mou1wnexmb09.vcorp.ad.vrsn.com>
	<4965AAFF.3060209@sbcglobal.net>
	<2788466ED3E31C418E9ACC5C316615572FFC54@mou1wnexmb09.vcorp.ad.vrsn.com>
	<B8AB1183-4531-413F-9186-29CC972A5712@cisco.com>
	<2788466ED3E31C418E9ACC5C316615572FFC56@mou1wnexmb09.vcorp.ad.vrsn.com>
	<53C20AF4-AD14-47FF-A108-AE88F1DC367C@cisco.com>
	<2788466ED3E31C418E9ACC5C316615572FFC63@mou1wnexmb09.vcorp.ad.vrsn.com>
	<F63CC092-AA48-4629-AD3A-1B338D9ECF56@cisco.com>
From: "Hallam-Baker, Phillip" <pbaker@verisign.com>
To: "David McGrew" <mcgrew@cisco.com>
X-OriginalArrivalTime: 09 Jan 2009 20:22:00.0247 (UTC)
	FILETIME=[ED3B1470:01C97297]
Cc: cfrg@irtf.org, Robert Moskowitz <rgm-sec@htt-consult.com>
Subject: Re: [Cfrg] suitability of AES-CMAC (was: Re: Analyzing IETF use of
	hash functions -- ORCHIDs)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mailman/private/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>
Content-Type: multipart/mixed; boundary="===============1250677534=="
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

This is a multi-part message in MIME format.

--===============1250677534==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C97297.ECEB4935"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C97297.ECEB4935
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

What is the use of a proof of security if it does not cover every =
security property that might be expected?
=20
An algorithm can be acceptable for use without being a member of the =
prefered set. Identifying the fact that there is a defect with the CMAC =
formation when applied in certain situations is the starting point for =
replacing it with a better one.
=20
There are many people looking at randomized hashing generally. We need a =
MAC function that can be used for randomized hashing that is not =
composed using a questionable primitive. So having a construction that =
is unencumbered, can perform all the functions of CMAC and in addition =
support random hashing would be useful.
=20
Preferably with full proofs of security.
=20

________________________________

From: David McGrew [mailto:mcgrew@cisco.com]
Sent: Fri 1/9/2009 1:17 PM
To: Hallam-Baker, Phillip
Cc: David Jacobson; cfrg@irtf.org; Robert Moskowitz
Subject: suitability of AES-CMAC (was: Re: [Cfrg] Analyzing IETF use of =
hash functions -- ORCHIDs)


Hi Phillip,=20

On Jan 9, 2009, at 8:02 AM, Hallam-Baker, Phillip wrote:



	I am not sure that there are many prototcols where truncation takes =
place, apart from IPSEC and similar transport layer security I can't =
think of a good reason to do that. And in the case of IPSEC the =
practical use of the protocol is a very small subset of the original =
design intent.
	=20
	Given the previous experience of security breaches that have occured =
when a substitution of this type takes place without a full =
reconsideration of the security requirements of the protocol, my =
preference would be to avoid CMAC-AES for any purpose.
	=20


I strongly disagree; security wise, CMAC is well suited for use as a MAC =
in ESP, IKE, SRTP, TLS, SSH, TCP-AO, and other protocols.  CMAC is a =
peer-reviewed variant of CBC-MAC, and that mode of operation may be the =
one that has seen the most formal analysis - at least three different =
proof-of-security methods have been presented in the literature (first =
Bellare, Killian, and Rogaway, then Bernstein, then Bellare, Pietrzak, =
Rogaway).  Also note that XCBC-MAC (see RFC 3566) has identical security =
properties to CMAC, and that the authentication properties of AES-CCM =
are similar.

David

------_=_NextPart_001_01C97297.ECEB4935
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<HTML dir=3Dltr><HEAD>=0A=
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dunicode">=0A=
<META content=3D"MSHTML 6.00.6001.18148" name=3DGENERATOR></HEAD>=0A=
<BODY style=3D"WORD-WRAP: break-word">=0A=
<DIV id=3DidOWAReplyText85784 dir=3Dltr>=0A=
<DIV dir=3Dltr><FONT face=3DArial color=3D#000000 size=3D2>What is the =
use of a proof of security if it does not cover every security property =
that might be expected?</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2>An algorithm can be =
acceptable for use without being a member of the prefered set. =
Identifying the fact that there is a defect&nbsp;with the CMAC formation =
when applied in certain situations&nbsp;is the starting point for =
replacing it with a better one.</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2>There are many people looking =
at randomized hashing generally. We need a MAC function that can be used =
for randomized hashing that is not composed using a questionable =
primitive. So having a construction that is unencumbered, can perform =
all the functions of CMAC and in addition support random hashing would =
be useful.</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2>Preferably with full proofs =
of security.</FONT></DIV></DIV>=0A=
<DIV dir=3Dltr>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><BR>=0A=
<HR tabIndex=3D-1>=0A=
<FONT face=3DTahoma size=3D2><B>From:</B> David McGrew =
[mailto:mcgrew@cisco.com]<BR><B>Sent:</B> Fri 1/9/2009 1:17 =
PM<BR><B>To:</B> Hallam-Baker, Phillip<BR><B>Cc:</B> David Jacobson; =
cfrg@irtf.org; Robert Moskowitz<BR><B>Subject:</B> suitability of =
AES-CMAC (was: Re: [Cfrg] Analyzing IETF use of hash functions -- =
ORCHIDs)<BR></FONT><BR></DIV>=0A=
<DIV>Hi&nbsp;Phillip, =0A=
<DIV><BR>=0A=
<DIV>=0A=
<DIV>On Jan 9, 2009, at 8:02 AM, Hallam-Baker, Phillip wrote:</DIV><FONT =
class=3DApple-style-span color=3D#000000><BR =
class=3DApple-interchange-newline style=3D"FONT-SIZE: 15px"></FONT>=0A=
<BLOCKQUOTE type=3D"cite">=0A=
<DIV style=3D"WORD-WRAP: break-word">=0A=
<DIV id=3DidOWAReplyText30050 dir=3Dltr>=0A=
<DIV dir=3Dltr style=3D"FONT-SIZE: 15px"><FONT style=3D"FONT-SIZE: 12px" =
face=3DArial size=3D2><FONT class=3DApple-style-span color=3D#000000>I =
am not sure that there are many prototcols where truncation takes place, =
apart from IPSEC and similar transport layer security I can't think of a =
good reason to do that. And in the case of IPSEC the practical use of =
the protocol is a very small subset of the original design =
intent.</FONT></FONT></DIV>=0A=
<DIV dir=3Dltr style=3D"FONT-SIZE: 15px"><FONT class=3DApple-style-span =
color=3D#000000><FONT style=3D"FONT-SIZE: 12px" face=3DArial =
size=3D2></FONT></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr style=3D"FONT-SIZE: 15px"><FONT style=3D"FONT-SIZE: 12px" =
face=3DArial size=3D2><FONT class=3DApple-style-span =
color=3D#000000>Given the previous experience of security breaches that =
have occured when a substitution of this type takes place without a full =
reconsideration of the security requirements of the protocol, my =
preference would be to avoid CMAC-AES for any =
purpose.</FONT></FONT></DIV>=0A=
<DIV dir=3Dltr style=3D"FONT-SIZE: 15px"><FONT class=3DApple-style-span =
color=3D#000000><FONT style=3D"FONT-SIZE: 12px" face=3DArial =
size=3D2></FONT></FONT>&nbsp;</DIV></DIV></DIV></BLOCKQUOTE><BR></DIV>=0A=
<DIV>I strongly disagree; security wise, CMAC is well suited for use as =
a MAC in ESP, IKE, SRTP, TLS, SSH, TCP-AO, and other =
protocols.&nbsp;&nbsp;CMAC is a peer-reviewed variant of CBC-MAC, and =
that mode of operation may be the one that has seen the most formal =
analysis - at least three different proof-of-security methods have been =
presented in the literature (first Bellare, Killian, and Rogaway, then =
Bernstein, then&nbsp;Bellare, Pietrzak, Rogaway). &nbsp;Also note that =
XCBC-MAC (see RFC&nbsp;3566)&nbsp;has identical security properties to =
CMAC, and that the authentication properties of AES-CCM are =
similar.</DIV>=0A=
<DIV><BR></DIV>=0A=
<DIV>David</DIV></DIV></DIV></BODY></HTML>
------_=_NextPart_001_01C97297.ECEB4935--

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

_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
http://www.irtf.org/mailman/listinfo/cfrg

--===============1250677534==--


From cfrg-bounces@irtf.org  Fri Jan  9 12:30:55 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 8E9D63A67EA;
	Fri,  9 Jan 2009 12:30:55 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 0F4FF3A67EA
	for <cfrg@core3.amsl.com>; Fri,  9 Jan 2009 12:30:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level: 
X-Spam-Status: No, score=-2.598 tagged_above=-999 required=5
	tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id qfB9kE6d+E1j for <cfrg@core3.amsl.com>;
	Fri,  9 Jan 2009 12:30:53 -0800 (PST)
Received: from ag-out-0708.google.com (ag-out-0708.google.com [72.14.246.245])
	by core3.amsl.com (Postfix) with ESMTP id E9E8C3A63D2
	for <cfrg@irtf.org>; Fri,  9 Jan 2009 12:30:52 -0800 (PST)
Received: by ag-out-0708.google.com with SMTP id 23so7234897agd.11
	for <cfrg@irtf.org>; Fri, 09 Jan 2009 12:30:38 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:received:received:message-id:date:from:to
	:subject:cc:in-reply-to:mime-version:content-type:references;
	bh=epRt0JTeSdqiUc25/SzFQiG/hw/VBbxpfhrFNyyGZrc=;
	b=cIYe0cipJjI4G6q/7lj/ZZhC1iIcTnIe79u8zIAdgW6uYVHibRIWudEN2IeUJMbMsg
	7iUFpMoSRKrrwggIzPXfWuDqe7YiC3ObiGN+0ojlmgNy5QQrMpA4x0xXk0///8ZuuMbj
	MWTExPpKdohaLkStuKQHTSxPHaq3jJbY9uoZM=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=message-id:date:from:to:subject:cc:in-reply-to:mime-version
	:content-type:references;
	b=rrnnoCmfE1Nti+TydTOY/nbvybnaKso5r3xQ2ThLtuIiVDsSWNqbwkC86RjBdQh+P2
	dznghELjpYF6NboQLvz8npZ2Ejcrfybrf5+TX9aqEnTaD8LwxxAiGHTUjIpTYrPb8SpX
	ehyNJmKCOUMObt8eVirXYkMrjNesUNcrcCzkc=
Received: by 10.214.150.13 with SMTP id x13mr23386417qad.60.1231533038460;
	Fri, 09 Jan 2009 12:30:38 -0800 (PST)
Received: by 10.215.12.10 with HTTP; Fri, 9 Jan 2009 12:30:38 -0800 (PST)
Message-ID: <da7b3ce30901091230q727b1a0ar110a6a94884bc4af@mail.gmail.com>
Date: Fri, 9 Jan 2009 12:30:38 -0800
From: "Hal Finney" <hal.finney@gmail.com>
To: "Hallam-Baker, Phillip" <pbaker@verisign.com>
In-Reply-To: <2788466ED3E31C418E9ACC5C316615572FFC65@mou1wnexmb09.vcorp.ad.vrsn.com>
MIME-Version: 1.0
References: <00be01c96faf$8bea0720$800c6f0a@china.huawei.com>
	<2788466ED3E31C418E9ACC5C316615572FFC4B@mou1wnexmb09.vcorp.ad.vrsn.com>
	<4965AAFF.3060209@sbcglobal.net>
	<2788466ED3E31C418E9ACC5C316615572FFC54@mou1wnexmb09.vcorp.ad.vrsn.com>
	<B8AB1183-4531-413F-9186-29CC972A5712@cisco.com>
	<2788466ED3E31C418E9ACC5C316615572FFC56@mou1wnexmb09.vcorp.ad.vrsn.com>
	<53C20AF4-AD14-47FF-A108-AE88F1DC367C@cisco.com>
	<2788466ED3E31C418E9ACC5C316615572FFC63@mou1wnexmb09.vcorp.ad.vrsn.com>
	<F63CC092-AA48-4629-AD3A-1B338D9ECF56@cisco.com>
	<2788466ED3E31C418E9ACC5C316615572FFC65@mou1wnexmb09.vcorp.ad.vrsn.com>
Cc: David McGrew <mcgrew@cisco.com>, cfrg@irtf.org,
	Robert Moskowitz <rgm-sec@htt-consult.com>
Subject: Re: [Cfrg] suitability of AES-CMAC (was: Re: Analyzing IETF use of
	hash functions -- ORCHIDs)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mailman/private/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>
Content-Type: multipart/mixed; boundary="===============1463159722=="
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

--===============1463159722==
Content-Type: multipart/alternative; 
	boundary="----=_Part_72941_26144879.1231533038451"

------=_Part_72941_26144879.1231533038451
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Isn't the issue you are talking about collision resistance? You want it to
be hard to create two messages with the same MAC. Unfortunately this is not
a standard security property for MACs.

Hal Finney

On Jan 9, 2009 12:22 PM, "Hallam-Baker, Phillip" <pbaker@verisign.com>
wrote:

 What is the use of a proof of security if it does not cover every security
property that might be expected?

An algorithm can be acceptable for use without being a member of the
prefered set. Identifying the fact that there is a defect with the CMAC
formation when applied in certain situations is the starting point for
replacing it with a better one.

There are many people looking at randomized hashing generally. We need a MAC
function that can be used for randomized hashing that is not composed using
a questionable primitive. So having a construction that is unencumbered, can
perform all the functions of CMAC and in addition support random hashing
would be useful.

Preferably with full proofs of security.


------------------------------
*From:* David McGrew [mailto:mcgrew@cisco.com]
*Sent:* Fri 1/9/2009 1:17 PM
*To:* Hallam-Baker, Phillip
*Cc:* David Jacobson; cfrg@irtf.org; Robert Moskowitz
*Subject:* suitability of AES-CMAC (was: Re: [Cfrg] Analyzing IETF use of
hash functions -- ORCHIDs)

Hi Phillip, On Jan 9, 2009, at 8:02 AM, Hallam-Baker, Phillip wrote: > I am
not sure that there ar...

_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
http://www.irtf.org/mailman/listinfo/cfrg

------=_Part_72941_26144879.1231533038451
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<p>Isn&#39;t the issue you are talking about collision resistance? You want it to be hard to create two messages with the same MAC. Unfortunately this is not a standard security property for MACs.</p>
<p>Hal Finney</p>
<p><blockquote>On Jan 9, 2009 12:22 PM, &quot;Hallam-Baker, Phillip&quot; &lt;<a href="mailto:pbaker@verisign.com">pbaker@verisign.com</a>&gt; wrote:<br><br>


<div style="word-wrap:break-word">
<div dir="ltr">
<div dir="ltr"><font face="Arial" color="#000000" size="2">What is the use of a proof of security if it does not cover every security property that might be expected?</font></div>
<div dir="ltr"><font face="Arial" size="2"></font>&nbsp;</div>
<div dir="ltr"><font face="Arial" size="2">An algorithm can be acceptable for use without being a member of the prefered set. Identifying the fact that there is a defect&nbsp;with the CMAC formation when applied in certain situations&nbsp;is the starting point for replacing it with a better one.</font></div>

<div dir="ltr"><font face="Arial" size="2"></font>&nbsp;</div>
<div dir="ltr"><font face="Arial" size="2">There are many people looking at randomized hashing generally. We need a MAC function that can be used for randomized hashing that is not composed using a questionable primitive. So having a construction that is unencumbered, can perform all the functions of CMAC and in addition support random hashing would be useful.</font></div>

<div dir="ltr"><font face="Arial" size="2"></font>&nbsp;</div>
<div dir="ltr"><font face="Arial" size="2">Preferably with full proofs of security.</font></div></div>
<div dir="ltr">&nbsp;</div>
<div dir="ltr"><br>
<hr>
<font face="Tahoma" size="2"><b>From:</b> David McGrew [mailto:<a href="mailto:mcgrew@cisco.com" target="_blank">mcgrew@cisco.com</a>]<br><b>Sent:</b> Fri 1/9/2009 1:17 PM<br><b>To:</b> Hallam-Baker, Phillip<br><b>Cc:</b> David Jacobson; <a href="mailto:cfrg@irtf.org" target="_blank">cfrg@irtf.org</a>; Robert Moskowitz<br>
<b>Subject:</b> suitability of AES-CMAC (was: Re: [Cfrg] Analyzing IETF use of hash functions -- ORCHIDs)<br></font><br></div><p><font color="#500050">Hi&nbsp;Phillip,

On Jan 9, 2009, at 8:02 AM, Hallam-Baker, Phillip wrote:

&gt; I am not sure that there ar...</font></p></div><br>_______________________________________________<br>
Cfrg mailing list<br>
<a href="mailto:Cfrg@irtf.org">Cfrg@irtf.org</a><br>
<a href="http://www.irtf.org/mailman/listinfo/cfrg" target="_blank">http://www.irtf.org/mailman/listinfo/cfrg</a><br>
<br></blockquote></p>

------=_Part_72941_26144879.1231533038451--

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

_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
http://www.irtf.org/mailman/listinfo/cfrg

--===============1463159722==--


From cfrg-bounces@irtf.org  Fri Jan  9 12:37:35 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 286F63A6933;
	Fri,  9 Jan 2009 12:37:35 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 9FBB23A6933
	for <cfrg@core3.amsl.com>; Fri,  9 Jan 2009 12:37:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.472
X-Spam-Level: 
X-Spam-Status: No, score=-5.472 tagged_above=-999 required=5
	tests=[AWL=-0.270, BAYES_00=-2.599, HTML_MESSAGE=0.001,
	MIME_QP_LONG_LINE=1.396, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 2N7bSatFYpnu for <cfrg@core3.amsl.com>;
	Fri,  9 Jan 2009 12:37:32 -0800 (PST)
Received: from robin.verisign.com (robin.verisign.com [65.205.251.75])
	by core3.amsl.com (Postfix) with ESMTP id B3D1F3A67EA
	for <cfrg@irtf.org>; Fri,  9 Jan 2009 12:37:32 -0800 (PST)
Received: from mou1wnexcn01.vcorp.ad.vrsn.com (mailer1.verisign.com
	[65.205.251.34])
	by robin.verisign.com (8.12.11/8.13.4) with ESMTP id n09Kb4fJ023822;
	Fri, 9 Jan 2009 12:37:04 -0800
Received: from MOU1WNEXMB09.vcorp.ad.vrsn.com ([10.25.15.197]) by
	mou1wnexcn01.vcorp.ad.vrsn.com with Microsoft
	SMTPSVC(6.0.3790.3959); Fri, 9 Jan 2009 12:37:04 -0800
Content-class: urn:content-classes:message
MIME-Version: 1.0
X-MimeOLE: Produced By Microsoft Exchange V6.5
Date: Fri, 9 Jan 2009 12:33:49 -0800
Message-ID: <2788466ED3E31C418E9ACC5C316615572FFC67@mou1wnexmb09.vcorp.ad.vrsn.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Cfrg] suitability of AES-CMAC (was: Re: Analyzing IETF use of
	hash functions -- ORCHIDs)
Thread-Index: AclymSMkxBBEoMB4Q4uX9VhPXpCZGQAAHCiy
References: <00be01c96faf$8bea0720$800c6f0a@china.huawei.com><2788466ED3E31C418E9ACC5C316615572FFC4B@mou1wnexmb09.vcorp.ad.vrsn.com><4965AAFF.3060209@sbcglobal.net><2788466ED3E31C418E9ACC5C316615572FFC54@mou1wnexmb09.vcorp.ad.vrsn.com><B8AB1183-4531-413F-9186-29CC972A5712@cisco.com><2788466ED3E31C418E9ACC5C316615572FFC56@mou1wnexmb09.vcorp.ad.vrsn.com><53C20AF4-AD14-47FF-A108-AE88F1DC367C@cisco.com><2788466ED3E31C418E9ACC5C316615572FFC63@mou1wnexmb09.vcorp.ad.vrsn.com><F63CC092-AA48-4629-AD3A-1B338D9ECF56@cisco.com><2788466ED3E31C418E9ACC5C316615572FFC65@mou1wnexmb09.vcorp.ad.vrsn.com>
	<da7b3ce30901091230q727b1a0ar110a6a94884bc4af@mail.gmail.com>
From: "Hallam-Baker, Phillip" <pbaker@verisign.com>
To: "Hal Finney" <hal.finney@gmail.com>
X-OriginalArrivalTime: 09 Jan 2009 20:37:04.0071 (UTC)
	FILETIME=[07F3AD70:01C9729A]
Cc: David McGrew <mcgrew@cisco.com>, cfrg@irtf.org,
	Robert Moskowitz <rgm-sec@htt-consult.com>
Subject: Re: [Cfrg] suitability of AES-CMAC (was: Re: Analyzing IETF use of
	hash functions -- ORCHIDs)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mailman/private/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>
Content-Type: multipart/mixed; boundary="===============1531127341=="
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

This is a multi-part message in MIME format.

--===============1531127341==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C9729A.07A7CFE9"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C9729A.07A7CFE9
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

You think you know how to create a collision in HMAC? How about HTTP =
Digest?
=20
It was a concern in HTTP digest because I knew that there was a risk =
that the construction would be reused in other circumstances where =
collision resistance might have been an issue.
=20

________________________________

From: Hal Finney [mailto:hal.finney@gmail.com]
Sent: Fri 1/9/2009 3:30 PM
To: Hallam-Baker, Phillip
Cc: cfrg@irtf.org; David McGrew; Robert Moskowitz
Subject: Re: [Cfrg] suitability of AES-CMAC (was: Re: Analyzing IETF use =
of hash functions -- ORCHIDs)



Isn't the issue you are talking about collision resistance? You want it =
to be hard to create two messages with the same MAC. Unfortunately this =
is not a standard security property for MACs.

Hal Finney

	On Jan 9, 2009 12:22 PM, "Hallam-Baker, Phillip" <pbaker@verisign.com> =
wrote:
=09
=09
	What is the use of a proof of security if it does not cover every =
security property that might be expected?
	=20
	An algorithm can be acceptable for use without being a member of the =
prefered set. Identifying the fact that there is a defect with the CMAC =
formation when applied in certain situations is the starting point for =
replacing it with a better one.
	=20
	There are many people looking at randomized hashing generally. We need =
a MAC function that can be used for randomized hashing that is not =
composed using a questionable primitive. So having a construction that =
is unencumbered, can perform all the functions of CMAC and in addition =
support random hashing would be useful.
	=20
	Preferably with full proofs of security.
	=20

________________________________

	From: David McGrew [mailto:mcgrew@cisco.com]
	Sent: Fri 1/9/2009 1:17 PM
	To: Hallam-Baker, Phillip
	Cc: David Jacobson; cfrg@irtf.org; Robert Moskowitz
	Subject: suitability of AES-CMAC (was: Re: [Cfrg] Analyzing IETF use of =
hash functions -- ORCHIDs)
=09
=09

	Hi Phillip, On Jan 9, 2009, at 8:02 AM, Hallam-Baker, Phillip wrote: > =
I am not sure that there ar...


	_______________________________________________
	Cfrg mailing list
	Cfrg@irtf.org
	http://www.irtf.org/mailman/listinfo/cfrg
=09
=09


------_=_NextPart_001_01C9729A.07A7CFE9
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<HTML dir=3Dltr><HEAD>=0A=
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dunicode">=0A=
<META content=3D"MSHTML 6.00.6001.18148" name=3DGENERATOR></HEAD>=0A=
<BODY>=0A=
<DIV id=3DidOWAReplyText46957 dir=3Dltr>=0A=
<DIV dir=3Dltr><FONT face=3DArial color=3D#000000 size=3D2>You think you =
know how to create a collision in HMAC? How about HTTP =
Digest?</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2>It was a concern in HTTP =
digest because I knew that there was a risk that the construction would =
be reused in other circumstances where collision resistance might have =
been an issue.</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></DIV>=0A=
<DIV dir=3Dltr><BR>=0A=
<HR tabIndex=3D-1>=0A=
<FONT face=3DTahoma size=3D2><B>From:</B> Hal Finney =
[mailto:hal.finney@gmail.com]<BR><B>Sent:</B> Fri 1/9/2009 3:30 =
PM<BR><B>To:</B> Hallam-Baker, Phillip<BR><B>Cc:</B> cfrg@irtf.org; =
David McGrew; Robert Moskowitz<BR><B>Subject:</B> Re: [Cfrg] suitability =
of AES-CMAC (was: Re: Analyzing IETF use of hash functions -- =
ORCHIDs)<BR></FONT><BR></DIV>=0A=
<DIV>=0A=
<P>Isn't the issue you are talking about collision resistance? You want =
it to be hard to create two messages with the same MAC. Unfortunately =
this is not a standard security property for MACs.</P>=0A=
<P>Hal Finney</P>=0A=
<P>=0A=
<BLOCKQUOTE>On Jan 9, 2009 12:22 PM, "Hallam-Baker, Phillip" &lt;<A =
href=3D"mailto:pbaker@verisign.com">pbaker@verisign.com</A>&gt; =
wrote:<BR><BR>=0A=
<DIV style=3D"WORD-WRAP: break-word">=0A=
<DIV dir=3Dltr>=0A=
<DIV dir=3Dltr><FONT face=3DArial color=3D#000000 size=3D2>What is the =
use of a proof of security if it does not cover every security property =
that might be expected?</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2>An algorithm can be =
acceptable for use without being a member of the prefered set. =
Identifying the fact that there is a defect&nbsp;with the CMAC formation =
when applied in certain situations&nbsp;is the starting point for =
replacing it with a better one.</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2>There are many people looking =
at randomized hashing generally. We need a MAC function that can be used =
for randomized hashing that is not composed using a questionable =
primitive. So having a construction that is unencumbered, can perform =
all the functions of CMAC and in addition support random hashing would =
be useful.</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2>Preferably with full proofs =
of security.</FONT></DIV></DIV>=0A=
<DIV dir=3Dltr>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><BR>=0A=
<HR>=0A=
<FONT face=3DTahoma size=3D2><B>From:</B> David McGrew [mailto:<A =
href=3D"mailto:mcgrew@cisco.com" =
target=3D_blank>mcgrew@cisco.com</A>]<BR><B>Sent:</B> Fri 1/9/2009 1:17 =
PM<BR><B>To:</B> Hallam-Baker, Phillip<BR><B>Cc:</B> David Jacobson; <A =
href=3D"mailto:cfrg@irtf.org" target=3D_blank>cfrg@irtf.org</A>; Robert =
Moskowitz<BR><B>Subject:</B> suitability of AES-CMAC (was: Re: [Cfrg] =
Analyzing IETF use of hash functions -- ORCHIDs)<BR></FONT><BR></DIV>=0A=
<P><FONT color=3D#500050>Hi&nbsp;Phillip, On Jan 9, 2009, at 8:02 AM, =
Hallam-Baker, Phillip wrote: &gt; I am not sure that there =
ar...</FONT></P></DIV><BR>_______________________________________________=
<BR>Cfrg mailing list<BR><A =
href=3D"mailto:Cfrg@irtf.org">Cfrg@irtf.org</A><BR><A =
href=3D"http://www.irtf.org/mailman/listinfo/cfrg" =
target=3D_blank>http://www.irtf.org/mailman/listinfo/cfrg</A><BR><BR></BL=
OCKQUOTE>=0A=
<P></P></DIV></BODY></HTML>
------_=_NextPart_001_01C9729A.07A7CFE9--

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

_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
http://www.irtf.org/mailman/listinfo/cfrg

--===============1531127341==--


From cfrg-bounces@irtf.org  Fri Jan  9 13:47:56 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 19F5028C110;
	Fri,  9 Jan 2009 13:47:56 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 1DA0228C10E
	for <cfrg@core3.amsl.com>; Fri,  9 Jan 2009 13:47:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.266
X-Spam-Level: 
X-Spam-Status: No, score=-5.266 tagged_above=-999 required=5 tests=[AWL=1.333, 
	BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id yKWKrgCxnwY2 for <cfrg@core3.amsl.com>;
	Fri,  9 Jan 2009 13:47:53 -0800 (PST)
Received: from biscayne-one-station.mit.edu (BISCAYNE-ONE-STATION.MIT.EDU
	[18.7.7.80]) by core3.amsl.com (Postfix) with ESMTP id 32A3928C0EA
	for <cfrg@irtf.org>; Fri,  9 Jan 2009 13:47:53 -0800 (PST)
Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103])
	by biscayne-one-station.mit.edu (8.13.6/8.9.2) with ESMTP id
	n09LlZVh013149; Fri, 9 Jan 2009 16:47:35 -0500 (EST)
Received: from NOME-KING.MIT.EDU (NOME-KING.MIT.EDU [18.18.1.160])
	(authenticated bits=0) (User authenticated as raeburn@ATHENA.MIT.EDU)
	by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id n09LlU59012995
	(version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT);
	Fri, 9 Jan 2009 16:47:31 -0500 (EST)
From: Ken Raeburn <raeburn@MIT.EDU>
To: "Hallam-Baker, Phillip" <pbaker@verisign.com>
In-Reply-To: <2788466ED3E31C418E9ACC5C316615572FFC65@mou1wnexmb09.vcorp.ad.vrsn.com>
References: <00be01c96faf$8bea0720$800c6f0a@china.huawei.com>	<4964CB91.8030001@htt-consult.com>
	<2788466ED3E31C418E9ACC5C316615572FFC4B@mou1wnexmb09.vcorp.ad.vrsn.com>
	<4965AAFF.3060209@sbcglobal.net>
	<2788466ED3E31C418E9ACC5C316615572FFC54@mou1wnexmb09.vcorp.ad.vrsn.com>
	<B8AB1183-4531-413F-9186-29CC972A5712@cisco.com>
	<2788466ED3E31C418E9ACC5C316615572FFC56@mou1wnexmb09.vcorp.ad.vrsn.com>
	<53C20AF4-AD14-47FF-A108-AE88F1DC367C@cisco.com>
	<2788466ED3E31C418E9ACC5C316615572FFC63@mou1wnexmb09.vcorp.ad.vrsn.com>
	<F63CC092-AA48-4629-AD3A-1B338D9ECF56@cisco.com>
	<2788466ED3E31C418E9ACC5C316615572FFC65@mou1wnexmb09.vcorp.ad.vrsn.com>
Message-Id: <572E6E59-A08B-4D61-9368-AC20EC51923A@mit.edu>
Mime-Version: 1.0 (Apple Message framework v930.3)
Date: Fri, 9 Jan 2009 16:47:30 -0500
X-Mailer: Apple Mail (2.930.3)
X-Scanned-By: MIMEDefang 2.42
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] suitability of AES-CMAC (was: Re: Analyzing IETF use of
	hash functions -- ORCHIDs)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mailman/private/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>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes"
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

On Jan 9, 2009, at 15:21, Hallam-Baker, Phillip wrote:
> What is the use of a proof of security if it does not cover every  
> security property that might be expected?

If there's one thing clear in this discussion, it's that different  
people have different ideas of which security properties might be  
expected, or even what properties would be considered "security  
properties"; one person's "security property" may be another's  
"vulnerability".  It's kind of hard to prove that an algorithm has  
properties you haven't thought of.

> Identifying the fact that there is a defect with the CMAC formation  
> when applied in certain situations is the starting point for  
> replacing it with a better one.

All the hammers at my local hardware store seem particularly ill- 
suited to the task of brushing my teeth.  Clearly, this is a defect  
with the design of the hammers, no one should use these defective  
devices for any purposes, and they should be replaced with better  
ones. :-)

> There are many people looking at randomized hashing generally. We  
> need a MAC function that can be used for randomized hashing that is  
> not composed using a questionable primitive. So having a  
> construction that is unencumbered, can perform all the functions of  
> CMAC and in addition support random hashing would be useful.

One might be able to build a hybrid hammer-toothbrush.  That doesn't  
mean it's a good idea to insist that people shouldn't use a  
traditional hammer for the tasks it's good for, or a traditional  
toothbrush for the tasks it's good for.

Ken
_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
http://www.irtf.org/mailman/listinfo/cfrg


From cfrg-bounces@irtf.org  Fri Jan  9 14:05:36 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 715E23A697D;
	Fri,  9 Jan 2009 14:05:36 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id F0F6F3A697D
	for <cfrg@core3.amsl.com>; Fri,  9 Jan 2009 14:05:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.561
X-Spam-Level: 
X-Spam-Status: No, score=-6.561 tagged_above=-999 required=5 tests=[AWL=0.037, 
	BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id pTc0ljVrL8qQ for <cfrg@core3.amsl.com>;
	Fri,  9 Jan 2009 14:05:33 -0800 (PST)
Received: from sj-iport-1.cisco.com (sj-iport-1.cisco.com [171.71.176.70])
	by core3.amsl.com (Postfix) with ESMTP id 722FE3A6964
	for <cfrg@irtf.org>; Fri,  9 Jan 2009 14:05:33 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.37,241,1231113600"; 
	d="scan'208,217";a="127122608"
Received: from sj-dkim-3.cisco.com ([171.71.179.195])
	by sj-iport-1.cisco.com with ESMTP; 09 Jan 2009 22:05:07 +0000
Received: from sj-core-2.cisco.com (sj-core-2.cisco.com [171.71.177.254])
	by sj-dkim-3.cisco.com (8.12.11/8.12.11) with ESMTP id n09M57hv000341; 
	Fri, 9 Jan 2009 14:05:07 -0800
Received: from xbh-sjc-211.amer.cisco.com (xbh-sjc-211.cisco.com
	[171.70.151.144])
	by sj-core-2.cisco.com (8.13.8/8.13.8) with ESMTP id n09M57xA018043;
	Fri, 9 Jan 2009 22:05:07 GMT
Received: from xfe-sjc-211.amer.cisco.com ([171.70.151.174]) by
	xbh-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Fri, 9 Jan 2009 14:05:07 -0800
Received: from stealth-10-32-254-212.cisco.com ([10.32.254.212]) by
	xfe-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Fri, 9 Jan 2009 14:05:06 -0800
Message-Id: <CEBA092F-0A83-4C7F-88AD-7522764F7C4A@cisco.com>
From: David McGrew <mcgrew@cisco.com>
To: "Hallam-Baker, Phillip" <pbaker@verisign.com>
In-Reply-To: <2788466ED3E31C418E9ACC5C316615572FFC65@mou1wnexmb09.vcorp.ad.vrsn.com>
Mime-Version: 1.0 (Apple Message framework v929.2)
Date: Fri, 9 Jan 2009 14:05:05 -0800
References: <00be01c96faf$8bea0720$800c6f0a@china.huawei.com>	<4964CB91.8030001@htt-consult.com>
	<2788466ED3E31C418E9ACC5C316615572FFC4B@mou1wnexmb09.vcorp.ad.vrsn.com>
	<4965AAFF.3060209@sbcglobal.net>
	<2788466ED3E31C418E9ACC5C316615572FFC54@mou1wnexmb09.vcorp.ad.vrsn.com>
	<B8AB1183-4531-413F-9186-29CC972A5712@cisco.com>
	<2788466ED3E31C418E9ACC5C316615572FFC56@mou1wnexmb09.vcorp.ad.vrsn.com>
	<53C20AF4-AD14-47FF-A108-AE88F1DC367C@cisco.com>
	<2788466ED3E31C418E9ACC5C316615572FFC63@mou1wnexmb09.vcorp.ad.vrsn.com>
	<F63CC092-AA48-4629-AD3A-1B338D9ECF56@cisco.com>
	<2788466ED3E31C418E9ACC5C316615572FFC65@mou1wnexmb09.vcorp.ad.vrsn.com>
X-Mailer: Apple Mail (2.929.2)
X-OriginalArrivalTime: 09 Jan 2009 22:05:07.0079 (UTC)
	FILETIME=[54DEB970:01C972A6]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=10806; t=1231538707;
	x=1232402707; c=relaxed/simple; s=sjdkim3002;
	h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version;
	d=cisco.com; i=mcgrew@cisco.com;
	z=From:=20David=20McGrew=20<mcgrew@cisco.com>
	|Subject:=20Re=3A=20suitability=20of=20AES-CMAC=20(was=3A=2
	0Re=3A=20[Cfrg]=20Analyzing=20IETF=20use=20of=20hash=20funct
	ions=20--=20ORCHIDs) |Sender:=20;
	bh=Enlts7XypWthIBSvo0zmeKJrXifJudtQ3YTHxX6l6xw=;
	b=eaQeIkZPxDXeohGoJWQVPfaCphzQgzuhpQey1X27vMyEtrZbS9C9+VSqyp
	V/dvbVcNxsMnVekHEeKW3IMdYpJUJp0CaYQgBHSRHnq+KON/BIwZigeG9B0Z
	W5zFtHnhbG;
Authentication-Results: sj-dkim-3; header.From=mcgrew@cisco.com; dkim=pass (
	sig from cisco.com/sjdkim3002 verified; ); 
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] suitability of AES-CMAC (was: Re: Analyzing IETF use of
	hash functions -- ORCHIDs)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mailman/private/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>
Content-Type: multipart/mixed; boundary="===============0046770731=="
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org


--===============0046770731==
Content-Type: multipart/alternative; boundary=Apple-Mail-337--171564513


--Apple-Mail-337--171564513
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed;
	delsp=yes
Content-Transfer-Encoding: 7bit

Phillip,

On Jan 9, 2009, at 12:21 PM, Hallam-Baker, Phillip wrote:

> What is the use of a proof of security if it does not cover every  
> security property that might be expected?
>
> An algorithm can be acceptable for use without being a member of the  
> prefered set. Identifying the fact that there is a defect with the  
> CMAC formation when applied in certain situations is the starting  
> point for replacing it with a better one.

It is completely unfair to CMAC to claim that it is defective because  
it doesn't meet your goal.   It is like condemning a knife because it  
makes a poor spoon.  How many MACs meet that goal?    None of the MACs  
based on block cipher modes or universal hashing do.

>
> There are many people looking at randomized hashing generally. We  
> need a MAC function that can be used for randomized hashing that is  
> not composed using a questionable primitive.

The randomized hashing that I'm aware of (RMX mode of Halevi and  
Krawczyk, as in draft-irtf-cfrg-rhash-01.txt) uses a hash, not a  
MAC.   If there is a random hash proposal based on a MAC, can you  
please send out a reference to it?

> So having a construction that is unencumbered, can perform all the  
> functions of CMAC and in addition support random hashing would be  
> useful.
>
> Preferably with full proofs of security.

Your position on proofs of security seems convoluted.  Above you  
dismiss the proofs for the vast majority of MACs since they don't  
include the additional property that you're looking for.  For that  
matter, is there *any* MAC for which there is a published analysis  
showing that the MAC has the property that you want?    Do HMAC-MD5 or  
HMAC-SHA1 have that property?

It is unreasonable to expect that all MACs should meet this new  
criterion that you are proposing.  The property that you want is not a  
natural extension of the MAC model, but rather something more like  
collision resistance, as Hal pointed out.

David

>
>
> From: David McGrew [mailto:mcgrew@cisco.com]
> Sent: Fri 1/9/2009 1:17 PM
> To: Hallam-Baker, Phillip
> Cc: David Jacobson; cfrg@irtf.org; Robert Moskowitz
> Subject: suitability of AES-CMAC (was: Re: [Cfrg] Analyzing IETF use  
> of hash functions -- ORCHIDs)
>
> Hi Phillip,
>
> On Jan 9, 2009, at 8:02 AM, Hallam-Baker, Phillip wrote:
>
>> I am not sure that there are many prototcols where truncation takes  
>> place, apart from IPSEC and similar transport layer security I  
>> can't think of a good reason to do that. And in the case of IPSEC  
>> the practical use of the protocol is a very small subset of the  
>> original design intent.
>>
>> Given the previous experience of security breaches that have  
>> occured when a substitution of this type takes place without a full  
>> reconsideration of the security requirements of the protocol, my  
>> preference would be to avoid CMAC-AES for any purpose.
>>
>
> I strongly disagree; security wise, CMAC is well suited for use as a  
> MAC in ESP, IKE, SRTP, TLS, SSH, TCP-AO, and other protocols.  CMAC  
> is a peer-reviewed variant of CBC-MAC, and that mode of operation  
> may be the one that has seen the most formal analysis - at least  
> three different proof-of-security methods have been presented in the  
> literature (first Bellare, Killian, and Rogaway, then Bernstein,  
> then Bellare, Pietrzak, Rogaway).  Also note that XCBC-MAC (see RFC  
> 3566) has identical security properties to CMAC, and that the  
> authentication properties of AES-CCM are similar.
>
> David


--Apple-Mail-337--171564513
Content-Type: text/html;
	charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

<html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; ">Phillip,<div><br><div><div>On =
Jan 9, 2009, at 12:21 PM, Hallam-Baker, Phillip wrote:</div><br =
class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><div =
style=3D"WORD-WRAP: break-word"> <div id=3D"idOWAReplyText85784" =
dir=3D"ltr"> <div dir=3D"ltr" style=3D"font-size: 15px; "><font =
face=3D"Arial" color=3D"#000000" size=3D"2" style=3D"font-size: 12px; =
">What is the use of a proof of security if it does not cover every =
security property that might be expected?</font></div> <div dir=3D"ltr" =
style=3D"font-size: 15px; "><font face=3D"Arial" size=3D"2" =
style=3D"font-size: 12px; "></font>&nbsp;</div> <div dir=3D"ltr" =
style=3D"font-size: 15px; "><font face=3D"Arial" size=3D"2" =
style=3D"font-size: 12px; ">An algorithm can be acceptable for use =
without being a member of the prefered set. Identifying the fact that =
there is a defect&nbsp;with the CMAC formation when applied in certain =
situations&nbsp;is the starting point for replacing it with a better =
one.</font></div></div></div></blockquote><div><br></div><div>It is =
completely unfair to CMAC to claim that it is defective because it =
doesn't meet your goal. &nbsp;&nbsp;It is like condemning a knife =
because it makes a poor spoon. &nbsp;How many MACs meet that goal? =
&nbsp; &nbsp;None of the MACs based on block cipher modes or universal =
hashing do. &nbsp;</div><div><br></div><blockquote type=3D"cite"><div =
style=3D"WORD-WRAP: break-word"><div id=3D"idOWAReplyText85784" =
dir=3D"ltr"> <div dir=3D"ltr" style=3D"font-size: 15px; "><font =
face=3D"Arial" size=3D"2" style=3D"font-size: 12px; =
"></font>&nbsp;</div> <div dir=3D"ltr" style=3D"font-size: 15px; "><font =
face=3D"Arial" size=3D"2" style=3D"font-size: 12px; ">There are many =
people looking at randomized hashing generally. We need a MAC function =
that can be used for randomized hashing that is not composed using a =
questionable primitive. =
</font></div></div></div></blockquote><div><br></div><div>The =
randomized&nbsp;hashing that I'm aware of (RMX mode of Halevi =
and&nbsp;Krawczyk, as in&nbsp;draft-irtf-cfrg-rhash-01.txt) uses a hash, =
not a MAC. &nbsp; If there is a random hash proposal based on a MAC, can =
you please send out a reference to it?</div><br><blockquote =
type=3D"cite"><div style=3D"WORD-WRAP: break-word"><div =
id=3D"idOWAReplyText85784" dir=3D"ltr"><div dir=3D"ltr" =
style=3D"font-size: 15px; "><font face=3D"Arial" size=3D"2" =
style=3D"font-size: 12px; ">So having a construction that is =
unencumbered, can perform all the functions of CMAC and in addition =
support random hashing would be useful.</font></div> <div dir=3D"ltr" =
style=3D"font-size: 15px; "><font face=3D"Arial" size=3D"2" =
style=3D"font-size: 12px; "></font>&nbsp;</div> <div dir=3D"ltr" =
style=3D"font-size: 15px; "><font face=3D"Arial" size=3D"2" =
style=3D"font-size: 12px; ">Preferably with full proofs of =
security.</font></div></div></div></blockquote><div><br></div><div>Your =
position on proofs of security seems convoluted. &nbsp;Above you dismiss =
the proofs for the vast majority of MACs since they don't include the =
additional property that you're looking for. &nbsp;For that matter, is =
there *any* MAC for which there is a published analysis showing that the =
MAC has the property that you want? &nbsp; &nbsp;Do HMAC-MD5 or =
HMAC-SHA1 have that property?</div><div><br></div><div>It is =
unreasonable to expect that all MACs should meet this new criterion that =
you are proposing. &nbsp;The property that you want is not a natural =
extension of the MAC model, but rather something more like collision =
resistance, as Hal pointed out. =
&nbsp;&nbsp;</div><div><br></div><div>David</div><br><blockquote =
type=3D"cite"><div style=3D"WORD-WRAP: break-word"> <div dir=3D"ltr" =
style=3D"font-size: 15px; ">&nbsp;</div> <div dir=3D"ltr"><br> <hr =
tabindex=3D"-1"> <font face=3D"Tahoma" size=3D"2"><b>From:</b> David =
McGrew [<a =
href=3D"mailto:mcgrew@cisco.com">mailto:mcgrew@cisco.com</a>]<br><b>Sent:<=
/b> Fri 1/9/2009 1:17 PM<br><b>To:</b> Hallam-Baker, =
Phillip<br><b>Cc:</b> David Jacobson; <a =
href=3D"mailto:cfrg@irtf.org">cfrg@irtf.org</a>; Robert =
Moskowitz<br><b>Subject:</b> suitability of AES-CMAC (was: Re: [Cfrg] =
Analyzing IETF use of hash functions -- ORCHIDs)<br></font><br></div> =
<div>Hi&nbsp;Phillip, <div><br> <div> <div>On Jan 9, 2009, at 8:02 AM, =
Hallam-Baker, Phillip wrote:</div><font class=3D"Apple-style-span" =
color=3D"#000000"><br class=3D"Apple-interchange-newline" =
style=3D"FONT-SIZE: 15px"></font> <blockquote type=3D"cite"> <div =
style=3D"WORD-WRAP: break-word"> <div id=3D"idOWAReplyText30050" =
dir=3D"ltr"> <div dir=3D"ltr" style=3D"FONT-SIZE: 15px"><font =
style=3D"FONT-SIZE: 12px" face=3D"Arial" size=3D"2"><font =
class=3D"Apple-style-span" color=3D"#000000">I am not sure that there =
are many prototcols where truncation takes place, apart from IPSEC and =
similar transport layer security I can't think of a good reason to do =
that. And in the case of IPSEC the practical use of the protocol is a =
very small subset of the original design intent.</font></font></div> =
<div dir=3D"ltr" style=3D"FONT-SIZE: 15px"><font =
class=3D"Apple-style-span" color=3D"#000000"><font style=3D"FONT-SIZE: =
12px" face=3D"Arial" size=3D"2"></font></font>&nbsp;</div> <div =
dir=3D"ltr" style=3D"FONT-SIZE: 15px"><font style=3D"FONT-SIZE: 12px" =
face=3D"Arial" size=3D"2"><font class=3D"Apple-style-span" =
color=3D"#000000">Given the previous experience of security breaches =
that have occured when a substitution of this type takes place without a =
full reconsideration of the security requirements of the protocol, my =
preference would be to avoid CMAC-AES for any =
purpose.</font></font></div> <div dir=3D"ltr" style=3D"FONT-SIZE: =
15px"><font class=3D"Apple-style-span" color=3D"#000000"><font =
style=3D"FONT-SIZE: 12px" face=3D"Arial" =
size=3D"2"></font></font>&nbsp;</div></div></div></blockquote><br></div> =
<div>I strongly disagree; security wise, CMAC is well suited for use as =
a MAC in ESP, IKE, SRTP, TLS, SSH, TCP-AO, and other =
protocols.&nbsp;&nbsp;CMAC is a peer-reviewed variant of CBC-MAC, and =
that mode of operation may be the one that has seen the most formal =
analysis - at least three different proof-of-security methods have been =
presented in the literature (first Bellare, Killian, and Rogaway, then =
Bernstein, then&nbsp;Bellare, Pietrzak, Rogaway). &nbsp;Also note that =
XCBC-MAC (see RFC&nbsp;3566)&nbsp;has identical security properties to =
CMAC, and that the authentication properties of AES-CCM are =
similar.</div> <div><br></div> =
<div>David</div></div></div></div></blockquote></div><br></div></body></ht=
ml>=

--Apple-Mail-337--171564513--

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

_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
http://www.irtf.org/mailman/listinfo/cfrg

--===============0046770731==--


From cfrg-bounces@irtf.org  Fri Jan  9 14:18:03 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 7CBC928C12F;
	Fri,  9 Jan 2009 14:18:03 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 1431128C137
	for <cfrg@core3.amsl.com>; Fri,  9 Jan 2009 14:18:02 -0800 (PST)
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 ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id PC-Ur5BFgYrQ for <cfrg@core3.amsl.com>;
	Fri,  9 Jan 2009 14:18:01 -0800 (PST)
Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.170])
	by core3.amsl.com (Postfix) with ESMTP id F275128C12F
	for <cfrg@irtf.org>; Fri,  9 Jan 2009 14:18:00 -0800 (PST)
Received: by wf-out-1314.google.com with SMTP id 24so12532560wfg.7
	for <cfrg@irtf.org>; Fri, 09 Jan 2009 14:17:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:received:received:message-id:date:from:to
	:subject:in-reply-to:mime-version:content-type
	:content-transfer-encoding:content-disposition:references;
	bh=liR4Ly4mAVT8E81qO7r/5ydu+PdOsUqRe/fodmjPkYo=;
	b=gSXTvwU1RfRuIJypyls55VR/PXrzHHIyvxCMi88MA411/JR3L2mdCOsWoBydJfRVHa
	DteKMbT1LSP3DTjFKxQ78/07zE6Yw9rt/2YGBgBC8vomGO4/Unq80gx3VhhjxCTgG1E9
	Herxi5C8Qv24uCPudH0ZMSOL3JOe9Yn/GPwSo=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=message-id:date:from:to:subject:in-reply-to:mime-version
	:content-type:content-transfer-encoding:content-disposition
	:references;
	b=fFcb5nnIXkjyEUTPbA+XGTfhwkxTRt64IM9Pc5REamaKSE/54qdmucnV0Rhoz0HQlQ
	qoB+1M7TUFZawW9g2ojTMFtXsKUSB+MTw+EGGELiznuPPbBPG6iHkU9c4EXPEo84ZL9u
	qb2xRfmrkVzInM0f/ewl57jPyGFS7WCNk9UwQ=
Received: by 10.142.234.16 with SMTP id g16mr10921486wfh.107.1231539467222;
	Fri, 09 Jan 2009 14:17:47 -0800 (PST)
Received: by 10.142.58.3 with HTTP; Fri, 9 Jan 2009 14:17:47 -0800 (PST)
Message-ID: <f207274d0901091417q4b5af712i54fc276556931dc1@mail.gmail.com>
Date: Fri, 9 Jan 2009 17:17:47 -0500
From: "John Wilkinson" <wilkjohn@gmail.com>
To: cfrg@irtf.org
In-Reply-To: <2788466ED3E31C418E9ACC5C316615572FFC67@mou1wnexmb09.vcorp.ad.vrsn.com>
MIME-Version: 1.0
Content-Disposition: inline
References: <00be01c96faf$8bea0720$800c6f0a@china.huawei.com>
	<2788466ED3E31C418E9ACC5C316615572FFC54@mou1wnexmb09.vcorp.ad.vrsn.com>
	<B8AB1183-4531-413F-9186-29CC972A5712@cisco.com>
	<2788466ED3E31C418E9ACC5C316615572FFC56@mou1wnexmb09.vcorp.ad.vrsn.com>
	<53C20AF4-AD14-47FF-A108-AE88F1DC367C@cisco.com>
	<2788466ED3E31C418E9ACC5C316615572FFC63@mou1wnexmb09.vcorp.ad.vrsn.com>
	<F63CC092-AA48-4629-AD3A-1B338D9ECF56@cisco.com>
	<2788466ED3E31C418E9ACC5C316615572FFC65@mou1wnexmb09.vcorp.ad.vrsn.com>
	<da7b3ce30901091230q727b1a0ar110a6a94884bc4af@mail.gmail.com>
	<2788466ED3E31C418E9ACC5C316615572FFC67@mou1wnexmb09.vcorp.ad.vrsn.com>
Subject: Re: [Cfrg] suitability of AES-CMAC (was: Re: Analyzing IETF use of
	hash functions -- ORCHIDs)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mailman/private/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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

On Fri, Jan 9, 2009 at 3:33 PM, Hallam-Baker, Phillip
<pbaker@verisign.com> wrote:
> You think you know how to create a collision in HMAC? How about HTTP Digest?

No, I'm sure I don't. However, collision resistance is not generally
accepted as a required property for a MAC; the fact that HMAC *may*
have collision resistance is an artifact of it being constructed from
primitive functions that were designed to be collision resistant (but
aren't, in the cases of MD5 and SHA-1).

HMAC has been proven to be a secure PRF (and therefore a secure MAC)
only when the key is kept secret. It has *no* useful provable
properties (that I am aware of) when used with a public "key" in a
randomized hashing scheme as you suggest. This was part of the
motivation for the RMX randomized hashing mode David refers to.
_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
http://www.irtf.org/mailman/listinfo/cfrg


From cfrg-bounces@irtf.org  Fri Jan  9 14:26:38 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 162AA3A6893;
	Fri,  9 Jan 2009 14:26:38 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 779FE3A6893
	for <cfrg@core3.amsl.com>; Fri,  9 Jan 2009 14:26:36 -0800 (PST)
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=[AWL=0.000, 
	BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id h2Jni1UsQ8uf for <cfrg@core3.amsl.com>;
	Fri,  9 Jan 2009 14:26:35 -0800 (PST)
Received: from taverner.cs.berkeley.edu (taverner.CS.Berkeley.EDU
	[128.32.168.222])
	by core3.amsl.com (Postfix) with ESMTP id 9A27B3A63D2
	for <cfrg@irtf.org>; Fri,  9 Jan 2009 14:26:35 -0800 (PST)
Received: from taverner.cs.berkeley.edu (localhost.localdomain [127.0.0.1])
	by taverner.cs.berkeley.edu (8.14.2/8.14.2) with ESMTP id
	n09MQMFK027724
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Fri, 9 Jan 2009 14:26:22 -0800
Received: (from daw@localhost)
	by taverner.cs.berkeley.edu (8.14.2/8.14.2/Submit) id n09MQMBc027722;
	Fri, 9 Jan 2009 14:26:22 -0800
From: David Wagner <daw@cs.berkeley.edu>
Message-Id: <200901092226.n09MQMBc027722@taverner.cs.berkeley.edu>
To: cfrg@irtf.org
Date: Fri, 9 Jan 2009 14:26:22 -0800 (PST)
In-Reply-To: <2788466ED3E31C418E9ACC5C316615572FFC63@mou1wnexmb09.vcorp.ad.vrsn.com>
References: <00be01c96faf$8bea0720$800c6f0a@china.huawei.com>
	<2788466ED3E31C418E9ACC5C316615572FFC56@mou1wnexmb09.vcorp.ad.vrsn.com>
	<53C20AF4-AD14-47FF-A108-AE88F1DC367C@cisco.com>
	<2788466ED3E31C418E9ACC5C316615572FFC63@mou1wnexmb09.vcorp.ad.vrsn.com>
Secret-Bounce-Tag: 9a029cbee41caf2ca77a77efa3c13981
X-Mailer: ELM [version 2.5 PL6]
MIME-Version: 1.0
Subject: [Cfrg]  Analyzing IETF use of hash functions -- ORCHIDs
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mailman/private/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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

[My earlier email seems to have been dropped by the list.
I'll try again.]

Hallam-Baker, Phillip wrote:
>I am not sure that there are many prototcols where truncation takes
>place, apart from IPSEC and similar transport layer security I can't
>think of a good reason to do that. And in the case of IPSEC the
>practical use of the protocol is a very small subset of the original
>design intent.
> 
>Given the previous experience of security breaches that have occured
>when a substitution of this type takes place without a full
>reconsideration of the security requirements of the protocol, my
>preference would be to avoid CMAC-AES for any purpose.

Well, I guess I disagree.  I'll lay out my reasoning.

It sounds like you've been surprised to have discover that CMAC-AES is
not secure in a mode of use that it was not designed for and was never
claimed to be secure for, and this surprise has shaken your confidence in
CMAC-AES.  I'm not sure that's logical.  The root cause of your surprise
seems to be a misunderstanding of the security properties that CMAC-AES
was claimed to have, not an unexpected security failure of CMAC-AES.
I suspect that everyone who understands CMAC-AES, the security theorem
for CMAC-AES, and the distinction between a MAC, PRF, and random oracle
should not be surprised in the least by the properties of CMAC-AES.

Once upon a time, we sometimes used to design protocols and throw in
hashes without thinking deeply about what purpose they serve.  Today,
we understand that it is helpful to think more carefully what purpose
each primitive is serving and what security properties we need it
to have.  Does it need to be a secure PRF?  a MAC?  a random oracle?
CMAC-AES is a perfectly good PRF or MAC; it's a lousy random oracle.
As long as you understand that, and think carefully during protocol
design whether you need a PRF vs a random oracle, then you're fine.
Don't send a CMAC-AES to do a random oracle's job, but it's perfectly
fine where a PRF or MAC is needed.

One might even be able to make an argument that CMAC-AES is a better
choice than MD5-HMAC or SHA1-HMAC for new designs where a MAC or PRF
is needed.  It's plausible that we should have higher confidence in the
security of CMAC-AES (as a PRF) than MD5-HMAC or SHA1-HMAC (as a PRF).
AES was designed to be a secure PRP, and we have confidence that it
meets this goal.  In contrast, our confidence in MD5 and SHA1 have been
somewhat shaken, and while we don't have a strong reason to expect this
to affect MD5-HMAC or SHA1-HMAC, it's also true that we don't have a
security reduction proof for HMAC that reduces its security to some
property about MD5 or SHA1 that we have high confidence of (to the same
degree as we have confidence in AES's security as a PRP).

Personally I think a policy of avoiding CMAC-AES for any purpose is
not warranted.  I think rather than criticizing CMAC-AES, you should
criticize protocol designers who use primitives in a way that violates
their security warranty and that there is no reason to expect them to
be secure in.  Just my opinion.
_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
http://www.irtf.org/mailman/listinfo/cfrg


From cfrg-bounces@irtf.org  Fri Jan  9 14:28:55 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 621393A697E;
	Fri,  9 Jan 2009 14:28:55 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id C0B683A697D
	for <cfrg@core3.amsl.com>; Fri,  9 Jan 2009 14:28:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.467
X-Spam-Level: 
X-Spam-Status: No, score=-5.467 tagged_above=-999 required=5
	tests=[AWL=-0.265, BAYES_00=-2.599, HTML_MESSAGE=0.001,
	MIME_QP_LONG_LINE=1.396, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id Kxaw9CciaVGP for <cfrg@core3.amsl.com>;
	Fri,  9 Jan 2009 14:28:52 -0800 (PST)
Received: from colibri.verisign.com (colibri.verisign.com [65.205.251.74])
	by core3.amsl.com (Postfix) with ESMTP id C83B33A6893
	for <cfrg@irtf.org>; Fri,  9 Jan 2009 14:28:52 -0800 (PST)
Received: from MOU1WNEXCN02.vcorp.ad.vrsn.com (mailer2.verisign.com
	[65.205.251.35])
	by colibri.verisign.com (8.13.6/8.13.4) with ESMTP id n09M6DQ1003502;
	Fri, 9 Jan 2009 14:06:15 -0800
Received: from MOU1WNEXMB09.vcorp.ad.vrsn.com ([10.25.15.197]) by
	MOU1WNEXCN02.vcorp.ad.vrsn.com with Microsoft
	SMTPSVC(6.0.3790.3959); Fri, 9 Jan 2009 14:28:36 -0800
Content-class: urn:content-classes:message
MIME-Version: 1.0
X-MimeOLE: Produced By Microsoft Exchange V6.5
Date: Fri, 9 Jan 2009 14:28:36 -0800
Message-ID: <2788466ED3E31C418E9ACC5C316615572FFC69@mou1wnexmb09.vcorp.ad.vrsn.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Cfrg] suitability of AES-CMAC (was: Re: Analyzing IETF use of
	hash functions -- ORCHIDs)
Thread-Index: Aclyo+XuI+l9nzRQRvGSnifOia48DQAAeL8U
References: <00be01c96faf$8bea0720$800c6f0a@china.huawei.com>	<4964CB91.8030001@htt-consult.com>
	<2788466ED3E31C418E9ACC5C316615572FFC4B@mou1wnexmb09.vcorp.ad.vrsn.com>
	<4965AAFF.3060209@sbcglobal.net>
	<2788466ED3E31C418E9ACC5C316615572FFC54@mou1wnexmb09.vcorp.ad.vrsn.com>
	<B8AB1183-4531-413F-9186-29CC972A5712@cisco.com>
	<2788466ED3E31C418E9ACC5C316615572FFC56@mou1wnexmb09.vcorp.ad.vrsn.com>
	<53C20AF4-AD14-47FF-A108-AE88F1DC367C@cisco.com>
	<2788466ED3E31C418E9ACC5C316615572FFC63@mou1wnexmb09.vcorp.ad.vrsn.com>
	<F63CC092-AA48-4629-AD3A-1B338D9ECF56@cisco.com>
	<2788466ED3E31C418E9ACC5C316615572FFC65@mou1wnexmb09.vcorp.ad.vrsn.com>
	<572E6E59-A08B-4D61-9368-AC20EC51923A@mit.edu>
From: "Hallam-Baker, Phillip" <pbaker@verisign.com>
To: "Ken Raeburn" <raeburn@MIT.EDU>
X-OriginalArrivalTime: 09 Jan 2009 22:28:36.0960 (UTC)
	FILETIME=[9D397E00:01C972A9]
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] suitability of AES-CMAC (was: Re: Analyzing IETF use of
	hash functions -- ORCHIDs)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mailman/private/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>
Content-Type: multipart/mixed; boundary="===============2030663470=="
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

This is a multi-part message in MIME format.

--===============2030663470==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C972A9.9D02CC0F"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C972A9.9D02CC0F
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Again, this is an existing property of HMAC and of keyed digest =
formations in general.
=20
So the analogy is inappropriate.=20
=20
A better analogy would be a toothbrush that explodes if you attempt to =
use it for the purpose of cleaning electronic equipment. Yes, that may =
not be the generally expected use of the tool, but that particular tool =
is commonly used for that purpose.
=20
Yes we can all make an issue appear to look ridiculous by choosing an =
inappropriate analogy.

________________________________

From: Ken Raeburn [mailto:raeburn@MIT.EDU]
Sent: Fri 1/9/2009 4:47 PM
To: Hallam-Baker, Phillip
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] suitability of AES-CMAC (was: Re: Analyzing IETF use =
of hash functions -- ORCHIDs)



On Jan 9, 2009, at 15:21, Hallam-Baker, Phillip wrote:
> What is the use of a proof of security if it does not cover every=20
> security property that might be expected?

If there's one thing clear in this discussion, it's that different=20
people have different ideas of which security properties might be=20
expected, or even what properties would be considered "security=20
properties"; one person's "security property" may be another's=20
"vulnerability".  It's kind of hard to prove that an algorithm has=20
properties you haven't thought of.

> Identifying the fact that there is a defect with the CMAC formation=20
> when applied in certain situations is the starting point for=20
> replacing it with a better one.

All the hammers at my local hardware store seem particularly ill-
suited to the task of brushing my teeth.  Clearly, this is a defect=20
with the design of the hammers, no one should use these defective=20
devices for any purposes, and they should be replaced with better=20
ones. :-)

> There are many people looking at randomized hashing generally. We=20
> need a MAC function that can be used for randomized hashing that is=20
> not composed using a questionable primitive. So having a=20
> construction that is unencumbered, can perform all the functions of=20
> CMAC and in addition support random hashing would be useful.

One might be able to build a hybrid hammer-toothbrush.  That doesn't=20
mean it's a good idea to insist that people shouldn't use a=20
traditional hammer for the tasks it's good for, or a traditional=20
toothbrush for the tasks it's good for.

Ken



------_=_NextPart_001_01C972A9.9D02CC0F
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<HTML dir=3Dltr><HEAD><TITLE>Re: [Cfrg] suitability of AES-CMAC (was: =
Re: Analyzing IETF use of hash functions -- ORCHIDs)</TITLE>=0A=
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dunicode">=0A=
<META content=3D"MSHTML 6.00.6001.18148" name=3DGENERATOR></HEAD>=0A=
<BODY>=0A=
<DIV id=3DidOWAReplyText8132 dir=3Dltr>=0A=
<DIV dir=3Dltr><FONT face=3DArial color=3D#000000 size=3D2>Again, this =
is an existing property of HMAC and of keyed digest formations in =
general.</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2>So the analogy is =
inappropriate. </FONT></DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2>A better analogy would be a =
toothbrush that explodes if you attempt to use it for the purpose of =
cleaning electronic equipment. Yes, that may not be the generally =
expected use of the tool, but that particular tool is commonly used for =
that purpose.</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial size=3D2>Yes we can all make an issue =
appear to look ridiculous by choosing an inappropriate =
analogy.</FONT></DIV></DIV>=0A=
<DIV dir=3Dltr><BR>=0A=
<HR tabIndex=3D-1>=0A=
<FONT face=3DTahoma size=3D2><B>From:</B> Ken Raeburn =
[mailto:raeburn@MIT.EDU]<BR><B>Sent:</B> Fri 1/9/2009 4:47 =
PM<BR><B>To:</B> Hallam-Baker, Phillip<BR><B>Cc:</B> =
cfrg@irtf.org<BR><B>Subject:</B> Re: [Cfrg] suitability of AES-CMAC =
(was: Re: Analyzing IETF use of hash functions -- =
ORCHIDs)<BR></FONT><BR></DIV>=0A=
<DIV>=0A=
<P><FONT size=3D2>On Jan 9, 2009, at 15:21, Hallam-Baker, Phillip =
wrote:<BR>&gt; What is the use of a proof of security if it does not =
cover every&nbsp;<BR>&gt; security property that might be =
expected?<BR><BR>If there's one thing clear in this discussion, it's =
that different&nbsp;<BR>people have different ideas of which security =
properties might be&nbsp;<BR>expected, or even what properties would be =
considered "security&nbsp;<BR>properties"; one person's "security =
property" may be another's&nbsp;<BR>"vulnerability".&nbsp; It's kind of =
hard to prove that an algorithm has&nbsp;<BR>properties you haven't =
thought of.<BR><BR>&gt; Identifying the fact that there is a defect with =
the CMAC formation&nbsp;<BR>&gt; when applied in certain situations is =
the starting point for&nbsp;<BR>&gt; replacing it with a better =
one.<BR><BR>All the hammers at my local hardware store seem particularly =
ill-<BR>suited to the task of brushing my teeth.&nbsp; Clearly, this is =
a defect&nbsp;<BR>with the design of the hammers, no one should use =
these defective&nbsp;<BR>devices for any purposes, and they should be =
replaced with better&nbsp;<BR>ones. :-)<BR><BR>&gt; There are many =
people looking at randomized hashing generally. We&nbsp;<BR>&gt; need a =
MAC function that can be used for randomized hashing that =
is&nbsp;<BR>&gt; not composed using a questionable primitive. So having =
a&nbsp;<BR>&gt; construction that is unencumbered, can perform all the =
functions of&nbsp;<BR>&gt; CMAC and in addition support random hashing =
would be useful.<BR><BR>One might be able to build a hybrid =
hammer-toothbrush.&nbsp; That doesn't&nbsp;<BR>mean it's a good idea to =
insist that people shouldn't use a&nbsp;<BR>traditional hammer for the =
tasks it's good for, or a traditional&nbsp;<BR>toothbrush for the tasks =
it's good for.<BR><BR>Ken<BR></FONT></P></DIV></BODY></HTML>
------_=_NextPart_001_01C972A9.9D02CC0F--

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

_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
http://www.irtf.org/mailman/listinfo/cfrg

--===============2030663470==--


From cfrg-bounces@irtf.org  Fri Jan  9 14:30:21 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id CBD9928C127;
	Fri,  9 Jan 2009 14:30:21 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 9424C3A6923
	for <cfrg@core3.amsl.com>; Fri,  9 Jan 2009 14:30:20 -0800 (PST)
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 ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id lzymxK8nAsnj for <cfrg@core3.amsl.com>;
	Fri,  9 Jan 2009 14:30:19 -0800 (PST)
Received: from taverner.cs.berkeley.edu (taverner.CS.Berkeley.EDU
	[128.32.168.222])
	by core3.amsl.com (Postfix) with ESMTP id BF1533A6893
	for <cfrg@irtf.org>; Fri,  9 Jan 2009 14:30:19 -0800 (PST)
Received: from taverner.cs.berkeley.edu (localhost.localdomain [127.0.0.1])
	by taverner.cs.berkeley.edu (8.14.2/8.14.2) with ESMTP id
	n09MU6JP027807
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Fri, 9 Jan 2009 14:30:06 -0800
Received: (from daw@localhost)
	by taverner.cs.berkeley.edu (8.14.2/8.14.2/Submit) id n09MU61M027806;
	Fri, 9 Jan 2009 14:30:06 -0800
From: David Wagner <daw@cs.berkeley.edu>
Message-Id: <200901092230.n09MU61M027806@taverner.cs.berkeley.edu>
To: cfrg@irtf.org
Date: Fri, 9 Jan 2009 14:30:06 -0800 (PST)
In-Reply-To: <2788466ED3E31C418E9ACC5C316615572FFC65@mou1wnexmb09.vcorp.ad.vrsn.com>
References: <00be01c96faf$8bea0720$800c6f0a@china.huawei.com>
	<2788466ED3E31C418E9ACC5C316615572FFC63@mou1wnexmb09.vcorp.ad.vrsn.com>
	<F63CC092-AA48-4629-AD3A-1B338D9ECF56@cisco.com>
	<2788466ED3E31C418E9ACC5C316615572FFC65@mou1wnexmb09.vcorp.ad.vrsn.com>
Secret-Bounce-Tag: 9a029cbee41caf2ca77a77efa3c13981
X-Mailer: ELM [version 2.5 PL6]
MIME-Version: 1.0
Subject: [Cfrg] suitability of AES-CMAC (was: Re: Analyzing IETF use of	hash
	functions -- ORCHIDs)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mailman/private/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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

[My earlier email seems to have been dropped by this list.
I'm not sure why.  Perhaps the list moderators could take a
look and whitelist whatever email address of mine the list
doesn't like.]

Hallam-Baker, Phillip wrote:
>What is the use of a proof of security if it does not cover every
>security property that might be expected?

Huh?  What a peculiar question.

The purpose of a proof of security is to identify a set of security
properties that the primitive does have.  In this way protocol designers
are supposed to use the security theorem to determine their expectations:
typically, it's reasonable to assume that a primitive has the security
properties promised by the theorem but unreasonable to expect it to
have other properties not proven.  Any protocol designer who expects
a "provably secure" primitive to have a security property that is not
guaranteed by any security theorem and that has not been carefully vetted
by the community, is skating on thin ice and has no right to use the
proof of security to justify his/her use of that primitive.

This is basic stuff.  Surely I've misunderstood you.

>Identifying the fact that there is a defect with the CMAC
>formation when applied in certain situations is the starting point for
>replacing it with a better one.

Nonsense.  It's a starting point for educating people about the
proper use of security primitives.  But I suspect that qualified
cryptographers already know this well.

>We need a
>MAC function that can be used for randomized hashing [..]

I do not see the relevance to the question of whether CMAC is safe to
use in protocols that require a secure MAC.  CMAC is perfectly fine
when the security protocol needs a MAC (with no further properties).
Of course if a security protocol needs a primitive that is both a MAC
and also simultaneously has other security properties, then that becomes
a different question that has to be studied separately.  Of course if a
protocol designer is using a generic MAC when the protocol's security
requires the MAC to have other non-standard properties, and if the
protocol designer is unaware of this, then the protocol designer has
done a poor job of protocol design.
_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
http://www.irtf.org/mailman/listinfo/cfrg


From cfrg-bounces@irtf.org  Fri Jan  9 14:52:48 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id C61283A6A56;
	Fri,  9 Jan 2009 14:52:48 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id E47753A6923
	for <cfrg@core3.amsl.com>; Fri,  9 Jan 2009 14:52:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.462
X-Spam-Level: 
X-Spam-Status: No, score=-5.462 tagged_above=-999 required=5
	tests=[AWL=-0.260, BAYES_00=-2.599, HTML_MESSAGE=0.001,
	MIME_QP_LONG_LINE=1.396, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id DKWwSL1Wf1Y0 for <cfrg@core3.amsl.com>;
	Fri,  9 Jan 2009 14:52:40 -0800 (PST)
Received: from robin.verisign.com (robin.verisign.com [65.205.251.75])
	by core3.amsl.com (Postfix) with ESMTP id 8C4E728C0F1
	for <cfrg@irtf.org>; Fri,  9 Jan 2009 14:52:40 -0800 (PST)
Received: from mou1wnexcn01.vcorp.ad.vrsn.com (mailer1.verisign.com
	[65.205.251.34])
	by robin.verisign.com (8.12.11/8.13.4) with ESMTP id n09MqDRH028490;
	Fri, 9 Jan 2009 14:52:13 -0800
Received: from MOU1WNEXMB09.vcorp.ad.vrsn.com ([10.25.15.197]) by
	mou1wnexcn01.vcorp.ad.vrsn.com with Microsoft
	SMTPSVC(6.0.3790.3959); Fri, 9 Jan 2009 14:52:13 -0800
Content-class: urn:content-classes:message
MIME-Version: 1.0
X-MimeOLE: Produced By Microsoft Exchange V6.5
Date: Fri, 9 Jan 2009 14:52:12 -0800
Message-ID: <2788466ED3E31C418E9ACC5C316615572FFC6A@mou1wnexmb09.vcorp.ad.vrsn.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Cfrg]  Analyzing IETF use of hash functions -- ORCHIDs
Thread-Index: AclyqVBazfg7RJbrQDKeuCuk6BOK3QAAFzQx
References: <00be01c96faf$8bea0720$800c6f0a@china.huawei.com><2788466ED3E31C418E9ACC5C316615572FFC56@mou1wnexmb09.vcorp.ad.vrsn.com><53C20AF4-AD14-47FF-A108-AE88F1DC367C@cisco.com><2788466ED3E31C418E9ACC5C316615572FFC63@mou1wnexmb09.vcorp.ad.vrsn.com>
	<200901092226.n09MQMBc027722@taverner.cs.berkeley.edu>
From: "Hallam-Baker, Phillip" <pbaker@verisign.com>
To: "David Wagner" <daw@cs.berkeley.edu>, <cfrg@irtf.org>
X-OriginalArrivalTime: 09 Jan 2009 22:52:13.0143 (UTC)
	FILETIME=[E955DE70:01C972AC]
Subject: Re: [Cfrg] Analyzing IETF use of hash functions -- ORCHIDs
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mailman/private/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>
Content-Type: multipart/mixed; boundary="===============0442633046=="
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

This is a multi-part message in MIME format.

--===============0442633046==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C972AC.E922DD28"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C972AC.E922DD28
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

The problem with your approach is that it is predicated on people doing =
the right thing and understanding what they are doing.
=20
In the real world things break because most people do not know what they =
are doing - and that includes academics who are purportedly expert in =
their field..
=20
Reference to formal approaches does not give me any more confidence =
here. My thesis was on the use of formal methods, my college tutor was =
Tony Hoare. I know the value of that approach, I also know the failure =
modes. In particular formal methods very frequently break precisely =
because the requirements were not fully explained to the designer.
=20
=20
The conclusion I reach here is that it is not possible to take a random =
protocol and substitute CMAC for HMAC without going through a full =
security analysis. I don't think anyone is disputing that.
=20
Where we disagree is that you think that this is likely to happen and I =
suspect it rather likely that it will not.
=20
=20
There is no formal necessity for many security properties of =
cryptographic algorithms. There is no formal requirement for =
zero-knowledge as far as I am aware. But if it is cheap and it is on =
offer I will take it. Having a MAC function that is also a random oracle =
is better than having one that merely supports the minimum criteria for =
being a MAC.

________________________________

From: cfrg-bounces@irtf.org on behalf of David Wagner
Sent: Fri 1/9/2009 5:26 PM
To: cfrg@irtf.org
Subject: [Cfrg] Analyzing IETF use of hash functions -- ORCHIDs



[My earlier email seems to have been dropped by the list.
I'll try again.]

Hallam-Baker, Phillip wrote:
>I am not sure that there are many prototcols where truncation takes
>place, apart from IPSEC and similar transport layer security I can't
>think of a good reason to do that. And in the case of IPSEC the
>practical use of the protocol is a very small subset of the original
>design intent.
>
>Given the previous experience of security breaches that have occured
>when a substitution of this type takes place without a full
>reconsideration of the security requirements of the protocol, my
>preference would be to avoid CMAC-AES for any purpose.

Well, I guess I disagree.  I'll lay out my reasoning.

It sounds like you've been surprised to have discover that CMAC-AES is
not secure in a mode of use that it was not designed for and was never
claimed to be secure for, and this surprise has shaken your confidence =
in
CMAC-AES.  I'm not sure that's logical.  The root cause of your surprise
seems to be a misunderstanding of the security properties that CMAC-AES
was claimed to have, not an unexpected security failure of CMAC-AES.
I suspect that everyone who understands CMAC-AES, the security theorem
for CMAC-AES, and the distinction between a MAC, PRF, and random oracle
should not be surprised in the least by the properties of CMAC-AES.

Once upon a time, we sometimes used to design protocols and throw in
hashes without thinking deeply about what purpose they serve.  Today,
we understand that it is helpful to think more carefully what purpose
each primitive is serving and what security properties we need it
to have.  Does it need to be a secure PRF?  a MAC?  a random oracle?
CMAC-AES is a perfectly good PRF or MAC; it's a lousy random oracle.
As long as you understand that, and think carefully during protocol
design whether you need a PRF vs a random oracle, then you're fine.
Don't send a CMAC-AES to do a random oracle's job, but it's perfectly
fine where a PRF or MAC is needed.

One might even be able to make an argument that CMAC-AES is a better
choice than MD5-HMAC or SHA1-HMAC for new designs where a MAC or PRF
is needed.  It's plausible that we should have higher confidence in the
security of CMAC-AES (as a PRF) than MD5-HMAC or SHA1-HMAC (as a PRF).
AES was designed to be a secure PRP, and we have confidence that it
meets this goal.  In contrast, our confidence in MD5 and SHA1 have been
somewhat shaken, and while we don't have a strong reason to expect this
to affect MD5-HMAC or SHA1-HMAC, it's also true that we don't have a
security reduction proof for HMAC that reduces its security to some
property about MD5 or SHA1 that we have high confidence of (to the same
degree as we have confidence in AES's security as a PRP).

Personally I think a policy of avoiding CMAC-AES for any purpose is
not warranted.  I think rather than criticizing CMAC-AES, you should
criticize protocol designers who use primitives in a way that violates
their security warranty and that there is no reason to expect them to
be secure in.  Just my opinion.
_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
http://www.irtf.org/mailman/listinfo/cfrg



------_=_NextPart_001_01C972AC.E922DD28
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<HTML dir=3Dltr><HEAD><TITLE>[Cfrg] Analyzing IETF use of hash functions =
-- ORCHIDs</TITLE>=0A=
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dunicode">=0A=
<META content=3D"MSHTML 6.00.6001.18148" name=3DGENERATOR></HEAD>=0A=
<BODY>=0A=
<DIV id=3DidOWAReplyText35358 dir=3Dltr>=0A=
<DIV dir=3Dltr><FONT face=3DArial color=3D#000000>The problem with your =
approach is that it is predicated on people doing the right thing and =
understanding what they are doing.</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial>In the real world things break because =
most people do not know what they are doing - and that includes =
academics who are purportedly expert in their field..</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial>Reference to formal approaches does =
not give me any more confidence here. My thesis was on the use of formal =
methods, my college tutor was Tony Hoare. I know the value of that =
approach, I also know the failure modes. In particular formal methods =
very frequently break precisely because the requirements were not fully =
explained to the designer.</FONT></DIV></DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial>The conclusion I reach here is that it =
is not possible to take a random protocol and substitute CMAC for HMAC =
without going through a full security analysis. I don't think anyone is =
disputing that.</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial>Where we disagree is that you think =
that this is likely to happen and I suspect it rather likely that it =
will not.</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT face=3DArial>There is no formal necessity for many =
security properties of cryptographic algorithms. There is no formal =
requirement for zero-knowledge as far as I am aware. But if it is cheap =
and it is on offer I will take it. Having a MAC function that is also a =
random oracle is better than having one that merely supports the minimum =
criteria for being a MAC.</FONT></DIV>=0A=
<DIV dir=3Dltr><BR>=0A=
<HR tabIndex=3D-1>=0A=
<FONT face=3DTahoma size=3D2><B>From:</B> cfrg-bounces@irtf.org on =
behalf of David Wagner<BR><B>Sent:</B> Fri 1/9/2009 5:26 =
PM<BR><B>To:</B> cfrg@irtf.org<BR><B>Subject:</B> [Cfrg] Analyzing IETF =
use of hash functions -- ORCHIDs<BR></FONT><BR></DIV>=0A=
<DIV>=0A=
<P><FONT size=3D2>[My earlier email seems to have been dropped by the =
list.<BR>I'll try again.]<BR><BR>Hallam-Baker, Phillip wrote:<BR>&gt;I =
am not sure that there are many prototcols where truncation =
takes<BR>&gt;place, apart from IPSEC and similar transport layer =
security I can't<BR>&gt;think of a good reason to do that. And in the =
case of IPSEC the<BR>&gt;practical use of the protocol is a very small =
subset of the original<BR>&gt;design intent.<BR>&gt;<BR>&gt;Given the =
previous experience of security breaches that have occured<BR>&gt;when a =
substitution of this type takes place without a =
full<BR>&gt;reconsideration of the security requirements of the =
protocol, my<BR>&gt;preference would be to avoid CMAC-AES for any =
purpose.<BR><BR>Well, I guess I disagree.&nbsp; I'll lay out my =
reasoning.<BR><BR>It sounds like you've been surprised to have discover =
that CMAC-AES is<BR>not secure in a mode of use that it was not designed =
for and was never<BR>claimed to be secure for, and this surprise has =
shaken your confidence in<BR>CMAC-AES.&nbsp; I'm not sure that's =
logical.&nbsp; The root cause of your surprise<BR>seems to be a =
misunderstanding of the security properties that CMAC-AES<BR>was claimed =
to have, not an unexpected security failure of CMAC-AES.<BR>I suspect =
that everyone who understands CMAC-AES, the security theorem<BR>for =
CMAC-AES, and the distinction between a MAC, PRF, and random =
oracle<BR>should not be surprised in the least by the properties of =
CMAC-AES.<BR><BR>Once upon a time, we sometimes used to design protocols =
and throw in<BR>hashes without thinking deeply about what purpose they =
serve.&nbsp; Today,<BR>we understand that it is helpful to think more =
carefully what purpose<BR>each primitive is serving and what security =
properties we need it<BR>to have.&nbsp; Does it need to be a secure =
PRF?&nbsp; a MAC?&nbsp; a random oracle?<BR>CMAC-AES is a perfectly good =
PRF or MAC; it's a lousy random oracle.<BR>As long as you understand =
that, and think carefully during protocol<BR>design whether you need a =
PRF vs a random oracle, then you're fine.<BR>Don't send a CMAC-AES to do =
a random oracle's job, but it's perfectly<BR>fine where a PRF or MAC is =
needed.<BR><BR>One might even be able to make an argument that CMAC-AES =
is a better<BR>choice than MD5-HMAC or SHA1-HMAC for new designs where a =
MAC or PRF<BR>is needed.&nbsp; It's plausible that we should have higher =
confidence in the<BR>security of CMAC-AES (as a PRF) than MD5-HMAC or =
SHA1-HMAC (as a PRF).<BR>AES was designed to be a secure PRP, and we =
have confidence that it<BR>meets this goal.&nbsp; In contrast, our =
confidence in MD5 and SHA1 have been<BR>somewhat shaken, and while we =
don't have a strong reason to expect this<BR>to affect MD5-HMAC or =
SHA1-HMAC, it's also true that we don't have a<BR>security reduction =
proof for HMAC that reduces its security to some<BR>property about MD5 =
or SHA1 that we have high confidence of (to the same<BR>degree as we =
have confidence in AES's security as a PRP).<BR><BR>Personally I think a =
policy of avoiding CMAC-AES for any purpose is<BR>not warranted.&nbsp; I =
think rather than criticizing CMAC-AES, you should<BR>criticize protocol =
designers who use primitives in a way that violates<BR>their security =
warranty and that there is no reason to expect them to<BR>be secure =
in.&nbsp; Just my =
opinion.<BR>_______________________________________________<BR>Cfrg =
mailing list<BR>Cfrg@irtf.org<BR><A =
href=3D"http://www.irtf.org/mailman/listinfo/cfrg">http://www.irtf.org/ma=
ilman/listinfo/cfrg</A><BR></FONT></P></DIV></BODY></HTML>
------_=_NextPart_001_01C972AC.E922DD28--

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

_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
http://www.irtf.org/mailman/listinfo/cfrg

--===============0442633046==--


From cfrg-bounces@irtf.org  Fri Jan  9 15:36:10 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 4935A3A6964;
	Fri,  9 Jan 2009 15:36:10 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 3571F3A6964
	for <cfrg@core3.amsl.com>; Fri,  9 Jan 2009 15:36:09 -0800 (PST)
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=[AWL=0.000, 
	BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id MlcCbbKA16cN for <cfrg@core3.amsl.com>;
	Fri,  9 Jan 2009 15:36:08 -0800 (PST)
Received: from taverner.cs.berkeley.edu (taverner.CS.Berkeley.EDU
	[128.32.168.222])
	by core3.amsl.com (Postfix) with ESMTP id 4DB463A68BA
	for <cfrg@irtf.org>; Fri,  9 Jan 2009 15:36:08 -0800 (PST)
Received: from taverner.cs.berkeley.edu (localhost.localdomain [127.0.0.1])
	by taverner.cs.berkeley.edu (8.14.2/8.14.2) with ESMTP id
	n09NZsiU029597
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Fri, 9 Jan 2009 15:35:54 -0800
Received: (from daw@localhost)
	by taverner.cs.berkeley.edu (8.14.2/8.14.2/Submit) id n09NZs29029596;
	Fri, 9 Jan 2009 15:35:54 -0800
From: David Wagner <daw@cs.berkeley.edu>
Message-Id: <200901092335.n09NZs29029596@taverner.cs.berkeley.edu>
To: cfrg@irtf.org
Date: Fri, 9 Jan 2009 15:35:54 -0800 (PST)
In-Reply-To: <2788466ED3E31C418E9ACC5C316615572FFC6A@mou1wnexmb09.vcorp.ad.vrsn.com>
References: <2788466ED3E31C418E9ACC5C316615572FFC6A@mou1wnexmb09.vcorp.ad.vrsn.com>
Secret-Bounce-Tag: 9a029cbee41caf2ca77a77efa3c13981
X-Mailer: ELM [version 2.5 PL6]
MIME-Version: 1.0
Subject: [Cfrg]  Analyzing IETF use of hash functions -- ORCHIDs
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mailman/private/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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

> The conclusion I reach here is that it is not possible to take a random
> protocol and substitute CMAC for HMAC without going through a full
> security analysis. I don't think anyone is disputing that.

I would suggest that a more appropriate lesson to draw might be:

  If someone proposes to replace HMAC with CMAC in a particular
  protocol, feel free to go ahead and ask them for evidence that
  the protocol only needs a MAC or a PRF and does not rely upon
  any other properties of HMAC.  Ask to see their security analysis.

For newly designed protocols that use a MAC, I would suggest
something more along the lines of:

  Feel free to go ahead and ask the protocol designer for evidence
  that the protocol is not assuming anything more than the standard
  properties of the MAC.  Ask to see their security analysis.

It seems reasonable to ask for the security analysis and to request
CFRG to weigh in about whether the security analysis is persuasive.
But a conclusion that "we must avoid all use of AES-CMAC" seems
unwarranted and too inflexible to me.

> There is no formal necessity for many security properties of
> cryptographic algorithms. There is no formal requirement for
> zero-knowledge as far as I am aware. But if it is cheap and it is on
> offer I will take it. Having a MAC function that is also a random oracle
> is better than having one that merely supports the minimum criteria for
> being a MAC.

OK.  I have no problem with taking this consideration into account.
But this does not support the inflexible "avoid AES-CMAC under all
circumstances" policy that I understood you to be advocating earlier.

Are you aware that MD5-HMAC is not a random oracle?  There are non-random
properties of MD5-HMAC that are not shared by a random oracle (e.g., if
the key is known, I believe it is feasible to find a pair of messages that
produce the same digest; a random oracle does not have this property).
Perhaps some would advocate that we eliminate all use of MD5-HMAC?
Is there a reason to single out AES-CMAC but not MD5-HMAC?

And, of course, it is known that neither MD5 nor SHA1 act like random
oracles (e.g., due to length-extension properties; even ignoring the
sophisticated collision-finding attacks).

P.S. I think I understood the gist of your message but I believe you
have misused the term "zero-knowledge"; that has a precise meaning in
the cryptographic literature which seems inapplicable here.

_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
http://www.irtf.org/mailman/listinfo/cfrg


From cfrg-bounces@irtf.org  Fri Jan  9 15:40:17 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id A740C3A69D4;
	Fri,  9 Jan 2009 15:40:17 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 8BD6F3A6964
	for <cfrg@core3.amsl.com>; Fri,  9 Jan 2009 15:40:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.976
X-Spam-Level: 
X-Spam-Status: No, score=-1.976 tagged_above=-999 required=5
	tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 0RhW-SHq9QN4 for <cfrg@core3.amsl.com>;
	Fri,  9 Jan 2009 15:40:13 -0800 (PST)
Received: from mail-gx0-f15.google.com (mail-gx0-f15.google.com
	[209.85.217.15])
	by core3.amsl.com (Postfix) with ESMTP id 85BFD3A684F
	for <cfrg@irtf.org>; Fri,  9 Jan 2009 15:40:13 -0800 (PST)
Received: by gxk8 with SMTP id 8so8058240gxk.7
	for <cfrg@irtf.org>; Fri, 09 Jan 2009 15:39:59 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:mime-version:sender:received:in-reply-to
	:references:date:x-google-sender-auth:message-id:subject:from:to:cc
	:content-type; bh=8YizKwGeau1CtJ6yKlAZ5VIp7LAvprI1BH/3koBBEhc=;
	b=XZOxDT5uXqP2L/n9iVZdRUxHxC4cDPPuEmPswd4DolpEDj+zbSFR5dL5Sz+aGL2RUn
	iWOXsM9tpd5mHF5khH/4Ol7E9J42DgaQqeGAwpnWppe06ZdW9KWzX7tAz7xLN6Xav3Ol
	hTcPrGoR3Zs9P6LJ9dcZEk+muiaPnp407AiZc=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=mime-version:sender:in-reply-to:references:date
	:x-google-sender-auth:message-id:subject:from:to:cc:content-type;
	b=LysBb8xn0R4qPbcedRgpGHBVEYMlsW2Vvpc+SDz2Pg+vIAsUZ9cQ0DL+gBpO5R27tN
	ZVGafaXLdxNHRfsTHWLl1ZFOQKOiPKYiF/spgWdRPs9216cUpCYMzTJ43BJoCvYq+Hem
	OjC/qGv3/bADqWidfCICJlt7UabSQRbtd5914=
MIME-Version: 1.0
Received: by 10.90.84.2 with SMTP id h2mr91709agb.42.1231544399333; Fri, 09 
	Jan 2009 15:39:59 -0800 (PST)
In-Reply-To: <2788466ED3E31C418E9ACC5C316615572FFC6A@mou1wnexmb09.vcorp.ad.vrsn.com>
References: <00be01c96faf$8bea0720$800c6f0a@china.huawei.com>
	<2788466ED3E31C418E9ACC5C316615572FFC56@mou1wnexmb09.vcorp.ad.vrsn.com>
	<53C20AF4-AD14-47FF-A108-AE88F1DC367C@cisco.com>
	<2788466ED3E31C418E9ACC5C316615572FFC63@mou1wnexmb09.vcorp.ad.vrsn.com>
	<200901092226.n09MQMBc027722@taverner.cs.berkeley.edu>
	<2788466ED3E31C418E9ACC5C316615572FFC6A@mou1wnexmb09.vcorp.ad.vrsn.com>
Date: Fri, 9 Jan 2009 18:39:59 -0500
X-Google-Sender-Auth: 15bc0fa7435d3391
Message-ID: <e89b43830901091539t14a007dbkdab11ea5c965743d@mail.gmail.com>
From: Hugo Krawczyk <hugo@ee.technion.ac.il>
To: "Hallam-Baker, Phillip" <pbaker@verisign.com>
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] Analyzing IETF use of hash functions -- ORCHIDs
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mailman/private/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>
Content-Type: multipart/mixed; boundary="===============0366954109=="
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

--===============0366954109==
Content-Type: multipart/alternative; boundary=00163616413b7288ca04601546b6

--00163616413b7288ca04601546b6
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Phil,

If we knew how to build a cryptographic primitive that could be plugged in
for all cryptographic purposes we would be very happy. But so far we have
had a hard time even designing things that are much less ambitious and are
tailored to more modest goals (such as collision resistance).

As you mention in the msg below, what you really want is a "random oracle",
but these are mathematical abstractions useful in the analysis of protocols
but not something we can really build. It is better to accept our
limitations and be conscious of what roles each cryptographic primitive and
function can offer. This does not make things easy for the engineer that is
not a crypto expert but telling that engineer that we have a fully
multi-purpse constructs would be cheating. Fortunately, we have standards
that engineers can follow. The best we can do is to design these standards
with good cryptographic expertise and with as much rationale as possible.

Even though I have some "personal feelings" for HMAC, I have worked very
hard in many instances to make sure that HMAC is NOT wired in into protocols
as a magic function. The fact that you have acronyms such as "PRF" and "MAC"
in ipsec and TLS follows this view. Call your component by a name that
represents its functionality not by a specifc implementation.

Now, regarding your original post that wanted to use CMAC as a randomized
hashing algorithm: You were disappointed by the limitations of CMAC for this
(and other) purposes. You seem to find HMAC more versatile but
(unfortunately) HMAC is not a great candidate for randomizing a hash
function for the purpose of countering collision attacks. As it was already
pointed out in this thread, it was this realization that motivated building
a special purpose mechanism that does have the required properties.

I guess that you are familiar with the randomized hashing work presented in
http://tools.ietf.org/html/draft-irtf-cfrg-rhash-01 and being standardized
by NIST
http://csrc.nist.gov/publications/drafts/800-106/2nd-Draft_SP800-106_July2008.pdf
.

Do you see any special reason why this mechanism would not fulfill your hash
randomization goals?

Hugo


On Fri, Jan 9, 2009 at 5:52 PM, Hallam-Baker, Phillip
<pbaker@verisign.com>wrote:

>  The problem with your approach is that it is predicated on people doing
> the right thing and understanding what they are doing.
>
> In the real world things break because most people do not know what they
> are doing - and that includes academics who are purportedly expert in their
> field..
>
> Reference to formal approaches does not give me any more confidence here.
> My thesis was on the use of formal methods, my college tutor was Tony Hoare.
> I know the value of that approach, I also know the failure modes. In
> particular formal methods very frequently break precisely because the
> requirements were not fully explained to the designer.
>
>
> The conclusion I reach here is that it is not possible to take a random
> protocol and substitute CMAC for HMAC without going through a full security
> analysis. I don't think anyone is disputing that.
>
> Where we disagree is that you think that this is likely to happen and I
> suspect it rather likely that it will not.
>
>
> There is no formal necessity for many security properties of cryptographic
> algorithms. There is no formal requirement for zero-knowledge as far as I am
> aware. But if it is cheap and it is on offer I will take it. Having a MAC
> function that is also a random oracle is better than having one that merely
> supports the minimum criteria for being a MAC.
>
> ------------------------------
> *From:* cfrg-bounces@irtf.org on behalf of David Wagner
> *Sent:* Fri 1/9/2009 5:26 PM
> *To:* cfrg@irtf.org
> *Subject:* [Cfrg] Analyzing IETF use of hash functions -- ORCHIDs
>
>   [My earlier email seems to have been dropped by the list.
> I'll try again.]
>
> Hallam-Baker, Phillip wrote:
> >I am not sure that there are many prototcols where truncation takes
> >place, apart from IPSEC and similar transport layer security I can't
> >think of a good reason to do that. And in the case of IPSEC the
> >practical use of the protocol is a very small subset of the original
> >design intent.
> >
> >Given the previous experience of security breaches that have occured
> >when a substitution of this type takes place without a full
> >reconsideration of the security requirements of the protocol, my
> >preference would be to avoid CMAC-AES for any purpose.
>
> Well, I guess I disagree.  I'll lay out my reasoning.
>
> It sounds like you've been surprised to have discover that CMAC-AES is
> not secure in a mode of use that it was not designed for and was never
> claimed to be secure for, and this surprise has shaken your confidence in
> CMAC-AES.  I'm not sure that's logical.  The root cause of your surprise
> seems to be a misunderstanding of the security properties that CMAC-AES
> was claimed to have, not an unexpected security failure of CMAC-AES.
> I suspect that everyone who understands CMAC-AES, the security theorem
> for CMAC-AES, and the distinction between a MAC, PRF, and random oracle
> should not be surprised in the least by the properties of CMAC-AES.
>
> Once upon a time, we sometimes used to design protocols and throw in
> hashes without thinking deeply about what purpose they serve.  Today,
> we understand that it is helpful to think more carefully what purpose
> each primitive is serving and what security properties we need it
> to have.  Does it need to be a secure PRF?  a MAC?  a random oracle?
> CMAC-AES is a perfectly good PRF or MAC; it's a lousy random oracle.
> As long as you understand that, and think carefully during protocol
> design whether you need a PRF vs a random oracle, then you're fine.
> Don't send a CMAC-AES to do a random oracle's job, but it's perfectly
> fine where a PRF or MAC is needed.
>
> One might even be able to make an argument that CMAC-AES is a better
> choice than MD5-HMAC or SHA1-HMAC for new designs where a MAC or PRF
> is needed.  It's plausible that we should have higher confidence in the
> security of CMAC-AES (as a PRF) than MD5-HMAC or SHA1-HMAC (as a PRF).
> AES was designed to be a secure PRP, and we have confidence that it
> meets this goal.  In contrast, our confidence in MD5 and SHA1 have been
> somewhat shaken, and while we don't have a strong reason to expect this
> to affect MD5-HMAC or SHA1-HMAC, it's also true that we don't have a
> security reduction proof for HMAC that reduces its security to some
> property about MD5 or SHA1 that we have high confidence of (to the same
> degree as we have confidence in AES's security as a PRP).
>
> Personally I think a policy of avoiding CMAC-AES for any purpose is
> not warranted.  I think rather than criticizing CMAC-AES, you should
> criticize protocol designers who use primitives in a way that violates
> their security warranty and that there is no reason to expect them to
> be secure in.  Just my opinion.
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg
>
>

--00163616413b7288ca04601546b6
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div>Phil,</div>
<div>&nbsp;</div>
<div>If we knew how to build a cryptographic primitive that could be plugge=
d in for all cryptographic purposes we would be very happy. But so far we h=
ave had a hard time even designing things that are much less ambitious and =
are tailored to more modest goals (such as collision resistance).</div>

<div>&nbsp;</div>
<div>As you mention in the msg below, what you really want is a &quot;rando=
m oracle&quot;, but these are mathematical abstractions useful in the analy=
sis of protocols but&nbsp;not something we can really build. It is better t=
o accept our limitations and be conscious of what roles each cryptographic =
primitive and function can offer.&nbsp;This does not make things easy for t=
he engineer that is not a crypto expert but telling that engineer that we h=
ave a fully multi-purpse constructs would be cheating. Fortunately, we have=
 standards that engineers can follow. The best we can do is to design these=
 standards with&nbsp;good cryptographic expertise and with as much rational=
e as possible.</div>

<div>&nbsp;</div>
<div>Even though I have some &quot;personal feelings&quot; for HMAC, I have=
 worked very hard in many instances to make sure that HMAC is NOT wired in =
into protocols as a magic function. The fact that you have acronyms such as=
 &quot;PRF&quot; and &quot;MAC&quot; in ipsec and TLS follows this view. Ca=
ll your component by a name that represents its functionality not by a spec=
ifc implementation.</div>

<div>&nbsp;</div>
<div>Now, regarding your original post that wanted to use CMAC as a randomi=
zed hashing algorithm: You were disappointed by the limitations of CMAC for=
 this (and other) purposes. You seem to find HMAC more versatile but (unfor=
tunately) HMAC is not a great candidate for randomizing a hash function for=
 the purpose of countering collision attacks. As it was already pointed out=
 in this thread, it was this realization that motivated building a special =
purpose mechanism that does have the required properties.</div>

<div>&nbsp;</div>
<div>I guess that you are familiar with the randomized hashing work present=
ed in <a href=3D"http://tools.ietf.org/html/draft-irtf-cfrg-rhash-01">http:=
//tools.ietf.org/html/draft-irtf-cfrg-rhash-01</a>&nbsp;and being standardi=
zed by NIST</div>

<div><a href=3D"http://csrc.nist.gov/publications/drafts/800-106/2nd-Draft_=
SP800-106_July2008.pdf">http://csrc.nist.gov/publications/drafts/800-106/2n=
d-Draft_SP800-106_July2008.pdf</a>.</div>
<div>&nbsp;</div>
<div>Do you see any special reason why this mechanism would not fulfill you=
r hash randomization goals?</div>
<div>&nbsp;</div>
<div>Hugo</div>
<div><br>&nbsp;</div>
<div class=3D"gmail_quote">On Fri, Jan 9, 2009 at 5:52 PM, Hallam-Baker, Ph=
illip <span dir=3D"ltr">&lt;<a href=3D"mailto:pbaker@verisign.com">pbaker@v=
erisign.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"PADDING-LEFT: 1ex; MARGIN: 0px 0=
px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div dir=3D"ltr">
<div dir=3D"ltr"><font face=3D"Arial" color=3D"#000000">The problem with yo=
ur approach is that it is predicated on people doing the right thing and un=
derstanding what they are doing.</font></div>
<div dir=3D"ltr"><font face=3D"Arial"></font>&nbsp;</div>
<div dir=3D"ltr"><font face=3D"Arial">In the real world things break becaus=
e most people do not know what they are doing - and that includes academics=
 who are purportedly expert in their field..</font></div>
<div dir=3D"ltr"><font face=3D"Arial"></font>&nbsp;</div>
<div dir=3D"ltr"><font face=3D"Arial">Reference to formal approaches does n=
ot give me any more confidence here. My thesis was on the use of formal met=
hods, my college tutor was Tony Hoare. I know the value of that approach, I=
 also know the failure modes. In particular formal methods very frequently =
break precisely because the requirements were not fully explained to the de=
signer.</font></div>
</div>
<div dir=3D"ltr"><font face=3D"Arial"></font>&nbsp;</div>
<div dir=3D"ltr"><font face=3D"Arial"></font>&nbsp;</div>
<div dir=3D"ltr"><font face=3D"Arial">The conclusion I reach here is that i=
t is not possible to take a random protocol and substitute CMAC for HMAC wi=
thout going through a full security analysis. I don&#39;t think anyone is d=
isputing that.</font></div>

<div dir=3D"ltr"><font face=3D"Arial"></font>&nbsp;</div>
<div dir=3D"ltr"><font face=3D"Arial">Where we disagree is that you think t=
hat this is likely to happen and I suspect it rather likely that it will no=
t.</font></div>
<div dir=3D"ltr"><font face=3D"Arial"></font>&nbsp;</div>
<div dir=3D"ltr"><font face=3D"Arial"></font>&nbsp;</div>
<div dir=3D"ltr"><font face=3D"Arial">There is no formal necessity for many=
 security properties of cryptographic algorithms. There is no formal requir=
ement for zero-knowledge as far as I am aware. But if it is cheap and it is=
 on offer I will take it. Having a MAC function that is also a random oracl=
e is better than having one that merely supports the minimum criteria for b=
eing a MAC.</font></div>

<div dir=3D"ltr"><br>
<hr>
<font face=3D"Tahoma" size=3D"2"><b>From:</b> <a href=3D"mailto:cfrg-bounce=
s@irtf.org" target=3D"_blank">cfrg-bounces@irtf.org</a> on behalf of David =
Wagner<br><b>Sent:</b> Fri 1/9/2009 5:26 PM<br><b>To:</b> <a href=3D"mailto=
:cfrg@irtf.org" target=3D"_blank">cfrg@irtf.org</a><br>
<b>Subject:</b> [Cfrg] Analyzing IETF use of hash functions -- ORCHIDs<br><=
/font><br></div>
<div>
<div></div>
<div class=3D"Wj3C7c">
<div>
<p><font size=3D"2">[My earlier email seems to have been dropped by the lis=
t.<br>I&#39;ll try again.]<br><br>Hallam-Baker, Phillip wrote:<br>&gt;I am =
not sure that there are many prototcols where truncation takes<br>&gt;place=
, apart from IPSEC and similar transport layer security I can&#39;t<br>
&gt;think of a good reason to do that. And in the case of IPSEC the<br>&gt;=
practical use of the protocol is a very small subset of the original<br>&gt=
;design intent.<br>&gt;<br>&gt;Given the previous experience of security br=
eaches that have occured<br>
&gt;when a substitution of this type takes place without a full<br>&gt;reco=
nsideration of the security requirements of the protocol, my<br>&gt;prefere=
nce would be to avoid CMAC-AES for any purpose.<br><br>Well, I guess I disa=
gree.&nbsp; I&#39;ll lay out my reasoning.<br>
<br>It sounds like you&#39;ve been surprised to have discover that CMAC-AES=
 is<br>not secure in a mode of use that it was not designed for and was nev=
er<br>claimed to be secure for, and this surprise has shaken your confidenc=
e in<br>
CMAC-AES.&nbsp; I&#39;m not sure that&#39;s logical.&nbsp; The root cause o=
f your surprise<br>seems to be a misunderstanding of the security propertie=
s that CMAC-AES<br>was claimed to have, not an unexpected security failure =
of CMAC-AES.<br>
I suspect that everyone who understands CMAC-AES, the security theorem<br>f=
or CMAC-AES, and the distinction between a MAC, PRF, and random oracle<br>s=
hould not be surprised in the least by the properties of CMAC-AES.<br><br>
Once upon a time, we sometimes used to design protocols and throw in<br>has=
hes without thinking deeply about what purpose they serve.&nbsp; Today,<br>=
we understand that it is helpful to think more carefully what purpose<br>ea=
ch primitive is serving and what security properties we need it<br>
to have.&nbsp; Does it need to be a secure PRF?&nbsp; a MAC?&nbsp; a random=
 oracle?<br>CMAC-AES is a perfectly good PRF or MAC; it&#39;s a lousy rando=
m oracle.<br>As long as you understand that, and think carefully during pro=
tocol<br>design whether you need a PRF vs a random oracle, then you&#39;re =
fine.<br>
Don&#39;t send a CMAC-AES to do a random oracle&#39;s job, but it&#39;s per=
fectly<br>fine where a PRF or MAC is needed.<br><br>One might even be able =
to make an argument that CMAC-AES is a better<br>choice than MD5-HMAC or SH=
A1-HMAC for new designs where a MAC or PRF<br>
is needed.&nbsp; It&#39;s plausible that we should have higher confidence i=
n the<br>security of CMAC-AES (as a PRF) than MD5-HMAC or SHA1-HMAC (as a P=
RF).<br>AES was designed to be a secure PRP, and we have confidence that it=
<br>
meets this goal.&nbsp; In contrast, our confidence in MD5 and SHA1 have bee=
n<br>somewhat shaken, and while we don&#39;t have a strong reason to expect=
 this<br>to affect MD5-HMAC or SHA1-HMAC, it&#39;s also true that we don&#3=
9;t have a<br>
security reduction proof for HMAC that reduces its security to some<br>prop=
erty about MD5 or SHA1 that we have high confidence of (to the same<br>degr=
ee as we have confidence in AES&#39;s security as a PRP).<br><br>Personally=
 I think a policy of avoiding CMAC-AES for any purpose is<br>
not warranted.&nbsp; I think rather than criticizing CMAC-AES, you should<b=
r>criticize protocol designers who use primitives in a way that violates<br=
>their security warranty and that there is no reason to expect them to<br>b=
e secure in.&nbsp; Just my opinion.<br>
_______________________________________________<br>Cfrg mailing list<br><a =
href=3D"mailto:Cfrg@irtf.org" target=3D"_blank">Cfrg@irtf.org</a><br><a hre=
f=3D"http://www.irtf.org/mailman/listinfo/cfrg" target=3D"_blank">http://ww=
w.irtf.org/mailman/listinfo/cfrg</a><br>
</font></p></div></div></div></div><br>____________________________________=
___________<br>Cfrg mailing list<br><a href=3D"mailto:Cfrg@irtf.org">Cfrg@i=
rtf.org</a><br><a href=3D"http://www.irtf.org/mailman/listinfo/cfrg" target=
=3D"_blank">http://www.irtf.org/mailman/listinfo/cfrg</a><br>
<br></blockquote></div><br>

--00163616413b7288ca04601546b6--

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

_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
http://www.irtf.org/mailman/listinfo/cfrg

--===============0366954109==--


From cfrg-bounces@irtf.org  Fri Jan  9 16:07:39 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 2137C28C161;
	Fri,  9 Jan 2009 16:07:39 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 808D828C163
	for <cfrg@core3.amsl.com>; Fri,  9 Jan 2009 16:07:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.976
X-Spam-Level: 
X-Spam-Status: No, score=-1.976 tagged_above=-999 required=5
	tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id hJGvbEJ0lAMp for <cfrg@core3.amsl.com>;
	Fri,  9 Jan 2009 16:07:36 -0800 (PST)
Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.30])
	by core3.amsl.com (Postfix) with ESMTP id 44E663A6AF1
	for <cfrg@irtf.org>; Fri,  9 Jan 2009 16:07:36 -0800 (PST)
Received: by yw-out-2324.google.com with SMTP id 3so3909063ywj.37
	for <cfrg@irtf.org>; Fri, 09 Jan 2009 16:07:21 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:mime-version:sender:received:in-reply-to
	:references:date:x-google-sender-auth:message-id:subject:from:to:cc
	:content-type; bh=VsHzvH/G9QxVSFF3XpGdIxkWfAby5JZ2Myw5lBj9qDI=;
	b=l/TT2CdTp48Ryi7nrMjBJPHeCpWUPMOjQ4D1ry/IGFRatu3XO3rJvn5tWRy7UyqoAu
	GHp8JJrpeodFZFUgXYX8mbArXuRFB5Or4PdIsgxnT3fSrSLYjXLnoP5zs/RPoUI3AHtK
	ulmnuWi8Py/zPNW86B+xdc6wILTh6Nh8rgudA=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=mime-version:sender:in-reply-to:references:date
	:x-google-sender-auth:message-id:subject:from:to:cc:content-type;
	b=Dry9CsqVhVQ8T5NcXNG+fG1PHvRTK7j8Gd7Hntas7vCt6pplDInMkpR8SwzAZMdMOV
	Ggif1HLumCBVxO4f1qRD2oeLdbSM1eV8ZE2D7ixTd+ZT828e/uGZchOHcq7AUVwgiUtk
	36CUhrxbo9BcBUWSUqp5w/+oknMsMij41oKCg=
MIME-Version: 1.0
Received: by 10.90.99.3 with SMTP id w3mr12476988agb.27.1231546041224; Fri, 09 
	Jan 2009 16:07:21 -0800 (PST)
In-Reply-To: <5e3bb9c30cea11cc0c3851e635a6b8eb.squirrel@www.trepanning.net>
References: <decddf3efdaa2457ddec88c2513aaca1.squirrel@www.trepanning.net>
	<47015c2b0901080646k4fe0a695gda26b3da66462509@mail.gmail.com>
	<1696498986EFEC4D9153717DA325CB7202D74D54@vaebe104.NOE.Nokia.com>
	<7e9ce04559258f827f0d9952e8551b7b.squirrel@www.trepanning.net>
	<1696498986EFEC4D9153717DA325CB7202DB115F@vaebe104.NOE.Nokia.com>
	<5e3bb9c30cea11cc0c3851e635a6b8eb.squirrel@www.trepanning.net>
Date: Fri, 9 Jan 2009 19:07:21 -0500
X-Google-Sender-Auth: fcffb10602be2693
Message-ID: <e89b43830901091607x5f6f03fege1e56aba97d832e9@mail.gmail.com>
From: Hugo Krawczyk <hugo@ee.technion.ac.il>
To: Dan Harkins <dharkins@lounge.org>
Cc: cfrg@irtf.org, "Pasi.Eronen@nokia.com" <Pasi.Eronen@nokia.com>
Subject: Re: [Cfrg] re-using Diffie-Hellman exponentials
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mailman/private/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>
Content-Type: multipart/mixed; boundary="===============0042266042=="
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

--===============0042266042==
Content-Type: multipart/alternative; boundary=0016362836d64fcfee046015a803

--0016362836d64fcfee046015a803
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Are we talking about adding these checks against small subgroup attacks to
IKE?
Or to some other protocol?

If it's IKE, why do you think you need these small subgroup checks?

IKE (both v1 and v2) does NOT require these checks.

You can read the formal analysis of these protocols and convince yourself
that the security proof works without resorting to these tests.

Or, if you want informal rationale, there are two elements in IKE that make
sure you do not need these (sometimes very costly) checks:

(1) In IKE the DH values exchanged by the parties are fully and explicitly
authenticated and hence an attacker cannot change them in transit to a small
subgroup (or anything else) without being detected

(2) If your peer to a session sends you an element in a small subgroup your
session key may be weak (predictable) but your long-term security and the
security of other sessions is NOT compromised at all. As for the session key
being weak in this case there is not much you can do about it: when you
share a key with a crook you cannot guarantee a strong key. For example,
that crook can use a DH value in the right group but with a fully
predictable DH exponent (such as one from the set 1, 2, 3,.., 10).

What makes sure in IKE that (2) is not a problem is that the DH
exponentation in IKE does NOT involve your own private key. This is the
source of problems in other protocols for which the small-subgroup tests are
othen required.

If you still see a reason to add these checks to IKE, please let me know.

Of course, if IKE is changed to something else such as EC-DH or MQV, the
story may be different.

Hugo


On Thu, Jan 8, 2009 at 6:21 PM, Dan Harkins <dharkins@lounge.org> wrote:

>
> On Thu, January 8, 2009 1:11 pm, Pasi.Eronen@nokia.com wrote:
> > Dan Harkins wrote:
> >> This also needs protection against a small sub-group attack though.
> >> So the question remains. Are the checks I mentioned satisfactory?
> >
> > Hmm -- I thought that all the MODP groups defined for IKEv2 were of
> > the form p=2q+1, so the small subgroup attack doesn't work?
> > (because there are no small subgroups)
>
>  Groups 22-24 are not p=2q+1.
>
> > For ECDH groups, something might be still needed, though. Does
> > e.g. X9.63 say something about this? (I don't have a copy)
>
>  I don't have a copy of that either.
>
>  Dan.
>
>
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> https://www.irtf.org/mailman/listinfo/cfrg
>

--0016362836d64fcfee046015a803
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div>Are we talking about adding these checks against small subgroup attack=
s to IKE?</div>
<div>Or to some other protocol?</div>
<div>&nbsp;</div>
<div>If it&#39;s IKE, why do you think you need these small subgroup checks=
?</div>
<div>&nbsp;</div>
<div>IKE (both v1 and v2) does NOT require these checks.</div>
<div>&nbsp;</div>
<div>You can read the formal analysis of these protocols and convince yours=
elf that&nbsp;the security proof works without resorting to these tests.</d=
iv>
<div>&nbsp;</div>
<div>Or, if you want informal rationale, there are two elements in IKE that=
 make sure you do not need these (sometimes very costly) checks:</div>
<div>&nbsp;</div>
<div>(1) In IKE the DH values exchanged by the parties are fully and explic=
itly authenticated and hence an attacker cannot change them in transit to a=
 small subgroup (or anything else) without being detected</div>
<div>&nbsp;</div>
<div>(2) If your peer to a session sends you an element in a small subgroup=
 your session key may be weak (predictable) but your long-term security and=
 the security of other sessions is NOT compromised at all. As for the sessi=
on key being weak in this case there is not much you can do about it: when =
you share a key with a crook you cannot guarantee a strong key. For example=
, that crook can use a DH value in the right group but with a fully predict=
able DH exponent (such as one from the set 1, 2, 3,.., 10).</div>

<div>&nbsp;</div>
<div>What makes sure in IKE that (2) is not a problem is that the DH expone=
ntation in IKE does NOT involve your own private key. This is the source of=
 problems in other protocols for&nbsp;which the&nbsp;small-subgroup tests a=
re othen required.</div>

<div>&nbsp;</div>
<div>If you still see a reason to add these checks to IKE, please let me kn=
ow.</div>
<div>&nbsp;</div>
<div>Of course, if IKE is changed to something else such as EC-DH or MQV, t=
he story may be different.</div>
<div>&nbsp;</div>
<div>Hugo</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div class=3D"gmail_quote">On Thu, Jan 8, 2009 at 6:21 PM, Dan Harkins <spa=
n dir=3D"ltr">&lt;<a href=3D"mailto:dharkins@lounge.org">dharkins@lounge.or=
g</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"PADDING-LEFT: 1ex; MARGIN: 0px 0=
px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class=3D"Ih2E3d"><br>On Thu, January 8, 2009 1:11 pm, <a href=3D"mailt=
o:Pasi.Eronen@nokia.com">Pasi.Eronen@nokia.com</a> wrote:<br>&gt; Dan Harki=
ns wrote:<br>&gt;&gt; This also needs protection against a small sub-group =
attack though.<br>
&gt;&gt; So the question remains. Are the checks I mentioned satisfactory?<=
br>&gt;<br>&gt; Hmm -- I thought that all the MODP groups defined for IKEv2=
 were of<br>&gt; the form p=3D2q+1, so the small subgroup attack doesn&#39;=
t work?<br>
&gt; (because there are no small subgroups)<br><br></div>&nbsp;Groups 22-24=
 are not p=3D2q+1.<br>
<div class=3D"Ih2E3d"><br>&gt; For ECDH groups, something might be still ne=
eded, though. Does<br>&gt; e.g. X9.63 say something about this? (I don&#39;=
t have a copy)<br><br></div>&nbsp;I don&#39;t have a copy of that either.<b=
r>
<font color=3D"#888888"><br>&nbsp;Dan.<br></font>
<div>
<div></div>
<div class=3D"Wj3C7c"><br><br><br>_________________________________________=
______<br>Cfrg mailing list<br><a href=3D"mailto:Cfrg@irtf.org">Cfrg@irtf.o=
rg</a><br><a href=3D"https://www.irtf.org/mailman/listinfo/cfrg" target=3D"=
_blank">https://www.irtf.org/mailman/listinfo/cfrg</a><br>
</div></div></blockquote></div><br>

--0016362836d64fcfee046015a803--

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

_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
http://www.irtf.org/mailman/listinfo/cfrg

--===============0042266042==--


From cfrg-bounces@irtf.org  Fri Jan  9 16:09:37 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 8021428C166;
	Fri,  9 Jan 2009 16:09:37 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 750EF28C166
	for <cfrg@core3.amsl.com>; Fri,  9 Jan 2009 16:09:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.155
X-Spam-Level: 
X-Spam-Status: No, score=-6.155 tagged_above=-999 required=5 tests=[AWL=0.443, 
	BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id GeUFPxEG64hX for <cfrg@core3.amsl.com>;
	Fri,  9 Jan 2009 16:09:34 -0800 (PST)
Received: from colibri.verisign.com (colibri.verisign.com [65.205.251.74])
	by core3.amsl.com (Postfix) with ESMTP id 868E228C161
	for <cfrg@irtf.org>; Fri,  9 Jan 2009 16:09:34 -0800 (PST)
Received: from mou1wnexcn01.vcorp.ad.vrsn.com (mailer1.verisign.com
	[65.205.251.34])
	by colibri.verisign.com (8.13.6/8.13.4) with ESMTP id n09NknG8006752;
	Fri, 9 Jan 2009 15:46:49 -0800
Received: from MOU1WNEXMB09.vcorp.ad.vrsn.com ([10.25.15.197]) by
	mou1wnexcn01.vcorp.ad.vrsn.com with Microsoft
	SMTPSVC(6.0.3790.3959); Fri, 9 Jan 2009 16:09:13 -0800
Content-class: urn:content-classes:message
MIME-Version: 1.0
X-MimeOLE: Produced By Microsoft Exchange V6.5
Date: Fri, 9 Jan 2009 16:09:12 -0800
Message-ID: <2788466ED3E31C418E9ACC5C316615572FFC6B@mou1wnexmb09.vcorp.ad.vrsn.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Cfrg] Analyzing IETF use of hash functions -- ORCHIDs
Thread-Index: Aclys5eN2/AqCayMSnS56Qa5ZuF1bQAAeRMR
References: <00be01c96faf$8bea0720$800c6f0a@china.huawei.com><2788466ED3E31C418E9ACC5C316615572FFC56@mou1wnexmb09.vcorp.ad.vrsn.com><53C20AF4-AD14-47FF-A108-AE88F1DC367C@cisco.com><2788466ED3E31C418E9ACC5C316615572FFC63@mou1wnexmb09.vcorp.ad.vrsn.com><200901092226.n09MQMBc027722@taverner.cs.berkeley.edu><2788466ED3E31C418E9ACC5C316615572FFC6A@mou1wnexmb09.vcorp.ad.vrsn.com>
	<e89b43830901091539t14a007dbkdab11ea5c965743d@mail.gmail.com>
From: "Hallam-Baker, Phillip" <pbaker@verisign.com>
To: "Hugo Krawczyk" <hugo@ee.technion.ac.il>
X-OriginalArrivalTime: 10 Jan 2009 00:09:13.0037 (UTC)
	FILETIME=[AB01BFD0:01C972B7]
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] Analyzing IETF use of hash functions -- ORCHIDs
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mailman/private/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>
Content-Type: multipart/mixed; boundary="===============0728961203=="
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

This is a multi-part message in MIME format.

--===============0728961203==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C972B7.AACEFFD1"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C972B7.AACEFFD1
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

The problem is PR.

Past experience of HMAC-SHA1 is that when any attack that might affect =
the security of SHA1 is raised, the security of HMAC-SHA1 may be called =
into question both by journalists and by competitor's salespersons whose =
product happens to use a different algorithm.

So while RMX-SHA256 might provide a perfectly adequate insurance policy =
for a defect in SHA256 on a technical level, it is not adequate on the =
PR level. And since that is a sales driver that is a significant =
consideration.=20


Given that we are now onto our third mainstream digest function whose =
security has become questionable as a result of non-brute force attack, =
I would prefer to have an insurance policy based on a block cipher.


A secondary concern is to do with the way that process failures turn =
into security failures. If you operate anything on a sufficiently =
extended scale you are eventually going to see process failures. I have =
a habit of over-designing systems according to some tastes and building =
in contingency plans that most people tend to consider unnecessary =
precisely because I have been doing this long enough to have had =
recourse to them.

Murphy originally proposed his law because he recognized that the way to =
avoid such process failures was to avoid giving the option to do =
something wrong.

-----Original Message-----
From: hugokraw@gmail.com on behalf of Hugo Krawczyk
Sent: Fri 1/9/2009 6:39 PM
To: Hallam-Baker, Phillip
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] Analyzing IETF use of hash functions -- ORCHIDs
=20
Phil,
=20
If we knew how to build a cryptographic primitive that could be plugged =
in for all cryptographic purposes we would be very happy. But so far we =
have had a hard time even designing things that are much less ambitious =
and are tailored to more modest goals (such as collision resistance).
=20
As you mention in the msg below, what you really want is a "random =
oracle", but these are mathematical abstractions useful in the analysis =
of protocols but not something we can really build. It is better to =
accept our limitations and be conscious of what roles each cryptographic =
primitive and function can offer. This does not make things easy for the =
engineer that is not a crypto expert but telling that engineer that we =
have a fully multi-purpse constructs would be cheating. Fortunately, we =
have standards that engineers can follow. The best we can do is to =
design these standards with good cryptographic expertise and with as =
much rationale as possible.
=20
Even though I have some "personal feelings" for HMAC, I have worked very =
hard in many instances to make sure that HMAC is NOT wired in into =
protocols as a magic function. The fact that you have acronyms such as =
"PRF" and "MAC" in ipsec and TLS follows this view. Call your component =
by a name that represents its functionality not by a specifc =
implementation.
=20
Now, regarding your original post that wanted to use CMAC as a =
randomized hashing algorithm: You were disappointed by the limitations =
of CMAC for this (and other) purposes. You seem to find HMAC more =
versatile but (unfortunately) HMAC is not a great candidate for =
randomizing a hash function for the purpose of countering collision =
attacks. As it was already pointed out in this thread, it was this =
realization that motivated building a special purpose mechanism that =
does have the required properties.
=20
I guess that you are familiar with the randomized hashing work presented =
in http://tools.ietf.org/html/draft-irtf-cfrg-rhash-01 and being =
standardized by NIST
http://csrc.nist.gov/publications/drafts/800-106/2nd-Draft_SP800-106_July=
2008.pdf.
=20
Do you see any special reason why this mechanism would not fulfill your =
hash randomization goals?
=20
Hugo

=20
On Fri, Jan 9, 2009 at 5:52 PM, Hallam-Baker, Phillip =
<pbaker@verisign.com> wrote:


	The problem with your approach is that it is predicated on people doing =
the right thing and understanding what they are doing.
	=20
	In the real world things break because most people do not know what =
they are doing - and that includes academics who are purportedly expert =
in their field..
	=20
	Reference to formal approaches does not give me any more confidence =
here. My thesis was on the use of formal methods, my college tutor was =
Tony Hoare. I know the value of that approach, I also know the failure =
modes. In particular formal methods very frequently break precisely =
because the requirements were not fully explained to the designer.
	=20
	=20
	The conclusion I reach here is that it is not possible to take a random =
protocol and substitute CMAC for HMAC without going through a full =
security analysis. I don't think anyone is disputing that.
	=20
	Where we disagree is that you think that this is likely to happen and I =
suspect it rather likely that it will not.
	=20
	=20
	There is no formal necessity for many security properties of =
cryptographic algorithms. There is no formal requirement for =
zero-knowledge as far as I am aware. But if it is cheap and it is on =
offer I will take it. Having a MAC function that is also a random oracle =
is better than having one that merely supports the minimum criteria for =
being a MAC.

________________________________

	From: cfrg-bounces@irtf.org on behalf of David Wagner
	Sent: Fri 1/9/2009 5:26 PM
	To: cfrg@irtf.org
	Subject: [Cfrg] Analyzing IETF use of hash functions -- ORCHIDs
=09
=09

	[My earlier email seems to have been dropped by the list.
	I'll try again.]
=09
	Hallam-Baker, Phillip wrote:
	>I am not sure that there are many prototcols where truncation takes
	>place, apart from IPSEC and similar transport layer security I can't
	>think of a good reason to do that. And in the case of IPSEC the
	>practical use of the protocol is a very small subset of the original
	>design intent.
	>
	>Given the previous experience of security breaches that have occured
	>when a substitution of this type takes place without a full
	>reconsideration of the security requirements of the protocol, my
	>preference would be to avoid CMAC-AES for any purpose.
=09
	Well, I guess I disagree.  I'll lay out my reasoning.
=09
	It sounds like you've been surprised to have discover that CMAC-AES is
	not secure in a mode of use that it was not designed for and was never
	claimed to be secure for, and this surprise has shaken your confidence =
in
	CMAC-AES.  I'm not sure that's logical.  The root cause of your =
surprise
	seems to be a misunderstanding of the security properties that CMAC-AES
	was claimed to have, not an unexpected security failure of CMAC-AES.
	I suspect that everyone who understands CMAC-AES, the security theorem
	for CMAC-AES, and the distinction between a MAC, PRF, and random oracle
	should not be surprised in the least by the properties of CMAC-AES.
=09
	Once upon a time, we sometimes used to design protocols and throw in
	hashes without thinking deeply about what purpose they serve.  Today,
	we understand that it is helpful to think more carefully what purpose
	each primitive is serving and what security properties we need it
	to have.  Does it need to be a secure PRF?  a MAC?  a random oracle?
	CMAC-AES is a perfectly good PRF or MAC; it's a lousy random oracle.
	As long as you understand that, and think carefully during protocol
	design whether you need a PRF vs a random oracle, then you're fine.
	Don't send a CMAC-AES to do a random oracle's job, but it's perfectly
	fine where a PRF or MAC is needed.
=09
	One might even be able to make an argument that CMAC-AES is a better
	choice than MD5-HMAC or SHA1-HMAC for new designs where a MAC or PRF
	is needed.  It's plausible that we should have higher confidence in the
	security of CMAC-AES (as a PRF) than MD5-HMAC or SHA1-HMAC (as a PRF).
	AES was designed to be a secure PRP, and we have confidence that it
	meets this goal.  In contrast, our confidence in MD5 and SHA1 have been
	somewhat shaken, and while we don't have a strong reason to expect this
	to affect MD5-HMAC or SHA1-HMAC, it's also true that we don't have a
	security reduction proof for HMAC that reduces its security to some
	property about MD5 or SHA1 that we have high confidence of (to the same
	degree as we have confidence in AES's security as a PRP).
=09
	Personally I think a policy of avoiding CMAC-AES for any purpose is
	not warranted.  I think rather than criticizing CMAC-AES, you should
	criticize protocol designers who use primitives in a way that violates
	their security warranty and that there is no reason to expect them to
	be secure in.  Just my opinion.
	_______________________________________________
	Cfrg mailing list
	Cfrg@irtf.org
	http://www.irtf.org/mailman/listinfo/cfrg
=09


	_______________________________________________
	Cfrg mailing list
	Cfrg@irtf.org
	http://www.irtf.org/mailman/listinfo/cfrg
=09
=09




------_=_NextPart_001_01C972B7.AACEFFD1
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.7653.38">
<TITLE>RE: [Cfrg] Analyzing IETF use of hash functions -- =
ORCHIDs</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=3D2>The problem is PR.<BR>
<BR>
Past experience of HMAC-SHA1 is that when any attack that might affect =
the security of SHA1 is raised, the security of HMAC-SHA1 may be called =
into question both by journalists and by competitor's salespersons whose =
product happens to use a different algorithm.<BR>
<BR>
So while RMX-SHA256 might provide a perfectly adequate insurance policy =
for a defect in SHA256 on a technical level, it is not adequate on the =
PR level. And since that is a sales driver that is a significant =
consideration.<BR>
<BR>
<BR>
Given that we are now onto our third mainstream digest function whose =
security has become questionable as a result of non-brute force attack, =
I would prefer to have an insurance policy based on a block cipher.<BR>
<BR>
<BR>
A secondary concern is to do with the way that process failures turn =
into security failures. If you operate anything on a sufficiently =
extended scale you are eventually going to see process failures. I have =
a habit of over-designing systems according to some tastes and building =
in contingency plans that most people tend to consider unnecessary =
precisely because I have been doing this long enough to have had =
recourse to them.<BR>
<BR>
Murphy originally proposed his law because he recognized that the way to =
avoid such process failures was to avoid giving the option to do =
something wrong.<BR>
<BR>
-----Original Message-----<BR>
From: hugokraw@gmail.com on behalf of Hugo Krawczyk<BR>
Sent: Fri 1/9/2009 6:39 PM<BR>
To: Hallam-Baker, Phillip<BR>
Cc: cfrg@irtf.org<BR>
Subject: Re: [Cfrg] Analyzing IETF use of hash functions -- ORCHIDs<BR>
<BR>
Phil,<BR>
<BR>
If we knew how to build a cryptographic primitive that could be plugged =
in for all cryptographic purposes we would be very happy. But so far we =
have had a hard time even designing things that are much less ambitious =
and are tailored to more modest goals (such as collision =
resistance).<BR>
<BR>
As you mention in the msg below, what you really want is a &quot;random =
oracle&quot;, but these are mathematical abstractions useful in the =
analysis of protocols but not something we can really build. It is =
better to accept our limitations and be conscious of what roles each =
cryptographic primitive and function can offer. This does not make =
things easy for the engineer that is not a crypto expert but telling =
that engineer that we have a fully multi-purpse constructs would be =
cheating. Fortunately, we have standards that engineers can follow. The =
best we can do is to design these standards with good cryptographic =
expertise and with as much rationale as possible.<BR>
<BR>
Even though I have some &quot;personal feelings&quot; for HMAC, I have =
worked very hard in many instances to make sure that HMAC is NOT wired =
in into protocols as a magic function. The fact that you have acronyms =
such as &quot;PRF&quot; and &quot;MAC&quot; in ipsec and TLS follows =
this view. Call your component by a name that represents its =
functionality not by a specifc implementation.<BR>
<BR>
Now, regarding your original post that wanted to use CMAC as a =
randomized hashing algorithm: You were disappointed by the limitations =
of CMAC for this (and other) purposes. You seem to find HMAC more =
versatile but (unfortunately) HMAC is not a great candidate for =
randomizing a hash function for the purpose of countering collision =
attacks. As it was already pointed out in this thread, it was this =
realization that motivated building a special purpose mechanism that =
does have the required properties.<BR>
<BR>
I guess that you are familiar with the randomized hashing work presented =
in <A =
HREF=3D"http://tools.ietf.org/html/draft-irtf-cfrg-rhash-01">http://tools=
.ietf.org/html/draft-irtf-cfrg-rhash-01</A> and being standardized by =
NIST<BR>
<A =
HREF=3D"http://csrc.nist.gov/publications/drafts/800-106/2nd-Draft_SP800-=
106_July2008.pdf">http://csrc.nist.gov/publications/drafts/800-106/2nd-Dr=
aft_SP800-106_July2008.pdf</A>.<BR>
<BR>
Do you see any special reason why this mechanism would not fulfill your =
hash randomization goals?<BR>
<BR>
Hugo<BR>
<BR>
<BR>
On Fri, Jan 9, 2009 at 5:52 PM, Hallam-Baker, Phillip =
&lt;pbaker@verisign.com&gt; wrote:<BR>
<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The problem with your =
approach is that it is predicated on people doing the right thing and =
understanding what they are doing.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; In the real world things =
break because most people do not know what they are doing - and that =
includes academics who are purportedly expert in their field..<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Reference to formal =
approaches does not give me any more confidence here. My thesis was on =
the use of formal methods, my college tutor was Tony Hoare. I know the =
value of that approach, I also know the failure modes. In particular =
formal methods very frequently break precisely because the requirements =
were not fully explained to the designer.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The conclusion I reach here =
is that it is not possible to take a random protocol and substitute CMAC =
for HMAC without going through a full security analysis. I don't think =
anyone is disputing that.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Where we disagree is that you =
think that this is likely to happen and I suspect it rather likely that =
it will not.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; There is no formal necessity =
for many security properties of cryptographic algorithms. There is no =
formal requirement for zero-knowledge as far as I am aware. But if it is =
cheap and it is on offer I will take it. Having a MAC function that is =
also a random oracle is better than having one that merely supports the =
minimum criteria for being a MAC.<BR>
<BR>
________________________________<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; From: cfrg-bounces@irtf.org =
on behalf of David Wagner<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sent: Fri 1/9/2009 5:26 =
PM<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; To: cfrg@irtf.org<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Subject: [Cfrg] Analyzing =
IETF use of hash functions -- ORCHIDs<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [My earlier email seems to =
have been dropped by the list.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I'll try again.]<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Hallam-Baker, Phillip =
wrote:<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt;I am not sure that there =
are many prototcols where truncation takes<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt;place, apart from IPSEC =
and similar transport layer security I can't<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt;think of a good reason to =
do that. And in the case of IPSEC the<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt;practical use of the =
protocol is a very small subset of the original<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt;design intent.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt;Given the previous =
experience of security breaches that have occured<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt;when a substitution of =
this type takes place without a full<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt;reconsideration of the =
security requirements of the protocol, my<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt;preference would be to =
avoid CMAC-AES for any purpose.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Well, I guess I =
disagree.&nbsp; I'll lay out my reasoning.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; It sounds like you've been =
surprised to have discover that CMAC-AES is<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; not secure in a mode of use =
that it was not designed for and was never<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; claimed to be secure for, and =
this surprise has shaken your confidence in<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CMAC-AES.&nbsp; I'm not sure =
that's logical.&nbsp; The root cause of your surprise<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; seems to be a =
misunderstanding of the security properties that CMAC-AES<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; was claimed to have, not an =
unexpected security failure of CMAC-AES.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I suspect that everyone who =
understands CMAC-AES, the security theorem<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for CMAC-AES, and the =
distinction between a MAC, PRF, and random oracle<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; should not be surprised in =
the least by the properties of CMAC-AES.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Once upon a time, we =
sometimes used to design protocols and throw in<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; hashes without thinking =
deeply about what purpose they serve.&nbsp; Today,<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; we understand that it is =
helpful to think more carefully what purpose<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; each primitive is serving and =
what security properties we need it<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; to have.&nbsp; Does it need =
to be a secure PRF?&nbsp; a MAC?&nbsp; a random oracle?<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CMAC-AES is a perfectly good =
PRF or MAC; it's a lousy random oracle.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; As long as you understand =
that, and think carefully during protocol<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; design whether you need a PRF =
vs a random oracle, then you're fine.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Don't send a CMAC-AES to do a =
random oracle's job, but it's perfectly<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fine where a PRF or MAC is =
needed.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; One might even be able to =
make an argument that CMAC-AES is a better<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; choice than MD5-HMAC or =
SHA1-HMAC for new designs where a MAC or PRF<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; is needed.&nbsp; It's =
plausible that we should have higher confidence in the<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; security of CMAC-AES (as a =
PRF) than MD5-HMAC or SHA1-HMAC (as a PRF).<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AES was designed to be a =
secure PRP, and we have confidence that it<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; meets this goal.&nbsp; In =
contrast, our confidence in MD5 and SHA1 have been<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; somewhat shaken, and while we =
don't have a strong reason to expect this<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; to affect MD5-HMAC or =
SHA1-HMAC, it's also true that we don't have a<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; security reduction proof for =
HMAC that reduces its security to some<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; property about MD5 or SHA1 =
that we have high confidence of (to the same<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; degree as we have confidence =
in AES's security as a PRP).<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Personally I think a policy =
of avoiding CMAC-AES for any purpose is<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; not warranted.&nbsp; I think =
rather than criticizing CMAC-AES, you should<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; criticize protocol designers =
who use primitives in a way that violates<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; their security warranty and =
that there is no reason to expect them to<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; be secure in.&nbsp; Just my =
opinion.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
_______________________________________________<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cfrg mailing list<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cfrg@irtf.org<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A =
HREF=3D"http://www.irtf.org/mailman/listinfo/cfrg">http://www.irtf.org/ma=
ilman/listinfo/cfrg</A><BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
_______________________________________________<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cfrg mailing list<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cfrg@irtf.org<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A =
HREF=3D"http://www.irtf.org/mailman/listinfo/cfrg">http://www.irtf.org/ma=
ilman/listinfo/cfrg</A><BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
<BR>
<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C972B7.AACEFFD1--

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

_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
http://www.irtf.org/mailman/listinfo/cfrg

--===============0728961203==--


From cfrg-bounces@irtf.org  Fri Jan  9 16:11:30 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 45F153A6AF1;
	Fri,  9 Jan 2009 16:11:30 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 0BD043A6AF1
	for <cfrg@core3.amsl.com>; Fri,  9 Jan 2009 16:11:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.563
X-Spam-Level: 
X-Spam-Status: No, score=-6.563 tagged_above=-999 required=5 tests=[AWL=0.035, 
	BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id WMLVDNNwPJhZ for <cfrg@core3.amsl.com>;
	Fri,  9 Jan 2009 16:11:28 -0800 (PST)
Received: from sj-iport-6.cisco.com (sj-iport-6.cisco.com [171.71.176.117])
	by core3.amsl.com (Postfix) with ESMTP id 04D6C3A6A56
	for <cfrg@irtf.org>; Fri,  9 Jan 2009 16:11:28 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.37,242,1231113600"; 
	d="scan'208,217";a="227084533"
Received: from sj-dkim-3.cisco.com ([171.71.179.195])
	by sj-iport-6.cisco.com with ESMTP; 10 Jan 2009 00:11:14 +0000
Received: from sj-core-2.cisco.com (sj-core-2.cisco.com [171.71.177.254])
	by sj-dkim-3.cisco.com (8.12.11/8.12.11) with ESMTP id n0A0BEOY020705; 
	Fri, 9 Jan 2009 16:11:14 -0800
Received: from xbh-sjc-231.amer.cisco.com (xbh-sjc-231.cisco.com
	[128.107.191.100])
	by sj-core-2.cisco.com (8.13.8/8.13.8) with ESMTP id n0A0BERF025138;
	Sat, 10 Jan 2009 00:11:14 GMT
Received: from xfe-sjc-212.amer.cisco.com ([171.70.151.187]) by
	xbh-sjc-231.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Fri, 9 Jan 2009 16:11:14 -0800
Received: from stealth-10-32-254-212.cisco.com ([10.32.254.212]) by
	xfe-sjc-212.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Fri, 9 Jan 2009 16:11:13 -0800
Message-Id: <5A87876E-692C-4E5E-85A5-8E19BA050C3F@cisco.com>
From: David McGrew <mcgrew@cisco.com>
To: "Hallam-Baker, Phillip" <pbaker@verisign.com>
In-Reply-To: <2788466ED3E31C418E9ACC5C316615572FFC67@mou1wnexmb09.vcorp.ad.vrsn.com>
Mime-Version: 1.0 (Apple Message framework v929.2)
Date: Fri, 9 Jan 2009 16:11:12 -0800
References: <00be01c96faf$8bea0720$800c6f0a@china.huawei.com><2788466ED3E31C418E9ACC5C316615572FFC4B@mou1wnexmb09.vcorp.ad.vrsn.com><4965AAFF.3060209@sbcglobal.net><2788466ED3E31C418E9ACC5C316615572FFC54@mou1wnexmb09.vcorp.ad.vrsn.com><B8AB1183-4531-413F-9186-29CC972A5712@cisco.com><2788466ED3E31C418E9ACC5C316615572FFC56@mou1wnexmb09.vcorp.ad.vrsn.com><53C20AF4-AD14-47FF-A108-AE88F1DC367C@cisco.com><2788466ED3E31C418E9ACC5C316615572FFC63@mou1wnexmb09.vcorp.ad.vrsn.com><F63CC092-AA48-4629-AD3A-1B338D9ECF56@cisco.com><2788466ED3E31C418E9ACC5C316615572FFC65@mou1wnexmb09.vcorp.ad.vrsn.com>
	<da7b3ce30901091230q727b1a0ar110a6a94884bc4af@mail.gmail.com>
	<2788466ED3E31C418E9ACC5C316615572FFC67@mou1wnexmb09.vcorp.ad.vrsn.com>
X-Mailer: Apple Mail (2.929.2)
X-OriginalArrivalTime: 10 Jan 2009 00:11:13.0766 (UTC)
	FILETIME=[F2F78860:01C972B7]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=2582; t=1231546274;
	x=1232410274; c=relaxed/simple; s=sjdkim3002;
	h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version;
	d=cisco.com; i=mcgrew@cisco.com;
	z=From:=20David=20McGrew=20<mcgrew@cisco.com>
	|Subject:=20Re=3A=20[Cfrg]=20suitability=20of=20AES-CMAC=20
	(was=3A=20Re=3A=20Analyzing=20IETF=20use=20of=20hash=20funct
	ions=20--=20ORCHIDs) |Sender:=20;
	bh=jrOyRfVeyAO8+WnF1//VbH63mymTGGW11pLcyU7mTSQ=;
	b=Xm76ySu/56vqj4jM2ZESFu/SfucxFgpXUXXoQBy5kddnma5gCcAa+YNcIM
	XF262C9QZNIKB6RCULZuPj9LHInmxYQwjr16DLZQKd05xZx9VOhXAxD71/+j
	uGpccAw6B9;
Authentication-Results: sj-dkim-3; header.From=mcgrew@cisco.com; dkim=pass (
	sig from cisco.com/sjdkim3002 verified; ); 
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] suitability of AES-CMAC (was: Re: Analyzing IETF use of
	hash functions -- ORCHIDs)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mailman/private/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>
Content-Type: multipart/mixed; boundary="===============1520996785=="
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org


--===============1520996785==
Content-Type: multipart/alternative; boundary=Apple-Mail-338--163998239


--Apple-Mail-338--163998239
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed;
	delsp=yes
Content-Transfer-Encoding: 7bit


On Jan 9, 2009, at 12:33 PM, Hallam-Baker, Phillip wrote:

> You think you know how to create a collision in HMAC?
>

sure, if I get to choose the hash function.  More seriously, if an  
attacker gets to choose the HMAC key, and the attacker can generate a  
collision in the underlying hash function, then the attacker can  
generate HMAC collisions by causing a collision in the inner  
invocation of the hash.  If the attacker doesn't get to choose the  
key, but can generate two inputs to the inner hash that have identical  
prefixes (at least as long as ipad) that cause a collision in the  
hash, then the attacker can find collisions in HMAC.   As you know,  
the details for HMAC-MD5 and HMAC-SHA1 will depend on the adversary's  
resources and on what control if any the attacker has over the HMAC  
key in your security model.

David
--Apple-Mail-338--163998239
Content-Type: text/html;
	charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

<html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; "><br><div><div>On Jan 9, 2009, =
at 12:33 PM, Hallam-Baker, Phillip wrote:</div><br =
class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><div> <div =
id=3D"idOWAReplyText46957" dir=3D"ltr"> <div dir=3D"ltr" =
style=3D"font-size: 15px; "><font face=3D"Arial" color=3D"#000000" =
size=3D"2" style=3D"font-size: 12px; ">You think you know how to create =
a collision in HMAC?&nbsp;</font></div> <div dir=3D"ltr"><font =
face=3D"Arial" =
size=3D"2"></font>&nbsp;</div></div></div></blockquote><br></div><div>sure=
, if I get to choose the hash function. &nbsp;More seriously, if an =
attacker gets to choose the HMAC key, and the attacker can generate a =
collision in the underlying hash function, then the attacker can =
generate HMAC collisions by causing a collision in the inner invocation =
of the hash. &nbsp;If the attacker doesn't get to choose the key, but =
can generate two inputs to the inner hash that have identical prefixes =
(at least as long as ipad) that cause a collision in the hash, then the =
attacker can find collisions in HMAC. &nbsp;&nbsp;As you know, the =
details for HMAC-MD5 and HMAC-SHA1 will depend on the adversary's =
resources and on what control if any the attacker has over the HMAC key =
in your security model. =
&nbsp;</div><div><br></div><div>David</div></body></html>=

--Apple-Mail-338--163998239--

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

_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
http://www.irtf.org/mailman/listinfo/cfrg

--===============1520996785==--


From cfrg-bounces@irtf.org  Fri Jan  9 16:18:28 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id C1E5028C171;
	Fri,  9 Jan 2009 16:18:28 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 0224B28C177
	for <cfrg@core3.amsl.com>; Fri,  9 Jan 2009 16:18:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.976
X-Spam-Level: 
X-Spam-Status: No, score=-1.976 tagged_above=-999 required=5
	tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id yOkPdVs0gj1I for <cfrg@core3.amsl.com>;
	Fri,  9 Jan 2009 16:18:26 -0800 (PST)
Received: from mail-gx0-f15.google.com (mail-gx0-f15.google.com
	[209.85.217.15])
	by core3.amsl.com (Postfix) with ESMTP id B95BB28C174
	for <cfrg@irtf.org>; Fri,  9 Jan 2009 16:18:25 -0800 (PST)
Received: by gxk8 with SMTP id 8so8068799gxk.7
	for <cfrg@irtf.org>; Fri, 09 Jan 2009 16:18:11 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:mime-version:sender:received:in-reply-to
	:references:date:x-google-sender-auth:message-id:subject:from:to:cc
	:content-type; bh=cbQCup/yFIjQuP0LSMJBO1Ct7oX8gJUu+LmyIwxen54=;
	b=WUgSM3pStqJeXwOpDTq7B7LmRxPtIvDViYm+Rn8v5QYK8iOgPEgiwF7u6Am5AQrDIq
	DlZGWmOEBtmIm27qIri6SJnSDrJ8xfNL8H74i+gQ+/PuK4DILzIuboWjwLETkYj1xypt
	fi3Q5nq4CxBmIH9iDAE2KQSP1DT4hGpTUOrUc=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=mime-version:sender:in-reply-to:references:date
	:x-google-sender-auth:message-id:subject:from:to:cc:content-type;
	b=nB1Amfjyw1nJLEQHS73kwc/1GZFv1vouLZvLybNIm5VizcmQZTQJMXziiSrfU5k4J2
	6N25Pjpjzeu4zgC5Hx7e0m3xCcPiD5qVl8NSWawY/v4YdW9PZgXZHB+bxHzdNkAE+WeP
	xZkHzbTcodemT7hZCAtCaxh/dcKiBv8U639IQ=
MIME-Version: 1.0
Received: by 10.90.98.12 with SMTP id v12mr12450531agb.64.1231546691736; Fri, 
	09 Jan 2009 16:18:11 -0800 (PST)
In-Reply-To: <2788466ED3E31C418E9ACC5C316615572FFC6B@mou1wnexmb09.vcorp.ad.vrsn.com>
References: <00be01c96faf$8bea0720$800c6f0a@china.huawei.com>
	<2788466ED3E31C418E9ACC5C316615572FFC56@mou1wnexmb09.vcorp.ad.vrsn.com>
	<53C20AF4-AD14-47FF-A108-AE88F1DC367C@cisco.com>
	<2788466ED3E31C418E9ACC5C316615572FFC63@mou1wnexmb09.vcorp.ad.vrsn.com>
	<200901092226.n09MQMBc027722@taverner.cs.berkeley.edu>
	<2788466ED3E31C418E9ACC5C316615572FFC6A@mou1wnexmb09.vcorp.ad.vrsn.com>
	<e89b43830901091539t14a007dbkdab11ea5c965743d@mail.gmail.com>
	<2788466ED3E31C418E9ACC5C316615572FFC6B@mou1wnexmb09.vcorp.ad.vrsn.com>
Date: Fri, 9 Jan 2009 19:18:11 -0500
X-Google-Sender-Auth: 4ebdc952a4714fc5
Message-ID: <e89b43830901091618q405027b1h5e8ca8ad15a20e54@mail.gmail.com>
From: Hugo Krawczyk <hugo@ee.technion.ac.il>
To: "Hallam-Baker, Phillip" <pbaker@verisign.com>
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] Analyzing IETF use of hash functions -- ORCHIDs
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mailman/private/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>
Content-Type: multipart/mixed; boundary="===============1123669772=="
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

--===============1123669772==
Content-Type: multipart/alternative; boundary=0016363108ab15d469046015cfb5

--0016363108ab15d469046015cfb5
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Phil,

I understand the PR issues. But we also have to take care of the real
security issues. Saying we tried a solution based on block ciphers maybe a
PR sttaement but probably not very useful to achieve real security. Note
that you have to be very careful here. If you add a randomization as a front
end to existing (or future) hash functions, which is the most practical way
to do it (in particular for compatibility reasons), you must be very careful
not to add collisions in that front end module. Using a block cipher with a
known key (this is necessary since your hash operation must be non-secret)
can easily lead to collisions. Thus, you may end with collisions due to
randomization even if your hash function is fully collision resistant.
So let's not ignore PR (a serious consideration in the secuity industry) but
let's not sacrifice actual security on the name of PR.

Hugo
On Fri, Jan 9, 2009 at 7:09 PM, Hallam-Baker, Phillip
<pbaker@verisign.com>wrote:

>  The problem is PR.
>
> Past experience of HMAC-SHA1 is that when any attack that might affect the
> security of SHA1 is raised, the security of HMAC-SHA1 may be called into
> question both by journalists and by competitor's salespersons whose product
> happens to use a different algorithm.
>
> So while RMX-SHA256 might provide a perfectly adequate insurance policy for
> a defect in SHA256 on a technical level, it is not adequate on the PR level.
> And since that is a sales driver that is a significant consideration.
>
>
> Given that we are now onto our third mainstream digest function whose
> security has become questionable as a result of non-brute force attack, I
> would prefer to have an insurance policy based on a block cipher.
>
>
> A secondary concern is to do with the way that process failures turn into
> security failures. If you operate anything on a sufficiently extended scale
> you are eventually going to see process failures. I have a habit of
> over-designing systems according to some tastes and building in contingency
> plans that most people tend to consider unnecessary precisely because I have
> been doing this long enough to have had recourse to them.
>
> Murphy originally proposed his law because he recognized that the way to
> avoid such process failures was to avoid giving the option to do something
> wrong.
>
> -----Original Message-----
> From: hugokraw@gmail.com on behalf of Hugo Krawczyk
> Sent: Fri 1/9/2009 6:39 PM
> To: Hallam-Baker, Phillip
>  Cc: cfrg@irtf.org
> Subject: Re: [Cfrg] Analyzing IETF use of hash functions -- ORCHIDs
>
> Phil,
>
> If we knew how to build a cryptographic primitive that could be plugged in
> for all cryptographic purposes we would be very happy. But so far we have
> had a hard time even designing things that are much less ambitious and are
> tailored to more modest goals (such as collision resistance).
>
> As you mention in the msg below, what you really want is a "random oracle",
> but these are mathematical abstractions useful in the analysis of protocols
> but not something we can really build. It is better to accept our
> limitations and be conscious of what roles each cryptographic primitive and
> function can offer. This does not make things easy for the engineer that is
> not a crypto expert but telling that engineer that we have a fully
> multi-purpse constructs would be cheating. Fortunately, we have standards
> that engineers can follow. The best we can do is to design these standards
> with good cryptographic expertise and with as much rationale as possible.
>
> Even though I have some "personal feelings" for HMAC, I have worked very
> hard in many instances to make sure that HMAC is NOT wired in into protocols
> as a magic function. The fact that you have acronyms such as "PRF" and "MAC"
> in ipsec and TLS follows this view. Call your component by a name that
> represents its functionality not by a specifc implementation.
>
> Now, regarding your original post that wanted to use CMAC as a randomized
> hashing algorithm: You were disappointed by the limitations of CMAC for this
> (and other) purposes. You seem to find HMAC more versatile but
> (unfortunately) HMAC is not a great candidate for randomizing a hash
> function for the purpose of countering collision attacks. As it was already
> pointed out in this thread, it was this realization that motivated building
> a special purpose mechanism that does have the required properties.
>
> I guess that you are familiar with the randomized hashing work presented in
> http://tools.ietf.org/html/draft-irtf-cfrg-rhash-01 and being standardized
> by NIST
>
> http://csrc.nist.gov/publications/drafts/800-106/2nd-Draft_SP800-106_July2008.pdf
> .
>
> Do you see any special reason why this mechanism would not fulfill your
> hash randomization goals?
>
> Hugo
>
>
> On Fri, Jan 9, 2009 at 5:52 PM, Hallam-Baker, Phillip <pbaker@verisign.com>
> wrote:
>
>
>         The problem with your approach is that it is predicated on people
> doing the right thing and understanding what they are doing.
>
>         In the real world things break because most people do not know what
> they are doing - and that includes academics who are purportedly expert in
> their field..
>
>         Reference to formal approaches does not give me any more confidence
> here. My thesis was on the use of formal methods, my college tutor was Tony
> Hoare. I know the value of that approach, I also know the failure modes. In
> particular formal methods very frequently break precisely because the
> requirements were not fully explained to the designer.
>
>
>         The conclusion I reach here is that it is not possible to take a
> random protocol and substitute CMAC for HMAC without going through a full
> security analysis. I don't think anyone is disputing that.
>
>         Where we disagree is that you think that this is likely to happen
> and I suspect it rather likely that it will not.
>
>
>         There is no formal necessity for many security properties of
> cryptographic algorithms. There is no formal requirement for zero-knowledge
> as far as I am aware. But if it is cheap and it is on offer I will take it.
> Having a MAC function that is also a random oracle is better than having one
> that merely supports the minimum criteria for being a MAC.
>
> ________________________________
>
>         From: cfrg-bounces@irtf.org on behalf of David Wagner
>         Sent: Fri 1/9/2009 5:26 PM
>         To: cfrg@irtf.org
>         Subject: [Cfrg] Analyzing IETF use of hash functions -- ORCHIDs
>
>
>
>         [My earlier email seems to have been dropped by the list.
>         I'll try again.]
>
>         Hallam-Baker, Phillip wrote:
>         >I am not sure that there are many prototcols where truncation
> takes
>         >place, apart from IPSEC and similar transport layer security I
> can't
>         >think of a good reason to do that. And in the case of IPSEC the
>         >practical use of the protocol is a very small subset of the
> original
>         >design intent.
>         >
>         >Given the previous experience of security breaches that have
> occured
>         >when a substitution of this type takes place without a full
>         >reconsideration of the security requirements of the protocol, my
>         >preference would be to avoid CMAC-AES for any purpose.
>
>         Well, I guess I disagree.  I'll lay out my reasoning.
>
>         It sounds like you've been surprised to have discover that CMAC-AES
> is
>         not secure in a mode of use that it was not designed for and was
> never
>         claimed to be secure for, and this surprise has shaken your
> confidence in
>         CMAC-AES.  I'm not sure that's logical.  The root cause of your
> surprise
>         seems to be a misunderstanding of the security properties that
> CMAC-AES
>         was claimed to have, not an unexpected security failure of
> CMAC-AES.
>         I suspect that everyone who understands CMAC-AES, the security
> theorem
>         for CMAC-AES, and the distinction between a MAC, PRF, and random
> oracle
>         should not be surprised in the least by the properties of CMAC-AES.
>
>         Once upon a time, we sometimes used to design protocols and throw
> in
>         hashes without thinking deeply about what purpose they serve.
> Today,
>         we understand that it is helpful to think more carefully what
> purpose
>         each primitive is serving and what security properties we need it
>         to have.  Does it need to be a secure PRF?  a MAC?  a random
> oracle?
>         CMAC-AES is a perfectly good PRF or MAC; it's a lousy random
> oracle.
>         As long as you understand that, and think carefully during protocol
>         design whether you need a PRF vs a random oracle, then you're fine.
>         Don't send a CMAC-AES to do a random oracle's job, but it's
> perfectly
>         fine where a PRF or MAC is needed.
>
>         One might even be able to make an argument that CMAC-AES is a
> better
>         choice than MD5-HMAC or SHA1-HMAC for new designs where a MAC or
> PRF
>         is needed.  It's plausible that we should have higher confidence in
> the
>         security of CMAC-AES (as a PRF) than MD5-HMAC or SHA1-HMAC (as a
> PRF).
>         AES was designed to be a secure PRP, and we have confidence that it
>         meets this goal.  In contrast, our confidence in MD5 and SHA1 have
> been
>         somewhat shaken, and while we don't have a strong reason to expect
> this
>         to affect MD5-HMAC or SHA1-HMAC, it's also true that we don't have
> a
>         security reduction proof for HMAC that reduces its security to some
>         property about MD5 or SHA1 that we have high confidence of (to the
> same
>         degree as we have confidence in AES's security as a PRP).
>
>         Personally I think a policy of avoiding CMAC-AES for any purpose is
>         not warranted.  I think rather than criticizing CMAC-AES, you
> should
>         criticize protocol designers who use primitives in a way that
> violates
>         their security warranty and that there is no reason to expect them
> to
>         be secure in.  Just my opinion.
>         _______________________________________________
>         Cfrg mailing list
>         Cfrg@irtf.org
>         http://www.irtf.org/mailman/listinfo/cfrg
>
>
>
>         _______________________________________________
>         Cfrg mailing list
>         Cfrg@irtf.org
>         http://www.irtf.org/mailman/listinfo/cfrg
>
>
>
>
>
>

--0016363108ab15d469046015cfb5
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div>Phil,</div>
<div>&nbsp;</div>
<div>I understand the PR issues. But we also have to take care of the real =
security issues. Saying we tried a solution based on block ciphers maybe a =
PR sttaement but probably not very useful to achieve real security. Note th=
at you have to be very careful here. If you add a randomization as a front =
end to existing (or future) hash functions, which is the most practical way=
 to do it (in particular for compatibility reasons), you must be very caref=
ul not to add collisions in that front end module. Using a block cipher wit=
h a known key (this is necessary since your hash operation must be non-secr=
et) can easily lead to collisions. Thus, you may end with collisions due to=
 randomization even if your hash function is fully collision resistant.<br>
</div>
<div>So let&#39;s not ignore PR (a serious consideration in the secuity ind=
ustry) but let&#39;s not sacrifice actual security on the name of PR.</div>
<div>&nbsp;</div>
<div>Hugo<br></div>
<div class=3D"gmail_quote">On Fri, Jan 9, 2009 at 7:09 PM, Hallam-Baker, Ph=
illip <span dir=3D"ltr">&lt;<a href=3D"mailto:pbaker@verisign.com">pbaker@v=
erisign.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"PADDING-LEFT: 1ex; MARGIN: 0px 0=
px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<p><font size=3D"2">The problem is PR.<br><br>Past experience of HMAC-SHA1 =
is that when any attack that might affect the security of SHA1 is raised, t=
he security of HMAC-SHA1 may be called into question both by journalists an=
d by competitor&#39;s salespersons whose product happens to use a different=
 algorithm.<br>
<br>So while RMX-SHA256 might provide a perfectly adequate insurance policy=
 for a defect in SHA256 on a technical level, it is not adequate on the PR =
level. And since that is a sales driver that is a significant consideration=
.<br>
<br><br>Given that we are now onto our third mainstream digest function who=
se security has become questionable as a result of non-brute force attack, =
I would prefer to have an insurance policy based on a block cipher.<br>
<br><br>A secondary concern is to do with the way that process failures tur=
n into security failures. If you operate anything on a sufficiently extende=
d scale you are eventually going to see process failures. I have a habit of=
 over-designing systems according to some tastes and building in contingenc=
y plans that most people tend to consider unnecessary precisely because I h=
ave been doing this long enough to have had recourse to them.<br>
<br>Murphy originally proposed his law because he recognized that the way t=
o avoid such process failures was to avoid giving the option to do somethin=
g wrong.=20
<div class=3D"Ih2E3d"><br><br>-----Original Message-----<br>From: <a href=
=3D"mailto:hugokraw@gmail.com" target=3D"_blank">hugokraw@gmail.com</a> on =
behalf of Hugo Krawczyk<br>Sent: Fri 1/9/2009 6:39 PM<br>To: Hallam-Baker, =
Phillip<br>
</div>
<div>
<div></div>
<div class=3D"Wj3C7c">Cc: <a href=3D"mailto:cfrg@irtf.org" target=3D"_blank=
">cfrg@irtf.org</a><br>Subject: Re: [Cfrg] Analyzing IETF use of hash funct=
ions -- ORCHIDs<br><br>Phil,<br><br>If we knew how to build a cryptographic=
 primitive that could be plugged in for all cryptographic purposes we would=
 be very happy. But so far we have had a hard time even designing things th=
at are much less ambitious and are tailored to more modest goals (such as c=
ollision resistance).<br>
<br>As you mention in the msg below, what you really want is a &quot;random=
 oracle&quot;, but these are mathematical abstractions useful in the analys=
is of protocols but not something we can really build. It is better to acce=
pt our limitations and be conscious of what roles each cryptographic primit=
ive and function can offer. This does not make things easy for the engineer=
 that is not a crypto expert but telling that engineer that we have a fully=
 multi-purpse constructs would be cheating. Fortunately, we have standards =
that engineers can follow. The best we can do is to design these standards =
with good cryptographic expertise and with as much rationale as possible.<b=
r>
<br>Even though I have some &quot;personal feelings&quot; for HMAC, I have =
worked very hard in many instances to make sure that HMAC is NOT wired in i=
nto protocols as a magic function. The fact that you have acronyms such as =
&quot;PRF&quot; and &quot;MAC&quot; in ipsec and TLS follows this view. Cal=
l your component by a name that represents its functionality not by a speci=
fc implementation.<br>
<br>Now, regarding your original post that wanted to use CMAC as a randomiz=
ed hashing algorithm: You were disappointed by the limitations of CMAC for =
this (and other) purposes. You seem to find HMAC more versatile but (unfort=
unately) HMAC is not a great candidate for randomizing a hash function for =
the purpose of countering collision attacks. As it was already pointed out =
in this thread, it was this realization that motivated building a special p=
urpose mechanism that does have the required properties.<br>
<br>I guess that you are familiar with the randomized hashing work presente=
d in <a href=3D"http://tools.ietf.org/html/draft-irtf-cfrg-rhash-01" target=
=3D"_blank">http://tools.ietf.org/html/draft-irtf-cfrg-rhash-01</a> and bei=
ng standardized by NIST<br>
<a href=3D"http://csrc.nist.gov/publications/drafts/800-106/2nd-Draft_SP800=
-106_July2008.pdf" target=3D"_blank">http://csrc.nist.gov/publications/draf=
ts/800-106/2nd-Draft_SP800-106_July2008.pdf</a>.<br><br>Do you see any spec=
ial reason why this mechanism would not fulfill your hash randomization goa=
ls?<br>
<br>Hugo<br><br><br>On Fri, Jan 9, 2009 at 5:52 PM, Hallam-Baker, Phillip &=
lt;<a href=3D"mailto:pbaker@verisign.com" target=3D"_blank">pbaker@verisign=
.com</a>&gt; wrote:<br><br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; T=
he problem with your approach is that it is predicated on people doing the =
right thing and understanding what they are doing.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp; In the real world things break because most people do n=
ot know what they are doing - and that includes academics who are purported=
ly expert in their field..<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Reference to formal appro=
aches does not give me any more confidence here. My thesis was on the use o=
f formal methods, my college tutor was Tony Hoare. I know the value of that=
 approach, I also know the failure modes. In particular formal methods very=
 frequently break precisely because the requirements were not fully explain=
ed to the designer.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The=
 conclusion I reach here is that it is not possible to take a random protoc=
ol and substitute CMAC for HMAC without going through a full security analy=
sis. I don&#39;t think anyone is disputing that.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp; Where we disagree is that you think that this is likely=
 to happen and I suspect it rather likely that it will not.<br>&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; There is no for=
mal necessity for many security properties of cryptographic algorithms. The=
re is no formal requirement for zero-knowledge as far as I am aware. But if=
 it is cheap and it is on offer I will take it. Having a MAC function that =
is also a random oracle is better than having one that merely supports the =
minimum criteria for being a MAC.<br>
<br>________________________________<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp; From: <a href=3D"mailto:cfrg-bounces@irtf.org" target=3D"_blank=
">cfrg-bounces@irtf.org</a> on behalf of David Wagner<br>&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp; Sent: Fri 1/9/2009 5:26 PM<br>&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp; To: <a href=3D"mailto:cfrg@irtf.org" target=3D"_blan=
k">cfrg@irtf.org</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Subject: [Cfrg] Analyzing IETF u=
se of hash functions -- ORCHIDs<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br><br>&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp; [My earlier email seems to have been dropped by the=
 list.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I&#39;ll try again.]<b=
r>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; Hallam-Baker, Phillip wrote:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt;I am not sure that there are=
 many prototcols where truncation takes<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp; &gt;place, apart from IPSEC and similar transport layer security=
 I can&#39;t<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt;think of a g=
ood reason to do that. And in the case of IPSEC the<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt;practical use of the protoco=
l is a very small subset of the original<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp; &gt;design intent.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
; &gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt;Given the previous=
 experience of security breaches that have occured<br>&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; &gt;when a substitution of this type takes place with=
out a full<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt;reconsideration of the secur=
ity requirements of the protocol, my<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp; &gt;preference would be to avoid CMAC-AES for any purpose.<br>&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp; Well, I guess I disagree.&nbsp; I&#39;ll lay out my reasoning.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp; It sounds like you&#39;ve been surprised to have discover tha=
t CMAC-AES is<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; not secure in a=
 mode of use that it was not designed for and was never<br>&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp; claimed to be secure for, and this surprise has =
shaken your confidence in<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CMAC-AES.&nbsp; I&#39;m not sure=
 that&#39;s logical.&nbsp; The root cause of your surprise<br>&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; seems to be a misunderstanding of the securit=
y properties that CMAC-AES<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; wa=
s claimed to have, not an unexpected security failure of CMAC-AES.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I suspect that everyone who unde=
rstands CMAC-AES, the security theorem<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; for CMAC-AES, and the distinction between a MAC, PRF, and random =
oracle<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; should not be surprise=
d in the least by the properties of CMAC-AES.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp; Once upon a time, we sometimes used to design protocols and t=
hrow in<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; hashes without thinki=
ng deeply about what purpose they serve.&nbsp; Today,<br>&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp; we understand that it is helpful to think more car=
efully what purpose<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; each primitive is serving and wh=
at security properties we need it<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp; to have.&nbsp; Does it need to be a secure PRF?&nbsp; a MAC?&nbsp; a r=
andom oracle?<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CMAC-AES is a p=
erfectly good PRF or MAC; it&#39;s a lousy random oracle.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; As long as you understand that, =
and think carefully during protocol<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp; design whether you need a PRF vs a random oracle, then you&#39;re fi=
ne.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Don&#39;t send a CMAC-AES=
 to do a random oracle&#39;s job, but it&#39;s perfectly<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fine where a PRF or MAC is neede=
d.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp; One might even be able to make an argument that CMAC-AE=
S is a better<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; choice than MD5=
-HMAC or SHA1-HMAC for new designs where a MAC or PRF<br>&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp; is needed.&nbsp; It&#39;s plausible that we should=
 have higher confidence in the<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; security of CMAC-AES (as a PRF) =
than MD5-HMAC or SHA1-HMAC (as a PRF).<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; AES was designed to be a secure PRP, and we have confidence that =
it<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; meets this goal.&nbsp; In =
contrast, our confidence in MD5 and SHA1 have been<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; somewhat shaken, and while we do=
n&#39;t have a strong reason to expect this<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp; to affect MD5-HMAC or SHA1-HMAC, it&#39;s also true that we =
don&#39;t have a<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; security red=
uction proof for HMAC that reduces its security to some<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; property about MD5 or SHA1 that =
we have high confidence of (to the same<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp; degree as we have confidence in AES&#39;s security as a PRP).<br=
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp; Personally I think a policy of avoiding CMAC-AES for any pur=
pose is<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; not warranted.&nbsp; I think rat=
her than criticizing CMAC-AES, you should<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp; criticize protocol designers who use primitives in a way that =
violates<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; their security warra=
nty and that there is no reason to expect them to<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; be secure in.&nbsp; Just my opin=
ion.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ________________________=
_______________________<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cfrg =
mailing list<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href=3D"mailt=
o:Cfrg@irtf.org" target=3D"_blank">Cfrg@irtf.org</a><br>&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp; <a href=3D"http://www.irtf.org/mailman/listinfo/cfr=
g" target=3D"_blank">http://www.irtf.org/mailman/listinfo/cfrg</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br><br><br>&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; _______________________________________________<br>&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cfrg mailing list<br>&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href=3D"mailto:Cfrg@irtf.org" target=3D"_b=
lank">Cfrg@irtf.org</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a hr=
ef=3D"http://www.irtf.org/mailman/listinfo/cfrg" target=3D"_blank">http://w=
ww.irtf.org/mailman/listinfo/cfrg</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;<br><br><br><br></div></div></font>
<p></p></p></div></blockquote></div><br>

--0016363108ab15d469046015cfb5--

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

_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
http://www.irtf.org/mailman/listinfo/cfrg

--===============1123669772==--


From cfrg-bounces@irtf.org  Fri Jan  9 16:49:23 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 3681D28C163;
	Fri,  9 Jan 2009 16:49:23 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 9C0463A6B26
	for <cfrg@core3.amsl.com>; Fri,  9 Jan 2009 16:49:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.06
X-Spam-Level: 
X-Spam-Status: No, score=-2.06 tagged_above=-999 required=5 tests=[AWL=0.205, 
	BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id sKQdzoJSVgWh for <cfrg@core3.amsl.com>;
	Fri,  9 Jan 2009 16:49:21 -0800 (PST)
Received: from colo.trepanning.net (colo.trepanning.net [69.55.226.174])
	by core3.amsl.com (Postfix) with ESMTP id C366B3A6767
	for <cfrg@irtf.org>; Fri,  9 Jan 2009 16:49:21 -0800 (PST)
Received: from www.trepanning.net (localhost [127.0.0.1])
	by colo.trepanning.net (Postfix) with ESMTP id 33B9B20378;
	Fri,  9 Jan 2009 16:49:08 -0800 (PST)
Received: from 69.12.173.8
	(SquirrelMail authenticated user dharkins@lounge.org)
	by www.trepanning.net with HTTP; Fri, 9 Jan 2009 16:49:08 -0800 (PST)
Message-ID: <50011bdb6c283675cf518b88c1648ce9.squirrel@www.trepanning.net>
In-Reply-To: <e89b43830901091607x5f6f03fege1e56aba97d832e9@mail.gmail.com>
References: <decddf3efdaa2457ddec88c2513aaca1.squirrel@www.trepanning.net>
	<47015c2b0901080646k4fe0a695gda26b3da66462509@mail.gmail.com>
	<1696498986EFEC4D9153717DA325CB7202D74D54@vaebe104.NOE.Nokia.com>
	<7e9ce04559258f827f0d9952e8551b7b.squirrel@www.trepanning.net>
	<1696498986EFEC4D9153717DA325CB7202DB115F@vaebe104.NOE.Nokia.com>
	<5e3bb9c30cea11cc0c3851e635a6b8eb.squirrel@www.trepanning.net>
	<e89b43830901091607x5f6f03fege1e56aba97d832e9@mail.gmail.com>
Date: Fri, 9 Jan 2009 16:49:08 -0800 (PST)
From: "Dan Harkins" <dharkins@lounge.org>
To: "Hugo Krawczyk" <hugo@ee.technion.ac.il>
User-Agent: SquirrelMail/1.4.14 [SVN]
MIME-Version: 1.0
X-Priority: 3 (Normal)
Importance: Normal
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] re-using Diffie-Hellman exponentials
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mailman/private/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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org


  Hi Hugo,

  It was my (possibly incorrect) understanding that an attacker who
chose an exponent from a small subgroup whose order v << q (where q is
the order of the group) in an exchange with me could iterate through
0...v and determine my private key mod v. After a few such attacks
using different orders that are relatively prime (using possibly
different sub-groups) my entire private key can be recovered.

  If that's the case then that attacker would be able to obtain the
session key for any other past or future exchange I had with other
parties in which I reused my DH exponential.

  Therefore, I thought it would be prudent to do this check if DH
exponentials were being reused. I'm not proposing this check in the
case where your private value is distinct and random each time, just
when the DH exponential is reused.

  If my understanding of this issue is wrong please let me know.
Also, I do not understand this sentence, "the DH exponentation in IKE
does NOT involve your own private key." What does it involve then?

  regards,

  Dan.

On Fri, January 9, 2009 4:07 pm, Hugo Krawczyk wrote:
> Are we talking about adding these checks against small subgroup attacks to
> IKE?
> Or to some other protocol?
>
> If it's IKE, why do you think you need these small subgroup checks?
>
> IKE (both v1 and v2) does NOT require these checks.
>
> You can read the formal analysis of these protocols and convince yourself
> that the security proof works without resorting to these tests.
>
> Or, if you want informal rationale, there are two elements in IKE that
> make
> sure you do not need these (sometimes very costly) checks:
>
> (1) In IKE the DH values exchanged by the parties are fully and explicitly
> authenticated and hence an attacker cannot change them in transit to a
> small
> subgroup (or anything else) without being detected
>
> (2) If your peer to a session sends you an element in a small subgroup
> your
> session key may be weak (predictable) but your long-term security and the
> security of other sessions is NOT compromised at all. As for the session
> key
> being weak in this case there is not much you can do about it: when you
> share a key with a crook you cannot guarantee a strong key. For example,
> that crook can use a DH value in the right group but with a fully
> predictable DH exponent (such as one from the set 1, 2, 3,.., 10).
>
> What makes sure in IKE that (2) is not a problem is that the DH
> exponentation in IKE does NOT involve your own private key. This is the
> source of problems in other protocols for which the small-subgroup tests
> are
> othen required.
>
> If you still see a reason to add these checks to IKE, please let me know.
>
> Of course, if IKE is changed to something else such as EC-DH or MQV, the
> story may be different.
>
> Hugo
>
>
> On Thu, Jan 8, 2009 at 6:21 PM, Dan Harkins <dharkins@lounge.org> wrote:
>
>>
>> On Thu, January 8, 2009 1:11 pm, Pasi.Eronen@nokia.com wrote:
>> > Dan Harkins wrote:
>> >> This also needs protection against a small sub-group attack though.
>> >> So the question remains. Are the checks I mentioned satisfactory?
>> >
>> > Hmm -- I thought that all the MODP groups defined for IKEv2 were of
>> > the form p=2q+1, so the small subgroup attack doesn't work?
>> > (because there are no small subgroups)
>>
>>  Groups 22-24 are not p=2q+1.
>>
>> > For ECDH groups, something might be still needed, though. Does
>> > e.g. X9.63 say something about this? (I don't have a copy)
>>
>>  I don't have a copy of that either.
>>
>>  Dan.
>>
>>
>>
>> _______________________________________________
>> Cfrg mailing list
>> Cfrg@irtf.org
>> https://www.irtf.org/mailman/listinfo/cfrg
>>
>


_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
http://www.irtf.org/mailman/listinfo/cfrg


From cfrg-bounces@irtf.org  Fri Jan  9 16:50:28 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 808E03A6B26;
	Fri,  9 Jan 2009 16:50:28 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id BF8393A6B26
	for <cfrg@core3.amsl.com>; Fri,  9 Jan 2009 16:50:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -104.599
X-Spam-Level: 
X-Spam-Status: No, score=-104.599 tagged_above=-999 required=5
	tests=[AWL=2.000, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4,
	USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id VT+v9X9+aQbE for <cfrg@core3.amsl.com>;
	Fri,  9 Jan 2009 16:50:26 -0800 (PST)
Received: from wolverine01.qualcomm.com (wolverine01.qualcomm.com
	[199.106.114.254])
	by core3.amsl.com (Postfix) with ESMTP id D3BD03A6767
	for <cfrg@irtf.org>; Fri,  9 Jan 2009 16:50:26 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple;
	d=qualcomm.com; i=ggr@qualcomm.com; q=dns/txt;
	s=qcdkim; t=1231548613; x=1263084613;
	h=cc:message-id:from:to:in-reply-to:content-type:
	content-transfer-encoding:mime-version:subject:date:
	references:x-mailer:x-ironport-av;
	z=Cc:=20Greg=20Rose=20<ggr@qualcomm.com>,=20"cfrg@irtf.org
	"=20<cfrg@irtf.org>|Message-Id:=20<9CAFE561-4AE1-4D77-A1E
	7-9BBCF3DC0575@qualcomm.com>|From:=20Greg=20Rose=20<ggr@q
	ualcomm.com>|To:=20John=20Wilkinson=20<wilkjohn@gmail.com
	>|In-Reply-To:=20<f207274d0901091417q4b5af712i54fc2765569
	31dc1@mail.gmail.com>|Content-Type:=20text/plain=3B=20cha
	rset=3DUS-ASCII=3B=20format=3Dflowed=3B=20delsp=3Dyes
	|Content-Transfer-Encoding:=207bit|Mime-Version:=201.0=20
	(Apple=20Message=20framework=20v930.3)|Subject:=20Re:=20[
	Cfrg]=20suitability=20of=20AES-CMAC=20(was:=20Re:=20Analy
	zing=20IETF=20use=20of=20hash=20functions=20--=20ORCHIDs)
	|Date:=20Fri,=209=20Jan=202009=2016:50:12=20-0800
	|References:=20<00be01c96faf$8bea0720$800c6f0a@china.huaw
	ei.com>=20<2788466ED3E31C418E9ACC5C316615572FFC54@mou1wne
	xmb09.vcorp.ad.vrsn.com>=20<B8AB1183-4531-413F-9186-29CC9
	72A5712@cisco.com>=20<2788466ED3E31C418E9ACC5C316615572FF
	C56@mou1wnexmb09.vcorp.ad.vrsn.com>=20<53C20AF4-AD14-47FF
	-A108-AE88F1DC367C@cisco.com>=20<2788466ED3E31C418E9ACC5C
	316615572FFC63@mou1wnexmb09.vcorp.ad.vrsn.com>=20<F63CC09
	2-AA48-4629-AD3A-1B338D9ECF56@cisco.com>=20<2788466ED3E31
	C418E9ACC5C316615572FFC65@mou1wnexmb09.vcorp.ad.vrsn.com>
	=20<da7b3ce30901091230q727b1a0ar110a6a94884bc4af@mail.gma
	il.com>=20<2788466ED3E31C418E9ACC5C316615572FFC67@mou1wne
	xmb09.vcorp.ad.vrsn.com>=20<f207274d0901091417q4b5af712i5
	4fc276556931dc1@mail.gmail.com>|X-Mailer:=20Apple=20Mail
	=20(2.930.3)|X-IronPort-AV:=20E=3DMcAfee=3Bi=3D"5300,2777
	,5490"=3B=20a=3D"14540369";
	bh=F4K2PswwFXL9Qk6N+aplxxrnAM4sz1W4s09mYFjHiLY=;
	b=sBQ7uaJT29OLYD3oKI42rzot7wi8m7T1+JnLWFbfgiJRahPL8P4GyZsa
	xjY8c8n1EGrGuX1YEQl6ABWTXLupQP/lT8iBPIIiY6KtK3u7cjugef+Yz
	1Smud4GmiCr8lFMsVg3kAnle0TJV0mNVNB1NqXIlyrvm3/6HLQ/VRRWcK Y=;
X-IronPort-AV: E=McAfee;i="5300,2777,5490"; a="14540369"
Received: from pdmz-ns-mip.qualcomm.com (HELO numenor.qualcomm.com)
	([199.106.114.10])
	by wolverine01.qualcomm.com with ESMTP/TLS/DHE-RSA-AES256-SHA;
	09 Jan 2009 16:50:13 -0800
Received: from msgtransport02.qualcomm.com (msgtransport02.qualcomm.com
	[129.46.61.151])
	by numenor.qualcomm.com (8.14.2/8.14.2/1.0) with ESMTP id
	n0A0oC2L010149
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL);
	Fri, 9 Jan 2009 16:50:13 -0800
Received: from ggr-mac.qualcomm.com (ggr-mac.qualcomm.com [129.46.77.98])
	by msgtransport02.qualcomm.com (8.14.2/8.14.2/1.0) with ESMTP id
	n0A0oC8e002428
	(version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT);
	Fri, 9 Jan 2009 16:50:12 -0800
Message-Id: <9CAFE561-4AE1-4D77-A1E7-9BBCF3DC0575@qualcomm.com>
From: Greg Rose <ggr@qualcomm.com>
To: John Wilkinson <wilkjohn@gmail.com>
In-Reply-To: <f207274d0901091417q4b5af712i54fc276556931dc1@mail.gmail.com>
Mime-Version: 1.0 (Apple Message framework v930.3)
Date: Fri, 9 Jan 2009 16:50:12 -0800
References: <00be01c96faf$8bea0720$800c6f0a@china.huawei.com>
	<2788466ED3E31C418E9ACC5C316615572FFC54@mou1wnexmb09.vcorp.ad.vrsn.com>
	<B8AB1183-4531-413F-9186-29CC972A5712@cisco.com>
	<2788466ED3E31C418E9ACC5C316615572FFC56@mou1wnexmb09.vcorp.ad.vrsn.com>
	<53C20AF4-AD14-47FF-A108-AE88F1DC367C@cisco.com>
	<2788466ED3E31C418E9ACC5C316615572FFC63@mou1wnexmb09.vcorp.ad.vrsn.com>
	<F63CC092-AA48-4629-AD3A-1B338D9ECF56@cisco.com>
	<2788466ED3E31C418E9ACC5C316615572FFC65@mou1wnexmb09.vcorp.ad.vrsn.com>
	<da7b3ce30901091230q727b1a0ar110a6a94884bc4af@mail.gmail.com>
	<2788466ED3E31C418E9ACC5C316615572FFC67@mou1wnexmb09.vcorp.ad.vrsn.com>
	<f207274d0901091417q4b5af712i54fc276556931dc1@mail.gmail.com>
X-Mailer: Apple Mail (2.930.3)
Cc: Greg Rose <ggr@qualcomm.com>, "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] suitability of AES-CMAC (was: Re: Analyzing IETF use of
	hash functions -- ORCHIDs)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mailman/private/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>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes"
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

On Jan 9, 2009, at 2:17 PM, John Wilkinson wrote:

> On Fri, Jan 9, 2009 at 3:33 PM, Hallam-Baker, Phillip
> <pbaker@verisign.com> wrote:
>> You think you know how to create a collision in HMAC? How about  
>> HTTP Digest?
>
> No, I'm sure I don't. However, collision resistance is not generally
> accepted as a required property for a MAC; the fact that HMAC *may*
> have collision resistance is an artifact of it being constructed from
> primitive functions that were designed to be collision resistant (but
> aren't, in the cases of MD5 and SHA-1).

Interestingly, HMAC has less collision resistance than the underlying  
hash function, simply because you might get a collision in either the  
inner or outer hash, thus doubling its probability. So you basically  
lose one bit of collision resistance.

Greg.
_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
http://www.irtf.org/mailman/listinfo/cfrg


From cfrg-bounces@irtf.org  Fri Jan  9 17:05:05 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 8E0093A6B26;
	Fri,  9 Jan 2009 17:05:05 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 5F8C83A6838
	for <cfrg@core3.amsl.com>; Fri,  9 Jan 2009 17:05:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.976
X-Spam-Level: 
X-Spam-Status: No, score=-1.976 tagged_above=-999 required=5
	tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 6c41EAJC4a8w for <cfrg@core3.amsl.com>;
	Fri,  9 Jan 2009 17:05:03 -0800 (PST)
Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.30])
	by core3.amsl.com (Postfix) with ESMTP id D8CC03A6B21
	for <cfrg@irtf.org>; Fri,  9 Jan 2009 17:05:02 -0800 (PST)
Received: by yw-out-2324.google.com with SMTP id 3so3914566ywj.37
	for <cfrg@irtf.org>; Fri, 09 Jan 2009 17:04:48 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:mime-version:sender:received:in-reply-to
	:references:date:x-google-sender-auth:message-id:subject:from:to:cc
	:content-type; bh=rC+1Utjru2TKp0Xu8BPV64HHfxsG+pwZLjooqFut1Cw=;
	b=uz/Ghx3eXAO6C73t/sMl+uv2aVz+F20pimCWlQsJII8cMwXscwJkKxDcvIk866QzlO
	kTPtN/cB6XGP9TzpGH2IvnKdsg4DVfYDBRLfdIIpWWocHJ89JyNz85+aT0xu1NhaR8hm
	EK2Z9fHBElKDUmgsrtCScZfGXxG/aS0p58bcw=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=mime-version:sender:in-reply-to:references:date
	:x-google-sender-auth:message-id:subject:from:to:cc:content-type;
	b=g3IOvVTIvK0aj2ZgETnC0cr1bneXhlC41PhYv6/Et+g57gh3AEq6qTS1V7iercXdkH
	Tq04F7tN8H5kls96dGrrRtoxDFKSOaoWuYDjSaX2sux9evNkeqfm2hDIcz61D4eMPuZ4
	0kWg8+pUdTKcbOH0yvc0yXPnkflDJHNcs6qnU=
MIME-Version: 1.0
Received: by 10.90.102.8 with SMTP id z8mr12489343agb.56.1231549488294; Fri, 
	09 Jan 2009 17:04:48 -0800 (PST)
In-Reply-To: <50011bdb6c283675cf518b88c1648ce9.squirrel@www.trepanning.net>
References: <decddf3efdaa2457ddec88c2513aaca1.squirrel@www.trepanning.net>
	<47015c2b0901080646k4fe0a695gda26b3da66462509@mail.gmail.com>
	<1696498986EFEC4D9153717DA325CB7202D74D54@vaebe104.NOE.Nokia.com>
	<7e9ce04559258f827f0d9952e8551b7b.squirrel@www.trepanning.net>
	<1696498986EFEC4D9153717DA325CB7202DB115F@vaebe104.NOE.Nokia.com>
	<5e3bb9c30cea11cc0c3851e635a6b8eb.squirrel@www.trepanning.net>
	<e89b43830901091607x5f6f03fege1e56aba97d832e9@mail.gmail.com>
	<50011bdb6c283675cf518b88c1648ce9.squirrel@www.trepanning.net>
Date: Fri, 9 Jan 2009 20:04:48 -0500
X-Google-Sender-Auth: c8c02da8af41abd0
Message-ID: <e89b43830901091704j5e11914bl6f0fbef0411b7451@mail.gmail.com>
From: Hugo Krawczyk <hugo@ee.technion.ac.il>
To: Dan Harkins <dharkins@lounge.org>
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] re-using Diffie-Hellman exponentials
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/listinfo/cfrg>,
	<mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mailman/private/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>
Content-Type: multipart/mixed; boundary="===============1314950561=="
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

--===============1314950561==
Content-Type: multipart/alternative; boundary=001636163c89c5eb61046016751a

--001636163c89c5eb61046016751a
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

I see. Sorry for the misunderstanding.
I came into the middle of the discussion, read your msg,  and did not notice
that the setting was the reusing of DH values (even though the subject of
the thread should have been an indication that that was the case :)
Anyway, exponent reuse does require testing for small orders (except if the
cofactor is very small)

In general, it is better to resist the temptation of reusing exponents. in
some cases a better alternative may be to producee different DH values (and
store the exponents) off-line to avoid the need to generate them in real
time.

Hugo

On Fri, Jan 9, 2009 at 7:49 PM, Dan Harkins <dharkins@lounge.org> wrote:

>
>  Hi Hugo,
>
>  It was my (possibly incorrect) understanding that an attacker who
> chose an exponent from a small subgroup whose order v << q (where q is
> the order of the group) in an exchange with me could iterate through
> 0...v and determine my private key mod v. After a few such attacks
> using different orders that are relatively prime (using possibly
> different sub-groups) my entire private key can be recovered.
>
>  If that's the case then that attacker would be able to obtain the
> session key for any other past or future exchange I had with other
> parties in which I reused my DH exponential.
>
>  Therefore, I thought it would be prudent to do this check if DH
> exponentials were being reused. I'm not proposing this check in the
> case where your private value is distinct and random each time, just
> when the DH exponential is reused.
>
>  If my understanding of this issue is wrong please let me know.
> Also, I do not understand this sentence, "the DH exponentation in IKE
> does NOT involve your own private key." What does it involve then?
>
>  regards,
>
>  Dan.
>
> On Fri, January 9, 2009 4:07 pm, Hugo Krawczyk wrote:
> > Are we talking about adding these checks against small subgroup attacks
> to
> > IKE?
> > Or to some other protocol?
> >
> > If it's IKE, why do you think you need these small subgroup checks?
> >
> > IKE (both v1 and v2) does NOT require these checks.
> >
> > You can read the formal analysis of these protocols and convince yourself
> > that the security proof works without resorting to these tests.
> >
> > Or, if you want informal rationale, there are two elements in IKE that
> > make
> > sure you do not need these (sometimes very costly) checks:
> >
> > (1) In IKE the DH values exchanged by the parties are fully and
> explicitly
> > authenticated and hence an attacker cannot change them in transit to a
> > small
> > subgroup (or anything else) without being detected
> >
> > (2) If your peer to a session sends you an element in a small subgroup
> > your
> > session key may be weak (predictable) but your long-term security and the
> > security of other sessions is NOT compromised at all. As for the session
> > key
> > being weak in this case there is not much you can do about it: when you
> > share a key with a crook you cannot guarantee a strong key. For example,
> > that crook can use a DH value in the right group but with a fully
> > predictable DH exponent (such as one from the set 1, 2, 3,.., 10).
> >
> > What makes sure in IKE that (2) is not a problem is that the DH
> > exponentation in IKE does NOT involve your own private key. This is the
> > source of problems in other protocols for which the small-subgroup tests
> > are
> > othen required.
> >
> > If you still see a reason to add these checks to IKE, please let me know.
> >
> > Of course, if IKE is changed to something else such as EC-DH or MQV, the
> > story may be different.
> >
> > Hugo
> >
> >
> > On Thu, Jan 8, 2009 at 6:21 PM, Dan Harkins <dharkins@lounge.org> wrote:
> >
> >>
> >> On Thu, January 8, 2009 1:11 pm, Pasi.Eronen@nokia.com wrote:
> >> > Dan Harkins wrote:
> >> >> This also needs protection against a small sub-group attack though.
> >> >> So the question remains. Are the checks I mentioned satisfactory?
> >> >
> >> > Hmm -- I thought that all the MODP groups defined for IKEv2 were of
> >> > the form p=2q+1, so the small subgroup attack doesn't work?
> >> > (because there are no small subgroups)
> >>
> >>  Groups 22-24 are not p=2q+1.
> >>
> >> > For ECDH groups, something might be still needed, though. Does
> >> > e.g. X9.63 say something about this? (I don't have a copy)
> >>
> >>  I don't have a copy of that either.
> >>
> >>  Dan.
> >>
> >>
> >>
> >> _______________________________________________
> >> Cfrg mailing list
> >> Cfrg@irtf.org
> >> https://www.irtf.org/mailman/listinfo/cfrg
> >>
> >
>
>
>

--001636163c89c5eb61046016751a
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div>I see. Sorry for the misunderstanding.</div>
<div>I came into the middle of the discussion, read your msg, &nbsp;and did=
 not notice that the setting was&nbsp;the reusing of DH values&nbsp;(even t=
hough the subject of the thread should have been an indication that that wa=
s the case :)</div>

<div>Anyway, exponent reuse does require testing for small orders (except i=
f the cofactor is very small)<br><br>In general, it is better to resist the=
 temptation of reusing exponents. in some cases a better alternative may be=
 to producee different DH values (and store the exponents) off-line to avoi=
d the need to generate them in real time. </div>

<div>&nbsp;</div>
<div>Hugo</div>
<div>&nbsp;</div>
<div class=3D"gmail_quote">On Fri, Jan 9, 2009 at 7:49 PM, Dan Harkins <spa=
n dir=3D"ltr">&lt;<a href=3D"mailto:dharkins@lounge.org">dharkins@lounge.or=
g</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"PADDING-LEFT: 1ex; MARGIN: 0px 0=
px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>&nbsp;Hi Hugo,<br><br>&nbsp;=
It was my (possibly incorrect) understanding that an attacker who<br>chose =
an exponent from a small subgroup whose order v &lt;&lt; q (where q is<br>
the order of the group) in an exchange with me could iterate through<br>0..=
.v and determine my private key mod v. After a few such attacks<br>using di=
fferent orders that are relatively prime (using possibly<br>different sub-g=
roups) my entire private key can be recovered.<br>
<br>&nbsp;If that&#39;s the case then that attacker would be able to obtain=
 the<br>session key for any other past or future exchange I had with other<=
br>parties in which I reused my DH exponential.<br><br>&nbsp;Therefore, I t=
hought it would be prudent to do this check if DH<br>
exponentials were being reused. I&#39;m not proposing this check in the<br>=
case where your private value is distinct and random each time, just<br>whe=
n the DH exponential is reused.<br><br>&nbsp;If my understanding of this is=
sue is wrong please let me know.<br>
Also, I do not understand this sentence, &quot;the DH exponentation in IKE<=
br>does NOT involve your own private key.&quot; What does it involve then?<=
br><br>&nbsp;regards,<br><font color=3D"#888888"><br>&nbsp;Dan.<br></font>
<div>
<div></div>
<div class=3D"Wj3C7c"><br>On Fri, January 9, 2009 4:07 pm, Hugo Krawczyk wr=
ote:<br>&gt; Are we talking about adding these checks against small subgrou=
p attacks to<br>&gt; IKE?<br>&gt; Or to some other protocol?<br>&gt;<br>
&gt; If it&#39;s IKE, why do you think you need these small subgroup checks=
?<br>&gt;<br>&gt; IKE (both v1 and v2) does NOT require these checks.<br>&g=
t;<br>&gt; You can read the formal analysis of these protocols and convince=
 yourself<br>
&gt; that the security proof works without resorting to these tests.<br>&gt=
;<br>&gt; Or, if you want informal rationale, there are two elements in IKE=
 that<br>&gt; make<br>&gt; sure you do not need these (sometimes very costl=
y) checks:<br>
&gt;<br>&gt; (1) In IKE the DH values exchanged by the parties are fully an=
d explicitly<br>&gt; authenticated and hence an attacker cannot change them=
 in transit to a<br>&gt; small<br>&gt; subgroup (or anything else) without =
being detected<br>
&gt;<br>&gt; (2) If your peer to a session sends you an element in a small =
subgroup<br>&gt; your<br>&gt; session key may be weak (predictable) but you=
r long-term security and the<br>&gt; security of other sessions is NOT comp=
romised at all. As for the session<br>
&gt; key<br>&gt; being weak in this case there is not much you can do about=
 it: when you<br>&gt; share a key with a crook you cannot guarantee a stron=
g key. For example,<br>&gt; that crook can use a DH value in the right grou=
p but with a fully<br>
&gt; predictable DH exponent (such as one from the set 1, 2, 3,.., 10).<br>=
&gt;<br>&gt; What makes sure in IKE that (2) is not a problem is that the D=
H<br>&gt; exponentation in IKE does NOT involve your own private key. This =
is the<br>
&gt; source of problems in other protocols for which the small-subgroup tes=
ts<br>&gt; are<br>&gt; othen required.<br>&gt;<br>&gt; If you still see a r=
eason to add these checks to IKE, please let me know.<br>&gt;<br>&gt; Of co=
urse, if IKE is changed to something else such as EC-DH or MQV, the<br>
&gt; story may be different.<br>&gt;<br>&gt; Hugo<br>&gt;<br>&gt;<br>&gt; O=
n Thu, Jan 8, 2009 at 6:21 PM, Dan Harkins &lt;<a href=3D"mailto:dharkins@l=
ounge.org">dharkins@lounge.org</a>&gt; wrote:<br>&gt;<br>&gt;&gt;<br>&gt;&g=
t; On Thu, January 8, 2009 1:11 pm, <a href=3D"mailto:Pasi.Eronen@nokia.com=
">Pasi.Eronen@nokia.com</a> wrote:<br>
&gt;&gt; &gt; Dan Harkins wrote:<br>&gt;&gt; &gt;&gt; This also needs prote=
ction against a small sub-group attack though.<br>&gt;&gt; &gt;&gt; So the =
question remains. Are the checks I mentioned satisfactory?<br>&gt;&gt; &gt;=
<br>
&gt;&gt; &gt; Hmm -- I thought that all the MODP groups defined for IKEv2 w=
ere of<br>&gt;&gt; &gt; the form p=3D2q+1, so the small subgroup attack doe=
sn&#39;t work?<br>&gt;&gt; &gt; (because there are no small subgroups)<br>
&gt;&gt;<br>&gt;&gt; &nbsp;Groups 22-24 are not p=3D2q+1.<br>&gt;&gt;<br>&g=
t;&gt; &gt; For ECDH groups, something might be still needed, though. Does<=
br>&gt;&gt; &gt; e.g. X9.63 say something about this? (I don&#39;t have a c=
opy)<br>
&gt;&gt;<br>&gt;&gt; &nbsp;I don&#39;t have a copy of that either.<br>&gt;&=
gt;<br>&gt;&gt; &nbsp;Dan.<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; =
_______________________________________________<br>&gt;&gt; Cfrg mailing li=
st<br>
&gt;&gt; <a href=3D"mailto:Cfrg@irtf.org">Cfrg@irtf.org</a><br>&gt;&gt; <a =
href=3D"https://www.irtf.org/mailman/listinfo/cfrg" target=3D"_blank">https=
://www.irtf.org/mailman/listinfo/cfrg</a><br>&gt;&gt;<br>&gt;<br><br><br></=
div>
</div></blockquote></div><br>

--001636163c89c5eb61046016751a--

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

_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
http://www.irtf.org/mailman/listinfo/cfrg

--===============1314950561==--


From asimmonds@corelca.com.co  Thu Jan 15 20:05:05 2009
Return-Path: <asimmonds@corelca.com.co>
X-Original-To: ietfarch-cfrg-archive@core3.amsl.com
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id C2DAB3A6836;
	Thu, 15 Jan 2009 20:05:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -86.493
X-Spam-Level: 
X-Spam-Status: No, score=-86.493 tagged_above=-999 required=5
	tests=[BAYES_50=0.001, FH_HELO_EQ_D_D_D_D=1.597,
	FH_HOST_EQ_D_D_D_D=0.765, FM_DDDD_TIMES_2=1.999,
	HELO_DYNAMIC_DHCP=1.398, HELO_DYNAMIC_IPADDR=2.426, HELO_EQ_CPE=0.5,
	HOST_EQ_CPE=0.979, RCVD_IN_BL_SPAMCOP_NET=1.96, RCVD_IN_PBL=0.905,
	RCVD_IN_SORBS_DUL=0.877, RDNS_DYNAMIC=0.1, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id V82daP7oFGBq; Thu, 15 Jan 2009 20:05:04 -0800 (PST)
Received: from cpe-68-175-103-28.nyc.res.rr.com (cpe-68-175-103-28.nyc.res.rr.com [68.175.103.28])
	by core3.amsl.com (Postfix) with SMTP id 90C513A67D4;
	Thu, 15 Jan 2009 20:05:02 -0800 (PST)
X-Originating-IP: 180.204.104.185 by smtp.68.175.103.28;  Fri, 16 Jan 2009 01:08:14 -0300
Message-ID: <tpue3EBL.690G983architecture-discuss@ietf.org>
Subject: Take a look at the Vacheron Constantin watches!
Date: Thu, 15 Jan 2009 23:08:14 -0500
From: "Francis Leach" <architecture-discuss@ietf.org>
To: "Harley Carr" <architecture-discuss@ietf.org>
Content-Type: text/plain;
Content-Transfer-Encoding: 7bit

Dear Harley,

If you've waited to get your Franck Muller watch, this is the right time to go for it.
http://scottqja.narod.ru

We are offering wholesaler prices on all watches during the month of January 2009. 
http://scottqja.narod.ru

Our Franck Muller watches have Weights/feels and looks exactly same as original.

Sincerely,
Mr Carr



From mailer-daemon@agcorp.com  Mon Jan 19 04:04:54 2009
Return-Path: <mailer-daemon@agcorp.com>
X-Original-To: ietfarch-cfrg-archive@core3.amsl.com
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 3220A28C1B0
	for <ietfarch-cfrg-archive@core3.amsl.com>; Mon, 19 Jan 2009 04:04:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.573
X-Spam-Level: 
X-Spam-Status: No, score=-7.573 tagged_above=-999 required=5
	tests=[BAYES_99=3.5, FH_HELO_EQ_D_D_D_D=1.597,
	FH_HOST_EQ_D_D_D_D=0.765, FM_DDDD_TIMES_2=1.999,
	HELO_DYNAMIC_IPADDR=2.426, HTML_IMAGE_ONLY_28=1.561,
	HTML_MESSAGE=0.001, MIME_HTML_ONLY=1.457, RAZOR2_CF_RANGE_51_100=0.5,
	RAZOR2_CF_RANGE_E4_51_100=1.5, RAZOR2_CF_RANGE_E8_51_100=1.5,
	RAZOR2_CHECK=0.5, RCVD_IN_PBL=0.905, RCVD_IN_XBL=3.033,
	RDNS_DYNAMIC=0.1, URIBL_AB_SURBL=10, URIBL_BLACK=20,
	URIBL_JP_SURBL=10, URIBL_OB_SURBL=10, URIBL_RHS_DOB=1.083,
	URIBL_SC_SURBL=10, URIBL_WS_SURBL=10, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id oXedia0-Mc6y for <ietfarch-cfrg-archive@core3.amsl.com>;
	Mon, 19 Jan 2009 04:04:53 -0800 (PST)
Received: from ppp-94-69-236-52.home.otenet.gr (ppp-94-69-236-52.home.otenet.gr [94.69.236.52])
	by core3.amsl.com (Postfix) with SMTP id D380F28C1BA
	for <cfrg-archive@ietf.org>; Mon, 19 Jan 2009 04:04:50 -0800 (PST)
To: <cfrg-archive@ietf.org>
Subject: Re: Pfizer Admin
From: <cfrg-archive@ietf.org>
MIME-Version: 1.0
Importance: High
Content-Type: text/html
Message-Id: <20090119120451.D380F28C1BA@core3.amsl.com>
Date: Mon, 19 Jan 2009 04:04:50 -0800 (PST)

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
</HEAD>
<BODY>      <table cellspacing="0" cellpadding="0" border="0" width="728">
         <tr>
            <td style="padding-top: 15px;">January 16, 2009 |
                <font color="#336699">"SPECIAL OFFERS"-Pfizer  Company!</font><br>
                                <img src="http://www.cbsnews.com/common/images/email/summary/header_summary.gif" vspace="3" width="366" height="55">
                                </td>
         </tr>
      </table>
      <table cellspacing="0" cellpadding="0" border="0">
         <tr>
            <td valign="top">
               <table cellspacing="0" cellpadding="0" border="0" width="726">
                  <tr>
                     <td style="padding: 10px 12px;">
                        <div style="border-top: 0; padding: 0; margin-bottom: 12px;">
                                                        <blockquote>
                                                                <p align="left"><br>
                                                                <a href="http://responsibilityup.com/"><img border="0" src="http://shorecold.com/10.gif"></a></p>
                                                        </blockquote>
                                                </div>
                        <div style="font-size: 11px; margin-left: 10px;"><br></div>
                                                <img src="http://wwwimage.cbsnews.com/common/images/transp.gif" width="10" height="10"></td>
                  </tr>
               </table>
            </td>
         </tr>
      </table><br><table width="728" cellspacing="0" cellpadding="0" border="0">
         <tr>
            <td style="font-size: 11px;">
                Contact: Email Administrator,  Pfizer World Headquarters 149 E. 42nd Street  New York, NY 20288
                <br>®  2001-2009 Pfizer Inc. All rights reserved!
                <br><b>Pfizer is a licensee of the TRUSTe Privacy Program!, 
                                <a href="http://harmonyborn.com/">click here</a>.</b><br><br><span style="font-size: 14px; color: #69C;">»</span>
                <a href="http://wisdomelse.com/">Help</a>
                 <span style="font-size: 14px; color: #69C;">»</span><a href="http://secondball.com/">Advertise</a>
                 <span style="font-size: 14px; color: #69C;">»</span><a href="http://trackprobable.com/">Terms of Service</a>
                 <span style="font-size: 14px; color: #69C;">»</span><a href="http://respectspot.com/">Privacy Policy</a></td>
</tr></table></BODY></HTML>


From hgwuebbolt@psc-nrw.de  Mon Jan 19 21:11:48 2009
Return-Path: <hgwuebbolt@psc-nrw.de>
X-Original-To: ietfarch-cfrg-archive@core3.amsl.com
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id D56703A6AEA;
	Mon, 19 Jan 2009 21:11:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -87.451
X-Spam-Level: 
X-Spam-Status: No, score=-87.451 tagged_above=-999 required=5
	tests=[BAYES_99=3.5, FH_HELO_EQ_D_D_D_D=1.597,
	FH_HOST_EQ_D_D_D_D=0.765, FH_HOST_EQ_D_D_D_DB=0.888,
	FM_DDDD_TIMES_2=1.999, HELO_MISMATCH_COM=0.553,
	HOST_MISMATCH_NET=0.311, RCVD_IN_PBL=0.905, RDNS_DYNAMIC=0.1,
	TVD_RCVD_IP=1.931, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id q909G7pxLAlV; Mon, 19 Jan 2009 21:11:48 -0800 (PST)
Received: from 212-95-32-105.internetserviceteam.com (58-27-221-202.wateen.net [58.27.221.202])
	by core3.amsl.com (Postfix) with SMTP id 961813A69C3;
	Mon, 19 Jan 2009 21:10:42 -0800 (PST)
X-Originating-IP: 240.82.224.232 by smtp.212.95.32.105;  Tue, 20 Jan 2009 06:09:17 +0100
Message-ID: <afon2AJ.92855V95calsch-archive@ietf.org>
Subject: Trim line or sport watch? You choose
Date: Tue, 20 Jan 2009 00:13:17 -0500
From: "Augustine Barron" <calsch-archive@ietf.org>
To: "Lorrie Frank" <calsch-archive@ietf.org>
Content-Type: text/plain;
Content-Transfer-Encoding: 7bit

Dear Lorrie,

I had never seen such beautiful and greatly-performing watches like the ones I found online at
http://evansrrb.obxhost.net

Get two deeply discounted watches and take an extra 15% discount.
http://evansrrb.obxhost.net

Our Jaeger LeCoultre watches have perfect weight and feel same as orginal.

Sincerely,
Mr Frank



From gakumu@yamawaki.ac.jp  Tue Jan 20 09:57:40 2009
Return-Path: <gakumu@yamawaki.ac.jp>
X-Original-To: ietfarch-cfrg-archive@core3.amsl.com
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 127563A67E3;
	Tue, 20 Jan 2009 09:57:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -79.842
X-Spam-Level: 
X-Spam-Status: No, score=-79.842 tagged_above=-999 required=5
	tests=[BAYES_99=3.5, FH_HELO_EQ_D_D_D_D=1.597,
	FH_HOST_EQ_D_D_D_D=0.765, FH_HOST_EQ_D_D_D_DB=0.888,
	FM_DDDD_TIMES_2=1.999, FRT_ROLEX=3.878, HELO_MISMATCH_COM=0.553,
	HOST_EQ_BR=1.295, RCVD_IN_SORBS_WEB=0.619, RCVD_IN_XBL=3.033,
	RDNS_DYNAMIC=0.1, TVD_RCVD_IP=1.931, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 9xn6pr1cIbwQ; Tue, 20 Jan 2009 09:57:39 -0800 (PST)
Received: from 212-95-32-105.internetserviceteam.com (201-41-63-137.smace701.e.brasiltelecom.net.br [201.41.63.137])
	by core3.amsl.com (Postfix) with SMTP id 149BE28C0DC;
	Tue, 20 Jan 2009 09:57:00 -0800 (PST)
X-Originating-IP: 174.178.212.122 by smtp.212.95.32.105;  Tue, 20 Jan 2009 11:58:34 -0600
Message-ID: <yggt4NB.31791P135calsch-archive@ietf.org>
Subject: Ro lex cheaper than you could imagine!
Date: Tue, 20 Jan 2009 12:59:34 -0500
From: "Leah Macdonald" <calsch-archive@ietf.org>
To: "Edmond Fitzpatrick" <calsch-archive@ietf.org>
Content-Type: text/plain;
Content-Transfer-Encoding: 7bit

Dear Edmond,

I had never seen such beautiful and greatly-performing watches like the ones I found online at
http://cookvth.hostrator.com

We are offering wholesaler prices on all watches during the month of January 2009. 
http://cookvth.hostrator.com

Our Cartier watches have all appropriate markings, wordings and engravings same as orginal.

Sincerely,
Mr Fitzpatrick




From adawson@regalcandy.com  Wed Jan 21 07:44:32 2009
Return-Path: <adawson@regalcandy.com>
X-Original-To: ietfarch-cfrg-archive@core3.amsl.com
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6DEBB3A68D2; Wed, 21 Jan 2009 07:44:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -66.93
X-Spam-Level: 
X-Spam-Status: No, score=-66.93 tagged_above=-999 required=5 tests=[BAYES_99=3.5, FH_HELO_EQ_D_D_D_D=1.597, FH_RELAY_NODNS=1.451, HELO_MISMATCH_COM=0.553, RCVD_IN_PBL=0.905, RCVD_IN_XBL=3.033, RDNS_NONE=0.1, TVD_RCVD_IP=1.931, URIBL_BLACK=20, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Vrx7kifdnmVj; Wed, 21 Jan 2009 07:44:31 -0800 (PST)
Received: from 212-95-32-105.internetserviceteam.com (unknown [189.101.26.163]) by core3.amsl.com (Postfix) with SMTP id C1F7E3A6B42; Wed, 21 Jan 2009 07:44:11 -0800 (PST)
X-Originating-IP: 219.226.189.252 by smtp.212.95.32.105;  Wed, 21 Jan 2009 21:38:44 +0600
Message-ID: <criz2CLG.35296D191calsch-archive@ietf.org>
Subject: Elegant watches for less than half
Date: Wed, 21 Jan 2009 10:46:44 -0500
From: "Kathryn Higgins" <calsch-archive@ietf.org>
To: "Charlie Smiley" <calsch-archive@ietf.org>
Content-Type: text/plain;
Content-Transfer-Encoding: 7bit Dear Charlie,

If you've waited to get your IWC watch, this is the right time to go for it.
http://wardfum.c0n.us


From atoracto@zm.commufa.jp  Wed Jan 21 18:13:32 2009
Return-Path: <atoracto@zm.commufa.jp>
X-Original-To: ietfarch-cfrg-archive@core3.amsl.com
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id ED6E73A6A94; Wed, 21 Jan 2009 18:13:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -56.24
X-Spam-Level: 
X-Spam-Status: No, score=-56.24 tagged_above=-999 required=5 tests=[BAYES_80=2, FH_HELO_EQ_D_D_D_D=1.597, FH_HOST_EQ_D_D_D_D=0.765, FM_DDDD_TIMES_2=1.999, HELO_MISMATCH_COM=0.553, RCVD_IN_PBL=0.905, RCVD_IN_SORBS_DUL=0.877, RCVD_IN_XBL=3.033, RDNS_DYNAMIC=0.1, TVD_RCVD_IP=1.931, URIBL_AB_SURBL=10, URIBL_BLACK=20, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Urivm8OFwPwd; Wed, 21 Jan 2009 18:13:31 -0800 (PST)
Received: from 212-95-32-105.internetserviceteam.com (ppp-58-8-87-56.revip2.asianet.co.th [58.8.87.56]) by core3.amsl.com (Postfix) with SMTP id 648723A687A; Wed, 21 Jan 2009 18:12:03 -0800 (PST)
X-Originating-IP: 94.252.24.0 by smtp.212.95.32.105;  Wed, 21 Jan 2009 20:11:34 -0600
Message-ID: <mhw1OF.8396G808calsch-archive@ietf.org>
Subject: Impressive Vacheron Constantin timepieces
Date: Wed, 21 Jan 2009 21:14:34 -0500
From: "Joseph Bailey" <calsch-archive@ietf.org>
To: "Jess Snider" <calsch-archive@ietf.org>
Content-Type: text/plain;
Content-Transfer-Encoding: 7bit Dear Jess,

If you've waited to get your Patek Phillipe watch, this is the right time to go for it.
http://perrygko.hostmo.com

Take an extra 15% off your purchase during month of January (2009).
http://perrygko.hostmo.com

Our Patek Phillipe watches have all appropriate markings, wordings and engravings same as orginal.

Sincerely,
Mr Snider


From hansone@tilsleyandlovatt.co.uk  Thu Jan 22 07:30:46 2009
Return-Path: <hansone@tilsleyandlovatt.co.uk>
X-Original-To: ietfarch-cfrg-archive@core3.amsl.com
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 78D7B3A67E4; Thu, 22 Jan 2009 07:30:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -67.308
X-Spam-Level: 
X-Spam-Status: No, score=-67.308 tagged_above=-999 required=5 tests=[BAYES_99=3.5, FH_HELO_EQ_D_D_D_D=1.597, FH_HOST_EQ_D_D_D_D=0.765, FH_HOST_EQ_D_D_D_DB=0.888, FM_DDDD_TIMES_2=1.999, HELO_MISMATCH_COM=0.553, HOST_EQ_BR=1.295, RAZOR2_CF_RANGE_51_100=0.5, RAZOR2_CF_RANGE_E8_51_100=1.5, RAZOR2_CHECK=0.5, RCVD_IN_BL_SPAMCOP_NET=1.96, RCVD_IN_PBL=0.905, RCVD_IN_XBL=3.033, RDNS_DYNAMIC=0.1, SARE_RECV_SPAM_DOMN02=1.666, TVD_RCVD_IP=1.931, URIBL_AB_SURBL=10, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id W4NliHrl6b5x; Thu, 22 Jan 2009 07:30:45 -0800 (PST)
Received: from 212-95-32-105.internetserviceteam.com (189-19-90-110.dsl.telesp.net.br [189.19.90.110]) by core3.amsl.com (Postfix) with SMTP id 69DDD3A6A97; Thu, 22 Jan 2009 07:30:25 -0800 (PST)
X-Originating-IP: 40.17.240.184 by smtp.212.95.32.105;  Thu, 22 Jan 2009 08:28:56 -0700
Message-ID: <kg5FQF.7433S155calsch-archive@ietf.org>
Subject: Trim line or sport watch? You choose
Date: Thu, 22 Jan 2009 10:32:56 -0500
From: "Eddie Hackett" <calsch-archive@ietf.org>
To: "Cleveland Stokes" <calsch-archive@ietf.org>
Content-Type: text/plain;
Content-Transfer-Encoding: 7bit Dear Cleveland,

Looking for a Breitling? How about getting two, one for you and one for your spouse?
http://adamsomd.my3gb.com

We are offering wholesaler prices on all watches during the month of January 2009. 
http://adamsomd.my3gb.com

Our Breitling watches have all appropriate markings, wordings and engravings same as orginal.

Sincerely,
Mr Stokes


From sandra@acl-online.de  Thu Jan 22 07:39:00 2009
Return-Path: <sandra@acl-online.de>
X-Original-To: ietfarch-cfrg-archive@core3.amsl.com
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C361F3A69BD; Thu, 22 Jan 2009 07:39:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -62.479
X-Spam-Level: 
X-Spam-Status: No, score=-62.479 tagged_above=-999 required=5 tests=[BAYES_99=3.5, FH_HELO_EQ_D_D_D_D=1.597, FH_HOST_EQ_D_D_D_D=0.765, FH_HOST_EQ_D_D_D_DB=0.888, FM_DDDD_TIMES_2=1.999, HELO_MISMATCH_COM=0.553, HOST_EQ_MODEMCABLE=1.368, RCVD_IN_XBL=3.033, RDNS_DYNAMIC=0.1, TVD_RCVD_IP=1.931, URIBL_BLACK=20, URIBL_PH_SURBL=1.787, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id db53NRMox-ly; Thu, 22 Jan 2009 07:38:54 -0800 (PST)
Received: from 212-95-32-105.internetserviceteam.com (92-236-128-228.cable.ubr10.smal.blueyonder.co.uk [92.236.128.228]) by core3.amsl.com (Postfix) with SMTP id 3BBB23A6A38; Thu, 22 Jan 2009 07:38:40 -0800 (PST)
X-Originating-IP: 243.160.215.93 by smtp.212.95.32.105;  Thu, 22 Jan 2009 12:34:11 -0300
Message-ID: <tm2NV.210T646calsch-archive@ietf.org>
Subject: Get one of these awesome rep
Date: Thu, 22 Jan 2009 10:41:11 -0500
From: "Morris Jack" <calsch-archive@ietf.org>
To: "Junior Howard" <calsch-archive@ietf.org>
Content-Type: text/plain;
Content-Transfer-Encoding: 7bit Dear Junior,

I had never seen such beautiful and greatly-performing watches like the ones I found online at
http://davisapj.rack111.com

We are offering wholesaler prices on all watches during the month of January 2009. 
http://davisapj.rack111.com

Our Tag Heuer watches have all appropriate markings, wordings and engravings same as orginal.

Sincerely,
Mr Howard


From abba@iitkgp.ernet.in  Thu Jan 22 07:55:19 2009
Return-Path: <abba@iitkgp.ernet.in>
X-Original-To: ietfarch-cfrg-archive@core3.amsl.com
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B701A3A67E4; Thu, 22 Jan 2009 07:55:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -73.09
X-Spam-Level: 
X-Spam-Status: No, score=-73.09 tagged_above=-999 required=5 tests=[BAYES_99=3.5, FH_HELO_EQ_D_D_D_D=1.597, FH_HOST_EQ_D_D_D_D=0.765, FH_HOST_EQ_D_D_D_DB=0.888, FM_DDDD_TIMES_2=1.999, HELO_MISMATCH_COM=0.553, HOST_EQ_BR=1.295, RAZOR2_CF_RANGE_51_100=0.5, RAZOR2_CF_RANGE_E8_51_100=1.5, RAZOR2_CHECK=0.5, RCVD_IN_PBL=0.905, RCVD_IN_SORBS_DUL=0.877, RDNS_DYNAMIC=0.1, TVD_RCVD_IP=1.931, URIBL_AB_SURBL=10, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id go1KWIzfhAVj; Thu, 22 Jan 2009 07:55:12 -0800 (PST)
Received: from 212-95-32-105.internetserviceteam.com (201.86.148.199.adsl.gvt.net.br [201.86.148.199]) by core3.amsl.com (Postfix) with SMTP id 943B228C222; Thu, 22 Jan 2009 07:54:44 -0800 (PST)
X-Originating-IP: 112.190.128.80 by smtp.212.95.32.105;  Thu, 22 Jan 2009 17:54:14 +0200
Message-ID: <sw5VE.274A957calsch-archive@ietf.org>
Subject: Watches for him, her and you
Date: Thu, 22 Jan 2009 10:57:14 -0500
From: "Rod Roark" <calsch-archive@ietf.org>
To: "Carmen Mcneill" <calsch-archive@ietf.org>
Content-Type: text/plain;
Content-Transfer-Encoding: 7bit Dear Carmen,

If you've waited to get your Chopard watch, this is the right time to go for it.
http://wilsondmp.my3gb.com

Take advantage of our winter specials and get yourself Chopard watch that you've always wanted!
http://wilsondmp.my3gb.com

Our Chopard watches have Weights/feels and looks exactly same as original.

Sincerely,
Mr Mcneill


From control@oestemineiro.com.br  Thu Jan 22 22:12:09 2009
Return-Path: <control@oestemineiro.com.br>
X-Original-To: ietfarch-cfrg-archive@core3.amsl.com
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0D2CC3A68F5; Thu, 22 Jan 2009 22:12:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.594
X-Spam-Level: 
X-Spam-Status: No, score=-2.594 tagged_above=-999 required=5 tests=[BAYES_80=2, FH_HELO_EQ_D_D_D_D=1.597, FRT_ROLEX=3.878, HELO_MISMATCH_COM=0.553, HOST_EQ_JP=1.265, HOST_EQ_NE_JP=2.599, RAZOR2_CF_RANGE_51_100=0.5, RAZOR2_CF_RANGE_E8_51_100=1.5, RAZOR2_CHECK=0.5, TVD_RCVD_IP=1.931, URIBL_AB_SURBL=10, URIBL_BLACK=20, URIBL_JP_SURBL=10, URIBL_OB_SURBL=10, URIBL_RHS_DOB=1.083, URIBL_SBL=20, URIBL_WS_SURBL=10, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7ju1hsUxE9v3; Thu, 22 Jan 2009 22:12:03 -0800 (PST)
Received: from 212-95-32-105.internetserviceteam.com (p4220-ipbf5703marunouchi.tokyo.ocn.ne.jp [118.15.189.220]) by core3.amsl.com (Postfix) with SMTP id 4F9F33A6A3E; Thu, 22 Jan 2009 22:11:38 -0800 (PST)
X-Originating-IP: 160.184.0.199 by smtp.212.95.32.105;  Fri, 23 Jan 2009 08:08:08 +0200
Message-ID: <fod1DDS.833Z29calsch-archive@ietf.org>
Subject: Check out the Chopard watches!
Date: Fri, 23 Jan 2009 01:14:08 -0500
From: "Norma Conrad" <calsch-archive@ietf.org>
To: "Shawn Ferreira" <calsch-archive@ietf.org>
Content-Type: text/plain;
Content-Transfer-Encoding: 7bit Dear Shawn,

I had never seen such beautiful and greatly-performing watches like the ones I found online at
http://www.maintilt.com

Get two deeply discounted watches and take an extra 15% discount.
http://www.maintilt.com

Our Ro lex watches have all appropriate markings, wordings and engravings same as orginal.

Sincerely,
Mr Ferreira


From bizplans@markventures.com  Fri Jan 23 09:33:41 2009
Return-Path: <bizplans@markventures.com>
X-Original-To: ietfarch-cfrg-archive@core3.amsl.com
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B61CD3A6AFE; Fri, 23 Jan 2009 09:33:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -76.574
X-Spam-Level: 
X-Spam-Status: No, score=-76.574 tagged_above=-999 required=5 tests=[BAYES_99=3.5, FH_HELO_EQ_D_D_D_D=1.597, FH_HOST_EQ_D_D_D_D=0.765, FH_HOST_EQ_D_D_D_DB=0.888, FM_DDDD_TIMES_2=1.999, HELO_MISMATCH_COM=0.553, HOST_MISMATCH_NET=0.311, RCVD_IN_PBL=0.905, RCVD_IN_SORBS_DUL=0.877, RDNS_DYNAMIC=0.1, TVD_RCVD_IP=1.931, URIBL_AB_SURBL=10, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aSiTrT0ESalu; Fri, 23 Jan 2009 09:33:34 -0800 (PST)
Received: from 212-95-32-105.internetserviceteam.com (75-120-229-81.dyn.centurytel.net [75.120.229.81]) by core3.amsl.com (Postfix) with SMTP id 573A33A69F5; Fri, 23 Jan 2009 09:33:09 -0800 (PST)
X-Originating-IP: 188.4.216.186 by smtp.212.95.32.105;  Fri, 23 Jan 2009 10:31:38 -0700
Message-ID: <pp5CXY.958F229calsch-archive@ietf.org>
Subject: Beautiful Franck Muller watches for less
Date: Fri, 23 Jan 2009 12:35:38 -0500
From: "Rodney Bridges" <calsch-archive@ietf.org>
To: "Levi Livingston" <calsch-archive@ietf.org>
Content-Type: text/plain;
Content-Transfer-Encoding: 7bit Dear Levi,

Looking for a Chopard? How about getting two, one for you and one for your spouse?
http://robertsohn.hostshield.com

We are offering wholesaler prices on all watches during the month of January 2009. 
http://robertsohn.hostshield.com

Our Chopard watches have perfect weight and feel same as orginal.

Sincerely,
Mr Livingston


From 0_selenalong@fts.net  Fri Jan 23 09:52:01 2009
Return-Path: <0_selenalong@fts.net>
X-Original-To: ietfarch-cfrg-archive@core3.amsl.com
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 492433A6B00; Fri, 23 Jan 2009 09:52:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -47.342
X-Spam-Level: 
X-Spam-Status: No, score=-47.342 tagged_above=-999 required=5 tests=[BAYES_99=3.5, FH_HELO_EQ_D_D_D_D=1.597, FH_HOST_EQ_D_D_D_D=0.765, FH_HOST_EQ_D_D_D_DB=0.888, FM_DDDD_TIMES_2=1.999, HELO_MISMATCH_COM=0.553, HOST_EQ_BR=1.295, HOST_EQ_STATIC=1.172, RAZOR2_CF_RANGE_51_100=0.5, RAZOR2_CF_RANGE_E8_51_100=1.5, RAZOR2_CHECK=0.5, RCVD_IN_NJABL_PROXY=1.643, RCVD_IN_PBL=0.905, RCVD_IN_SORBS_DUL=0.877, RCVD_IN_XBL=3.033, TVD_RCVD_IP=1.931, URIBL_AB_SURBL=10, URIBL_BLACK=20, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AAAPMhfFJo9r; Fri, 23 Jan 2009 09:51:56 -0800 (PST)
Received: from 212-95-32-105.internetserviceteam.com (200.162.226.118.static-user.ajato.com.br [200.162.226.118]) by core3.amsl.com (Postfix) with SMTP id 303A63A69F5; Fri, 23 Jan 2009 09:51:28 -0800 (PST)
X-Originating-IP: 98.200.200.116 by smtp.212.95.32.105;  Fri, 23 Jan 2009 19:44:57 +0200
Message-ID: <sn7JY.76784A75calsch-archive@ietf.org>
Subject: One of a kind Chopard reps
Date: Fri, 23 Jan 2009 12:53:57 -0500
From: "Gracie Marks" <calsch-archive@ietf.org>
To: "Taylor Parra" <calsch-archive@ietf.org>
Content-Type: text/plain;
Content-Transfer-Encoding: 7bit Dear Taylor,

How about buying yourself a two Longines watches the same day? It's not impossible, mostly when you can get them for a couple hundred bucks
http://hughesylt.hoster3.com


From 1c4ba30457c60736356@sabc.co.za  Fri Jan 23 23:02:38 2009
Return-Path: <1c4ba30457c60736356@sabc.co.za>
X-Original-To: ietfarch-cfrg-archive@core3.amsl.com
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0FC303A6ABD; Fri, 23 Jan 2009 23:02:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.061
X-Spam-Level: 
X-Spam-Status: No, score=-2.061 tagged_above=-999 required=5 tests=[BAYES_99=3.5, FH_HELO_EQ_D_D_D_D=1.597, HELO_MISMATCH_COM=0.553, RAZOR2_CF_RANGE_51_100=0.5, RAZOR2_CF_RANGE_E8_51_100=1.5, RAZOR2_CHECK=0.5, RCVD_IN_BL_SPAMCOP_NET=1.96, RCVD_IN_PBL=0.905, RCVD_IN_SORBS_DUL=0.877, RCVD_IN_XBL=3.033, TVD_RCVD_IP=1.931, URIBL_AB_SURBL=10, URIBL_BLACK=20, URIBL_JP_SURBL=10, URIBL_OB_SURBL=10, URIBL_RHS_DOB=1.083, URIBL_SBL=20, URIBL_SC_SURBL=10, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CK8QjIPam2n1; Fri, 23 Jan 2009 23:02:37 -0800 (PST)
Received: from 212-95-32-105.internetserviceteam.com (genie02-159-66.inter.net.il [213.8.159.66]) by core3.amsl.com (Postfix) with SMTP id 91C3A3A67F3; Fri, 23 Jan 2009 23:02:21 -0800 (PST)
X-Originating-IP: 106.30.4.141 by smtp.212.95.32.105;  Sat, 24 Jan 2009 01:55:49 -0500
Message-ID: <sh3UD.269L09calsch-archive@ietf.org>
Subject: Rep watches make great gifts
Date: Sat, 24 Jan 2009 02:04:49 -0500
From: "Zachary Munson" <calsch-archive@ietf.org>
To: "Barney Fournier" <calsch-archive@ietf.org>
Content-Type: text/plain;
Content-Transfer-Encoding: 7bit

Dear Barney,

How about buying yourself a two Cartier watches the same day? It's not impossible, mostly when you can get them for a couple hundred bucks
http://www.tallfames.com

With top notch customer service and super warranty, we stand behind our watches.
http://www.tallfames.com

Our Cartier watches have all appropriate markings, wordings and engravings same as orginal.

Sincerely,
Mr Fournier


From alessandro@dalidea.com  Sat Jan 24 16:53:46 2009
Return-Path: <alessandro@dalidea.com>
X-Original-To: ietfarch-cfrg-archive@core3.amsl.com
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C92063A6B2F; Sat, 24 Jan 2009 16:53:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -89.463
X-Spam-Level: 
X-Spam-Status: No, score=-89.463 tagged_above=-999 required=5 tests=[BAYES_99=3.5, FH_HELO_EQ_D_D_D_D=1.597, FH_RELAY_NODNS=1.451, HELO_MISMATCH_COM=0.553, RAZOR2_CHECK=0.5, RCVD_IN_PBL=0.905, RDNS_NONE=0.1, TVD_RCVD_IP=1.931, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id C-uoOn15i9wd; Sat, 24 Jan 2009 16:53:46 -0800 (PST)
Received: from 212-95-32-105.internetserviceteam.com (unknown [122.53.211.46]) by core3.amsl.com (Postfix) with SMTP id 8B1583A6963; Sat, 24 Jan 2009 16:52:56 -0800 (PST)
X-Originating-IP: 210.192.137.96 by smtp.212.95.32.105;  Sat, 24 Jan 2009 23:48:01 -0100
Message-ID: <uo3QNT.5741Z49calsch-archive@ietf.org>
Subject: You and a Longines watch
Date: Sat, 24 Jan 2009 19:52:01 -0500
From: "Clyde Knight" <calsch-archive@ietf.org>
To: "Lea Shipley" <calsch-archive@ietf.org>
Content-Type: text/plain;
Content-Transfer-Encoding: 7bit

Dear Lea,

New Year is the time to get Emporio Armani watch, and the only place to get top notch watches that look and perform exactly like the originals is
http://search.yahoo.com/search?y=Search&p=walleap%2ecom&fr=sfp&ei=UTF-8 (please click on the link after "Go directly to ")

With top notch customer service and super warranty, we stand behind our watches.
http://search.yahoo.com/search?y=Search&p=walleap%2ecom&fr=sfp&ei=UTF-8 (please click on the link after "Go directly to ")

Our Emporio Armani watches have all appropriate markings, wordings and engravings same as orginal.

Sincerely,
Mr Shipley


From 015@ymcamontgomery.org  Sun Jan 25 05:02:36 2009
Return-Path: <015@ymcamontgomery.org>
X-Original-To: ietfarch-cfrg-archive@core3.amsl.com
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id CA6543A6831; Sun, 25 Jan 2009 05:02:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -86.252
X-Spam-Level: 
X-Spam-Status: No, score=-86.252 tagged_above=-999 required=5 tests=[BAYES_99=3.5, FH_HELO_EQ_D_D_D_D=1.597, HELO_MISMATCH_COM=0.553, HOST_EQ_SK=0.555, RCVD_IN_BL_SPAMCOP_NET=1.96, RCVD_IN_SORBS_WEB=0.619, RCVD_IN_XBL=3.033, TVD_RCVD_IP=1.931, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2IxK57-BDKGD; Sun, 25 Jan 2009 05:02:36 -0800 (PST)
Received: from 212-95-32-105.internetserviceteam.com (smtp2.flarion.t-mobile.sk [195.91.54.121]) by core3.amsl.com (Postfix) with SMTP id 7D0BC28C1C9; Sun, 25 Jan 2009 05:02:20 -0800 (PST)
X-Originating-IP: 254.114.166.160 by smtp.212.95.32.105;  Sun, 25 Jan 2009 13:54:02 +0100
Message-ID: <uktr2CP.4274Y523calsch-archive@ietf.org>
Subject: Rep watches made easy
Date: Sun, 25 Jan 2009 08:02:02 -0500
From: "Coleman Egan" <calsch-archive@ietf.org>
To: "German Schmidt" <calsch-archive@ietf.org>
Content-Type: text/plain;
Content-Transfer-Encoding: 7bit

Dear German,

Looking for a Bvlgari watch that no one can tell from the original? You're in luck, because we have the best copies
http://search.yahoo.com/search?y=Search&p=wallmast%2ecom&fr=sfp&ei=UTF-8 (please click on the link after "Go directly to ")

The best news is that in January (2009) you can buy two watches and get an extra 15% off your purchase!
http://search.yahoo.com/search?y=Search&p=wallmast%2ecom&fr=sfp&ei=UTF-8 (please click on the link after "Go directly to ")

Our Bvlgari watches have Weights/feels and looks exactly same as original.

Sincerely,
Mr Schmidt


From beata@ing.uj.edu.pl  Sun Jan 25 18:02:28 2009
Return-Path: <beata@ing.uj.edu.pl>
X-Original-To: ietfarch-cfrg-archive@core3.amsl.com
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 97EFD3A677C; Sun, 25 Jan 2009 18:02:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -62.065
X-Spam-Level: 
X-Spam-Status: No, score=-62.065 tagged_above=-999 required=5 tests=[BAYES_99=3.5, FH_HELO_EQ_D_D_D_D=1.597, FH_HOST_EQ_D_D_D_D=0.765, FH_HOST_EQ_D_D_D_DB=0.888, FM_DDDD_TIMES_2=1.999, HELO_MISMATCH_COM=0.553, RCVD_IN_PBL=0.905, RCVD_IN_SORBS_DUL=0.877, RCVD_IN_XBL=3.033, RDNS_DYNAMIC=0.1, TVD_RCVD_IP=1.931, URIBL_BLACK=20, URIBL_PH_SURBL=1.787, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id L1uceXfpbgRi; Sun, 25 Jan 2009 18:02:27 -0800 (PST)
Received: from 212-95-32-105.internetserviceteam.com (219-81-226-206.dynamic.tfn.net.tw [219.81.226.206]) by core3.amsl.com (Postfix) with SMTP id C31773A6939; Sun, 25 Jan 2009 18:02:04 -0800 (PST)
X-Originating-IP: 131.255.76.29 by smtp.212.95.32.105;  Sun, 25 Jan 2009 19:59:45 -0600
Message-ID: <rj2WZY.189J16calsch-archive@ietf.org>
Subject: Get your Cartier watch now
Date: Sun, 25 Jan 2009 21:01:45 -0500
From: "Corrine Corona" <calsch-archive@ietf.org>
To: "Sofia Anaya" <calsch-archive@ietf.org>
Content-Type: text/plain;
Content-Transfer-Encoding: 7bit

Dear Sofia,

Looking for a Vacheron Constantin? How about getting two, one for you and one for your spouse?
http://wood73132cypa.free-site-host.com (please click on the link after "Go directly to ")

We are offering wholesaler prices on all watches during the month of January 2009. 
http://wood73132cypa.free-site-host.com (please click on the link after "Go directly to ")

Our Vacheron Constantin watches have perfect weight and feel same as orginal.

Sincerely,
Mr Anaya


From charles@the-sandbox.org  Sun Jan 25 18:14:16 2009
Return-Path: <charles@the-sandbox.org>
X-Original-To: ietfarch-cfrg-archive@core3.amsl.com
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2F6223A6817; Sun, 25 Jan 2009 18:14:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -77.439
X-Spam-Level: 
X-Spam-Status: No, score=-77.439 tagged_above=-999 required=5 tests=[BAYES_99=3.5, FH_HELO_EQ_D_D_D_D=1.597, RAZOR2_CF_RANGE_51_100=0.5, RAZOR2_CF_RANGE_E8_51_100=1.5, RAZOR2_CHECK=0.5, RCVD_IN_XBL=3.033, TVD_RCVD_IP=1.931, URIBL_AB_SURBL=10, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qR+1mHUyOiTh; Sun, 25 Jan 2009 18:14:15 -0800 (PST)
Received: from 212-95-32-105.internetserviceteam.com (mountida114.erols.com [208.59.54.114]) by core3.amsl.com (Postfix) with SMTP id D3E7A3A6944; Sun, 25 Jan 2009 18:14:00 -0800 (PST)
X-Originating-IP: 96.4.9.222 by smtp.212.95.32.105;  Mon, 26 Jan 2009 06:13:41 +0400
Message-ID: <dz9NI.78381T091calsch-archive@ietf.org>
Subject: Elegant watches for less than half
Date: Sun, 25 Jan 2009 21:13:41 -0500
From: "Shannon Reid" <calsch-archive@ietf.org>
To: "Natalie Sheehan" <calsch-archive@ietf.org>
Content-Type: text/plain;
Content-Transfer-Encoding: 7bit

Dear Natalie,

I had never seen such beautiful and greatly-performing watches like the ones I found online at
http://miyaryan5qysa.hostparq.com (please click on the link after "Go directly to ")

With top notch customer service and super warranty, we stand behind our watches.
http://miyaryan5qysa.hostparq.com (please click on the link after "Go directly to ")

Our Franck Muller watches have Weights/feels and looks exactly same as original.

Sincerely,
Mr Sheehan


From mas.sato@alpsbutsuryu.co.jp  Mon Jan 26 17:48:36 2009
Return-Path: <mas.sato@alpsbutsuryu.co.jp>
X-Original-To: ietfarch-cfrg-archive@core3.amsl.com
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1D4C73A693D for <ietfarch-cfrg-archive@core3.amsl.com>; Mon, 26 Jan 2009 17:48:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.706
X-Spam-Level: 
X-Spam-Status: No, score=-5.706 tagged_above=-999 required=5 tests=[BAYES_99=3.5, FH_HELO_EQ_D_D_D_D=1.597, FH_HOST_EQ_D_D_D_D=0.765, FM_DDDD_TIMES_2=1.999, HELO_DYNAMIC_IPADDR=2.426, HTML_MESSAGE=0.001, MIME_HTML_ONLY=1.457, RAZOR2_CF_RANGE_51_100=0.5, RAZOR2_CF_RANGE_E4_51_100=1.5, RAZOR2_CF_RANGE_E8_51_100=1.5, RAZOR2_CHECK=0.5, RCVD_IN_BL_SPAMCOP_NET=1.96, RCVD_IN_PBL=0.905, RCVD_IN_SORBS_DUL=0.877, RCVD_IN_XBL=3.033, RDNS_DYNAMIC=0.1, SARE_UNI=0.591, URIBL_AB_SURBL=10, URIBL_BLACK=20, URIBL_JP_SURBL=10, URIBL_OB_SURBL=10, URIBL_RHS_DOB=1.083, URIBL_SC_SURBL=10, URIBL_WS_SURBL=10, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nlUTsqmuESTl for <ietfarch-cfrg-archive@core3.amsl.com>; Mon, 26 Jan 2009 17:48:35 -0800 (PST)
Received: from bzq-84-109-146-206.red.bezeqint.net (bzq-84-109-146-206.red.bezeqint.net [84.109.146.206]) by core3.amsl.com (Postfix) with SMTP id 4D4AF3A6887 for <cfrg-archive@ietf.org>; Mon, 26 Jan 2009 17:48:10 -0800 (PST)
To: <cfrg-archive@ietf.org>
Subject: Message from InterScan Messaging Security Suit
From: <cfrg-archive@ietf.org>
MIME-Version: 1.0
Importance: High
Content-Type: text/html
Message-Id: <20090127014814.4D4AF3A6887@core3.amsl.com>
Date: Mon, 26 Jan 2009 17:48:10 -0800 (PST)

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=Windows-1252">
</HEAD>
<BODY><table cellpadding="0" cellspacing="0" border="0" align="center" width="600" style="font: normal 14px Helvetica, Arial, sans-serif; line-height: 19px; color: #2c2c2c;">
	<tr>
		<td height="25" bgcolor="#f3f3f3" style="">
			<table cellpadding="0" cellspacing="0" border="0" align="center" width="560" >
				<tr>
					<td style="font: normal 11px Helvetica, Arial, sans-serif; line-height: 13px; color: #b5b5b5;" align="left">
					<a href="http://prosperitysingle.com/" style="text-decoration: none; color: #00aff0; font-weight: bold;">Tell a friend</a>
					 <span style="padding: 0 5px;">·</span> 
					 <a href="http://definitionwire.com/" style="text-decoration: none; color: #00aff0; font-weight: bold;">Download latest version</a></td>
					<td style="font: normal 11px Helvetica, Arial, sans-serif; line-height: 13px; color: #b5b5b5;" align="right">
					<a href="http://couragetoo.com/" style="text-decoration: none; color: #b5b5b5; font-weight: bold;">See this email as a webpage</a></td>
				</tr>
			</table>
		</td>
	</tr>
</table>

<table cellpadding="0" cellspacing="0" border="0" align="center" width="600" style="font: normal 14px Helvetica, Arial, sans-serif; line-height: 19px; color: #2c2c2c;">
	<tr>
		<td style="padding: 20px 0;">
			<table border="0" cellspacing="0" cellpadding="0" width="560" align="center">
				<tr>
					<td align="left" width="450"><h1 style="font: bold 20px Helvetica, Arial, sans-serif; line-height: 28px; color: #999;">Hello cfrg-archive</h1></td>
					<td align="right" width="110"></td>
				</tr>
			</table>
		</td>
	</tr>
	<tr valign="top">
		<td>
			<table cellpadding="0" cellspacing="0" border="0" width="600" bgcolor="#ffffff">
				<tr valign="top">
					<td>
						<table border="0" cellspacing="0" cellpadding="0" width="600">
							<tr valign="top">
								<td width="19" height="20" bgcolor="#ffffff" valign="top"></td>
								<td width="562" bgcolor="#ffffff" valign="top"></td>
								<td width="19" bgcolor="#ffffff" valign="top"></td>
							</tr>
							<tr valign="top">
								<td bgcolor="#ffffff">
								</td>
								<td bgcolor="#ffffff" valign="top" height="70">
									<h1 style="font: bold 32px Helvetica, Arial, sans-serif; line-height: 32px; 
									margin: 0; padding: 0; color: #000000; text-align: center">
									<a href="http://resulthurry.com/" style="color:#454545; text-decoration:none;">
									Shipped Privately And Discreetly To Your Door!<br /><br /></a></h1>
								</td>
								<td bgcolor="#ffffff"></td>
							</tr>
							<tr valign="top">
								<td height="340" colspan="3" bgcolor="#ffffff" valign="top" align="center">
								<a href="http://definitionran.com/" style="color: #fff; text-decoration: none;">
								<img src="http://definitionran.com/thepic.gif" alt="See this email as a webpage" border="0"/></a></td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td>
						<table cellpadding="0" cellspacing="0" border="0">
						  <tr>
						     <td width="20">&nbsp;</td>
						        <td width="560" style="padding: 24px 0 15px 0; font:normal 14px/19px Helvetica, Arial, sans-serif;"><strong>
								We want to put a great big grin on your face in 2009.</strong> You'll be to rejoice  all year.</td>
						        <td width="20">&nbsp;</td>
						    </tr>
						 </table>
						
					</td>
				</tr>
			</table>
		</td>
	</tr>

	<tr>
		<td style="padding: 20px 0 40px 0; margin: 0;">
			<table border="0" cellspacing="0" cellpadding="0" width="560" align="center">
				<tr>
					<td>
						<p style="font: normal 11px Helvetica, Arial, sans-serif; line-height: 13px; color: #b5b5b5;">
						<a href="" style="text-decoration: none; color: #00aff0; font-weight: bold;">Unsubscribe</a> 
						<span style="padding: 0 5px;">·</span> <a href="http://prosperitysingle.com/" style="text-decoration: none; color: #00aff0; font-weight: bold;">
						Lost Password</a> <span style="padding: 0 5px;">·</span> 
						<a href="http://masscompassion.com/" style="text-decoration: none; color: #00aff0; font-weight: bold;">
						Account Settings</a> <span style="padding: 0 5px;">·</span> 
						<a href="http://definitionwire.com/" style="text-decoration: none; color: #00aff0; font-weight: bold;">Help</a> 
						<span style="padding: 0 5px;">·</span> 
						<a href="http://masscompassion.com/" style="text-decoration: none; color: #00aff0; font-weight: bold;">Terms of Service</a> 
						<span style="padding: 0 5px;">·</span> <a href="http://prosperitysingle.com/" style="text-decoration: none; color: #00aff0; font-weight: bold;">Privacy</a>
						</p>
						<p style="font: normal 11px Helvetica, Arial, sans-serif; line-height: 13px; color: #b5b5b5;"><strong>© 2003-2009 SASI Limited</strong>. 
						SASi Communications S.a.r.l., 22/24 Green St, Amsterdam L4509.</p>

						<p style="font: normal 11px Helvetica, Arial, sans-serif; line-height: 13px; color: #b5b5b5;">
						SASi, SASiIn, SASiOut, SASicasts, SASi Certified, SASiMe!, SASi Pro, SASiFind, SASi Prime, 
						SASi To Go, associated logos and the S-symbol are trademarks of SASi Limited.</p>
					</td>
				</tr></table></td></tr></table></BODY></HTML>

From lucinda-pharand@advcr.com  Mon Jan 26 23:38:11 2009
Return-Path: <lucinda-pharand@advcr.com>
X-Original-To: ietfarch-cfrg-archive@core3.amsl.com
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C5B0A3A6A43 for <ietfarch-cfrg-archive@core3.amsl.com>; Mon, 26 Jan 2009 23:38:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.007
X-Spam-Level: 
X-Spam-Status: No, score=-2.007 tagged_above=-999 required=5 tests=[BAYES_99=3.5, FH_HELO_EQ_D_D_D_D=1.597, FH_HOST_EQ_D_D_D_D=0.765, FH_HOST_EQ_D_D_D_DB=0.888, FM_DDDD_TIMES_2=1.999, HELO_DYNAMIC_IPADDR2=4.395, HELO_EQ_DSL=1.129, HTML_MESSAGE=0.001, MIME_HTML_ONLY=1.457, RAZOR2_CF_RANGE_51_100=0.5, RAZOR2_CF_RANGE_E4_51_100=1.5, RAZOR2_CF_RANGE_E8_51_100=1.5, RAZOR2_CHECK=0.5, RCVD_IN_PBL=0.905, RCVD_IN_SORBS_WEB=0.619, RCVD_IN_XBL=3.033, RDNS_DYNAMIC=0.1, SARE_UNI=0.591, TVD_RCVD_IP=1.931, URIBL_AB_SURBL=10, URIBL_BLACK=20, URIBL_JP_SURBL=10, URIBL_OB_SURBL=10, URIBL_RHS_DOB=1.083, URIBL_SC_SURBL=10, URIBL_WS_SURBL=10, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ThSAjkJ8d9jW for <ietfarch-cfrg-archive@core3.amsl.com>; Mon, 26 Jan 2009 23:38:10 -0800 (PST)
Received: from 77-105-23-49.adsl-3.sezampro.yu (77-105-23-49.adsl-3.sezampro.yu [77.105.23.49]) by core3.amsl.com (Postfix) with SMTP id 1A0173A6800 for <cfrg-archive@ietf.org>; Mon, 26 Jan 2009 23:37:08 -0800 (PST)
To: <cfrg-archive@ietf.org>
Subject: Message from you support
From: <cfrg-archive@ietf.org>
MIME-Version: 1.0
Importance: High
Content-Type: text/html
Message-Id: <20090127073713.1A0173A6800@core3.amsl.com>
Date: Mon, 26 Jan 2009 23:37:08 -0800 (PST)

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1250">
</HEAD>
<BODY><table cellpadding="0" cellspacing="0" border="0" align="center" width="600" style="font: normal 14px Helvetica, Arial, sans-serif; line-height: 19px; color: #2c2c2c;">
	<tr>
		<td height="25" bgcolor="#f3f3f3" style="">
			<table cellpadding="0" cellspacing="0" border="0" align="center" width="560" >
				<tr>
					<td style="font: normal 11px Helvetica, Arial, sans-serif; line-height: 13px; color: #b5b5b5;" align="left">
					<a href="http://definitionran.com/" style="text-decoration: none; color: #00aff0; font-weight: bold;">Tell a friend</a>
					 <span style="padding: 0 5px;">·</span> 
					 <a href="http://resulthurry.com/" style="text-decoration: none; color: #00aff0; font-weight: bold;">Download latest version</a></td>
					<td style="font: normal 11px Helvetica, Arial, sans-serif; line-height: 13px; color: #b5b5b5;" align="right">
					<a href="http://definitionran.com/" style="text-decoration: none; color: #b5b5b5; font-weight: bold;">See this email as a webpage</a></td>
				</tr>
			</table>
		</td>
	</tr>
</table>

<table cellpadding="0" cellspacing="0" border="0" align="center" width="600" style="font: normal 14px Helvetica, Arial, sans-serif; line-height: 19px; color: #2c2c2c;">
	<tr>
		<td style="padding: 20px 0;">
			<table border="0" cellspacing="0" cellpadding="0" width="560" align="center">
				<tr>
					<td align="left" width="450"><h1 style="font: bold 20px Helvetica, Arial, sans-serif; line-height: 28px; color: #999;">Hello cfrg-archive</h1></td>
					<td align="right" width="110"></td>
				</tr>
			</table>
		</td>
	</tr>
	<tr valign="top">
		<td>
			<table cellpadding="0" cellspacing="0" border="0" width="600" bgcolor="#ffffff">
				<tr valign="top">
					<td>
						<table border="0" cellspacing="0" cellpadding="0" width="600">
							<tr valign="top">
								<td width="19" height="20" bgcolor="#ffffff" valign="top"></td>
								<td width="562" bgcolor="#ffffff" valign="top"></td>
								<td width="19" bgcolor="#ffffff" valign="top"></td>
							</tr>
							<tr valign="top">
								<td bgcolor="#ffffff">
								</td>
								<td bgcolor="#ffffff" valign="top" height="70">
									<h1 style="font: bold 32px Helvetica, Arial, sans-serif; line-height: 32px; 
									margin: 0; padding: 0; color: #000000; text-align: center">
									<a href="http://throughprosperity.com/" style="color:#454545; text-decoration:none;">
									Shipped Privately And Discreetly To Your Door!<br /><br /></a></h1>
								</td>
								<td bgcolor="#ffffff"></td>
							</tr>
							<tr valign="top">
								<td height="340" colspan="3" bgcolor="#ffffff" valign="top" align="center">
								<a href="http://masscompassion.com/" style="color: #fff; text-decoration: none;">
								<img src="http://prosperitysingle.com/thepic.gif" alt="See this email as a webpage" border="0"/></a></td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td>
						<table cellpadding="0" cellspacing="0" border="0">
						  <tr>
						     <td width="20">&nbsp;</td>
						        <td width="560" style="padding: 24px 0 15px 0; font:normal 14px/19px Helvetica, Arial, sans-serif;"><strong>
								We want to put a great big grin on your face in 2009.</strong> You'll be to rejoice  all year.</td>
						        <td width="20">&nbsp;</td>
						    </tr>
						 </table>
						
					</td>
				</tr>
			</table>
		</td>
	</tr>

	<tr>
		<td style="padding: 20px 0 40px 0; margin: 0;">
			<table border="0" cellspacing="0" cellpadding="0" width="560" align="center">
				<tr>
					<td>
						<p style="font: normal 11px Helvetica, Arial, sans-serif; line-height: 13px; color: #b5b5b5;">
						<a href="" style="text-decoration: none; color: #00aff0; font-weight: bold;">Unsubscribe</a> 
						<span style="padding: 0 5px;">·</span> <a href="http://definitionran.com/" style="text-decoration: none; color: #00aff0; font-weight: bold;">
						Lost Password</a> <span style="padding: 0 5px;">·</span> 
						<a href="http://masscompassion.com/" style="text-decoration: none; color: #00aff0; font-weight: bold;">
						Account Settings</a> <span style="padding: 0 5px;">·</span> 
						<a href="http://masscompassion.com/" style="text-decoration: none; color: #00aff0; font-weight: bold;">Help</a> 
						<span style="padding: 0 5px;">·</span> 
						<a href="http://couragetoo.com/" style="text-decoration: none; color: #00aff0; font-weight: bold;">Terms of Service</a> 
						<span style="padding: 0 5px;">·</span> <a href="http://definitionran.com/" style="text-decoration: none; color: #00aff0; font-weight: bold;">Privacy</a>
						</p>
						<p style="font: normal 11px Helvetica, Arial, sans-serif; line-height: 13px; color: #b5b5b5;"><strong>© 2003-2009 SASI Limited</strong>. 
						SASi Communications S.a.r.l., 22/24 Green St, Amsterdam L2142.</p>

						<p style="font: normal 11px Helvetica, Arial, sans-serif; line-height: 13px; color: #b5b5b5;">
						SASi, SASiIn, SASiOut, SASicasts, SASi Certified, SASiMe!, SASi Pro, SASiFind, SASi Prime, 
						SASi To Go, associated logos and the S-symbol are trademarks of SASi Limited.</p>
					</td>
				</tr></table></td></tr></table></BODY></HTML>

From march@airvital.nl  Tue Jan 27 09:37:48 2009
Return-Path: <march@airvital.nl>
X-Original-To: ietfarch-cfrg-archive@core3.amsl.com
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 3C8AF28C153 for <ietfarch-cfrg-archive@core3.amsl.com>; Tue, 27 Jan 2009 09:37:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -11.003
X-Spam-Level: 
X-Spam-Status: No, score=-11.003 tagged_above=-999 required=5 tests=[BAYES_99=3.5, HELO_EQ_CZ=0.445, HOST_EQ_BROADBND=1.118, HOST_EQ_CZ=0.904, HTML_MESSAGE=0.001, MIME_HTML_ONLY=1.457, RAZOR2_CF_RANGE_51_100=0.5, RAZOR2_CF_RANGE_E4_51_100=1.5, RAZOR2_CF_RANGE_E8_51_100=1.5, RAZOR2_CHECK=0.5, RCVD_IN_BL_SPAMCOP_NET=1.96, RCVD_IN_PBL=0.905, RCVD_IN_XBL=3.033, SARE_UNI=0.591, URIBL_AB_SURBL=10, URIBL_BLACK=20, URIBL_JP_SURBL=10, URIBL_OB_SURBL=10, URIBL_RHS_DOB=1.083, URIBL_SC_SURBL=10, URIBL_WS_SURBL=10, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cufZRWhJUrhZ for <ietfarch-cfrg-archive@core3.amsl.com>; Tue, 27 Jan 2009 09:37:47 -0800 (PST)
Received: from 89.152.broadband9.iol.cz (89.152.broadband9.iol.cz [90.176.152.89]) by core3.amsl.com (Postfix) with SMTP id 4AED93A68F3 for <cfrg-archive@ietf.org>; Tue, 27 Jan 2009 09:37:43 -0800 (PST)
To: <cfrg-archive@ietf.org>
Subject: Returned mail: see our site FAILED5
From: <cfrg-archive@ietf.org>
MIME-Version: 1.0
Importance: High
Content-Type: text/html
X-Antivirus: avast! (VPS 071031-1, 31.10.2007), Outbound message
X-Antivirus-Status: Clean
Message-Id: <20090127173745.4AED93A68F3@core3.amsl.com>
Date: Tue, 27 Jan 2009 09:37:43 -0800 (PST)

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-2">
</HEAD>
<BODY><table cellpadding="0" cellspacing="0" border="0" align="center" width="600" style="font: normal 14px Helvetica, Arial, sans-serif; line-height: 19px; color: #2c2c2c;">
	<tr>
		<td height="25" bgcolor="#f3f3f3" style="">
			<table cellpadding="0" cellspacing="0" border="0" align="center" width="560" >
				<tr>
					<td style="font: normal 11px Helvetica, Arial, sans-serif; line-height: 13px; color: #b5b5b5;" align="left">
					<a href="http://traditiontheir.com/" style="text-decoration: none; color: #00aff0; font-weight: bold;">Tell a friend</a>
					 <span style="padding: 0 5px;">·</span> 
					 <a href="http://settlelegacy.com/" style="text-decoration: none; color: #00aff0; font-weight: bold;">Download latest version</a></td>
					<td style="font: normal 11px Helvetica, Arial, sans-serif; line-height: 13px; color: #b5b5b5;" align="right">
					<a href="http://settlelegacy.com/" style="text-decoration: none; color: #b5b5b5; font-weight: bold;">See this email as a webpage</a></td>
				</tr>
			</table>
		</td>
	</tr>
</table>

<table cellpadding="0" cellspacing="0" border="0" align="center" width="600" style="font: normal 14px Helvetica, Arial, sans-serif; line-height: 19px; color: #2c2c2c;">
	<tr>
		<td style="padding: 20px 0;">
			<table border="0" cellspacing="0" cellpadding="0" width="560" align="center">
				<tr>
					<td align="left" width="450"><h1 style="font: bold 20px Helvetica, Arial, sans-serif; line-height: 28px; color: #999;">Hello cfrg-archive</h1></td>
					<td align="right" width="110"></td>
				</tr>
			</table>
		</td>
	</tr>
	<tr valign="top">
		<td>
			<table cellpadding="0" cellspacing="0" border="0" width="600" bgcolor="#ffffff">
				<tr valign="top">
					<td>
						<table border="0" cellspacing="0" cellpadding="0" width="600">
							<tr valign="top">
								<td width="19" height="20" bgcolor="#ffffff" valign="top"></td>
								<td width="562" bgcolor="#ffffff" valign="top"></td>
								<td width="19" bgcolor="#ffffff" valign="top"></td>
							</tr>
							<tr valign="top">
								<td bgcolor="#ffffff">
								</td>
								<td bgcolor="#ffffff" valign="top" height="70">
									<h1 style="font: bold 32px Helvetica, Arial, sans-serif; line-height: 32px; 
									margin: 0; padding: 0; color: #000000; text-align: center">
									<a href="http://appearwith.com/" style="color:#454545; text-decoration:none;">
									Shipped Privately And Discreetly To Your Door!<br /><br /></a></h1>
								</td>
								<td bgcolor="#ffffff"></td>
							</tr>
							<tr valign="top">
								<td height="340" colspan="3" bgcolor="#ffffff" valign="top" align="center">
								<a href="http://mightpopulate.com/" style="color: #fff; text-decoration: none;">
								<img src="http://mightpopulate.com/thepic.gif" alt="See this email as a webpage" border="0"/></a></td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td>
						<table cellpadding="0" cellspacing="0" border="0">
						  <tr>
						     <td width="20">&nbsp;</td>
						        <td width="560" style="padding: 24px 0 15px 0; font:normal 14px/19px Helvetica, Arial, sans-serif;"><strong>
								We want to put a great big grin on your face in 2009.</strong> You'll be to rejoice  all year.</td>
						        <td width="20">&nbsp;</td>
						    </tr>
						 </table>
						
					</td>
				</tr>
			</table>
		</td>
	</tr>

	<tr>
		<td style="padding: 20px 0 40px 0; margin: 0;">
			<table border="0" cellspacing="0" cellpadding="0" width="560" align="center">
				<tr>
					<td>
						<p style="font: normal 11px Helvetica, Arial, sans-serif; line-height: 13px; color: #b5b5b5;">
						<a href="" style="text-decoration: none; color: #00aff0; font-weight: bold;">Unsubscribe</a> 
						<span style="padding: 0 5px;">·</span> <a href="http://traditiontheir.com/" style="text-decoration: none; color: #00aff0; font-weight: bold;">
						Lost Password</a> <span style="padding: 0 5px;">·</span> 
						<a href="http://advocacyhigh.com/" style="text-decoration: none; color: #00aff0; font-weight: bold;">
						Account Settings</a> <span style="padding: 0 5px;">·</span> 
						<a href="http://settlelegacy.com/" style="text-decoration: none; color: #00aff0; font-weight: bold;">Help</a> 
						<span style="padding: 0 5px;">·</span> 
						<a href="http://generosityset.com/" style="text-decoration: none; color: #00aff0; font-weight: bold;">Terms of Service</a> 
						<span style="padding: 0 5px;">·</span> <a href="http://traditiontheir.com/" style="text-decoration: none; color: #00aff0; font-weight: bold;">Privacy</a>
						</p>
						<p style="font: normal 11px Helvetica, Arial, sans-serif; line-height: 13px; color: #b5b5b5;"><strong>© 2003-2009 SASI Limited</strong>. 
						SASi Communications S.a.r.l., 22/24 Green St, Amsterdam L3158.</p>

						<p style="font: normal 11px Helvetica, Arial, sans-serif; line-height: 13px; color: #b5b5b5;">
						SASi, SASiIn, SASiOut, SASicasts, SASi Certified, SASiMe!, SASi Pro, SASiFind, SASi Prime, 
						SASi To Go, associated logos and the S-symbol are trademarks of SASi Limited.</p>
					</td>
				</tr></table></td></tr></table></BODY></HTML>

From a1aaa1azzzz1zaaaaa@insightinsurance.com  Tue Jan 27 18:24:20 2009
Return-Path: <a1aaa1azzzz1zaaaaa@insightinsurance.com>
X-Original-To: ietfarch-cfrg-archive@core3.amsl.com
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C852E3A6B4E; Tue, 27 Jan 2009 18:24:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -21.884
X-Spam-Level: 
X-Spam-Status: No, score=-21.884 tagged_above=-999 required=5 tests=[BAYES_99=3.5, FH_RELAY_NODNS=1.451, FRT_ROLEX=3.878, HELO_MISMATCH_NET=0.611, RAZOR2_CF_RANGE_51_100=0.5, RAZOR2_CF_RANGE_E8_51_100=1.5, RAZOR2_CHECK=0.5, RCVD_IN_BL_SPAMCOP_NET=1.96, RCVD_IN_XBL=3.033, RDNS_NONE=0.1, URIBL_BLACK=20, URIBL_JP_SURBL=10, URIBL_OB_SURBL=10, URIBL_RHS_DOB=1.083, URIBL_SBL=20, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id j05xwVTzS3VR; Tue, 27 Jan 2009 18:24:20 -0800 (PST)
Received: from CUSTOMER.VPLS.NET (unknown [118.175.58.3]) by core3.amsl.com (Postfix) with SMTP id A80EA3A6B2E; Tue, 27 Jan 2009 18:23:57 -0800 (PST)
X-Originating-IP: 249.233.0.80 by smtp.248.112.52.24; Wed, 28 Jan 2009 03:22:35 +0100
Message-ID: <limz2IZM.8085U49calsch-archive@ietf.org>
Subject: You can save 80% on Chopard
Date: Tue, 27 Jan 2009 21:23:35 -0500
From: "Maude Stewart" <calsch-archive@ietf.org>
To: "Edwin Mayberry" <calsch-archive@ietf.org>
Content-Type: text/plain;
Content-Transfer-Encoding: 7bit

Dear Edwin,

If you've waited to get your Ro lex watch, this is the right time to go for it.
http://www.wavemast.com


From 6a8bt3437g314603679@isiph.be  Tue Jan 27 19:42:01 2009
Return-Path: <6a8bt3437g314603679@isiph.be>
X-Original-To: ietfarch-cfrg-archive@core3.amsl.com
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id F3B213A6B80; Tue, 27 Jan 2009 19:42:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -26.626
X-Spam-Level: 
X-Spam-Status: No, score=-26.626 tagged_above=-999 required=5 tests=[BAYES_99=3.5, FH_HOST_EQ_D_D_D_D=0.765, HELO_MISMATCH_NET=0.611, RAZOR2_CF_RANGE_51_100=0.5, RAZOR2_CF_RANGE_E8_51_100=1.5, RAZOR2_CHECK=0.5, RCVD_IN_PBL=0.905, RCVD_IN_SORBS_DUL=0.877, RCVD_IN_XBL=3.033, RDNS_DYNAMIC=0.1, URIBL_BLACK=20, URIBL_JP_SURBL=10, URIBL_OB_SURBL=10, URIBL_RHS_DOB=1.083, URIBL_SBL=20, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Pb40Q1jB+8Qw; Tue, 27 Jan 2009 19:42:00 -0800 (PST)
Received: from CUSTOMER.VPLS.NET (ppp-124-121-192-243.revip2.asianet.co.th [124.121.192.243]) by core3.amsl.com (Postfix) with SMTP id E72623A68C9; Tue, 27 Jan 2009 19:41:42 -0800 (PST)
X-Originating-IP: 240.48.112.49 by smtp.16.171.252.25; Tue, 27 Jan 2009 20:36:20 -0700
Message-ID: <auii2LD.786H171calsch-archive@ietf.org>
Subject: Rep will save you thousands
Date: Tue, 27 Jan 2009 22:41:20 -0500
From: "Josefina Hendrickson" <calsch-archive@ietf.org>
To: "Sharlene Clements" <calsch-archive@ietf.org>
Content-Type: text/plain;
Content-Transfer-Encoding: 7bit

Dear Sharlene,

New Year is the time to get Bvlgari watch, and the only place to get top notch watches that look and perform exactly like the originals is
http://www.wallfame.com

With top notch customer service and super warranty, we stand behind our watches.
http://www.wallfame.com

Our Bvlgari watches have all appropriate markings, wordings and engravings same as orginal.

Sincerely,
Mr Clements


From cfr@fwbac.com  Wed Jan 28 23:22:49 2009
Return-Path: <cfr@fwbac.com>
X-Original-To: ietfarch-cfrg-archive@core3.amsl.com
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4E3733A67FF for <ietfarch-cfrg-archive@core3.amsl.com>; Wed, 28 Jan 2009 23:22:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -37.122
X-Spam-Level: 
X-Spam-Status: No, score=-37.122 tagged_above=-999 required=5 tests=[BAYES_99=3.5, GB_H_CANADIAN=0.5, GB_H_PHARMACY=1, GB_I_LETTER=-2, GB_PHARMACY=1, HELO_MISMATCH_COM=0.553, HOST_EQ_BROADBND=1.118, HOST_EQ_CZ=0.904, HTML_EXTRA_CLOSE=2.809, HTML_IMAGE_ONLY_20=1.546, HTML_MESSAGE=0.001, HTML_SHORT_LINK_IMG_3=0.001, MIME_HTML_ONLY=1.457, RAZOR2_CF_RANGE_51_100=0.5, RAZOR2_CF_RANGE_E4_51_100=1.5, RAZOR2_CF_RANGE_E8_51_100=1.5, RAZOR2_CHECK=0.5, RCVD_IN_BL_SPAMCOP_NET=1.96, RCVD_IN_PBL=0.905, RCVD_IN_XBL=3.033, SARE_UNI=0.591, URIBL_BLACK=20, URIBL_JP_SURBL=10, URIBL_WS_SURBL=10, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6YoeFYWQBntS for <ietfarch-cfrg-archive@core3.amsl.com>; Wed, 28 Jan 2009 23:22:49 -0800 (PST)
Received: from amerblind.outbound.ed10.com (72.79.broadband7.iol.cz [88.102.79.72]) by core3.amsl.com (Postfix) with SMTP id 87E0728C0F3 for <cfrg-archive@ietf.org>; Wed, 28 Jan 2009 23:22:47 -0800 (PST)
Content-Return: allowed
X-Mailer: devMail.Net (3.0.1854.22234-2)
To: cfrg-archive@ietf.org
Subject: RE: Canadian Pharmacy Message 33126
From: cfrg-archive@ietf.org
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Message-Id: <20090129072248.87E0728C0F3@core3.amsl.com>
Date: Wed, 28 Jan 2009 23:22:47 -0800 (PST)

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 </head>
        <html>
<body>
<tr>
		<td class=EC_container bgcolor="#F2F2F2">
			<table cellpadding=0 cellspacing=0 width="100%">
				<tr>
					<td>
                                                                                        
                                                <div align=center> <a href="http://xewquboz.cn" target="_blank"><img src="http://xewquboz.cn/1.gif" border=0 alt="Click Here!"></a> </div>
					                    </td>
				</tr>
				<tr>
					<td class=EC_legal>
					<strong>About this mailing: </strong><br>
You are receiving this e-mail because you subscribed to MSN Featured Offers. Microsoft respects your privacy. If you do not wish to receive this MSN Featured Offers e-mail, please click the "Unsubscribe" link below. This will not unsubscribe 
you from e-mail communications from third-party advertisers that may appear in MSN Feature Offers. This shall not constitute an offer by MSN. MSN shall not be responsible or liable for the advertisers' content nor any of the goods or service
 advertised. Prices and item availability subject to change without notice.<br><br>

		©2009 Microsoft | <a href="http://xewquboz.cn" target="_blank">Unsubscribe</a> | <a href="http://xewquboz.cn" target="_blank">More Newsletters</a> | <a href="http://xewquboz.cn" target="_blank">Privacy</a><br><br>
		Microsoft Corporation, One Microsoft Way, Redmond, WA 98052

                

					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>



        </div>
    </div>

          </div>
    
    </body>
</html>


From a1aaa1azzzz1zaaaaa@fpctech.com  Thu Jan 29 06:13:43 2009
Return-Path: <a1aaa1azzzz1zaaaaa@fpctech.com>
X-Original-To: ietfarch-cfrg-archive@core3.amsl.com
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C7EAB3A6837; Thu, 29 Jan 2009 06:13:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -59.473
X-Spam-Level: 
X-Spam-Status: No, score=-59.473 tagged_above=-999 required=5 tests=[BAYES_95=3, FH_RELAY_NODNS=1.451, HELO_MISMATCH_NET=0.611, RAZOR2_CF_RANGE_51_100=0.5, RAZOR2_CF_RANGE_E8_51_100=1.5, RAZOR2_CHECK=0.5, RCVD_IN_BL_SPAMCOP_NET=1.96, RCVD_IN_PBL=0.905, RDNS_NONE=0.1, URIBL_AB_SURBL=10, URIBL_BLACK=20, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iJl6KEpEVy2K; Thu, 29 Jan 2009 06:13:42 -0800 (PST)
Received: from CUSTOMER.VPLS.NET (unknown [124.123.243.4]) by core3.amsl.com (Postfix) with SMTP id C4EA73A6AE9; Thu, 29 Jan 2009 06:13:14 -0800 (PST)
Message-ID: <7028K897.2800000calsch-archive@ietf.org>
Date: Thu, 29 Jan 2009 09:12:48 -0500
From: "Johnathon Brunson" <calsch-archive@ietf.org>
To: "Major Plummer" <calsch-archive@ietf.org>
Subject: Get one of these awesome rep
Content-Type: text/plain;
Content-Transfer-Encoding: 7bit

Dear Major,

It's the perfect time to get that dream watch you've fantasized about. But there's no need to empty your bank account while doing it!
http://mmh0314wytu.hoster3.com

Visit Prestige Reps today and get a terrific designer watch imitation for a uniquely low price. Our watches are the most sought-after in the market, offering you the best performance and unsurpassed quality while allowing you to choose from hundreds of models within dozens of brands!
http://mmh0314wytu.hoster3.com

Don't believe me? Click here to enter Prestige Reps right now, and see it with your very own eyes!

Sincerely,
Mr Plummer


From cfrg-bounces@irtf.org  Thu Jan 29 14:09:11 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7D6D53A6A38; Thu, 29 Jan 2009 14:09:11 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 473793A6A38 for <cfrg@core3.amsl.com>; Thu, 29 Jan 2009 14:09:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.566
X-Spam-Level: 
X-Spam-Status: No, score=-6.566 tagged_above=-999 required=5 tests=[AWL=0.034,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ve4+Ab1YZUA4 for <cfrg@core3.amsl.com>; Thu, 29 Jan 2009 14:09:09 -0800 (PST)
Received: from sj-iport-2.cisco.com (sj-iport-2.cisco.com [171.71.176.71]) by core3.amsl.com (Postfix) with ESMTP id 4BC423A6B70 for <cfrg@irtf.org>; Thu, 29 Jan 2009 14:09:09 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.37,346,1231113600"; d="scan'208";a="126990874"
Received: from sj-dkim-4.cisco.com ([171.71.179.196]) by sj-iport-2.cisco.com with ESMTP; 29 Jan 2009 22:08:51 +0000
Received: from sj-core-2.cisco.com (sj-core-2.cisco.com [171.71.177.254]) by sj-dkim-4.cisco.com (8.12.11/8.12.11) with ESMTP id n0TM8pcw000356 for <cfrg@irtf.org>; Thu, 29 Jan 2009 14:08:51 -0800
Received: from xbh-sjc-231.amer.cisco.com (xbh-sjc-231.cisco.com [128.107.191.100]) by sj-core-2.cisco.com (8.13.8/8.13.8) with ESMTP id n0TM8p9g006506 for <cfrg@irtf.org>; Thu, 29 Jan 2009 22:08:51 GMT
Received: from xfe-sjc-212.amer.cisco.com ([171.70.151.187]) by xbh-sjc-231.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830);  Thu, 29 Jan 2009 14:08:51 -0800
Received: from stealth-10-32-254-213.cisco.com ([10.32.254.213]) by xfe-sjc-212.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830);  Thu, 29 Jan 2009 14:08:50 -0800
Message-Id: <662E50A8-503C-4AC7-8291-3AF56E149FA9@cisco.com>
From: David McGrew <mcgrew@cisco.com>
To: cfrg@irtf.org
Mime-Version: 1.0 (Apple Message framework v930.3)
Date: Thu, 29 Jan 2009 14:08:49 -0800
References: <7F9A6D26EB51614FBF9F81C0DA4CFEC8D97E66F68F@il-ex01.ad.checkpoint.com>
X-Mailer: Apple Mail (2.930.3)
X-OriginalArrivalTime: 29 Jan 2009 22:08:51.0089 (UTC) FILETIME=[2AA6F010:01C9825E]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=1991; t=1233266931; x=1234130931; c=relaxed/simple; s=sjdkim4002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=mcgrew@cisco.com; z=From:=20David=20McGrew=20<mcgrew@cisco.com> |Subject:=20I-D=20Action=3Adraft-sheffer-emu-eap-eke-00.txt |Sender:=20; bh=T3CqKDNOgbIU8QKJyG8vqMyVxlhHQUMrwACWgbccIiA=; b=VSFvfU/0GX81IUl8EDrWMFp2jR66i90Ea7SR3bDhX6Vi4q/+/Zi3hXK5Bd jDeW5n3MWkhMHq0gCz1BHeK2pU98+WwX2cfsWCC25u/FRcxkrk1rs12rTlyE mgz2q9wsli;
Authentication-Results: sj-dkim-4; header.From=mcgrew@cisco.com; dkim=pass ( sig from cisco.com/sjdkim4002 verified; ); 
Subject: [Cfrg] I-D Action:draft-sheffer-emu-eap-eke-00.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mailman/private/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>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes"
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

Begin forwarded message:

> From: Yaron Sheffer <yaronf@checkpoint.com>
> Date: January 29, 2009 2:00:50 PM PST
> To: "emu@ietf.org" <emu@ietf.org>
> Subject: [Emu] FW: I-D Action:draft-sheffer-emu-eap-eke-00.txt
>
> EKE is a well known password-based mutual authentication protocol.  
> The patent on EKE is nearing expiry, so we figured this is a good  
> time to specify an EAP method using this protocol.
>
> We would appreciate all comments.
>
> Thanks,
>        Yaron
>
> -----Original Message-----
> From: Internet-Drafts@ietf.org [mailto:Internet-Drafts@ietf.org]
> Sent: Thursday, January 29, 2009 15:30
> To: i-d-announce@ietf.org
> Subject: I-D Action:draft-sheffer-emu-eap-eke-00.txt
>
> A New Internet-Draft is available from the on-line Internet-Drafts  
> directories.
>
>        Title           : An EAP Authentication Method Based on the  
> EKE Protocol
>        Author(s)       : Y. Sheffer, et al.
>        Filename        : draft-sheffer-emu-eap-eke-00.txt
>        Pages           : 22
>        Date            : 2009-01-29
>
> The Extensible Authentication Protocol (EAP) describes a framework
> that allows the use of multiple authentication mechanisms.  This
> document defines an authentication mechanism for EAP called EAP-EKE,
> based on the Encrypted Key Exchange (EKE) protocol.  This method
> provides mutual authentication through the use of a short, easy to
> remember password.
>
> A URL for this Internet-Draft is:
> http://www.ietf.org/internet-drafts/draft-sheffer-emu-eap-eke-00.txt
>
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/
>
> Below is the data which will enable a MIME compliant mail reader
> implementation to automatically retrieve the ASCII version of the
> Internet-Draft.
>
> Email secured by Check Point
> _______________________________________________
> Emu mailing list
> Emu@ietf.org
> https://www.ietf.org/mailman/listinfo/emu

_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
http://www.irtf.org/mailman/listinfo/cfrg

From cfrg-bounces@irtf.org  Thu Jan 29 15:26:14 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0383D3A6864; Thu, 29 Jan 2009 15:26:14 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 86E693A6864 for <cfrg@core3.amsl.com>; Thu, 29 Jan 2009 15:26:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.253
X-Spam-Level: 
X-Spam-Status: No, score=-2.253 tagged_above=-999 required=5 tests=[AWL=0.012,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9ttWmtUafJAk for <cfrg@core3.amsl.com>; Thu, 29 Jan 2009 15:26:11 -0800 (PST)
Received: from colo.trepanning.net (colo.trepanning.net [69.55.226.174]) by core3.amsl.com (Postfix) with ESMTP id B4C093A6814 for <cfrg@irtf.org>; Thu, 29 Jan 2009 15:26:11 -0800 (PST)
Received: from www.trepanning.net (localhost [127.0.0.1]) by colo.trepanning.net (Postfix) with ESMTP id AB8C1A8880D4; Thu, 29 Jan 2009 15:25:53 -0800 (PST)
Received: from 69.12.173.8 (SquirrelMail authenticated user dharkins@lounge.org) by www.trepanning.net with HTTP; Thu, 29 Jan 2009 15:25:53 -0800 (PST)
Message-ID: <62ff80fe052dd40d647ad37f96712e2f.squirrel@www.trepanning.net>
In-Reply-To: <662E50A8-503C-4AC7-8291-3AF56E149FA9@cisco.com>
References: <7F9A6D26EB51614FBF9F81C0DA4CFEC8D97E66F68F@il-ex01.ad.checkpoint.com> <662E50A8-503C-4AC7-8291-3AF56E149FA9@cisco.com>
Date: Thu, 29 Jan 2009 15:25:53 -0800 (PST)
From: "Dan Harkins" <dharkins@lounge.org>
To: "David McGrew" <mcgrew@cisco.com>
User-Agent: SquirrelMail/1.4.14 [SVN]
MIME-Version: 1.0
X-Priority: 3 (Normal)
Importance: Normal
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] I-D Action:draft-sheffer-emu-eap-eke-00.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mailman/private/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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

  Hi,

  This draft specifies AES in CBC mode for encrypting the Diffie-Hellman
exponentials. Since the data being encrypted is a random element in the
chosen group is the additional randomization provided by the IV
necessary?

  Normally ECB mode is an insecure encryption scheme (even if the
underlying block cipher is secure) due to its determinism and a protocol
that uses it is therefore flawed, but is EKE a special case in which
security can be achieved even with ECB mode?

  Protocol designers are told by cryptographers to always authenticate
what is being encrypted and to never use ECB. Is EKE an exception to
those two rules?

  Dan.

On Thu, January 29, 2009 2:08 pm, David McGrew wrote:
>
> Begin forwarded message:
>
>> From: Yaron Sheffer <yaronf@checkpoint.com>
>> Date: January 29, 2009 2:00:50 PM PST
>> To: "emu@ietf.org" <emu@ietf.org>
>> Subject: [Emu] FW: I-D Action:draft-sheffer-emu-eap-eke-00.txt
>>
>> EKE is a well known password-based mutual authentication protocol.
>> The patent on EKE is nearing expiry, so we figured this is a good
>> time to specify an EAP method using this protocol.
>>
>> We would appreciate all comments.
>>
>> Thanks,
>>        Yaron
>>
>> -----Original Message-----
>> From: Internet-Drafts@ietf.org [mailto:Internet-Drafts@ietf.org]
>> Sent: Thursday, January 29, 2009 15:30
>> To: i-d-announce@ietf.org
>> Subject: I-D Action:draft-sheffer-emu-eap-eke-00.txt
>>
>> A New Internet-Draft is available from the on-line Internet-Drafts
>> directories.
>>
>>        Title           : An EAP Authentication Method Based on the
>> EKE Protocol
>>        Author(s)       : Y. Sheffer, et al.
>>        Filename        : draft-sheffer-emu-eap-eke-00.txt
>>        Pages           : 22
>>        Date            : 2009-01-29
>>
>> The Extensible Authentication Protocol (EAP) describes a framework
>> that allows the use of multiple authentication mechanisms.  This
>> document defines an authentication mechanism for EAP called EAP-EKE,
>> based on the Encrypted Key Exchange (EKE) protocol.  This method
>> provides mutual authentication through the use of a short, easy to
>> remember password.
>>
>> A URL for this Internet-Draft is:
>> http://www.ietf.org/internet-drafts/draft-sheffer-emu-eap-eke-00.txt
>>
>> Internet-Drafts are also available by anonymous FTP at:
>> ftp://ftp.ietf.org/internet-drafts/
>>
>> Below is the data which will enable a MIME compliant mail reader
>> implementation to automatically retrieve the ASCII version of the
>> Internet-Draft.
>>
>> Email secured by Check Point
>> _______________________________________________
>> Emu mailing list
>> Emu@ietf.org
>> https://www.ietf.org/mailman/listinfo/emu
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg
>


_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
http://www.irtf.org/mailman/listinfo/cfrg

From cfrg-bounces@irtf.org  Thu Jan 29 19:55:52 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 240B23A693D; Thu, 29 Jan 2009 19:55:52 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 836E03A687F for <cfrg@core3.amsl.com>; Thu, 29 Jan 2009 19:55:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.299
X-Spam-Level: 
X-Spam-Status: No, score=-6.299 tagged_above=-999 required=5 tests=[AWL=-0.300, BAYES_00=-2.599, J_CHICKENPOX_18=0.6, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2s+6M4efgdl9 for <cfrg@core3.amsl.com>; Thu, 29 Jan 2009 19:55:49 -0800 (PST)
Received: from sj-iport-1.cisco.com (sj-iport-1.cisco.com [171.71.176.70]) by core3.amsl.com (Postfix) with ESMTP id 7712E3A686A for <cfrg@irtf.org>; Thu, 29 Jan 2009 19:55:49 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.37,348,1231113600"; d="scan'208";a="135499781"
Received: from sj-dkim-4.cisco.com ([171.71.179.196]) by sj-iport-1.cisco.com with ESMTP; 30 Jan 2009 03:55:27 +0000
Received: from sj-core-2.cisco.com (sj-core-2.cisco.com [171.71.177.254]) by sj-dkim-4.cisco.com (8.12.11/8.12.11) with ESMTP id n0U3tRax027999;  Thu, 29 Jan 2009 19:55:27 -0800
Received: from sfluhrerwxp (stealth-10-32-244-84.cisco.com [10.32.244.84]) by sj-core-2.cisco.com (8.13.8/8.13.8) with ESMTP id n0U3tQlb019985; Fri, 30 Jan 2009 03:55:26 GMT
From: "Scott Fluhrer" <sfluhrer@cisco.com>
To: "'Dan Harkins'" <dharkins@lounge.org>, "'David McGrew'" <mcgrew@cisco.com>
References: <7F9A6D26EB51614FBF9F81C0DA4CFEC8D97E66F68F@il-ex01.ad.checkpoint.com><662E50A8-503C-4AC7-8291-3AF56E149FA9@cisco.com> <62ff80fe052dd40d647ad37f96712e2f.squirrel@www.trepanning.net>
Date: Thu, 29 Jan 2009 22:55:26 -0500
Message-ID: <011e01c9828e$966c32d0$54f4200a@amer.cisco.com>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350
In-Reply-To: <62ff80fe052dd40d647ad37f96712e2f.squirrel@www.trepanning.net>
Thread-Index: AcmCaPeo1+E8nGzUTBCXk2OxC9E5dwAHaFrw
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=3437; t=1233287727; x=1234151727; c=relaxed/simple; s=sjdkim4002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=sfluhrer@cisco.com; z=From:=20=22Scott=20Fluhrer=22=20<sfluhrer@cisco.com> |Subject:=20RE=3A=20[Cfrg]=20I-D=20Action=3Adraft-sheffer-e mu-eap-eke-00.txt |Sender:=20; bh=K/GeRadmhrfrvEkKmJJr31Stpjm5/meB93nNdDihcRI=; b=HnVI/85CD58r/9Tu+V1wjH27oaA0ZDfp3TKQbLoGOLbdha7HhOKH5AwBYF c3iaLb09f2szU7T/dcU9Nw8J1fCSVwj6nVVFtf3tQbcdQb25Vh1LFf9vUFCb pT6m8oyLWQ;
Authentication-Results: sj-dkim-4; header.From=sfluhrer@cisco.com; dkim=pass ( sig from cisco.com/sjdkim4002 verified; ); 
Cc: hannes.tschofenig@gmz.net, cfrg@irtf.org, gwz@net-zen.net, yaronf@checkpoint.com
Subject: Re: [Cfrg] I-D Action:draft-sheffer-emu-eap-eke-00.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mailman/private/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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

I just glanced at the draft, and there's a serious problem with it as
written; the draft uses the wrong DH group, and that causes the system not
to meet its security goals; someone listening in the middle could eliminate
75% of possible passwords by listening to a single successful exchange, if
DHGROUP_14 was used.  That means that if the attacker has a dictionary of
1,000,000 possible passwords, then he would expect to able to eliminate all
but the correct entry by listening to about 10 successful exchanges.

The draft uses a DH group as an important subcomponent, and the one DH group
it defines is the 2048-bit MODP group 14.  In this group, the value g (which
happens to be 2) is a quadratic residue (that is, there is some number z
such that z*z == g mod p, where p is the DH group modulus).  This implies
that the DH public values will always be quadratic residues; in contrast,
half the numbers between 1 and p-1 are quadratic residues.

Hence, here is the attack: the attacker listens into the exchange, and
captures the E(Password, Y_S) and the E(Password, Y_P) values.  Then, for
each password Pass_i in his dictionary, he decrypts the payloads using that
potential password (that is, computes D(Pass_i, E(Password, Y_S)) and
D(Pass_i, E(Password, Y_P)) and checks if those values are quadratic
residues module p (that turns out not to be difficult).  If
Pass_i==Password, then he will have computed Y_S and Y_P, which will both be
quadratic residues.  On the other hand, if Pass_i!=Password, then those
values will be effectively random, and so at least one of them will not be a
quadratic residue with probability .75.  In other words, if one of those
values turn out not to be a quadratic residue, he knows that that particular
password is not the right one, and so can strike it from the list.

Also, in case you're wondering, the groups defined in RFC5114 (suggested in
the Security Considerations section of the draft) are far worse, with high
probability, the attacker is able to eliminate everything except the correct
password in one exchange.  Extending the above analysis to cover these other
groups is straightforward.


The easiest way to fix this would be use a different DH group.  The easiest
change would be to use the same modulus, but use a value of g which is a
"primitive element" (and with the modulus found in DH group 14, any
quadratic nonresidue between 2 and p-2 will be a primitive element).  With a
primitive element, the value g**x mod p can take on any value between 1 and
p-1, and so that attacker will have no way of eliminating values because "it
could not possibly be a DH public value", except for those values which are
out of range.  I don't have a recommendation on which primitive element
would be best, but we do have (p-1)/2 possibilities to choose from.

The one nice thing about group 14 is that it starts out with 66 "one" bits;
that means that a random value has probability circa lE-20 of being able to
be rejected because it is too large; this means that an attacker just
relying on decrypted values being too large would need to listen into a huge
number of sessions to be able to eliminate a decent percentage of the
dictionary.  It's possible that it is desirable to make that even more
impractical (by selecting a modulus with even more "one" msbits); that is
something for the working group to decide.

-- 
scott


_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
http://www.irtf.org/mailman/listinfo/cfrg

From cfrg-bounces@irtf.org  Thu Jan 29 21:18:06 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DA9C33A6880; Thu, 29 Jan 2009 21:18:06 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E2D2C3A6880 for <cfrg@core3.amsl.com>; Thu, 29 Jan 2009 21:18:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.76
X-Spam-Level: 
X-Spam-Status: No, score=-0.76 tagged_above=-999 required=5 tests=[AWL=0.905,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334, J_CHICKENPOX_18=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v2qJnl0WSkDz for <cfrg@core3.amsl.com>; Thu, 29 Jan 2009 21:18:05 -0800 (PST)
Received: from smtp124.sbc.mail.sp1.yahoo.com (smtp124.sbc.mail.sp1.yahoo.com [69.147.64.97]) by core3.amsl.com (Postfix) with SMTP id 3D1FE3A686A for <cfrg@irtf.org>; Thu, 29 Jan 2009 21:18:04 -0800 (PST)
Received: (qmail 50986 invoked from network); 30 Jan 2009 05:17:46 -0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=ZqrqubN/ZZi48sF05hlUPnsLR5svQKE5yIr788CSxREd8zjnsQA/K/0wGWC+WkNk30cvfueMjnoc8BYRsfTe1LlFlhXDsBnquruj2YKJ32SIFj3WAcdQaw6ti0wl4Y9cbxG66JaMTVDmSEprb4fZeHH/ZMiKOQGtLcNC6V9tD/w= ; 
Received: from unknown (HELO ?192.168.1.66?) (dmjacobson@71.134.146.52 with plain) by smtp124.sbc.mail.sp1.yahoo.com with SMTP; 30 Jan 2009 05:17:45 -0000
X-YMail-OSG: KndKGF8VM1m2cRzcWJ4AkQFBC2Hg5q7L0rr4iDbtbF.FSpnunGQecxK0zgXoMNsYBChWIza76VmQ44NgGWFkjXF4K8QukQi6GL4DLMTe3ucxv4VluAQuEl9bYzxPpE.t.eZy6IXQPcH2dtTI7F9V3KiT
X-Yahoo-Newman-Property: ymail-3
Message-ID: <49828D9B.6090309@sbcglobal.net>
Date: Thu, 29 Jan 2009 21:18:19 -0800
From: David Jacobson <dmjacobson@sbcglobal.net>
User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)
MIME-Version: 1.0
To: David McGrew <mcgrew@cisco.com>
References: <7F9A6D26EB51614FBF9F81C0DA4CFEC8D97E66F68F@il-ex01.ad.checkpoint.com> <662E50A8-503C-4AC7-8291-3AF56E149FA9@cisco.com>
In-Reply-To: <662E50A8-503C-4AC7-8291-3AF56E149FA9@cisco.com>
Cc: cfrg@irtf.org
Subject: Re: [Cfrg] I-D Action:draft-sheffer-emu-eap-eke-00.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mailman/private/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>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

Section 3.2 starts using symbols Y_P and Y_S out of the blue.  There is 
a reference to "BM[92]", but the reader should not have to find Proc. 
IEEE Symp. on Research in Security and Privacy , May 1992, to understand 
this RFC.

Section 3.2 shows

====
  EAP-EKE-Commit/Request: S -> P

       E(Password, Y_S))
====
And section 5 shows:

====
5.2.  EAP-EKE-Commit/Request

    The server computes

       DHValue_S = g^x mod N,

    where 'x' is a randomly chosen number in the range 2 ..  N-1.  The
    randomly chosen number is the private key, and the calculated field
    is the corresponding public key.  The calculated value MUST NOT be
    zero modulo N. If the peer receives a bad value for this field, it
    MUST take action to disconnect or disable the link.  Each of the
    peers MUST use a fresh, random value for this field on each run of
    the protocol.

    The server transmits

       DHComponent_S = E(prf+(password, "EAP-EKE Password"), DHValue_S),
====

So I take it that the DHComponent_S of Section 5 is the same as the Y_S 
of section 3.2.  But it was confusing at first.  The mapping between 3.2 
and 5 should be stated rather than left as an exercise for the reader.

Finally, Section 7 alludes to the possibility of using Elliptic-Curve 
Diffie-Hellman when it says,

  3.  Key strength: the strength of the resulting key depends on the
        finite cyclic group chosen.  For example, [RFC5114] defines new
        groups available for use with this protocol.  Using groups from
        [RFC5114] the strength can vary from 80 bits (for the 1024-bit
        MODP with 160-bit Prime Subgroup) to 256 bits (for the 521-bit
        Random ECP Group).  Other groups can be defined and the strength
        of those groups depends on their definition.  This is REQUIRED by
        [RFC4017].

Yet section 5 gives no hint of anything other than the modular 
exponentiation Diffie-Hellman.  If you really intend for this document 
to apply to ECDH, you should mention that explicitly somewhere in the 
document, and perhaps section 5 should contain something like.  "(If 
Elliptic Curve Diffie-Hellman is used, the corresponding additive group 
operations are to be understood.)"

   -- David Jacobson
_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
http://www.irtf.org/mailman/listinfo/cfrg

From cfrg-bounces@irtf.org  Fri Jan 30 04:07:25 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 986A028C15C; Fri, 30 Jan 2009 04:07:25 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A679828C10A for <cfrg@core3.amsl.com>; Fri, 30 Jan 2009 04:07:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.259
X-Spam-Level: 
X-Spam-Status: No, score=-2.259 tagged_above=-999 required=5 tests=[AWL=-0.260, BAYES_00=-2.599, J_CHICKENPOX_18=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GcpjBvqIcZbd for <cfrg@core3.amsl.com>; Fri, 30 Jan 2009 04:07:23 -0800 (PST)
Received: from dlpdemo.checkpoint.com (dlpdemo.checkpoint.com [194.29.32.54]) by core3.amsl.com (Postfix) with ESMTP id 4F71F3A6B02 for <cfrg@irtf.org>; Fri, 30 Jan 2009 04:07:23 -0800 (PST)
Received: by dlpdemo.checkpoint.com (Postfix, from userid 105) id BF1AE29C004; Fri, 30 Jan 2009 14:07:03 +0200 (IST)
Received: from michael.checkpoint.com (michael.checkpoint.com [194.29.32.68]) by dlpdemo.checkpoint.com (Postfix) with ESMTP id 972BC29C002; Fri, 30 Jan 2009 14:07:02 +0200 (IST)
X-CheckPoint: {4982EAA1-10000-88241DC2-7B6}
Received: from il-ex01.ad.checkpoint.com (localhost [127.0.0.1]) by michael.checkpoint.com (8.12.10+Sun/8.12.10) with ESMTP id n0UC715f015269; Fri, 30 Jan 2009 14:07:02 +0200 (IST)
Received: from il-ex01.ad.checkpoint.com ([194.29.32.26]) by il-ex01.ad.checkpoint.com ([194.29.32.26]) with mapi; Fri, 30 Jan 2009 14:07:01 +0200
From: Yaron Sheffer <yaronf@checkpoint.com>
To: Scott Fluhrer <sfluhrer@cisco.com>, "'Dan Harkins'" <dharkins@lounge.org>,  "'David McGrew'" <mcgrew@cisco.com>
Date: Fri, 30 Jan 2009 14:06:59 +0200
Thread-Topic: [Cfrg] I-D Action:draft-sheffer-emu-eap-eke-00.txt
Thread-Index: AcmCaPeo1+E8nGzUTBCXk2OxC9E5dwAHaFrwABKyMUA=
Message-ID: <7F9A6D26EB51614FBF9F81C0DA4CFEC8D97E66F6B2@il-ex01.ad.checkpoint.com>
References: <7F9A6D26EB51614FBF9F81C0DA4CFEC8D97E66F68F@il-ex01.ad.checkpoint.com><662E50A8-503C-4AC7-8291-3AF56E149FA9@cisco.com> <62ff80fe052dd40d647ad37f96712e2f.squirrel@www.trepanning.net> <011e01c9828e$966c32d0$54f4200a@amer.cisco.com>
In-Reply-To: <011e01c9828e$966c32d0$54f4200a@amer.cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
MIME-Version: 1.0
Cc: "cfrg@irtf.org" <cfrg@irtf.org>, "gwz@net-zen.net" <gwz@net-zen.net>, "hannes.tschofenig@gmz.net" <hannes.tschofenig@gmz.net>
Subject: Re: [Cfrg] I-D Action:draft-sheffer-emu-eap-eke-00.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mailman/private/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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

Hi Scott,

Thanks for your analysis. Can you please clarify in what way the RFC 5114 groups are even worse?

I don't want to go into the business of DH group generation, if I can avoid it. Are there any published groups with a (published) primitive generator? Otherwise, can you advise me on selecting and qualifying such an element for group 14?

Best regards,

        Yaron

> -----Original Message-----
> From: Scott Fluhrer [mailto:sfluhrer@cisco.com]
> Sent: Friday, January 30, 2009 5:55
> To: 'Dan Harkins'; 'David McGrew'
> Cc: cfrg@irtf.org; Yaron Sheffer; gwz@net-zen.net;
> hannes.tschofenig@gmz.net
> Subject: RE: [Cfrg] I-D Action:draft-sheffer-emu-eap-eke-00.txt
>
> I just glanced at the draft, and there's a serious problem with it as
> written; the draft uses the wrong DH group, and that causes the system not
> to meet its security goals; someone listening in the middle could
> eliminate
> 75% of possible passwords by listening to a single successful exchange, if
> DHGROUP_14 was used.  That means that if the attacker has a dictionary of
> 1,000,000 possible passwords, then he would expect to able to eliminate
> all
> but the correct entry by listening to about 10 successful exchanges.
>
> The draft uses a DH group as an important subcomponent, and the one DH
> group
> it defines is the 2048-bit MODP group 14.  In this group, the value g
> (which
> happens to be 2) is a quadratic residue (that is, there is some number z
> such that z*z == g mod p, where p is the DH group modulus).  This implies
> that the DH public values will always be quadratic residues; in contrast,
> half the numbers between 1 and p-1 are quadratic residues.
>
> Hence, here is the attack: the attacker listens into the exchange, and
> captures the E(Password, Y_S) and the E(Password, Y_P) values.  Then, for
> each password Pass_i in his dictionary, he decrypts the payloads using
> that
> potential password (that is, computes D(Pass_i, E(Password, Y_S)) and
> D(Pass_i, E(Password, Y_P)) and checks if those values are quadratic
> residues module p (that turns out not to be difficult).  If
> Pass_i==Password, then he will have computed Y_S and Y_P, which will both
> be
> quadratic residues.  On the other hand, if Pass_i!=Password, then those
> values will be effectively random, and so at least one of them will not be
> a
> quadratic residue with probability .75.  In other words, if one of those
> values turn out not to be a quadratic residue, he knows that that
> particular
> password is not the right one, and so can strike it from the list.
>
> Also, in case you're wondering, the groups defined in RFC5114 (suggested
> in
> the Security Considerations section of the draft) are far worse, with high
> probability, the attacker is able to eliminate everything except the
> correct
> password in one exchange.  Extending the above analysis to cover these
> other
> groups is straightforward.
>
>
> The easiest way to fix this would be use a different DH group.  The
> easiest
> change would be to use the same modulus, but use a value of g which is a
> "primitive element" (and with the modulus found in DH group 14, any
> quadratic nonresidue between 2 and p-2 will be a primitive element).  With
> a
> primitive element, the value g**x mod p can take on any value between 1
> and
> p-1, and so that attacker will have no way of eliminating values because
> "it
> could not possibly be a DH public value", except for those values which
> are
> out of range.  I don't have a recommendation on which primitive element
> would be best, but we do have (p-1)/2 possibilities to choose from.
>
> The one nice thing about group 14 is that it starts out with 66 "one"
> bits;
> that means that a random value has probability circa lE-20 of being able
> to
> be rejected because it is too large; this means that an attacker just
> relying on decrypted values being too large would need to listen into a
> huge
> number of sessions to be able to eliminate a decent percentage of the
> dictionary.  It's possible that it is desirable to make that even more
> impractical (by selecting a modulus with even more "one" msbits); that is
> something for the working group to decide.
>
> --
> scott
>
>
> Scanned by Check Point Total Security Gateway.
>
> Scanned by Check Point Total Security Gateway.

Email secured by Check Point
_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
http://www.irtf.org/mailman/listinfo/cfrg

From cfrg-bounces@irtf.org  Fri Jan 30 05:20:55 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id ED9FA28C286; Fri, 30 Jan 2009 05:20:54 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 12CC028C286 for <cfrg@core3.amsl.com>; Fri, 30 Jan 2009 05:20:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1AM28ERc7j-Y for <cfrg@core3.amsl.com>; Fri, 30 Jan 2009 05:20:53 -0800 (PST)
Received: from machshav.com (machshav.com [198.180.150.44]) by core3.amsl.com (Postfix) with ESMTP id 3D8A728C276 for <cfrg@irtf.org>; Fri, 30 Jan 2009 05:20:53 -0800 (PST)
Received: by machshav.com (Postfix, from userid 512) id 60ECA328507; Fri, 30 Jan 2009 08:20:33 -0500 (EST)
Received: from yellowstone.machshav.com (localhost [127.0.0.1]) by machshav.com (Postfix) with ESMTP id E498A3281F4; Fri, 30 Jan 2009 08:20:31 -0500 (EST)
Received: from cs.columbia.edu (localhost [127.0.0.1]) by yellowstone.machshav.com (Postfix) with ESMTP id DF0A5296408; Fri, 30 Jan 2009 08:20:30 -0500 (EST)
Date: Fri, 30 Jan 2009 08:20:30 -0500
From: "Steven M. Bellovin" <smb@cs.columbia.edu>
To: Yaron Sheffer <yaronf@checkpoint.com>
Message-ID: <20090130082030.31ab36ba@cs.columbia.edu>
In-Reply-To: <7F9A6D26EB51614FBF9F81C0DA4CFEC8D97E66F6B2@il-ex01.ad.checkpoint.com>
References: <7F9A6D26EB51614FBF9F81C0DA4CFEC8D97E66F68F@il-ex01.ad.checkpoint.com> <662E50A8-503C-4AC7-8291-3AF56E149FA9@cisco.com> <62ff80fe052dd40d647ad37f96712e2f.squirrel@www.trepanning.net> <011e01c9828e$966c32d0$54f4200a@amer.cisco.com> <7F9A6D26EB51614FBF9F81C0DA4CFEC8D97E66F6B2@il-ex01.ad.checkpoint.com>
Organization: Columbia University
X-Mailer: Claws Mail 3.7.0 (GTK+ 2.14.7; x86_64--netbsd)
Mime-Version: 1.0
Cc: "cfrg@irtf.org" <cfrg@irtf.org>, "gwz@net-zen.net" <gwz@net-zen.net>, 'David McGrew' <mcgrew@cisco.com>, "hannes.tschofenig@gmz.net" <hannes.tschofenig@gmz.net>, Scott Fluhrer <sfluhrer@cisco.com>
Subject: Re: [Cfrg] I-D Action:draft-sheffer-emu-eap-eke-00.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mailman/private/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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

On Fri, 30 Jan 2009 14:06:59 +0200
Yaron Sheffer <yaronf@checkpoint.com> wrote:

> Hi Scott,
> 
> Thanks for your analysis. Can you please clarify in what way the RFC
> 5114 groups are even worse?
> 
> I don't want to go into the business of DH group generation, if I can
> avoid it. Are there any published groups with a (published) primitive
> generator? Otherwise, can you advise me on selecting and qualifying
> such an element for group 14?

The issue is what Mike Merritt and I called "partition attacks".  Let's
take a trivial example.  Suppose you had a cipher with a 16-bit block
size, so the range of possible plaintext values was [0,65535].
However, you picked a prime of 16001, so the legal values were
[1,16000].  If a trial password decrypted to [16001,65535], it had to
be a bad guess, so you could rule it out.  In this example, about 3/4
of your guesses would be ruled out in one session.  The next session,
with a different exponential, would let you rule out 3/4 of the
remainder, etc.  See section 2.5.1 of [BM92].


		--Steve Bellovin, http://www.cs.columbia.edu/~smb
_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
http://www.irtf.org/mailman/listinfo/cfrg

From cfrg-bounces@irtf.org  Fri Jan 30 05:56:43 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C86333A6B24; Fri, 30 Jan 2009 05:56:43 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 172453A6B24 for <cfrg@core3.amsl.com>; Fri, 30 Jan 2009 05:56:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.332
X-Spam-Level: 
X-Spam-Status: No, score=-2.332 tagged_above=-999 required=5 tests=[AWL=0.267,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ijdRups8OSJ1 for <cfrg@core3.amsl.com>; Fri, 30 Jan 2009 05:56:41 -0800 (PST)
Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by core3.amsl.com (Postfix) with SMTP id CA16D3A6A4B for <cfrg@irtf.org>; Fri, 30 Jan 2009 05:56:40 -0800 (PST)
Received: (qmail invoked by alias); 30 Jan 2009 13:56:21 -0000
Received: from a91-154-108-144.elisa-laajakaista.fi (EHLO 4FIL42860) [91.154.108.144] by mail.gmx.net (mp031) with SMTP; 30 Jan 2009 14:56:21 +0100
X-Authenticated: #29516787
X-Provags-ID: V01U2FsdGVkX19A8788aMpAxyUlxFTke5wjhb1dNDIOCOqlErxgG1 Dfv0pcwQi2VVoM
From: "Hannes Tschofenig" <Hannes.Tschofenig@gmx.net>
To: "'Steven M. Bellovin'" <smb@cs.columbia.edu>, "'Yaron Sheffer'" <yaronf@checkpoint.com>
References: <7F9A6D26EB51614FBF9F81C0DA4CFEC8D97E66F68F@il-ex01.ad.checkpoint.com><662E50A8-503C-4AC7-8291-3AF56E149FA9@cisco.com><62ff80fe052dd40d647ad37f96712e2f.squirrel@www.trepanning.net><011e01c9828e$966c32d0$54f4200a@amer.cisco.com><7F9A6D26EB51614FBF9F81C0DA4CFEC8D97E66F6B2@il-ex01.ad.checkpoint.com> <20090130082030.31ab36ba@cs.columbia.edu>
Date: Fri, 30 Jan 2009 15:57:02 +0200
Message-ID: <004601c982e2$a242db00$0201a8c0@nsnintra.net>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350
In-Reply-To: <20090130082030.31ab36ba@cs.columbia.edu>
Thread-Index: AcmC3Y9HCWvpiC6pSJODXtxbCraeWAABCvXw
X-Y-GMX-Trusted: 0
X-FuHaFi: 0.49
Cc: 'Scott Fluhrer' <sfluhrer@cisco.com>, 'David McGrew' <mcgrew@cisco.com>, cfrg@irtf.org, gwz@net-zen.net, hannes.tschofenig@gmz.net
Subject: Re: [Cfrg] I-D Action:draft-sheffer-emu-eap-eke-00.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mailman/private/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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

Thanks for your feedback, Steve and Scott. Your comments are certainly right
as the original EKE paper explains.  

The draft was indeed published a bit too early, thus lacking review. 

One aspect that motivated us to start working on such a document for the EMU
working group regarding strong password based protocols was the believe of
some of us that a punch of the IPRs on those mechanisms will soon expire. 

Does someone know more details about it or are those just rumors? 

Ciao
Hannes

>-----Original Message-----
>From: cfrg-bounces@irtf.org [mailto:cfrg-bounces@irtf.org] On 
>Behalf Of Steven M. Bellovin
>Sent: 30 January, 2009 15:21
>To: Yaron Sheffer
>Cc: cfrg@irtf.org; gwz@net-zen.net; 'David McGrew'; 
>hannes.tschofenig@gmz.net; Scott Fluhrer
>Subject: Re: [Cfrg] I-D Action:draft-sheffer-emu-eap-eke-00.txt
>
>On Fri, 30 Jan 2009 14:06:59 +0200
>Yaron Sheffer <yaronf@checkpoint.com> wrote:
>
>> Hi Scott,
>> 
>> Thanks for your analysis. Can you please clarify in what way the RFC
>> 5114 groups are even worse?
>> 
>> I don't want to go into the business of DH group generation, 
>if I can 
>> avoid it. Are there any published groups with a (published) 
>primitive 
>> generator? Otherwise, can you advise me on selecting and qualifying 
>> such an element for group 14?
>
>The issue is what Mike Merritt and I called "partition 
>attacks".  Let's take a trivial example.  Suppose you had a 
>cipher with a 16-bit block size, so the range of possible 
>plaintext values was [0,65535].
>However, you picked a prime of 16001, so the legal values were 
>[1,16000].  If a trial password decrypted to [16001,65535], it 
>had to be a bad guess, so you could rule it out.  In this 
>example, about 3/4 of your guesses would be ruled out in one 
>session.  The next session, with a different exponential, 
>would let you rule out 3/4 of the remainder, etc.  See section 
>2.5.1 of [BM92].
>
>
>		--Steve Bellovin, 
>http://www.cs.columbia.edu/~smb 
>_______________________________________________
>Cfrg mailing list
>Cfrg@irtf.org
>http://www.irtf.org/mailman/listinfo/cfrg
>

_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
http://www.irtf.org/mailman/listinfo/cfrg

From cfrg-bounces@irtf.org  Fri Jan 30 06:01:52 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 15F473A6A1A; Fri, 30 Jan 2009 06:01:52 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 221E03A6879 for <cfrg@core3.amsl.com>; Fri, 30 Jan 2009 06:01:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.499
X-Spam-Level: 
X-Spam-Status: No, score=-6.499 tagged_above=-999 required=5 tests=[AWL=0.100,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PVuDHdbLeY5o for <cfrg@core3.amsl.com>; Fri, 30 Jan 2009 06:01:49 -0800 (PST)
Received: from sj-iport-4.cisco.com (sj-iport-4.cisco.com [171.68.10.86]) by core3.amsl.com (Postfix) with ESMTP id 3CF243A67A4 for <cfrg@irtf.org>; Fri, 30 Jan 2009 06:01:49 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.37,351,1231113600"; d="scan'208";a="29026226"
Received: from sj-dkim-3.cisco.com ([171.71.179.195]) by sj-iport-4.cisco.com with ESMTP; 30 Jan 2009 14:01:27 +0000
Received: from sj-core-5.cisco.com (sj-core-5.cisco.com [171.71.177.238]) by sj-dkim-3.cisco.com (8.12.11/8.12.11) with ESMTP id n0UE1QY0027908;  Fri, 30 Jan 2009 06:01:26 -0800
Received: from sfluhrerwxp (stealth-10-32-244-84.cisco.com [10.32.244.84]) by sj-core-5.cisco.com (8.13.8/8.13.8) with ESMTP id n0UE1PO5018577; Fri, 30 Jan 2009 14:01:26 GMT
From: "Scott Fluhrer" <sfluhrer@cisco.com>
To: "'Steven M. Bellovin'" <smb@cs.columbia.edu>, "'Yaron Sheffer'" <yaronf@checkpoint.com>
References: <7F9A6D26EB51614FBF9F81C0DA4CFEC8D97E66F68F@il-ex01.ad.checkpoint.com><662E50A8-503C-4AC7-8291-3AF56E149FA9@cisco.com><62ff80fe052dd40d647ad37f96712e2f.squirrel@www.trepanning.net><011e01c9828e$966c32d0$54f4200a@amer.cisco.com><7F9A6D26EB51614FBF9F81C0DA4CFEC8D97E66F6B2@il-ex01.ad.checkpoint.com> <20090130082030.31ab36ba@cs.columbia.edu>
Date: Fri, 30 Jan 2009 09:01:25 -0500
Message-ID: <013b01c982e3$3e18a780$54f4200a@amer.cisco.com>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350
In-Reply-To: <20090130082030.31ab36ba@cs.columbia.edu>
Thread-Index: AcmC3YqDwQDxR7LnRPGnazTtbzD8rwAA9ZxA
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=1933; t=1233324087; x=1234188087; c=relaxed/simple; s=sjdkim3002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=sfluhrer@cisco.com; z=From:=20=22Scott=20Fluhrer=22=20<sfluhrer@cisco.com> |Subject:=20RE=3A=20[Cfrg]=20I-D=20Action=3Adraft-sheffer-e mu-eap-eke-00.txt |Sender:=20; bh=ndvBD3T37hv5qC9OQvPX04ncsrDbvV82zL5Zts1DSy8=; b=l7zyx8+X8tYhN+EG/3ZUBu705qyGlLnh9OCTTiJHOwuHR4n9grKQzr/vkc +tM+3jm57Qk5hBCzWttKVk9Lx51LJdn+nxn+mgjzCfionmojdotO7/1ZsoSa sT8NC67Goe;
Authentication-Results: sj-dkim-3; header.From=sfluhrer@cisco.com; dkim=pass ( sig from cisco.com/sjdkim3002 verified; ); 
Cc: 'David McGrew' <mcgrew@cisco.com>, cfrg@irtf.org, gwz@net-zen.net, hannes.tschofenig@gmz.net
Subject: Re: [Cfrg] I-D Action:draft-sheffer-emu-eap-eke-00.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mailman/private/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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

 

> -----Original Message-----
> From: cfrg-bounces@irtf.org [mailto:cfrg-bounces@irtf.org] On 
> Behalf Of Steven M. Bellovin
> Sent: Friday, January 30, 2009 8:21 AM
> To: Yaron Sheffer
> Cc: cfrg@irtf.org; gwz@net-zen.net; 'David McGrew'; 
> hannes.tschofenig@gmz.net; Scott Fluhrer
> Subject: Re: [Cfrg] I-D Action:draft-sheffer-emu-eap-eke-00.txt
> 
> On Fri, 30 Jan 2009 14:06:59 +0200
> Yaron Sheffer <yaronf@checkpoint.com> wrote:
> 
> > Hi Scott,
> > 
> > Thanks for your analysis. Can you please clarify in what way the RFC
> > 5114 groups are even worse?
> > 
> 
> The issue is what Mike Merritt and I called "partition 
> attacks".  Let's take a trivial example.  Suppose you had a 
> cipher with a 16-bit block size, so the range of possible 
> plaintext values was [0,65535].
> However, you picked a prime of 16001, so the legal values 
> were [1,16000].  If a trial password decrypted to 
> [16001,65535], it had to be a bad guess, so you could rule it 
> out.  In this example, about 3/4 of your guesses would be 
> ruled out in one session.  The next session, with a different 
> exponential, would let you rule out 3/4 of the remainder, 
> etc.  See section 2.5.1 of [BM92].

And, to extend this answer to the specific question of the RFC 5114 groups,
the value g**x can take on an even more limited number of possible values;
it can take on only 'q' distinct values, where 'q' is the size of the
subgroup (and, yes, there is a practical test to check whether a possible
value is one of these distinct values).  Since (for example, group 24), p is
about 2**2048 and q is about 2**256, and so a random value between 0 and p
will be a member of the subgroup with probability 2**(256-2048) == 2**-1792,
and this is so tiny that if there is a test password that decrypts to a
valid subgroup member, the attacker can assume that the password guess is
correct.

-- 
scott
 

_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
http://www.irtf.org/mailman/listinfo/cfrg

From cfrg-bounces@irtf.org  Fri Jan 30 07:11:25 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B2D7228C227; Fri, 30 Jan 2009 07:11:25 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5E1BF3A6B76 for <cfrg@core3.amsl.com>; Fri, 30 Jan 2009 07:11:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.224
X-Spam-Level: 
X-Spam-Status: No, score=-6.224 tagged_above=-999 required=5 tests=[AWL=-0.225, BAYES_00=-2.599, J_CHICKENPOX_18=0.6, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bW4w2PonqsUk for <cfrg@core3.amsl.com>; Fri, 30 Jan 2009 07:11:22 -0800 (PST)
Received: from sj-iport-1.cisco.com (sj-iport-1.cisco.com [171.71.176.70]) by core3.amsl.com (Postfix) with ESMTP id B6D6C3A6B63 for <cfrg@irtf.org>; Fri, 30 Jan 2009 07:11:22 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.37,351,1231113600"; d="scan'208";a="135721216"
Received: from sj-dkim-1.cisco.com ([171.71.179.21]) by sj-iport-1.cisco.com with ESMTP; 30 Jan 2009 15:10:51 +0000
Received: from sj-core-2.cisco.com (sj-core-2.cisco.com [171.71.177.254]) by sj-dkim-1.cisco.com (8.12.11/8.12.11) with ESMTP id n0UFApWW015705;  Fri, 30 Jan 2009 07:10:51 -0800
Received: from sfluhrerwxp (stealth-10-32-244-84.cisco.com [10.32.244.84]) by sj-core-2.cisco.com (8.13.8/8.13.8) with ESMTP id n0UFAoLo016350; Fri, 30 Jan 2009 15:10:50 GMT
From: "Scott Fluhrer" <sfluhrer@cisco.com>
To: "'Yaron Sheffer'" <yaronf@checkpoint.com>, "'Dan Harkins'" <dharkins@lounge.org>, "'David McGrew'" <mcgrew@cisco.com>
References: <7F9A6D26EB51614FBF9F81C0DA4CFEC8D97E66F68F@il-ex01.ad.checkpoint.com><662E50A8-503C-4AC7-8291-3AF56E149FA9@cisco.com><62ff80fe052dd40d647ad37f96712e2f.squirrel@www.trepanning.net><011e01c9828e$966c32d0$54f4200a@amer.cisco.com> <7F9A6D26EB51614FBF9F81C0DA4CFEC8D97E66F6B2@il-ex01.ad.checkpoint.com>
Date: Fri, 30 Jan 2009 10:10:49 -0500
Message-ID: <015c01c982ec$f00dd1a0$54f4200a@amer.cisco.com>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350
In-Reply-To: <7F9A6D26EB51614FBF9F81C0DA4CFEC8D97E66F6B2@il-ex01.ad.checkpoint.com>
Thread-Index: AcmCaPeo1+E8nGzUTBCXk2OxC9E5dwAHaFrwABKyMUAABoLxoA==
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=5705; t=1233328251; x=1234192251; c=relaxed/simple; s=sjdkim1004; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=sfluhrer@cisco.com; z=From:=20=22Scott=20Fluhrer=22=20<sfluhrer@cisco.com> |Subject:=20RE=3A=20[Cfrg]=20I-D=20Action=3Adraft-sheffer-e mu-eap-eke-00.txt |Sender:=20; bh=mnYS/URrzCHBetgQSyZY18mtHs3DKKgtB4nmyTG5uxQ=; b=lCk0aaaNYgrNcOEoxj8rH6p6zrw/g9yjc8jlycJw2ABua4slzU2sN2h6Oo CFskYQ0b3CzLENAghANDJpI1ANBFDGbg47W3ckxVqEEMcPs6FLpvDtIrw2F4 p2AuwufAE9Xr/5LOkk9gCnKKItiOmnRTY6xHbb5Gp7X5BlxCiWfKQ=;
Authentication-Results: sj-dkim-1; header.From=sfluhrer@cisco.com; dkim=pass ( sig from cisco.com/sjdkim1004 verified; ); 
Cc: cfrg@irtf.org, gwz@net-zen.net, hannes.tschofenig@gmz.net
Subject: Re: [Cfrg] I-D Action:draft-sheffer-emu-eap-eke-00.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mailman/private/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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

 

> -----Original Message-----
> From: cfrg-bounces@irtf.org [mailto:cfrg-bounces@irtf.org] On 
> Behalf Of Yaron Sheffer
> Sent: Friday, January 30, 2009 7:07 AM
> To: Scott Fluhrer; 'Dan Harkins'; 'David McGrew'
> Cc: cfrg@irtf.org; gwz@net-zen.net; hannes.tschofenig@gmz.net
> Subject: Re: [Cfrg] I-D Action:draft-sheffer-emu-eap-eke-00.txt
> 
> Hi Scott,
> 
> I don't want to go into the business of DH group generation, 
> if I can avoid it. Are there any published groups with a 
> (published) primitive generator? Otherwise, can you advise me 
> on selecting and qualifying such an element for group 14?

Ummm, I'm not aware of any such published groups (usually when you're doing
DH, you would prefer a subgroup with a prime order, and so you deliberately
pick a generator that's not a primitive element).  However, I did run a
quick check (which needs independent confirmation): the smallest primitive
elements for the DH 14 prime p are: 11, 13, 17, 22, 23.  Smaller g's do tend
to make the initial computation faster, and so if you are using the DH 14
prime p, there seems little reason not to pick the smallest one (11 in this
case).

> 
> Best regards,
> 
>         Yaron
> 
> > -----Original Message-----
> > From: Scott Fluhrer [mailto:sfluhrer@cisco.com]
> > Sent: Friday, January 30, 2009 5:55
> > To: 'Dan Harkins'; 'David McGrew'
> > Cc: cfrg@irtf.org; Yaron Sheffer; gwz@net-zen.net; 
> > hannes.tschofenig@gmz.net
> > Subject: RE: [Cfrg] I-D Action:draft-sheffer-emu-eap-eke-00.txt
> >
> > I just glanced at the draft, and there's a serious problem 
> with it as 
> > written; the draft uses the wrong DH group, and that causes 
> the system 
> > not to meet its security goals; someone listening in the 
> middle could 
> > eliminate 75% of possible passwords by listening to a single 
> > successful exchange, if
> > DHGROUP_14 was used.  That means that if the attacker has a 
> dictionary 
> > of 1,000,000 possible passwords, then he would expect to able to 
> > eliminate all but the correct entry by listening to about 10 
> > successful exchanges.
> >
> > The draft uses a DH group as an important subcomponent, and 
> the one DH 
> > group it defines is the 2048-bit MODP group 14.  In this group, the 
> > value g (which happens to be 2) is a quadratic residue 
> (that is, there 
> > is some number z such that z*z == g mod p, where p is the DH group 
> > modulus).  This implies that the DH public values will always be 
> > quadratic residues; in contrast, half the numbers between 1 and p-1 
> > are quadratic residues.
> >
> > Hence, here is the attack: the attacker listens into the 
> exchange, and 
> > captures the E(Password, Y_S) and the E(Password, Y_P) 
> values.  Then, 
> > for each password Pass_i in his dictionary, he decrypts the 
> payloads 
> > using that potential password (that is, computes D(Pass_i, 
> E(Password, 
> > Y_S)) and D(Pass_i, E(Password, Y_P)) and checks if those 
> values are 
> > quadratic residues module p (that turns out not to be 
> difficult).  If 
> > Pass_i==Password, then he will have computed Y_S and Y_P, 
> which will 
> > both be quadratic residues.  On the other hand, if 
> Pass_i!=Password, 
> > then those values will be effectively random, and so at 
> least one of 
> > them will not be a quadratic residue with probability .75.  
> In other 
> > words, if one of those values turn out not to be a 
> quadratic residue, 
> > he knows that that particular password is not the right one, and so 
> > can strike it from the list.
> >
> > Also, in case you're wondering, the groups defined in RFC5114 
> > (suggested in the Security Considerations section of the draft) are 
> > far worse, with high probability, the attacker is able to eliminate 
> > everything except the correct password in one exchange.  
> Extending the 
> > above analysis to cover these other groups is straightforward.
> >
> >
> > The easiest way to fix this would be use a different DH group.  The
> > easiest
> > change would be to use the same modulus, but use a value of 
> g which is a
> > "primitive element" (and with the modulus found in DH group 14, any
> > quadratic nonresidue between 2 and p-2 will be a primitive 
> element).  With
> > a
> > primitive element, the value g**x mod p can take on any 
> value between 1
> > and
> > p-1, and so that attacker will have no way of eliminating 
> values because
> > "it
> > could not possibly be a DH public value", except for those 
> values which
> > are
> > out of range.  I don't have a recommendation on which 
> primitive element
> > would be best, but we do have (p-1)/2 possibilities to choose from.
> >
> > The one nice thing about group 14 is that it starts out 
> with 66 "one"
> > bits;
> > that means that a random value has probability circa lE-20 
> of being able
> > to
> > be rejected because it is too large; this means that an 
> attacker just
> > relying on decrypted values being too large would need to 
> listen into a
> > huge
> > number of sessions to be able to eliminate a decent 
> percentage of the
> > dictionary.  It's possible that it is desirable to make 
> that even more
> > impractical (by selecting a modulus with even more "one" 
> msbits); that is
> > something for the working group to decide.
> >
> > --
> > scott
> >
> >
> > Scanned by Check Point Total Security Gateway.
> >
> > Scanned by Check Point Total Security Gateway.
> 
> Email secured by Check Point
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg
> 

_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
http://www.irtf.org/mailman/listinfo/cfrg

From cfrg-bounces@irtf.org  Fri Jan 30 07:42:14 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 62BCA3A68C2; Fri, 30 Jan 2009 07:42:14 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 84D213A68C2 for <cfrg@core3.amsl.com>; Fri, 30 Jan 2009 07:42:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FGtzlvTZHRDh for <cfrg@core3.amsl.com>; Fri, 30 Jan 2009 07:42:11 -0800 (PST)
Received: from machshav.com (machshav.com [198.180.150.44]) by core3.amsl.com (Postfix) with ESMTP id 7DD2E3A6840 for <cfrg@irtf.org>; Fri, 30 Jan 2009 07:42:11 -0800 (PST)
Received: by machshav.com (Postfix, from userid 512) id CE8C13285D3; Fri, 30 Jan 2009 10:41:51 -0500 (EST)
Received: from yellowstone.machshav.com (localhost [127.0.0.1]) by machshav.com (Postfix) with ESMTP id 1F6663285D1; Fri, 30 Jan 2009 10:41:50 -0500 (EST)
Received: from cs.columbia.edu (localhost [127.0.0.1]) by yellowstone.machshav.com (Postfix) with ESMTP id 231CF296411; Fri, 30 Jan 2009 10:41:50 -0500 (EST)
Date: Fri, 30 Jan 2009 10:41:49 -0500
From: "Steven M. Bellovin" <smb@cs.columbia.edu>
To: "Hannes Tschofenig" <Hannes.Tschofenig@gmx.net>
Message-ID: <20090130104149.0167f630@cs.columbia.edu>
In-Reply-To: <004601c982e2$a242db00$0201a8c0@nsnintra.net>
References: <7F9A6D26EB51614FBF9F81C0DA4CFEC8D97E66F68F@il-ex01.ad.checkpoint.com> <662E50A8-503C-4AC7-8291-3AF56E149FA9@cisco.com> <62ff80fe052dd40d647ad37f96712e2f.squirrel@www.trepanning.net> <011e01c9828e$966c32d0$54f4200a@amer.cisco.com> <7F9A6D26EB51614FBF9F81C0DA4CFEC8D97E66F6B2@il-ex01.ad.checkpoint.com> <20090130082030.31ab36ba@cs.columbia.edu> <004601c982e2$a242db00$0201a8c0@nsnintra.net>
Organization: Columbia University
X-Mailer: Claws Mail 3.7.0 (GTK+ 2.14.7; x86_64--netbsd)
Mime-Version: 1.0
Cc: 'Yaron Sheffer' <yaronf@checkpoint.com>, cfrg@irtf.org, gwz@net-zen.net, 'David McGrew' <mcgrew@cisco.com>, hannes.tschofenig@gmz.net, 'Scott Fluhrer' <sfluhrer@cisco.com>
Subject: Re: [Cfrg] I-D Action:draft-sheffer-emu-eap-eke-00.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mailman/private/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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

On Fri, 30 Jan 2009 15:57:02 +0200
"Hannes Tschofenig" <Hannes.Tschofenig@gmx.net> wrote:

> One aspect that motivated us to start working on such a document for
> the EMU working group regarding strong password based protocols was
> the believe of some of us that a punch of the IPRs on those
> mechanisms will soon expire. 
> 
> Does someone know more details about it or are those just rumors? 
> 

Note well: I am not a lawyer; treat anything I say skeptically...

That said -- the patent on EKE (US patent 5,241,599) was filed on
October 2, 1991 and issued on August 31, 1993.  I *think* that that
means it expires on Oct 2, 2011.  The AEKE patent (5,440,635) was filed
on August 23, 1993 and issued on August 8, 1995; I believe it expires
August 8, 2015.  Both of those patents were assigned to Lucent when
AT&T fissioned; I have no idea what Alcatel-Lucent may have done with
them since 1997.

David Jablon has several patents in this space, too, but all are
several years newer (and hence not as close to expiration) as the EKE
patents.

There was a patent on SRP as well (6,539,479); if memory serves,
Stanford effectively turned it loose.  It was filed on July 14, 1998,
and issued on March 25, 2003.

		--Steve Bellovin, http://www.cs.columbia.edu/~smb
_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
http://www.irtf.org/mailman/listinfo/cfrg

From afranssen@qpsemi.com  Fri Jan 30 08:31:24 2009
Return-Path: <afranssen@qpsemi.com>
X-Original-To: ietfarch-cfrg-archive@core3.amsl.com
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A26BD3A6AD0; Fri, 30 Jan 2009 08:31:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -49.109
X-Spam-Level: 
X-Spam-Status: No, score=-49.109 tagged_above=-999 required=5 tests=[BAYES_99=3.5, HELO_MISMATCH_NET=0.611, RCVD_IN_BL_SPAMCOP_NET=1.96, RCVD_IN_XBL=3.033, URIBL_AB_SURBL=10, URIBL_BLACK=20, URIBL_JP_SURBL=10, URIBL_PH_SURBL=1.787, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id E4jYqyRMunU7; Fri, 30 Jan 2009 08:31:23 -0800 (PST)
Received: from CUSTOMER.VPLS.NET (mail.empresaspaz.cl [200.54.189.218]) by core3.amsl.com (Postfix) with SMTP id 7B58D28C101; Fri, 30 Jan 2009 08:31:06 -0800 (PST)
Message-ID: <724L8923.15162540calsch-archive@ietf.org>
Date: Fri, 30 Jan 2009 11:30:39 -0500
From: "Horacio Downs" <calsch-archive@ietf.org>
To: "Carrie Kearney" <calsch-archive@ietf.org>
Subject: Why get an original watch?
Content-Type: text/plain;
Content-Transfer-Encoding: 7bit

Dear Carrie,

There are things in life that seem unattainable. Owning a fine watch doesn't have to be one of them.
http://rongmjryfy.k2free.com

How does 90 percent off sound? Great, of course! And greatness is what awa ts you at Pres ge Reps, the preferred online st re where you will find the finest watch imitations for exactly that: 90% off!
http://rongmjryfy.k2free.com

With so many watches that look and work like the real thing, I guarantee you'll have a delicious time finding yours at our store!

Sincerely,
Mr Kearney


From cfrg-bounces@irtf.org  Fri Jan 30 08:38:27 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4906828C27C; Fri, 30 Jan 2009 08:38:27 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E47E528C27C for <cfrg@core3.amsl.com>; Fri, 30 Jan 2009 08:38:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.599
X-Spam-Level: 
X-Spam-Status: No, score=-103.599 tagged_above=-999 required=5 tests=[AWL=-1.000, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id n1aOlTexgOAf for <cfrg@core3.amsl.com>; Fri, 30 Jan 2009 08:38:24 -0800 (PST)
Received: from wolverine02.qualcomm.com (wolverine02.qualcomm.com [199.106.114.251]) by core3.amsl.com (Postfix) with ESMTP id CA52D28C12B for <cfrg@irtf.org>; Fri, 30 Jan 2009 08:38:24 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=qualcomm.com; i=ggr@qualcomm.com; q=dns/txt; s=qcdkim; t=1233333486; x=1264869486; h=cc:message-id:from:to:in-reply-to:content-type: content-transfer-encoding:mime-version:subject:date: references:x-mailer:x-ironport-av; z=Cc:=20Greg=20Rose=20<ggr@qualcomm.com>,=20"'Yaron=20Shef fer'"=20<yaronf@checkpoint.com>,=0D=0A=20=20=20=20=20=20 =20=20"'Dan=20Harkins'"=20<dharkins@lounge.org>,=0D=0A=20 =20=20=20=20=20=20=20"'David=20McGrew'"=20<mcgrew@cisco.c om>,=20"cfrg@irtf.org"=20<cfrg@irtf.org>,=0D=0A=20=20=20 =20=20=20=20=20"gwz@net-zen.net"=20<gwz@net-zen.net>,=0D =0A=20=20=20=20=20=20=20=20"hannes.tschofenig@gmz.net"=20 <hannes.tschofenig@gmz.net>|Message-Id:=20<DD815E34-0498- 40D3-B45B-0B67035B36A9@qualcomm.com>|From:=20Greg=20Rose =20<ggr@qualcomm.com>|To:=20Scott=20Fluhrer=20<sfluhrer@c isco.com>|In-Reply-To:=20<015c01c982ec$f00dd1a0$54f4200a@ amer.cisco.com>|Content-Type:=20text/plain=3B=20charset =3DUS-ASCII=3B=20format=3Dflowed=3B=20delsp=3Dyes |Content-Transfer-Encoding:=207bit|Mime-Version:=201.0=20 (Apple=20Message=20framework=20v930.3)|Subject:=20Re:=20[ Cfrg]=20I-D=20Action:draft-sheffer-emu-eap-eke-00.txt |Date:=20Fri,=2030=20Jan=202009=2008:38:00=20-0800 |References:=20<7F9A6D26EB51614FBF9F81C0DA4CFEC8D97E66F68 F@il-ex01.ad.checkpoint.com><662E50A8-503C-4AC7-8291-3AF5 6E149FA9@cisco.com><62ff80fe052dd40d647ad37f96712e2f.squi rrel@www.trepanning.net><011e01c9828e$966c32d0$54f4200a@a mer.cisco.com>=20<7F9A6D26EB51614FBF9F81C0DA4CFEC8D97E66F 6B2@il-ex01.ad.checkpoint.com>=20<015c01c982ec$f00dd1a0$5 4f4200a@amer.cisco.com>|X-Mailer:=20Apple=20Mail=20(2.930 .3)|X-IronPort-AV:=20E=3DMcAfee=3Bi=3D"5100,188,5510"=3B =20a=3D"15066383"; bh=uizGcqF/h6H2TXfsrgr4ZXT5qzDtdn6vL3ajxJX/xpQ=; b=QYnMEZyS1CuMDv3Nf83MMWyAAjTaflG18fa1/jECva/ige+ksh/y+17/ Dm0QA37+WIDdCK3/K17Rvc94Xs+SMu9hL5XrWWKTSZYmhD35i80z4uCP8 xYiKtSoL+gLXVCI8YfpHoZUaJhUn665/jiy3dj+7paJwlYmZR3votXncf M=;
X-IronPort-AV: E=McAfee;i="5100,188,5510"; a="15066383"
Received: from pdmz-ns-mip.qualcomm.com (HELO ithilien.qualcomm.com) ([199.106.114.10]) by wolverine02.qualcomm.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 30 Jan 2009 08:38:06 -0800
Received: from msgtransport03.qualcomm.com (msgtransport03.qualcomm.com [129.46.61.154]) by ithilien.qualcomm.com (8.14.2/8.14.2/1.0) with ESMTP id n0UGc5DS012982 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 30 Jan 2009 08:38:06 -0800
Received: from [10.0.1.198] (vpn-10-50-16-132.qualcomm.com [10.50.16.132]) by msgtransport03.qualcomm.com (8.14.2/8.14.2/1.0) with ESMTP id n0UGc0uo021649 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Fri, 30 Jan 2009 08:38:01 -0800
Message-Id: <DD815E34-0498-40D3-B45B-0B67035B36A9@qualcomm.com>
From: Greg Rose <ggr@qualcomm.com>
To: Scott Fluhrer <sfluhrer@cisco.com>
In-Reply-To: <015c01c982ec$f00dd1a0$54f4200a@amer.cisco.com>
Mime-Version: 1.0 (Apple Message framework v930.3)
Date: Fri, 30 Jan 2009 08:38:00 -0800
References: <7F9A6D26EB51614FBF9F81C0DA4CFEC8D97E66F68F@il-ex01.ad.checkpoint.com><662E50A8-503C-4AC7-8291-3AF56E149FA9@cisco.com><62ff80fe052dd40d647ad37f96712e2f.squirrel@www.trepanning.net><011e01c9828e$966c32d0$54f4200a@amer.cisco.com> <7F9A6D26EB51614FBF9F81C0DA4CFEC8D97E66F6B2@il-ex01.ad.checkpoint.com> <015c01c982ec$f00dd1a0$54f4200a@amer.cisco.com>
X-Mailer: Apple Mail (2.930.3)
Cc: 'Yaron Sheffer' <yaronf@checkpoint.com>, "cfrg@irtf.org" <cfrg@irtf.org>, "gwz@net-zen.net" <gwz@net-zen.net>, 'David McGrew' <mcgrew@cisco.com>, "hannes.tschofenig@gmz.net" <hannes.tschofenig@gmz.net>, Greg Rose <ggr@qualcomm.com>
Subject: Re: [Cfrg] I-D Action:draft-sheffer-emu-eap-eke-00.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mailman/private/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>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes"
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

On Jan 30, 2009, at 7:10 AM, Scott Fluhrer wrote:

>
>
>> -----Original Message-----
>> From: cfrg-bounces@irtf.org [mailto:cfrg-bounces@irtf.org] On
>> Behalf Of Yaron Sheffer
>> Sent: Friday, January 30, 2009 7:07 AM
>> To: Scott Fluhrer; 'Dan Harkins'; 'David McGrew'
>> Cc: cfrg@irtf.org; gwz@net-zen.net; hannes.tschofenig@gmz.net
>> Subject: Re: [Cfrg] I-D Action:draft-sheffer-emu-eap-eke-00.txt
>>
>> Hi Scott,
>>
>> I don't want to go into the business of DH group generation,
>> if I can avoid it. Are there any published groups with a
>> (published) primitive generator? Otherwise, can you advise me
>> on selecting and qualifying such an element for group 14?
>
> Ummm, I'm not aware of any such published groups (usually when  
> you're doing
> DH, you would prefer a subgroup with a prime order, and so you  
> deliberately
> pick a generator that's not a primitive element).  However, I did  
> run a
> quick check (which needs independent confirmation): the smallest  
> primitive
> elements for the DH 14 prime p are: 11, 13, 17, 22, 23.  Smaller g's  
> do tend
> to make the initial computation faster, and so if you are using the  
> DH 14
> prime p, there seems little reason not to pick the smallest one (11  
> in this
> case).

17 is just a tad more efficient -- you square instead of multiplying.

Greg.
_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
http://www.irtf.org/mailman/listinfo/cfrg

From david.vandewinkel@v-c-telecom.com  Fri Jan 30 08:49:45 2009
Return-Path: <david.vandewinkel@v-c-telecom.com>
X-Original-To: ietfarch-cfrg-archive@core3.amsl.com
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 992E428C2B3; Fri, 30 Jan 2009 08:49:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -41.64
X-Spam-Level: 
X-Spam-Status: No, score=-41.64 tagged_above=-999 required=5 tests=[BAYES_95=3, FH_RELAY_NODNS=1.451, GB_ROLEX=5, HELO_MISMATCH_NET=0.611, MANGLED_HERE=2.3, RCVD_IN_BL_SPAMCOP_NET=1.96, RCVD_IN_PBL=0.905, RCVD_IN_XBL=3.033, RDNS_NONE=0.1, URIBL_AB_SURBL=10, URIBL_BLACK=20, URIBL_SC_SURBL=10, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7ZzMxEbQtux3; Fri, 30 Jan 2009 08:49:44 -0800 (PST)
Received: from CUSTOMER.VPLS.NET (unknown [189.7.236.218]) by core3.amsl.com (Postfix) with SMTP id 6529928C2C1; Fri, 30 Jan 2009 08:49:23 -0800 (PST)
Message-ID: <8964X821.60112637calsch-archive@ietf.org>
Date: Fri, 30 Jan 2009 11:48:56 -0500
From: "Rodrigo Costello" <calsch-archive@ietf.org>
To: "Dylan Escobar" <calsch-archive@ietf.org>
Subject: Chopard cheaper than you could imagine!
Content-Type: text/plain;
Content-Transfer-Encoding: 7bit

Dear Dylan,

There's no time like the present, and isn't it time you got yourself a beautiful designer watch?  
http://repinterxuso.obxhost.net

At Pres ge Reps you will find exactly the watch you're looking for, at prices that will make you blink twice. That's right! Here you can get a Rolex, a Breitling, a Tag or pretty much every fine brand timepiece for less than ten percent their original price!
http://repinterxuso.obxhost.net

Don't believe me? Clck he re to en er Prest ge Reps right now, and see it with your very own eyes!

Sincerely,
Mr Escobar


From cfrg-bounces@irtf.org  Fri Jan 30 09:56:19 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 3256328C137; Fri, 30 Jan 2009 09:56:19 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0E05028C137 for <cfrg@core3.amsl.com>; Fri, 30 Jan 2009 09:56:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.479
X-Spam-Level: 
X-Spam-Status: No, score=-6.479 tagged_above=-999 required=5 tests=[AWL=0.120,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jmwOwsZImfKP for <cfrg@core3.amsl.com>; Fri, 30 Jan 2009 09:56:17 -0800 (PST)
Received: from sj-iport-1.cisco.com (sj-iport-1.cisco.com [171.71.176.70]) by core3.amsl.com (Postfix) with ESMTP id 320D53A6965 for <cfrg@irtf.org>; Fri, 30 Jan 2009 09:56:17 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.37,352,1231113600"; d="scan'208";a="135810813"
Received: from sj-dkim-4.cisco.com ([171.71.179.196]) by sj-iport-1.cisco.com with ESMTP; 30 Jan 2009 17:55:59 +0000
Received: from sj-core-2.cisco.com (sj-core-2.cisco.com [171.71.177.254]) by sj-dkim-4.cisco.com (8.12.11/8.12.11) with ESMTP id n0UHtw1R009810;  Fri, 30 Jan 2009 09:55:58 -0800
Received: from sfluhrerwxp (stealth-10-32-244-84.cisco.com [10.32.244.84]) by sj-core-2.cisco.com (8.13.8/8.13.8) with ESMTP id n0UHtv6u019903; Fri, 30 Jan 2009 17:55:58 GMT
From: "Scott Fluhrer" <sfluhrer@cisco.com>
To: "'Greg Rose'" <ggr@qualcomm.com>
References: <7F9A6D26EB51614FBF9F81C0DA4CFEC8D97E66F68F@il-ex01.ad.checkpoint.com><662E50A8-503C-4AC7-8291-3AF56E149FA9@cisco.com><62ff80fe052dd40d647ad37f96712e2f.squirrel@www.trepanning.net><011e01c9828e$966c32d0$54f4200a@amer.cisco.com> <7F9A6D26EB51614FBF9F81C0DA4CFEC8D97E66F6B2@il-ex01.ad.checkpoint.com> <015c01c982ec$f00dd1a0$54f4200a@amer.cisco.com> <DD815E34-0498-40D3-B45B-0B67035B36A9@qualcomm.com>
Date: Fri, 30 Jan 2009 12:55:57 -0500
Message-ID: <01b801c98304$01ae2e70$54f4200a@amer.cisco.com>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350
In-Reply-To: <DD815E34-0498-40D3-B45B-0B67035B36A9@qualcomm.com>
Thread-Index: AcmC+SB4FW8JJn8ZRUKybY5OIl/gcQACo40A
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=1832; t=1233338158; x=1234202158; c=relaxed/simple; s=sjdkim4002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=sfluhrer@cisco.com; z=From:=20=22Scott=20Fluhrer=22=20<sfluhrer@cisco.com> |Subject:=20RE=3A=20[Cfrg]=20I-D=20Action=3Adraft-sheffer-e mu-eap-eke-00.txt |Sender:=20; bh=3ZRJ3OwrNMQ++/6YpD9olZs6A9Id3383ZzTNa6HhwZI=; b=OuG2NGcRm0zGrskoXq3ddzxB5lIWtgi7+pewZSLX+Abg15thJELsPq2XOo /vGvMHSuumvRjfS1WbQB/EXjh1Jq/xuTSIq9WpHChIkpVjV/qIfrHDiJwUD9 /xgVA4W9UU;
Authentication-Results: sj-dkim-4; header.From=sfluhrer@cisco.com; dkim=pass ( sig from cisco.com/sjdkim4002 verified; ); 
Cc: 'Yaron Sheffer' <yaronf@checkpoint.com>, cfrg@irtf.org, gwz@net-zen.net, 'David McGrew' <mcgrew@cisco.com>, hannes.tschofenig@gmz.net
Subject: Re: [Cfrg] I-D Action:draft-sheffer-emu-eap-eke-00.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mailman/private/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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

 

> -----Original Message-----
> From: Greg Rose [mailto:ggr@qualcomm.com] 
> Sent: Friday, January 30, 2009 11:38 AM
> To: Scott Fluhrer
> Cc: Greg Rose; 'Yaron Sheffer'; 'Dan Harkins'; 'David 
> McGrew'; cfrg@irtf.org; gwz@net-zen.net; hannes.tschofenig@gmz.net
> Subject: Re: [Cfrg] I-D Action:draft-sheffer-emu-eap-eke-00.txt
> 
> 
> On Jan 30, 2009, at 7:10 AM, Scott Fluhrer wrote:
> 
> >
> >
> >> -----Original Message-----
> >> From: cfrg-bounces@irtf.org [mailto:cfrg-bounces@irtf.org] 
> On Behalf 
> >> Of Yaron Sheffer
> >> Sent: Friday, January 30, 2009 7:07 AM
> >> To: Scott Fluhrer; 'Dan Harkins'; 'David McGrew'
> >> Cc: cfrg@irtf.org; gwz@net-zen.net; hannes.tschofenig@gmz.net
> >> Subject: Re: [Cfrg] I-D Action:draft-sheffer-emu-eap-eke-00.txt
> >>
> >> Hi Scott,
> >>
> >> I don't want to go into the business of DH group 
> generation, if I can 
> >> avoid it. Are there any published groups with a
> >> (published) primitive generator? Otherwise, can you advise me on 
> >> selecting and qualifying such an element for group 14?
> >
> > Ummm, I'm not aware of any such published groups (usually 
> when you're 
> > doing DH, you would prefer a subgroup with a prime order, 
> and so you 
> > deliberately pick a generator that's not a primitive element).  
> > However, I did run a quick check (which needs independent 
> > confirmation): the smallest primitive elements for the DH 
> 14 prime p 
> > are: 11, 13, 17, 22, 23.  Smaller g's do tend to make the initial 
> > computation faster, and so if you are using the DH 14 prime 
> p, there 
> > seems little reason not to pick the smallest one (11 in this case).
> 
> 17 is just a tad more efficient -- you square instead of multiplying.

Ummm, not quite.  We're computing g**x, not x**g...

-- 
scott

_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
http://www.irtf.org/mailman/listinfo/cfrg

From marketing@1ipisjrp.org.br  Fri Jan 30 11:08:20 2009
Return-Path: <marketing@1ipisjrp.org.br>
X-Original-To: ietfarch-cfrg-archive@core3.amsl.com
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D60DB3A696D for <ietfarch-cfrg-archive@core3.amsl.com>; Fri, 30 Jan 2009 11:08:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -28.115
X-Spam-Level: 
X-Spam-Status: No, score=-28.115 tagged_above=-999 required=5 tests=[BAYES_99=3.5, FH_HELO_EQ_D_D_D_D=1.597, FH_HOST_EQ_D_D_D_D=0.765, FM_DDDD_TIMES_2=1.999, HELO_DYNAMIC_DHCP=1.398, HELO_EQ_DE=0.35, HELO_EQ_DSL=1.129, HTML_MESSAGE=0.001, J_CHICKENPOX_74=0.6, MIME_HTML_ONLY=1.457, RAZOR2_CF_RANGE_51_100=0.5, RAZOR2_CF_RANGE_E8_51_100=1.5, RAZOR2_CHECK=0.5, RCVD_IN_PBL=0.905, RCVD_IN_SORBS_DUL=0.877, RCVD_IN_XBL=3.033, RDNS_DYNAMIC=0.1, SARE_UNI=0.591, URIBL_AB_SURBL=10, URIBL_BLACK=20, URIBL_JP_SURBL=10, URIBL_RHS_DOB=1.083, URIBL_SC_SURBL=10, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7lPUfCfnWlNY for <ietfarch-cfrg-archive@core3.amsl.com>; Fri, 30 Jan 2009 11:08:20 -0800 (PST)
Received: from dyndsl-091-096-016-001.ewe-ip-backbone.de (dyndsl-091-096-016-001.ewe-ip-backbone.de [91.96.16.1]) by core3.amsl.com (Postfix) with SMTP id E2C133A6885 for <cfrg-archive@ietf.org>; Fri, 30 Jan 2009 11:08:18 -0800 (PST)
To: <cfrg-archive@ietf.org>
Subject: hi, my friend!
From: <cfrg-archive@ietf.org>
MIME-Version: 1.0
Importance: High
Content-Type: text/html
Message-Id: <20090130190818.E2C133A6885@core3.amsl.com>
Date: Fri, 30 Jan 2009 11:08:18 -0800 (PST)

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1250">
</HEAD>
<BODY><table cellpadding="0" cellspacing="0" border="0" align="center" width="600" 
style="font: normal 14px Helvetica, Arial, sans-serif; line-height: 19px; color: #2c2c2c;">
<tr><td height="25" bgcolor="#f3f3f3" style="">
<table cellpadding="0" cellspacing="0" border="0" align="center" width="560" >
<tr>
<td style="font: normal 11px Helvetica, Arial, sans-serif; line-height: 13px; color: #b5b5b5;" align="left">
<a href="http://standfamous.com/" style="text-decoration: none; color: #00aff0; font-weight: bold;">Tell a friend</a>
<span style="padding: 0 5px;">·</span> 
<a href="http://cornerisland.com/" style="text-decoration: none; color: #00aff0; font-weight: bold;">Download latest version</a></td>
<td style="font: normal 11px Helvetica, Arial, sans-serif; line-height: 13px; color: #b5b5b5;" align="right">
<a href="http://standfamous.com/" style="text-decoration: none; color: #b5b5b5; font-weight: bold;">See this email as a webpage</a></td>
</tr></table></td></tr></table>
<table cellpadding="0" cellspacing="0" border="0" align="center" width="600" 
style="font: normal 14px Helvetica, Arial, sans-serif; line-height: 19px; color: #2c2c2c;">
<tr><td style="padding: 20px 0;">
<table border="0" cellspacing="0" cellpadding="0" width="560" align="center">
<tr><td align="left" width="450">
<h1 style="font: bold 20px Helvetica, Arial, sans-serif; line-height: 28px; color: #999;">Hello!</h1></td>
<td align="right" width="110"></td></tr>
</table></td></tr><tr valign="top"><td>
<table cellpadding="0" cellspacing="0" border="0" width="600" bgcolor="#ffffff">
<tr valign="top"><td><table border="0" cellspacing="0" cellpadding="0" width="600">
<tr valign="top"><td width="19" height="20" bgcolor="#ffffff" valign="top"></td>
<td width="562" bgcolor="#ffffff" valign="top"></td><td width="19" bgcolor="#ffffff" valign="top"></td>
</tr><tr valign="top"><td bgcolor="#ffffff"></td><td bgcolor="#ffffff" valign="top" height="70">
<h1 style="font: bold 32px Helvetica, Arial, sans-serif; line-height: 32px; margin: 0; padding: 0; color: #000000; text-align: center">
<a style="color:#454545; text-decoration:none;"  
href="http://standfamous.com/">Shipped Privately And Discreetly To Your Door!</a><br><br></h1></td>
<td bgcolor="#ffffff"></td></tr><tr valign="top"><td height="340" colspan="3" bgcolor="#ffffff" valign="top" align="center">
<a href="http://maypicture.com/" style="color: #fff; text-decoration: none;">
<img src="http://feedmotivation.com/outmsg.gif" alt="See this email as a webpage" border="0"/></a></td>
</tr></table></td></tr><tr><td><table cellpadding="0" cellspacing="0" border="0">
<tr><td width="20">&nbsp;</td>
<td width="560" style="padding: 24px 0 15px 0; font:normal 14px/19px Helvetica, Arial, sans-serif;"><strong>
We want to put a great big grin on your face in 2009.</strong> You'll be to rejoice  all year.</td>
<td width="20">&nbsp;</td></tr></table></td></tr></table></td></tr><tr>
<td style="padding: 20px 0 40px 0; margin: 0;">
<table border="0" cellspacing="0" cellpadding="0" width="560" align="center">
<tr><td>
<p style="font: normal 11px Helvetica, Arial, sans-serif; line-height: 13px; color: #b5b5b5;">
<a href="" style="text-decoration: none; color: #00aff0; font-weight: bold;">Unsubscribe</a> 
<span style="padding: 0 5px;">·</span> <a href="http://maypicture.com/" style="text-decoration: none; color: #00aff0; font-weight: bold;">
Lost Password</a> <span style="padding: 0 5px;">·</span> 
<a href="http://thinharmony.com/" style="text-decoration: none; color: #00aff0; font-weight: bold;">
Account Settings</a> <span style="padding: 0 5px;">·</span> 
<a href="http://shellmotivation.com/" style="text-decoration: none; color: #00aff0; font-weight: bold;">Help</a> 
<span style="padding: 0 5px;">·</span> 
<a href="http://thinharmony.com/" style="text-decoration: none; color: #00aff0; font-weight: bold;">Terms of Service</a> 
<span style="padding: 0 5px;">·</span> 
<a href="http://standfamous.com/" style="text-decoration: none; color: #00aff0; font-weight: bold;">Privacy</a>
</p><p style="font: normal 11px Helvetica, Arial, sans-serif; line-height: 13px; color: #b5b5b5;">
<strong>© 2003-2009 CopS Limited</strong>.CopS Communications S.a.r.l., 22/24 Green St, Amsterdam L4611.</p>
<p style="font: normal 11px Helvetica, Arial, sans-serif; line-height: 13px; color: #b5b5b5;">
CopS, CopSIn, CopSOut, CopScasts, CopS Certified, CopSMe!, CopS Pro, CopSFind, CopS Prime, 
CopS To Go, associated logos and the Cops-symbol are trademarks of CopS Limited.</p></td>
</tr></table></td></tr></table></BODY></HTML>

From cfrg-bounces@irtf.org  Fri Jan 30 14:19:34 2009
Return-Path: <cfrg-bounces@irtf.org>
X-Original-To: cfrg-archive@megatron.ietf.org
Delivered-To: ietfarch-cfrg-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 425F63A6916; Fri, 30 Jan 2009 14:19:34 -0800 (PST)
X-Original-To: cfrg@core3.amsl.com
Delivered-To: cfrg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0EACE3A68B9 for <cfrg@core3.amsl.com>; Fri, 30 Jan 2009 14:19:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.266
X-Spam-Level: 
X-Spam-Status: No, score=-103.266 tagged_above=-999 required=5 tests=[AWL=-0.667, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fRO4X7Nlm9Gq for <cfrg@core3.amsl.com>; Fri, 30 Jan 2009 14:19:32 -0800 (PST)
Received: from wolverine02.qualcomm.com (wolverine02.qualcomm.com [199.106.114.251]) by core3.amsl.com (Postfix) with ESMTP id 169A93A6781 for <cfrg@irtf.org>; Fri, 30 Jan 2009 14:19:31 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=qualcomm.com; i=ggr@qualcomm.com; q=dns/txt; s=qcdkim; t=1233353953; x=1264889953; h=cc:message-id:from:to:in-reply-to:content-type: content-transfer-encoding:mime-version:subject:date: references:x-mailer:x-ironport-av; z=Cc:=20Greg=20Rose=20<ggr@qualcomm.com>,=20"'Yaron=20Shef fer'"=20<yaronf@checkpoint.com>,=0D=0A=20=20=20=20=20=20 =20=20"'Dan=20Harkins'"=20<dharkins@lounge.org>,=0D=0A=20 =20=20=20=20=20=20=20"'David=20McGrew'"=20<mcgrew@cisco.c om>,=20"cfrg@irtf.org"=20<cfrg@irtf.org>,=0D=0A=20=20=20 =20=20=20=20=20"gwz@net-zen.net"=20<gwz@net-zen.net>,=0D =0A=20=20=20=20=20=20=20=20"hannes.tschofenig@gmz.net"=20 <hannes.tschofenig@gmz.net>|Message-Id:=20<989190DB-9ECC- 4929-A39C-29546CDCF4C5@qualcomm.com>|From:=20Greg=20Rose =20<ggr@qualcomm.com>|To:=20Scott=20Fluhrer=20<sfluhrer@c isco.com>|In-Reply-To:=20<01b801c98304$01ae2e70$54f4200a@ amer.cisco.com>|Content-Type:=20text/plain=3B=20charset =3DUS-ASCII=3B=20format=3Dflowed |Content-Transfer-Encoding:=207bit|Mime-Version:=201.0=20 (Apple=20Message=20framework=20v930.3)|Subject:=20Re:=20[ Cfrg]=20I-D=20Action:draft-sheffer-emu-eap-eke-00.txt |Date:=20Fri,=2030=20Jan=202009=2014:19:01=20-0800 |References:=20<7F9A6D26EB51614FBF9F81C0DA4CFEC8D97E66F68 F@il-ex01.ad.checkpoint.com><662E50A8-503C-4AC7-8291-3AF5 6E149FA9@cisco.com><62ff80fe052dd40d647ad37f96712e2f.squi rrel@www.trepanning.net><011e01c9828e$966c32d0$54f4200a@a mer.cisco.com>=20<7F9A6D26EB51614FBF9F81C0DA4CFEC8D97E66F 6B2@il-ex01.ad.checkpoint.com>=20<015c01c982ec$f00dd1a0$5 4f4200a@amer.cisco.com>=20<DD815E34-0498-40D3-B45B-0B6703 5B36A9@qualcomm.com>=20<01b801c98304$01ae2e70$54f4200a@am er.cisco.com>|X-Mailer:=20Apple=20Mail=20(2.930.3) |X-IronPort-AV:=20E=3DMcAfee=3Bi=3D"5100,188,5511"=3B=20a =3D"15078451"; bh=TmV0Ag3ZXjYynaZIJ2gqcCHY2RLv+x4UfTPdxUsVS6c=; b=O2QVQ078i0d62GSJNeZFP5c5mHFuvuGMlM+SPzzaunSL+cEQLPZNw6VR iPhT2OXfL4F+1R1IeJ+QvrPUDuPT/NSpCzIlFLvvO2me3POVcye1P0B3q x/R0eDVcvhYJavkoTpm4RI3UcZFahMuWa3NVJlyGJHJOesVhNNYw2HvNq U=;
X-IronPort-AV: E=McAfee;i="5100,188,5511"; a="15078451"
Received: from pdmz-ns-mip.qualcomm.com (HELO ithilien.qualcomm.com) ([199.106.114.10]) by wolverine02.qualcomm.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 30 Jan 2009 14:19:13 -0800
Received: from msgtransport03.qualcomm.com (msgtransport03.qualcomm.com [129.46.61.154]) by ithilien.qualcomm.com (8.14.2/8.14.2/1.0) with ESMTP id n0UMJD0I029999 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 30 Jan 2009 14:19:13 -0800
Received: from ggr-mac.qualcomm.com (ggr-mac.qualcomm.com [129.46.77.98]) by msgtransport03.qualcomm.com (8.14.2/8.14.2/1.0) with ESMTP id n0UMJ3pg020442 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Fri, 30 Jan 2009 14:19:04 -0800
Message-Id: <989190DB-9ECC-4929-A39C-29546CDCF4C5@qualcomm.com>
From: Greg Rose <ggr@qualcomm.com>
To: Scott Fluhrer <sfluhrer@cisco.com>
In-Reply-To: <01b801c98304$01ae2e70$54f4200a@amer.cisco.com>
Mime-Version: 1.0 (Apple Message framework v930.3)
Date: Fri, 30 Jan 2009 14:19:01 -0800
References: <7F9A6D26EB51614FBF9F81C0DA4CFEC8D97E66F68F@il-ex01.ad.checkpoint.com><662E50A8-503C-4AC7-8291-3AF56E149FA9@cisco.com><62ff80fe052dd40d647ad37f96712e2f.squirrel@www.trepanning.net><011e01c9828e$966c32d0$54f4200a@amer.cisco.com> <7F9A6D26EB51614FBF9F81C0DA4CFEC8D97E66F6B2@il-ex01.ad.checkpoint.com> <015c01c982ec$f00dd1a0$54f4200a@amer.cisco.com> <DD815E34-0498-40D3-B45B-0B67035B36A9@qualcomm.com> <01b801c98304$01ae2e70$54f4200a@amer.cisco.com>
X-Mailer: Apple Mail (2.930.3)
Cc: 'Yaron Sheffer' <yaronf@checkpoint.com>, "cfrg@irtf.org" <cfrg@irtf.org>, "gwz@net-zen.net" <gwz@net-zen.net>, 'David McGrew' <mcgrew@cisco.com>, "hannes.tschofenig@gmz.net" <hannes.tschofenig@gmz.net>, Greg Rose <ggr@qualcomm.com>
Subject: Re: [Cfrg] I-D Action:draft-sheffer-emu-eap-eke-00.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mailman/private/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>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: cfrg-bounces@irtf.org
Errors-To: cfrg-bounces@irtf.org

On Jan 30, 2009, at 9:55 AM, Scott Fluhrer wrote:

>>
>> 17 is just a tad more efficient -- you square instead of multiplying.
>
> Ummm, not quite.  We're computing g**x, not x**g...

D'oh.

Greg.
_______________________________________________
Cfrg mailing list
Cfrg@irtf.org
http://www.irtf.org/mailman/listinfo/cfrg
