
From mcgrew@cisco.com  Thu Nov  8 07:35:53 2012
Return-Path: <mcgrew@cisco.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CA71A21F845A for <cfrg@ietfa.amsl.com>; Thu,  8 Nov 2012 07:35:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -110.524
X-Spam-Level: 
X-Spam-Status: No, score=-110.524 tagged_above=-999 required=5 tests=[AWL=0.075, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OnMXiIsOZ0RI for <cfrg@ietfa.amsl.com>; Thu,  8 Nov 2012 07:35:52 -0800 (PST)
Received: from rcdn-iport-6.cisco.com (rcdn-iport-6.cisco.com [173.37.86.77]) by ietfa.amsl.com (Postfix) with ESMTP id D48D621F8458 for <cfrg@irtf.org>; Thu,  8 Nov 2012 07:35:52 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1004; q=dns/txt; s=iport; t=1352388953; x=1353598553; h=from:to:subject:date:message-id:in-reply-to:content-id: content-transfer-encoding:mime-version; bh=FAcLRG0JxSdDjOMii80ctfYqMc/C7SrQPwDzQFTVE5s=; b=TttbWaPl9+XQdjs/Be7q5TPvaQ62aBS4L0i39U99VMq3T/M+VGkD/FIw 5JWua0KYrwXDO6EdHkM1P50Ms2ax5lPTa8SuKKmiIMowvYxJbZU4TSt4n TnEWHB/77Qs2g9MgNRS5dm9g6UG/tE5hBlK/2izKtSFI031NYlz4dX7s/ g=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AoMIABvQm1CtJXG//2dsb2JhbABEw2uBAQeCHgEBAQQBAQEPASc0HQEIIhQ3CxsBBgMCBBMIGodoC5pNgSugM5F4YQOXF408gWuCb4IZ
X-IronPort-AV: E=Sophos;i="4.80,738,1344211200"; d="scan'208";a="140179079"
Received: from rcdn-core2-4.cisco.com ([173.37.113.191]) by rcdn-iport-6.cisco.com with ESMTP; 08 Nov 2012 15:35:52 +0000
Received: from xhc-aln-x13.cisco.com (xhc-aln-x13.cisco.com [173.36.12.87]) by rcdn-core2-4.cisco.com (8.14.5/8.14.5) with ESMTP id qA8FZqXA029959 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for <cfrg@irtf.org>; Thu, 8 Nov 2012 15:35:52 GMT
Received: from xmb-rcd-x04.cisco.com ([169.254.8.200]) by xhc-aln-x13.cisco.com ([173.36.12.87]) with mapi id 14.02.0318.001; Thu, 8 Nov 2012 09:35:52 -0600
From: "David McGrew (mcgrew)" <mcgrew@cisco.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [saag] Revision of "Attacks on Cryptographic Hashes in Internet Protocols"
Thread-Index: AQHNvca7/MOdrFKel0OB6840UXiC1A==
Date: Thu, 8 Nov 2012 15:35:51 +0000
Message-ID: <747787E65E3FBD4E93F0EB2F14DB556B0F5097FA@xmb-rcd-x04.cisco.com>
In-Reply-To: <9B93EFAD-AD9B-4402-8CC2-79239EB3DF2E@vpnc.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.2.1.120420
x-originating-ip: [10.150.68.103]
x-tm-as-product-ver: SMEX-10.2.0.1135-7.000.1014-19348.005
x-tm-as-result: No--31.351100-8.000000-31
x-tm-as-user-approved-sender: No
x-tm-as-user-blocked-sender: No
Content-Type: text/plain; charset="us-ascii"
Content-ID: <1DF86DD9FD74EC4C8EA477551E68B2D5@cisco.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Subject: [Cfrg] FW: [saag] Revision of "Attacks on Cryptographic Hashes in Internet Protocols"
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Thu, 08 Nov 2012 15:35:53 -0000

On 11/8/12 7:29 AM, "Paul Hoffman" <paul.hoffman@vpnc.org> wrote:

>Greetings again. Bruce Schneier and I have started an update to RFC 4270,
>"Attacks on Cryptographic Hashes in Internet Protocols". This revision is
>meant to deal with new and more devastating attacks on MD5, the fact that
>SHA-1 collisions will be financially feasible in the foreseeable future,
>and NIST's upcoming SHA-3 announcements. We expect to keep this revision
>process open for at least five months because NIST probably won't
>finalize the parameters and naming and so on for KECCAK until then; that
>is, we won't send this to RFC Editor until SHA-3 is finalized. Please
>take a look at=20
>
>http://tools.ietf.org/html/draft-hoffman-schneier-4270bis
>
>Sean and Stephen have agreed that we should use the SAAG mailing list for
>discussing this draft.
>
>--Paul Hoffman
>_______________________________________________
>saag mailing list
>saag@ietf.org
>https://www.ietf.org/mailman/listinfo/saag


From mcgrew@cisco.com  Mon Nov 12 10:20:59 2012
Return-Path: <mcgrew@cisco.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A78B521F8609 for <cfrg@ietfa.amsl.com>; Mon, 12 Nov 2012 10:20:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -110.598
X-Spam-Level: 
X-Spam-Status: No, score=-110.598 tagged_above=-999 required=5 tests=[AWL=-0.000, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zYehuN4G3MDU for <cfrg@ietfa.amsl.com>; Mon, 12 Nov 2012 10:20:59 -0800 (PST)
Received: from rcdn-iport-1.cisco.com (rcdn-iport-1.cisco.com [173.37.86.72]) by ietfa.amsl.com (Postfix) with ESMTP id 1C9FD21F859E for <cfrg@irtf.org>; Mon, 12 Nov 2012 10:20:59 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=4396; q=dns/txt; s=iport; t=1352744459; x=1353954059; h=from:to:cc:subject:date:message-id:mime-version; bh=4X7UHtJe3TJVIAY1M3sG63OuFd+Me+j/hqUClsItXCM=; b=jtQc9vsVWMyjJZAGdY+QD3FH2oeIGSdBXRj6N/5wmcRD6CwV1/bLdkSa GQbRWW58hgSZWV4/vjIBjVZiq4yGcISpvZz4Ec5dqdCo6FVGvG6NvCtx7 kdQG1xg3LTNaBYRmnNgBAOcWfK+lZqrPvkJVKLkqFc4LzK8k+0PDJueAJ s=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ArAFAJs9oVCtJV2Z/2dsb2JhbABEgkmvHIkFAYhvgQiCIAEEEgFmEgEMHlYnBAENDQEZh2gLmWWffJF+YQOXGI08gWuCb4IZ
X-IronPort-AV: E=McAfee;i="5400,1158,6894"; a="141162395"
Received: from rcdn-core-2.cisco.com ([173.37.93.153]) by rcdn-iport-1.cisco.com with ESMTP; 12 Nov 2012 18:20:58 +0000
Received: from xhc-rcd-x12.cisco.com (xhc-rcd-x12.cisco.com [173.37.183.86]) by rcdn-core-2.cisco.com (8.14.5/8.14.5) with ESMTP id qACIKwqX022002 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Mon, 12 Nov 2012 18:20:58 GMT
Received: from xmb-rcd-x04.cisco.com ([169.254.8.200]) by xhc-rcd-x12.cisco.com ([173.37.183.86]) with mapi id 14.02.0318.001; Mon, 12 Nov 2012 12:20:57 -0600
From: "David McGrew (mcgrew)" <mcgrew@cisco.com>
To: "cfrg@irtf.org" <cfrg@irtf.org>, "jose@ietf.org" <jose@ietf.org>
Thread-Topic: Authenticated Encryption with AES-CBC and HMAC-SHA, version 01
Thread-Index: AQHNwQJ1KPZ1PBWsRUecOePTOEDiwQ==
Date: Mon, 12 Nov 2012 18:20:57 +0000
Message-ID: <747787E65E3FBD4E93F0EB2F14DB556B0F50A96C@xmb-rcd-x04.cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.2.1.120420
x-originating-ip: [10.117.10.228]
x-tm-as-product-ver: SMEX-10.2.0.1135-7.000.1014-19356.005
x-tm-as-result: No--30.318000-8.000000-31
x-tm-as-user-approved-sender: No
x-tm-as-user-blocked-sender: No
Content-Type: multipart/alternative; boundary="_000_747787E65E3FBD4E93F0EB2F14DB556B0F50A96Cxmbrcdx04ciscoc_"
MIME-Version: 1.0
Subject: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA, version 01
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 12 Nov 2012 18:20:59 -0000

--_000_747787E65E3FBD4E93F0EB2F14DB556B0F50A96Cxmbrcdx04ciscoc_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi,

There is a new version of "Authenticated Encryption with AES-CBC and HMAC-S=
HA", and I would appreciate your review.   It is online at <https://datatra=
cker.ietf.org/doc/draft-mcgrew-aead-aes-cbc-hmac-sha2/?include_text=3D1>   =
The diff between the current and the previous version is available at <http=
://www.ietf.org/rfcdiff?url2=3Ddraft-mcgrew-aead-aes-cbc-hmac-sha2-01>

This draft has been proposed for use in the JOSE WG <http://datatracker.iet=
f.org/wg/jose/> , where its adoption would allow the working group to omit =
"raw" unauthenticated encryption, e.g. AES-CBC, and only include authentica=
ted encryption.   Thus I am asking for your help in making

John Foley generated test cases that correspond to the current version of t=
he draft, but I didn't include these in the draft because I did not yet get=
 confirmation from a second independent implementation.   With hope, there =
will not be any need for any normative changes, and I will include these af=
ter I get confirmation.

Thanks,

David

--_000_747787E65E3FBD4E93F0EB2F14DB556B0F50A96Cxmbrcdx04ciscoc_
Content-Type: text/html; charset="us-ascii"
Content-ID: <E55976E1DC116641B5A15ABA30F9FBE3@cisco.com>
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
</head>
<body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-lin=
e-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-fami=
ly: Calibri, sans-serif; ">
<div style=3D"color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-s=
ize: 14px; ">
Hi,</div>
<div style=3D"color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-s=
ize: 14px; ">
<br>
</div>
<div style=3D"color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-s=
ize: 14px; ">
There is a new version of &quot;<span class=3D"Apple-style-span" style=3D"f=
ont-size: medium; ">Authenticated Encryption with AES-CBC and HMAC-SHA&quot=
;, and&nbsp;</span>I would appreciate your review. &nbsp; It is online at &=
lt;<a href=3D"https://datatracker.ietf.org/doc/draft-mcgrew-aead-aes-cbc-hm=
ac-sha2/?include_text=3D1&gt;">https://datatracker.ietf.org/doc/draft-mcgre=
w-aead-aes-cbc-hmac-sha2/?include_text=3D1&gt;</a>&nbsp;
 &nbsp;The diff between the current and the previous version is available a=
t &lt;<a href=3D"http://www.ietf.org/rfcdiff?url2=3Ddraft-mcgrew-aead-aes-c=
bc-hmac-sha2-01&gt;">http://www.ietf.org/rfcdiff?url2=3Ddraft-mcgrew-aead-a=
es-cbc-hmac-sha2-01&gt;</a></div>
<div style=3D"color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-s=
ize: 14px; ">
<br>
</div>
<div style=3D"color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-s=
ize: 14px; ">
This draft has been proposed for use in the JOSE WG &lt;<a href=3D"http://d=
atatracker.ietf.org/wg/jose/&gt;">http://datatracker.ietf.org/wg/jose/&gt;<=
/a>&nbsp;, where its adoption would allow the working group to omit &quot;r=
aw&quot; unauthenticated encryption, e.g. AES-CBC, and only
 include authenticated encryption. &nbsp; Thus I am asking for your help in=
 making&nbsp;</div>
<div style=3D"color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-s=
ize: 14px; ">
<br>
</div>
<div style=3D"color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-s=
ize: 14px; ">
John Foley generated test cases that correspond to the current version of t=
he draft, but I didn't include these in the draft because I did not yet get=
 confirmation from a second independent implementation. &nbsp; With hope, t=
here will not be any need for any normative
 changes, and I will include these after I get confirmation. &nbsp;</div>
<div style=3D"color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-s=
ize: 14px; ">
<br>
</div>
<div style=3D"color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-s=
ize: 14px; ">
Thanks,</div>
<div style=3D"color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-s=
ize: 14px; ">
<br>
</div>
<div style=3D"color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-s=
ize: 14px; ">
David</div>
</body>
</html>

--_000_747787E65E3FBD4E93F0EB2F14DB556B0F50A96Cxmbrcdx04ciscoc_--

From mcgrew@cisco.com  Mon Nov 12 11:42:39 2012
Return-Path: <mcgrew@cisco.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6820421F875C for <cfrg@ietfa.amsl.com>; Mon, 12 Nov 2012 11:42:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -110.598
X-Spam-Level: 
X-Spam-Status: No, score=-110.598 tagged_above=-999 required=5 tests=[AWL=-0.000, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id f8XnRrUb6-ab for <cfrg@ietfa.amsl.com>; Mon, 12 Nov 2012 11:42:38 -0800 (PST)
Received: from rcdn-iport-9.cisco.com (rcdn-iport-9.cisco.com [173.37.86.80]) by ietfa.amsl.com (Postfix) with ESMTP id 168C021F8748 for <cfrg@irtf.org>; Mon, 12 Nov 2012 11:42:38 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=14309; q=dns/txt; s=iport; t=1352749358; x=1353958958; h=from:to:subject:date:message-id:in-reply-to:mime-version; bh=ufHUlhNVBUCu4Iq/mwoHq+dzKkXjb4UwLuBIU06fEwA=; b=c5mTZ9uhhrVnbxxCirEoSoR4I6BkaqzqJBHO4LWS95pfmeuwmHk5npTB duyu7gJwHorvkaGe+zqvEAUuDOnbIn3SgyoBS9I7qRdd0NVWRq+HOmfix QC45Qxl1LXfvksEdkJhDjx1ZqYNTBhS6oGPDZToO079UvbTX2xI2Gorxu A=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ArIFAD1QoVCtJXG+/2dsb2JhbABEgkmvHIkFAYhvgQiCHgEBAQQSARpeAQgOAwMBAQELHTkUCQgCBAESCAEZh2gLmVWgA4wVhWlhA5cYjTyBa4Jvghk
X-IronPort-AV: E=McAfee;i="5400,1158,6894"; a="138404565"
Received: from rcdn-core2-3.cisco.com ([173.37.113.190]) by rcdn-iport-9.cisco.com with ESMTP; 12 Nov 2012 19:42:37 +0000
Received: from xhc-rcd-x15.cisco.com (xhc-rcd-x15.cisco.com [173.37.183.89]) by rcdn-core2-3.cisco.com (8.14.5/8.14.5) with ESMTP id qACJgbCu017622 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Mon, 12 Nov 2012 19:42:37 GMT
Received: from xmb-rcd-x04.cisco.com ([169.254.8.200]) by xhc-rcd-x15.cisco.com ([173.37.183.89]) with mapi id 14.02.0318.001; Mon, 12 Nov 2012 13:42:36 -0600
From: "David McGrew (mcgrew)" <mcgrew@cisco.com>
To: Mike Jones <Michael.Jones@microsoft.com>, "cfrg@irtf.org" <cfrg@irtf.org>,  "jose@ietf.org" <jose@ietf.org>
Thread-Topic: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA, version 01
Thread-Index: AQHNwQ3d4t8orcyRa0OnKgA6UvxDXw==
Date: Mon, 12 Nov 2012 19:42:36 +0000
Message-ID: <747787E65E3FBD4E93F0EB2F14DB556B0F50AA95@xmb-rcd-x04.cisco.com>
In-Reply-To: <4E1F6AAD24975D4BA5B1680429673943668B026C@TK5EX14MBXC283.redmond.corp.microsoft.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.2.1.120420
x-originating-ip: [10.117.10.228]
x-tm-as-product-ver: SMEX-10.2.0.1135-7.000.1014-19356.005
x-tm-as-result: No--38.562600-8.000000-31
x-tm-as-user-approved-sender: No
x-tm-as-user-blocked-sender: No
Content-Type: multipart/alternative; boundary="_000_747787E65E3FBD4E93F0EB2F14DB556B0F50AA95xmbrcdx04ciscoc_"
MIME-Version: 1.0
Subject: Re: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA, version 01
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 12 Nov 2012 19:42:39 -0000

--_000_747787E65E3FBD4E93F0EB2F14DB556B0F50AA95xmbrcdx04ciscoc_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

Hi Mike,

From: Mike Jones <Michael.Jones@microsoft.com<mailto:Michael.Jones@microsof=
t.com>>
Date: Monday, November 12, 2012 1:55 PM
To: Cisco Employee <mcgrew@cisco.com<mailto:mcgrew@cisco.com>>, "cfrg@irtf.=
org<mailto:cfrg@irtf.org>" <cfrg@irtf.org<mailto:cfrg@irtf.org>>, "jose@iet=
f.org<mailto:jose@ietf.org>" <jose@ietf.org<mailto:jose@ietf.org>>
Subject: RE: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA, ver=
sion 01

As background, if there was a version of this spec that did not assume that=
 the parameters would be concatenated together in a specific way, but left =
them as independent inputs and outputs, as AES GCM and AES CTR do, it would=
 be a better match for JOSE=92s use case.

I believe that what you are referring to is the inclusion of the authentica=
tion tag in the authenticated ciphertext.   This is not just a property of =
draft-mcgrew-aead-aes-cbc-hmac-sha2; it is a feature of all 19 of the AEAD =
algorithms that have been defined so far.   For comparison, draft-mcgrew-ae=
ad-aes-cbc-hmac-sha2 says

       The AEAD Ciphertext consists of the string S, with the string T
       appended to it.  This Ciphertext is returned as the output of the
       AEAD encryption operation.

Where S is the ciphertext and T is the authentication tag.   RFC 5116 says

                                     "The AEAD_AES_128_GCM ciphertext is fo=
rmed by
   appending the authentication tag provided as an output to the GCM
   encryption operation to the ciphertext that is output by that
   operation."

David


                                                            -- Mike

From: cfrg-bounces@irtf.org<mailto:cfrg-bounces@irtf.org> [mailto:cfrg-boun=
ces@irtf.org] On Behalf Of David McGrew (mcgrew)
Sent: Monday, November 12, 2012 10:21 AM
To: cfrg@irtf.org<mailto:cfrg@irtf.org>; jose@ietf.org<mailto:jose@ietf.org=
>
Subject: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA, version=
 01

Hi,

There is a new version of "Authenticated Encryption with AES-CBC and HMAC-S=
HA", and I would appreciate your review.   It is online at <https://datatra=
cker.ietf.org/doc/draft-mcgrew-aead-aes-cbc-hmac-sha2/?include_text=3D1><ht=
tps://datatracker.ietf.org/doc/draft-mcgrew-aead-aes-cbc-hmac-sha2/?include=
_text=3D1%3e>   The diff between the current and the previous version is av=
ailable at <http://www.ietf.org/rfcdiff?url2=3Ddraft-mcgrew-aead-aes-cbc-hm=
ac-sha2-01><http://www.ietf.org/rfcdiff?url2=3Ddraft-mcgrew-aead-aes-cbc-hm=
ac-sha2-01%3e>

This draft has been proposed for use in the JOSE WG <http://datatracker.iet=
f.org/wg/jose/><http://datatracker.ietf.org/wg/jose/%3e> , where its adopti=
on would allow the working group to omit "raw" unauthenticated encryption, =
e.g. AES-CBC, and only include authenticated encryption.   Thus I am asking=
 for your help in making

John Foley generated test cases that correspond to the current version of t=
he draft, but I didn't include these in the draft because I did not yet get=
 confirmation from a second independent implementation.   With hope, there =
will not be any need for any normative changes, and I will include these af=
ter I get confirmation.

Thanks,

David

--_000_747787E65E3FBD4E93F0EB2F14DB556B0F50AA95xmbrcdx04ciscoc_
Content-Type: text/html; charset="Windows-1252"
Content-ID: <D336F0A40D692D4283DA900ED7D911BD@cisco.com>
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1=
252">
</head>
<body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-lin=
e-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-fami=
ly: Calibri, sans-serif; ">
<div>Hi Mike,</div>
<div><br>
</div>
<span id=3D"OLK_SRC_BODY_SECTION">
<div style=3D"font-family:Calibri; font-size:11pt; text-align:left; color:b=
lack; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM:=
 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid;=
 BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style=3D"font-weight:bold">From: </span>Mike Jones &lt;<a href=3D"mai=
lto:Michael.Jones@microsoft.com">Michael.Jones@microsoft.com</a>&gt;<br>
<span style=3D"font-weight:bold">Date: </span>Monday, November 12, 2012 1:5=
5 PM<br>
<span style=3D"font-weight:bold">To: </span>Cisco Employee &lt;<a href=3D"m=
ailto:mcgrew@cisco.com">mcgrew@cisco.com</a>&gt;, &quot;<a href=3D"mailto:c=
frg@irtf.org">cfrg@irtf.org</a>&quot; &lt;<a href=3D"mailto:cfrg@irtf.org">=
cfrg@irtf.org</a>&gt;, &quot;<a href=3D"mailto:jose@ietf.org">jose@ietf.org=
</a>&quot;
 &lt;<a href=3D"mailto:jose@ietf.org">jose@ietf.org</a>&gt;<br>
<span style=3D"font-weight:bold">Subject: </span>RE: [Cfrg] Authenticated E=
ncryption with AES-CBC and HMAC-SHA, version 01<br>
</div>
<div><br>
</div>
<blockquote id=3D"MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style=3D"BORDER-LEFT:=
 #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;">
<div xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micro=
soft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" x=
mlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:/=
/www.w3.org/TR/REC-html40">
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.apple-style-span
	{mso-style-name:apple-style-span;}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size: 11pt; color: rgb(31, 73, 1=
25); font-family: Calibri, sans-serif; ">As background, if there was a vers=
ion of this spec that did not assume that the parameters would be concatena=
ted together in a specific way, but
 left them as independent inputs and outputs, as AES GCM and AES CTR do, it=
 would be a better match for JOSE=92s use case.</span></p>
</div>
</div>
</div>
</blockquote>
</span>
<div><br>
</div>
<div>I believe that what you are referring to is the inclusion of the authe=
ntication tag in the authenticated ciphertext. &nbsp; This is not just a pr=
operty of draft-mcgrew-aead-aes-cbc-hmac-sha2; it is a feature of all 19 of=
 the AEAD algorithms that have been defined
 so far. &nbsp; For comparison,&nbsp;draft-mcgrew-aead-aes-cbc-hmac-sha2 sa=
ys&nbsp;</div>
<div><br>
</div>
<div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;The AEAD Ciphertext consists of the string =
S, with the string T</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;appended to it. &nbsp;This Ciphertext is re=
turned as the output of the</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;AEAD encryption operation.</div>
</div>
<div><br>
</div>
<div>Where S is the ciphertext and T is the authentication tag. &nbsp;&nbsp=
;RFC 5116 says</div>
<div><br>
</div>
<div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;The AEA=
D_AES_128_GCM ciphertext is formed by</div>
<div>&nbsp; &nbsp;appending the authentication tag provided as an output to=
 the GCM</div>
<div>&nbsp; &nbsp;encryption operation to the ciphertext that is output by =
that</div>
<div>&nbsp; &nbsp;operation.&quot;</div>
</div>
<div><br>
</div>
<div>David</div>
<div><br>
</div>
<span id=3D"OLK_SRC_BODY_SECTION">
<blockquote id=3D"MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style=3D"BORDER-LEFT:=
 #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;">
<div xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micro=
soft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" x=
mlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:/=
/www.w3.org/TR/REC-html40">
<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size: 11pt; color: rgb(31, 73, 1=
25); font-family: Calibri, sans-serif; "><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size: 11pt; color: rgb(31, 73, 1=
25); font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size: 11pt; color: rgb(31, 73, 1=
25); font-family: Calibri, sans-serif; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp; -- Mike<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size: 11pt; color: rgb(31, 73, 1=
25); font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></span></p>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size: 10pt; font-family: Taho=
ma, sans-serif; ">From:</span></b><span style=3D"font-size: 10pt; font-fami=
ly: Tahoma, sans-serif; ">
<a href=3D"mailto:cfrg-bounces@irtf.org">cfrg-bounces@irtf.org</a> [<a href=
=3D"mailto:cfrg-bounces@irtf.org">mailto:cfrg-bounces@irtf.org</a>]
<b>On Behalf Of </b>David McGrew (mcgrew)<br>
<b>Sent:</b> Monday, November 12, 2012 10:21 AM<br>
<b>To:</b> <a href=3D"mailto:cfrg@irtf.org">cfrg@irtf.org</a>; <a href=3D"m=
ailto:jose@ietf.org">
jose@ietf.org</a><br>
<b>Subject:</b> [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA, =
version 01<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size: 10.5pt; color: black; font=
-family: Calibri, sans-serif; ">Hi,<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size: 10.5pt; color: black; font=
-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size: 10.5pt; color: black; font=
-family: Calibri, sans-serif; ">There is a new version of &quot;</span><spa=
n class=3D"apple-style-span"><span style=3D"font-size: 13.5pt; color: black=
; font-family: Calibri, sans-serif; ">Authenticated
 Encryption with AES-CBC and HMAC-SHA&quot;, and&nbsp;</span></span><span s=
tyle=3D"font-size: 10.5pt; color: black; font-family: Calibri, sans-serif; =
">I would appreciate your review. &nbsp; It is online at &lt;<a href=3D"htt=
ps://datatracker.ietf.org/doc/draft-mcgrew-aead-aes-cbc-hmac-sha2/?include_=
text=3D1%3e">https://datatracker.ietf.org/doc/draft-mcgrew-aead-aes-cbc-hma=
c-sha2/?include_text=3D1&gt;</a>&nbsp;
 &nbsp;The diff between the current and the previous version is available a=
t &lt;<a href=3D"http://www.ietf.org/rfcdiff?url2=3Ddraft-mcgrew-aead-aes-c=
bc-hmac-sha2-01%3e">http://www.ietf.org/rfcdiff?url2=3Ddraft-mcgrew-aead-ae=
s-cbc-hmac-sha2-01&gt;</a><o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size: 10.5pt; color: black; font=
-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size: 10.5pt; color: black; font=
-family: Calibri, sans-serif; ">This draft has been proposed for use in the=
 JOSE WG &lt;<a href=3D"http://datatracker.ietf.org/wg/jose/%3e">http://dat=
atracker.ietf.org/wg/jose/&gt;</a>&nbsp;, where its
 adoption would allow the working group to omit &quot;raw&quot; unauthentic=
ated encryption, e.g. AES-CBC, and only include authenticated encryption. &=
nbsp; Thus I am asking for your help in making&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size: 10.5pt; color: black; font=
-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size: 10.5pt; color: black; font=
-family: Calibri, sans-serif; ">John Foley generated test cases that corres=
pond to the current version of the draft, but I didn't include these in the=
 draft because I did not yet get confirmation
 from a second independent implementation. &nbsp; With hope, there will not=
 be any need for any normative changes, and I will include these after I ge=
t confirmation. &nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size: 10.5pt; color: black; font=
-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size: 10.5pt; color: black; font=
-family: Calibri, sans-serif; ">Thanks,<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size: 10.5pt; color: black; font=
-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size: 10.5pt; color: black; font=
-family: Calibri, sans-serif; ">David<o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</blockquote>
</span>
</body>
</html>

--_000_747787E65E3FBD4E93F0EB2F14DB556B0F50AA95xmbrcdx04ciscoc_--

From dharkins@lounge.org  Mon Nov 12 12:21:14 2012
Return-Path: <dharkins@lounge.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D992C21F8681 for <cfrg@ietfa.amsl.com>; Mon, 12 Nov 2012 12:21:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.265
X-Spam-Level: 
X-Spam-Status: No, score=-6.265 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zKtEn-oftuco for <cfrg@ietfa.amsl.com>; Mon, 12 Nov 2012 12:21:14 -0800 (PST)
Received: from colo.trepanning.net (colo.trepanning.net [69.55.226.174]) by ietfa.amsl.com (Postfix) with ESMTP id 5359621F862C for <cfrg@irtf.org>; Mon, 12 Nov 2012 12:21:14 -0800 (PST)
Received: from www.trepanning.net (localhost [127.0.0.1]) by colo.trepanning.net (Postfix) with ESMTP id 0F22B1022400A; Mon, 12 Nov 2012 12:21:13 -0800 (PST)
Received: from 50.84.73.44 (SquirrelMail authenticated user dharkins@lounge.org) by www.trepanning.net with HTTP; Mon, 12 Nov 2012 12:21:13 -0800 (PST)
Message-ID: <3bfc8545d5829d56d26ceafba6d8d1f3.squirrel@www.trepanning.net>
In-Reply-To: <747787E65E3FBD4E93F0EB2F14DB556B0F50AA95@xmb-rcd-x04.cisco.com>
References: <747787E65E3FBD4E93F0EB2F14DB556B0F50AA95@xmb-rcd-x04.cisco.com>
Date: Mon, 12 Nov 2012 12:21:13 -0800 (PST)
From: "Dan Harkins" <dharkins@lounge.org>
To: "David McGrew (mcgrew)" <mcgrew@cisco.com>
User-Agent: SquirrelMail/1.4.14 [SVN]
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
Cc: "cfrg@irtf.org" <cfrg@irtf.org>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA, version 01
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 12 Nov 2012 20:21:15 -0000

  Hi Mike,

> From: Mike Jones
> <Michael.Jones@microsoft.com<mailto:Michael.Jones@microsoft.com>>
> Date: Monday, November 12, 2012 1:55 PM
> To: Cisco Employee <mcgrew@cisco.com<mailto:mcgrew@cisco.com>>,
> "cfrg@irtf.org<mailto:cfrg@irtf.org>"
> <cfrg@irtf.org<mailto:cfrg@irtf.org>>,
> "jose@ietf.org<mailto:jose@ietf.org>"
> <jose@ietf.org<mailto:jose@ietf.org>>
> Subject: RE: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA,
> version 01
>
> As background, if there was a version of this spec that did not assume
> that the parameters would be concatenated together in a specific way, but
> left them as independent inputs and outputs, as AES GCM and AES CTR do, it
> would be a better match for JOSE’s use case.

  I encourage you to look into SIV mode, an AEAD scheme found in
RFC 5297. SIV was defined by Rogaway and Shrimpton (in a paper
found in the RFC) and is provably secure.

  It takes a vector of input as additional authenticated data which will
be authenticated, and a plaintext which will be authenticated and
encrypted. It does not assume that the parameters are concatenated
together, it's just a vector of separate inputs.

  Additionally, SIV mode does not require a random IV/nonce. It works
just fine if you have one, and it won't collapse if it is repeated (as GCM
does) or is predictable (as CBC-HMAC does), and it works if you don't
have, or want to have, one. In that fashion it is more robust than other
AEAD schemes. The downside is that it's slower than GCM but is probably
faster than CBC-HMAC with SHA2.

  regards,

  Dan.




From michael_b_jones@hotmail.com  Mon Nov 12 12:25:06 2012
Return-Path: <michael_b_jones@hotmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A658A21F8536 for <cfrg@ietfa.amsl.com>; Mon, 12 Nov 2012 12:25:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.248
X-Spam-Level: 
X-Spam-Status: No, score=-2.248 tagged_above=-999 required=5 tests=[AWL=0.350,  BAYES_00=-2.599, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RUBjxBmzrQY9 for <cfrg@ietfa.amsl.com>; Mon, 12 Nov 2012 12:25:05 -0800 (PST)
Received: from bay0-omc1-s2.bay0.hotmail.com (bay0-omc1-s2.bay0.hotmail.com [65.54.190.13]) by ietfa.amsl.com (Postfix) with ESMTP id 3AAC521F84BA for <cfrg@irtf.org>; Mon, 12 Nov 2012 12:25:05 -0800 (PST)
Received: from BAY171-W133 ([65.54.190.60]) by bay0-omc1-s2.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675);  Mon, 12 Nov 2012 12:25:04 -0800
Message-ID: <BAY171-W133C34B6212813A7B59F439B76D0@phx.gbl>
Content-Type: multipart/alternative; boundary="_e8f7860d-ce2d-4929-9424-1c73cd8e9749_"
X-Originating-IP: [50.47.91.23]
From: Michael Jones <michael_b_jones@hotmail.com>
To: <mcgrew@cisco.com>, <cfrg@irtf.org>, <jose@ietf.org>
Date: Mon, 12 Nov 2012 12:25:04 -0800
Importance: Normal
In-Reply-To: <747787E65E3FBD4E93F0EB2F14DB556B0F50A96C@xmb-rcd-x04.cisco.com>
References: <747787E65E3FBD4E93F0EB2F14DB556B0F50A96C@xmb-rcd-x04.cisco.com>
MIME-Version: 1.0
X-OriginalArrivalTime: 12 Nov 2012 20:25:04.0774 (UTC) FILETIME=[CCC6EA60:01CDC113]
Subject: Re: [Cfrg] [jose] Authenticated Encryption with AES-CBC and HMAC-SHA, version 01
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 12 Nov 2012 20:25:06 -0000

--_e8f7860d-ce2d-4929-9424-1c73cd8e9749_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable




OK=2C I admit that the way I phrased my request may not be exactly in line
with the way the =93AEAD=94 terminology is used.=20
I can correct that. That=92s syntax.=20
I was using =93AEAD=94 as a shorthand for the working group=92s decision to
use only authenticated encryption algorithms =96 not to mean the particular
combined representation of those parameters apparently specified in the AEA=
D
draft.  I will correct the terminology
usage in the next revision of the JOSE specifications.

The semantic point remains that it=92s cleaner and more flexible to have
the Key=2C the Plaintext=2C IV=2C and =93additional authenticated data=94 p=
arameters all
be separate inputs and the Ciphertext and =93authentication tag=94 all be s=
eparate
outputs.  In JOSE=92s particular use case=2C
that would be a significantly better match and easier for implementers to u=
se.

JOSE already has a way of combining the inputs and outputs that=92s
inherent to its representation=2C and it doesn=92t match the one you=92ve
specified.  GCM=2C CTR=2C and the current
JOSE-specified algorithms are a great fit for this=2C as they can directly =
use
that representation.  The AEAD pattern
you cite requires disassembly of the components of the AEAD-specific
representation to be able to use the combinations already present in the JO=
SE
representations and then reassembly at decryption time.  That=92s just more=
 work for implementers=2C and
it=92s not semantically necessary work.

Are you open to specifying versions of your algorithms that don=92t require
a particular combination method for the parameters=2C but instead leave the=
 combination
up to the use case?  I=92m fine with you
also specifying a specific combination method as an optional feature of the
specification.  But it shouldn=92t be part
of the algorithm definition=2C just like it isn=92t for GCM.

                                                            Best
wishes=2C                                                            --
Mike



From: David McGrew (mcgrew) [mailto:mcgrew@cisco.com]=20

Sent: Monday=2C November 12=2C 2012 11:43 AM

To: Mike Jones=3B cfrg@irtf.org=3B jose@ietf.org

Subject: Re: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA=2C
version 01

Hi Mike=2C

From: Mike Jones <Michael.Jones@microsoft.com>

Date: Monday=2C November 12=2C 2012 1:55 PM

To: Cisco Employee <mcgrew@cisco.com>=2C
"cfrg@irtf.org" <cfrg@irtf.org>=2C "jose@ietf.org" <jose@ietf.org>

Subject: RE: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA=2C
version 01

As background=2C if there was a version of this spec that did
not assume that the parameters would be concatenated together in a specific
way=2C but left them as independent inputs and outputs=2C as AES GCM and AE=
S CTR do=2C
it would be a better match for JOSE=92s use case. I believe that what you
are referring to is the inclusion of the authentication tag in the
authenticated ciphertext.   This is not just a property of
draft-mcgrew-aead-aes-cbc-hmac-sha2=3B it is a feature of all 19 of the AEA=
D
algorithms that have been defined so far.   For
comparison=2C draft-mcgrew-aead-aes-cbc-hmac-sha2 says=20

    =20
 The AEAD Ciphertext consists of the string S=2C with the string T    =20
 appended to it.  This Ciphertext is returned as the output of the    =20
 AEAD encryption operation. Where S is the
ciphertext and T is the authentication tag.   RFC 5116 says

    =20
                    =20
         "The AEAD_AES_128_GCM ciphertext is
formed by   appending
the authentication tag provided as an output to the GCM   encryption
operation to the ciphertext that is output by that=20
 operation."

David

                                                          =20
-- Mike

From: mcgrew@cisco.com
To: cfrg@irtf.org=3B jose@ietf.org
Date: Mon=2C 12 Nov 2012 18:20:57 +0000
CC: Kenny.Paterson@rhul.ac.uk
Subject: [jose] Authenticated Encryption with AES-CBC and HMAC-SHA=2C	versi=
on 01







Hi=2C



There is a new version of "Authenticated Encryption with AES-CBC and HMAC-S=
HA"=2C and I would appreciate your review.   It is online at <https://datat=
racker.ietf.org/doc/draft-mcgrew-aead-aes-cbc-hmac-sha2/?include_text=3D1>=
=20
  The diff between the current and the previous version is available at <ht=
tp://www.ietf.org/rfcdiff?url2=3Ddraft-mcgrew-aead-aes-cbc-hmac-sha2-01>



This draft has been proposed for use in the JOSE WG <http://datatracker.iet=
f.org/wg/jose/> =2C where its adoption would allow the working group to omi=
t "raw" unauthenticated encryption=2C e.g. AES-CBC=2C and only
 include authenticated encryption.   Thus I am asking for your help in maki=
ng=20



John Foley generated test cases that correspond to the current version of t=
he draft=2C but I didn't include these in the draft because I did not yet g=
et confirmation from a second independent implementation.   With hope=2C th=
ere will not be any need for any normative
 changes=2C and I will include these after I get confirmation. =20



Thanks=2C



David



_______________________________________________
jose mailing list
jose@ietf.org
https://www.ietf.org/mailman/listinfo/jose 		 	   		  =

--_e8f7860d-ce2d-4929-9424-1c73cd8e9749_
Content-Type: text/html; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style><!--
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 10pt=3B
font-family:Tahoma
}
--></style></head>
<body class=3D'hmmessage'><div dir=3D'ltr'>
<font size=3D"3" face=3D"Times New Roman">

</font><BR><p style=3D"margin: 0in 0in 0pt=3B" class=3D"MsoNormal"><span st=
yle=3D'color: rgb(31=2C 73=2C 125)=3B font-family: "Calibri"=2C"sans-serif"=
=3B font-size: 11pt=3B mso-ascii-theme-font: minor-latin=3B mso-hansi-theme=
-font: minor-latin=3B mso-bidi-font-family: "Times New Roman"=3B mso-bidi-t=
heme-font: minor-bidi=3B mso-themecolor: text2=3B'>OK=2C I admit that the w=
ay I phrased my request may not be exactly in line
with the way the =93AEAD=94 terminology is used.<span style=3D"mso-spacerun=
: yes=3B">&nbsp=3B
</span>I can correct that. That=92s syntax.<span style=3D"mso-spacerun: yes=
=3B">&nbsp=3B
</span>I was using =93AEAD=94 as a shorthand for the working group=92s deci=
sion to
use only authenticated encryption algorithms =96 not to mean the particular
combined representation of those parameters apparently specified in the AEA=
D
draft.<span style=3D"mso-spacerun: yes=3B">&nbsp=3B </span>I will correct t=
he terminology
usage in the next revision of the JOSE specifications.</span></p><font size=
=3D"3" face=3D"Times New Roman">

</font><BR><p style=3D"margin: 0in 0in 0pt=3B" class=3D"MsoNormal"><span st=
yle=3D'color: rgb(31=2C 73=2C 125)=3B font-family: "Calibri"=2C"sans-serif"=
=3B font-size: 11pt=3B mso-ascii-theme-font: minor-latin=3B mso-hansi-theme=
-font: minor-latin=3B mso-bidi-font-family: "Times New Roman"=3B mso-bidi-t=
heme-font: minor-bidi=3B mso-themecolor: text2=3B'>The semantic point remai=
ns that it=92s cleaner and more flexible to have
the Key=2C the Plaintext=2C IV=2C and =93additional authenticated data=94 p=
arameters all
be separate inputs and the Ciphertext and =93authentication tag=94 all be s=
eparate
outputs.<span style=3D"mso-spacerun: yes=3B">&nbsp=3B </span>In JOSE=92s pa=
rticular use case=2C
that would be a significantly better match and easier for implementers to u=
se.</span></p><font size=3D"3" face=3D"Times New Roman">

</font><BR><p style=3D"margin: 0in 0in 0pt=3B" class=3D"MsoNormal"><span st=
yle=3D'color: rgb(31=2C 73=2C 125)=3B font-family: "Calibri"=2C"sans-serif"=
=3B font-size: 11pt=3B mso-ascii-theme-font: minor-latin=3B mso-hansi-theme=
-font: minor-latin=3B mso-bidi-font-family: "Times New Roman"=3B mso-bidi-t=
heme-font: minor-bidi=3B mso-themecolor: text2=3B'>JOSE already has a way o=
f combining the inputs and outputs that=92s
inherent to its representation=2C and it doesn=92t match the one you=92ve
specified.<span style=3D"mso-spacerun: yes=3B">&nbsp=3B </span>GCM=2C CTR=
=2C and the current
JOSE-specified algorithms are a great fit for this=2C as they can directly =
use
that representation.<span style=3D"mso-spacerun: yes=3B">&nbsp=3B </span>Th=
e AEAD pattern
you cite requires disassembly of the components of the AEAD-specific
representation to be able to use the combinations already present in the JO=
SE
representations and then reassembly at decryption time.<span style=3D"mso-s=
pacerun: yes=3B">&nbsp=3B </span>That=92s just more work for implementers=
=2C and
it=92s not semantically necessary work.</span></p><font size=3D"3" face=3D"=
Times New Roman">

</font><BR><p style=3D"margin: 0in 0in 0pt=3B" class=3D"MsoNormal"><span st=
yle=3D'color: rgb(31=2C 73=2C 125)=3B font-family: "Calibri"=2C"sans-serif"=
=3B font-size: 11pt=3B mso-ascii-theme-font: minor-latin=3B mso-hansi-theme=
-font: minor-latin=3B mso-bidi-font-family: "Times New Roman"=3B mso-bidi-t=
heme-font: minor-bidi=3B mso-themecolor: text2=3B'>Are you open to specifyi=
ng versions of your algorithms that don=92t require
a particular combination method for the parameters=2C but instead leave the=
 combination
up to the use case?<span style=3D"mso-spacerun: yes=3B">&nbsp=3B </span>I=
=92m fine with you
also specifying a specific combination method as an optional feature of the
specification. <span style=3D"mso-spacerun: yes=3B">&nbsp=3B</span>But it s=
houldn=92t be part
of the algorithm definition=2C just like it isn=92t for GCM.</span></p><fon=
t size=3D"3" face=3D"Times New Roman">

</font><BR><p style=3D"margin: 0in 0in 0pt=3B" class=3D"MsoNormal"><span st=
yle=3D'color: rgb(31=2C 73=2C 125)=3B font-family: "Calibri"=2C"sans-serif"=
=3B font-size: 11pt=3B mso-ascii-theme-font: minor-latin=3B mso-hansi-theme=
-font: minor-latin=3B mso-bidi-font-family: "Times New Roman"=3B mso-bidi-t=
heme-font: minor-bidi=3B mso-themecolor: text2=3B'><span style=3D"mso-tab-c=
ount: 4=3B">&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B=
&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nb=
sp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B=
&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nb=
sp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B </span>Best
wishes=2C</span></p><p style=3D"margin: 0in 0in 0pt=3B" class=3D"MsoNormal"=
><span style=3D'color: rgb(31=2C 73=2C 125)=3B font-family: "Calibri"=2C"sa=
ns-serif"=3B font-size: 11pt=3B mso-ascii-theme-font: minor-latin=3B mso-ha=
nsi-theme-font: minor-latin=3B mso-bidi-font-family: "Times New Roman"=3B m=
so-bidi-theme-font: minor-bidi=3B mso-themecolor: text2=3B'><span style=3D"=
mso-tab-count: 4=3B">&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B=
&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nb=
sp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B=
&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nb=
sp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B </span>--
Mike<?xml:namespace prefix =3D o ns =3D "urn:schemas-microsoft-com:office:o=
ffice" /><o:p></o:p></span></p><font size=3D"3" face=3D"Times New Roman">

</font><BR><font size=3D"3" face=3D"Times New Roman">

</font><BR><p style=3D"margin: 0in 0in 0pt=3B" class=3D"MsoNormal"><b><span=
 style=3D'font-family: "Tahoma"=2C"sans-serif"=3B font-size: 10pt=3B mso-fa=
reast-font-family: "Times New Roman"=3B'>From:</span></b><span style=3D'fon=
t-family: "Tahoma"=2C"sans-serif"=3B font-size: 10pt=3B mso-fareast-font-fa=
mily: "Times New Roman"=3B'> David McGrew (mcgrew) [mailto:mcgrew@cisco.com=
] <br>
<b>Sent:</b> Monday=2C November 12=2C 2012 11:43 AM<br>
<b>To:</b> Mike Jones=3B cfrg@irtf.org=3B jose@ietf.org<br>
<b>Subject:</b> Re: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-S=
HA=2C
version 01<o:p></o:p></span></p><font size=3D"3" face=3D"Times New Roman">

</font><BR><p style=3D"margin: 0in 0in 0pt=3B" class=3D"MsoNormal"><span st=
yle=3D'color: black=3B font-family: "Calibri"=2C"sans-serif"=3B font-size: =
10.5pt=3B mso-fareast-font-family: "Times New Roman"=3B'>Hi Mike=2C</span><=
/p><font size=3D"3" face=3D"Times New Roman">

</font><BR><p style=3D"margin: 0in 0in 0pt=3B mso-outline-level: 1=3B" clas=
s=3D"MsoNormal"><b><span style=3D'color: black=3B font-family: "Calibri"=2C=
"sans-serif"=3B font-size: 11pt=3B mso-fareast-font-family: "Times New Roma=
n"=3B'><span id=3D"OLK_SRC_BODY_SECTION">From: </span></span></b><span styl=
e=3D'color: black=3B font-family: "Calibri"=2C"sans-serif"=3B font-size: 11=
pt=3B mso-fareast-font-family: "Times New Roman"=3B'>Mike Jones &lt=3B<a hr=
ef=3D"mailto:Michael.Jones@microsoft.com"><font color=3D"#0000ff">Michael.J=
ones@microsoft.com</font></a>&gt=3B<br>
<b>Date: </b>Monday=2C November 12=2C 2012 1:55 PM<br>
<b>To: </b>Cisco Employee &lt=3B<a href=3D"mailto:mcgrew@cisco.com"><font c=
olor=3D"#0000ff">mcgrew@cisco.com</font></a>&gt=3B=2C
"<a href=3D"mailto:cfrg@irtf.org"><font color=3D"#0000ff">cfrg@irtf.org</fo=
nt></a>" &lt=3B<a href=3D"mailto:cfrg@irtf.org"><font color=3D"#0000ff">cfr=
g@irtf.org</font></a>&gt=3B=2C "<a href=3D"mailto:jose@ietf.org"><font colo=
r=3D"#0000ff">jose@ietf.org</font></a>" &lt=3B<a href=3D"mailto:jose@ietf.o=
rg"><font color=3D"#0000ff">jose@ietf.org</font></a>&gt=3B<br>
<b>Subject: </b>RE: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-S=
HA=2C
version 01<o:p></o:p></span></p><font size=3D"3" face=3D"Times New Roman">

</font><BR><p style=3D"margin: 0in 0in 0pt=3B" class=3D"MsoNormal"><span st=
yle=3D'color: rgb(31=2C 73=2C 125)=3B font-family: "Calibri"=2C"sans-serif"=
=3B font-size: 11pt=3B'>As background=2C if there was a version of this spe=
c that did
not assume that the parameters would be concatenated together in a specific
way=2C but left them as independent inputs and outputs=2C as AES GCM and AE=
S CTR do=2C
it would be a better match for JOSE=92s use case.</span><span style=3D"colo=
r: black=3B"><o:p></o:p></span></p><font size=3D"3" face=3D"Times New Roman=
"></font>&nbsp=3B<BR><p style=3D"margin: 0in 0in 0pt=3B" class=3D"MsoNormal=
"><span style=3D'color: black=3B font-family: "Calibri"=2C"sans-serif"=3B f=
ont-size: 10.5pt=3B mso-fareast-font-family: "Times New Roman"=3B'>I believ=
e that what you
are referring to is the inclusion of the authentication tag in the
authenticated ciphertext. &nbsp=3B This is not just a property of
draft-mcgrew-aead-aes-cbc-hmac-sha2=3B it is a feature of all 19 of the AEA=
D
algorithms that have been defined so far. &nbsp=3B For
comparison=2C&nbsp=3Bdraft-mcgrew-aead-aes-cbc-hmac-sha2 says&nbsp=3B<o:p><=
/o:p></span></p><font size=3D"3" face=3D"Times New Roman">

</font><BR><p style=3D"margin: 0in 0in 0pt=3B" class=3D"MsoNormal"><span st=
yle=3D'color: black=3B font-family: "Calibri"=2C"sans-serif"=3B font-size: =
10.5pt=3B mso-fareast-font-family: "Times New Roman"=3B'>&nbsp=3B &nbsp=3B =
&nbsp=3B
&nbsp=3BThe AEAD Ciphertext consists of the string S=2C with the string T</=
span></p><p style=3D"margin: 0in 0in 0pt=3B" class=3D"MsoNormal"><span styl=
e=3D'color: black=3B font-family: "Calibri"=2C"sans-serif"=3B font-size: 10=
.5pt=3B mso-fareast-font-family: "Times New Roman"=3B'>&nbsp=3B &nbsp=3B &n=
bsp=3B
&nbsp=3Bappended to it. &nbsp=3BThis Ciphertext is returned as the output o=
f the</span></p><p style=3D"margin: 0in 0in 0pt=3B" class=3D"MsoNormal"><sp=
an style=3D'color: black=3B font-family: "Calibri"=2C"sans-serif"=3B font-s=
ize: 10.5pt=3B mso-fareast-font-family: "Times New Roman"=3B'>&nbsp=3B &nbs=
p=3B &nbsp=3B
&nbsp=3BAEAD encryption operation.<o:p></o:p></span></p><span style=3D'colo=
r: black=3B font-family: "Calibri"=2C"sans-serif"=3B font-size: 10.5pt=3B m=
so-fareast-font-family: "Times New Roman"=3B'></span><font size=3D"3" face=
=3D"Times New Roman"></font>&nbsp=3B<BR><p style=3D"margin: 0in 0in 0pt=3B"=
 class=3D"MsoNormal"><span style=3D'color: black=3B font-family: "Calibri"=
=2C"sans-serif"=3B font-size: 10.5pt=3B mso-fareast-font-family: "Times New=
 Roman"=3B'>Where S is the
ciphertext and T is the authentication tag. &nbsp=3B&nbsp=3BRFC 5116 says<o=
:p></o:p></span></p><font size=3D"3" face=3D"Times New Roman">

</font><BR><p style=3D"margin: 0in 0in 0pt=3B" class=3D"MsoNormal"><span st=
yle=3D'color: black=3B font-family: "Calibri"=2C"sans-serif"=3B font-size: =
10.5pt=3B mso-fareast-font-family: "Times New Roman"=3B'>&nbsp=3B &nbsp=3B =
&nbsp=3B
&nbsp=3B &nbsp=3B &nbsp=3B &nbsp=3B &nbsp=3B &nbsp=3B &nbsp=3B &nbsp=3B &nb=
sp=3B &nbsp=3B &nbsp=3B
&nbsp=3B &nbsp=3B &nbsp=3B &nbsp=3B &nbsp=3B"The AEAD_AES_128_GCM ciphertex=
t is
formed by</span></p><p style=3D"margin: 0in 0in 0pt=3B" class=3D"MsoNormal"=
><span style=3D'color: black=3B font-family: "Calibri"=2C"sans-serif"=3B fo=
nt-size: 10.5pt=3B mso-fareast-font-family: "Times New Roman"=3B'>&nbsp=3B =
&nbsp=3Bappending
the authentication tag provided as an output to the GCM</span></p><p style=
=3D"margin: 0in 0in 0pt=3B" class=3D"MsoNormal"><span style=3D'color: black=
=3B font-family: "Calibri"=2C"sans-serif"=3B font-size: 10.5pt=3B mso-farea=
st-font-family: "Times New Roman"=3B'>&nbsp=3B &nbsp=3Bencryption
operation to the ciphertext that is output by that</span></p><p style=3D"ma=
rgin: 0in 0in 0pt=3B" class=3D"MsoNormal"><span style=3D'color: black=3B fo=
nt-family: "Calibri"=2C"sans-serif"=3B font-size: 10.5pt=3B mso-fareast-fon=
t-family: "Times New Roman"=3B'>&nbsp=3B
&nbsp=3Boperation."<o:p></o:p></span></p><font size=3D"3" face=3D"Times New=
 Roman">

</font><BR><p style=3D"margin: 0in 0in 0pt=3B" class=3D"MsoNormal"><span st=
yle=3D'color: black=3B font-family: "Calibri"=2C"sans-serif"=3B font-size: =
10.5pt=3B mso-fareast-font-family: "Times New Roman"=3B'>David<o:p></o:p></=
span></p><font size=3D"3" face=3D"Times New Roman">

</font><BR><p style=3D"margin: 0in 0in 0pt=3B" class=3D"MsoNormal"><span st=
yle=3D'color: rgb(31=2C 73=2C 125)=3B font-family: "Calibri"=2C"sans-serif"=
=3B font-size: 11pt=3B'>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nb=
sp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B=
&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nb=
sp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B=
&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B
-- Mike<?xml:namespace prefix =3D u5 /><u5:p></u5:p></span><span style=3D"c=
olor: black=3B"><o:p></o:p></span></p><font size=3D"3" face=3D"Times New Ro=
man">

</font><BR><div><div id=3D"SkyDrivePlaceholder"></div><hr id=3D"stopSpellin=
g">From: mcgrew@cisco.com<br>To: cfrg@irtf.org=3B jose@ietf.org<br>Date: Mo=
n=2C 12 Nov 2012 18:20:57 +0000<br>CC: Kenny.Paterson@rhul.ac.uk<br>Subject=
: [jose] Authenticated Encryption with AES-CBC and HMAC-SHA=2C	version 01<b=
r><br>




<div style=3D"color: rgb(0=2C 0=2C 0)=3B font-family: Calibri=2C sans-serif=
=3B font-size: 14px=3B">
Hi=2C</div>
<div style=3D"color: rgb(0=2C 0=2C 0)=3B font-family: Calibri=2C sans-serif=
=3B font-size: 14px=3B">
</div>
<div style=3D"color: rgb(0=2C 0=2C 0)=3B font-family: Calibri=2C sans-serif=
=3B font-size: 14px=3B">
There is a new version of "<span style=3D"font-size: medium=3B" class=3D"ec=
xApple-style-span">Authenticated Encryption with AES-CBC and HMAC-SHA"=2C a=
nd&nbsp=3B</span>I would appreciate your review. &nbsp=3B It is online at &=
lt=3B<a href=3D"https://datatracker.ietf.org/doc/draft-mcgrew-aead-aes-cbc-=
hmac-sha2/?include_text=3D1%3e" target=3D"_blank">https://datatracker.ietf.=
org/doc/draft-mcgrew-aead-aes-cbc-hmac-sha2/?include_text=3D1&gt=3B</a>&nbs=
p=3B
 &nbsp=3BThe diff between the current and the previous version is available=
 at &lt=3B<a href=3D"http://www.ietf.org/rfcdiff?url2=3Ddraft-mcgrew-aead-a=
es-cbc-hmac-sha2-01%3e" target=3D"_blank">http://www.ietf.org/rfcdiff?url2=
=3Ddraft-mcgrew-aead-aes-cbc-hmac-sha2-01&gt=3B</a></div>
<div style=3D"color: rgb(0=2C 0=2C 0)=3B font-family: Calibri=2C sans-serif=
=3B font-size: 14px=3B">
</div>
<div style=3D"color: rgb(0=2C 0=2C 0)=3B font-family: Calibri=2C sans-serif=
=3B font-size: 14px=3B">
This draft has been proposed for use in the JOSE WG &lt=3B<a href=3D"http:/=
/datatracker.ietf.org/wg/jose/%3e" target=3D"_blank">http://datatracker.iet=
f.org/wg/jose/&gt=3B</a>&nbsp=3B=2C where its adoption would allow the work=
ing group to omit "raw" unauthenticated encryption=2C e.g. AES-CBC=2C and o=
nly
 include authenticated encryption. &nbsp=3B Thus I am asking for your help =
in making&nbsp=3B</div>
<div style=3D"color: rgb(0=2C 0=2C 0)=3B font-family: Calibri=2C sans-serif=
=3B font-size: 14px=3B">
</div>
<div style=3D"color: rgb(0=2C 0=2C 0)=3B font-family: Calibri=2C sans-serif=
=3B font-size: 14px=3B">
John Foley generated test cases that correspond to the current version of t=
he draft=2C but I didn't include these in the draft because I did not yet g=
et confirmation from a second independent implementation. &nbsp=3B With hop=
e=2C there will not be any need for any normative
 changes=2C and I will include these after I get confirmation. &nbsp=3B</di=
v>
<div style=3D"color: rgb(0=2C 0=2C 0)=3B font-family: Calibri=2C sans-serif=
=3B font-size: 14px=3B">
</div>
<div style=3D"color: rgb(0=2C 0=2C 0)=3B font-family: Calibri=2C sans-serif=
=3B font-size: 14px=3B">
Thanks=2C</div>
<div style=3D"color: rgb(0=2C 0=2C 0)=3B font-family: Calibri=2C sans-serif=
=3B font-size: 14px=3B">
</div>
<div style=3D"color: rgb(0=2C 0=2C 0)=3B font-family: Calibri=2C sans-serif=
=3B font-size: 14px=3B">
David</div>


<br>_______________________________________________
jose mailing list
jose@ietf.org
https://www.ietf.org/mailman/listinfo/jose</div> 		 	   		  </div></body>
</html>=

--_e8f7860d-ce2d-4929-9424-1c73cd8e9749_--

From mcgrew@cisco.com  Mon Nov 12 15:19:52 2012
Return-Path: <mcgrew@cisco.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C61D221F8614 for <cfrg@ietfa.amsl.com>; Mon, 12 Nov 2012 15:19:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -110.548
X-Spam-Level: 
X-Spam-Status: No, score=-110.548 tagged_above=-999 required=5 tests=[AWL=0.050, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cm8Mxvz9KKmc for <cfrg@ietfa.amsl.com>; Mon, 12 Nov 2012 15:19:51 -0800 (PST)
Received: from rcdn-iport-8.cisco.com (rcdn-iport-8.cisco.com [173.37.86.79]) by ietfa.amsl.com (Postfix) with ESMTP id C5B0D21F84D4 for <cfrg@irtf.org>; Mon, 12 Nov 2012 15:19:50 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=35742; q=dns/txt; s=iport; t=1352762391; x=1353971991; h=from:to:cc:subject:date:message-id:in-reply-to: mime-version; bh=0K7E90smBCTodgctihD4gQHc+cggu6Vd04ItE62eki8=; b=hYU8nuTiy5vHcMhhz8GdbhSw1gFUl7RtJWqLgIPV0N04fzFBDgEkJK1J bxi4RIx0EWNrrwqAn3P4ekswxtvq43yAKhLdtS6g23BMHQlmqJhfE3HQn dzZbpZjkxHlCRpUWV2ThTQtbYmB/ZYMzvW9i66MolWAmHXWr9y/4ACk7B g=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AmIFAGeCoVCtJXG+/2dsb2JhbABEgkmuajOJBQGId4EIgh4BAQEEAQEBDwEaQQsSAQgRAwEBAQsWAQYuCxQJCAIEAQ0FCAESB4dWAw8LmXqgDIssaYNugXthA5QognCKFoMmgWuCYg2CGQ
X-IronPort-AV: E=McAfee;i="5400,1158,6894"; a="141473985"
Received: from rcdn-core2-3.cisco.com ([173.37.113.190]) by rcdn-iport-8.cisco.com with ESMTP; 12 Nov 2012 23:19:50 +0000
Received: from xhc-aln-x06.cisco.com (xhc-aln-x06.cisco.com [173.36.12.80]) by rcdn-core2-3.cisco.com (8.14.5/8.14.5) with ESMTP id qACNJnrx010934 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Mon, 12 Nov 2012 23:19:49 GMT
Received: from xmb-rcd-x04.cisco.com ([169.254.8.200]) by xhc-aln-x06.cisco.com ([173.36.12.80]) with mapi id 14.02.0318.001; Mon, 12 Nov 2012 17:19:49 -0600
From: "David McGrew (mcgrew)" <mcgrew@cisco.com>
To: Michael Jones <michael_b_jones@hotmail.com>, "cfrg@irtf.org" <cfrg@irtf.org>, "jose@ietf.org" <jose@ietf.org>
Thread-Topic: [jose] Authenticated Encryption with AES-CBC and HMAC-SHA, version 01
Thread-Index: AQHNwQJ1KPZ1PBWsRUecOePTOEDiwZfnCigA///dCgA=
Date: Mon, 12 Nov 2012 23:19:48 +0000
Message-ID: <747787E65E3FBD4E93F0EB2F14DB556B0F50ABF8@xmb-rcd-x04.cisco.com>
In-Reply-To: <BAY171-W133C34B6212813A7B59F439B76D0@phx.gbl>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.2.1.120420
x-originating-ip: [10.117.10.228]
x-tm-as-product-ver: SMEX-10.2.0.1135-7.000.1014-19356.005
x-tm-as-result: No--30.170200-8.000000-31
x-tm-as-user-approved-sender: No
x-tm-as-user-blocked-sender: No
Content-Type: multipart/alternative; boundary="_000_747787E65E3FBD4E93F0EB2F14DB556B0F50ABF8xmbrcdx04ciscoc_"
MIME-Version: 1.0
Subject: Re: [Cfrg] [jose] Authenticated Encryption with AES-CBC and HMAC-SHA, version 01
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 12 Nov 2012 23:19:52 -0000

--_000_747787E65E3FBD4E93F0EB2F14DB556B0F50ABF8xmbrcdx04ciscoc_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable



From: Michael Jones <michael_b_jones@hotmail.com<mailto:michael_b_jones@hot=
mail.com>>
Date: Monday, November 12, 2012 3:25 PM
To: Cisco Employee <mcgrew@cisco.com<mailto:mcgrew@cisco.com>>, "cfrg@irtf.=
org<mailto:cfrg@irtf.org>" <cfrg@irtf.org<mailto:cfrg@irtf.org>>, "jose@iet=
f.org<mailto:jose@ietf.org>" <jose@ietf.org<mailto:jose@ietf.org>>
Subject: RE: [jose] Authenticated Encryption with AES-CBC and HMAC-SHA, ver=
sion 01


OK, I admit that the way I phrased my request may not be exactly in line wi=
th the way the =93AEAD=94 terminology is used.  I can correct that. That=92=
s syntax.  I was using =93AEAD=94 as a shorthand for the working group=92s =
decision to use only authenticated encryption algorithms =96 not to mean th=
e particular combined representation of those parameters apparently specifi=
ed in the AEAD draft.  I will correct the terminology usage in the next rev=
ision of the JOSE specifications.

The semantic point remains that it=92s cleaner and more flexible to have th=
e Key, the Plaintext, IV, and =93additional authenticated data=94 parameter=
s all be separate inputs and the Ciphertext and =93authentication tag=94 al=
l be separate outputs. In JOSE=92s particular use case, that would be a sig=
nificantly better match and easier for implementers to use.


JOSE already has a way of combining the inputs and outputs that=92s inheren=
t to its representation, and it doesn=92t match the one you=92ve specified.=
  GCM, CTR, and the current JOSE-specified algorithms are a great fit for t=
his, as they can directly use that representation.  The AEAD pattern you ci=
te requires disassembly of the components of the AEAD-specific representati=
on to be able to use the combinations already present in the JOSE represent=
ations and then reassembly at decryption time.  That=92s just more work for=
 implementers, and it=92s not semantically necessary work.

One could just as easily argue that the unnecessary work comes from the fac=
t that draft-ietf-jose-json-web-algorithms-07 defines its own AEAD algorith=
ms, which do not use the RFC 5116 interface.   The draft confusingly refere=
nces that RFC after it defines AEAD, but then does something different.   I=
f the plan is really going to be for the JOSE WG to define its own AEAD alg=
orithms that are incompatible (which I hope is not the case), the differenc=
es and motivation deserve to be documented.

The motivation for 5116 incorporating the authentication data into the ciph=
ertext was to simplify the interface and move more of the crypto details un=
der the crypto interface.   These are still valid motivations, though at th=
is point the most important reason to use the interface is to avoid gratuit=
ous incompatibility.  Other protocols have not had any trouble in using the=
 5116 interface; See RFC 5288 (TLSv1.2) Section 6.2.3.3, RFC 5647 (SSH GCM)=
, or draft-ietf-avtcore-srtp-aes-gcm, for instance.


Are you open to specifying versions of your algorithms that don=92t require=
 a particular combination method for the parameters, but instead leave the =
combination up to the use case?  I=92m fine with you also specifying a spec=
ific combination method as an optional feature of the specification.  But i=
t shouldn=92t be part of the algorithm definition, just like it isn=92t for=
 GCM.

I am not dogmatically opposed to other interfaces, but the best solution he=
re is for JOSE to actually use the 5116 interface, like this:

X.Y. Authenticated Encryption

   This section defines the specifics of encrypting the JWE Plaintext
   Using the Authenticated Encryption with Associated Data (AEAD)
   as defined in RFC 5116.   The authenticated encryption operation
   has four inputs, as follows:

     The secret key is the CMK.

     The associated data is the bytes of the ASCII representation of the co=
ncatenation of
     the Encoded JWE Header, a period ('.') character, the Encoded JWE
     Encrypted Key, a second period character ('.'), and the Encoded JWE
     Initialization Vector, per Section 5 of the JWE specification.

      The plaintext , which contains the data to be encrypted and
      authenticated.

      A nonce N, with a length of either 0 or 96 bits.   If the length
      is zero, the nonce is omitted.  Otherwise, the nonce
      is as described in Section 3 of RFC 5116.

   There is a single output, the Ciphertext.

   The "enc" header  parameter values are set as follows:

    "enc"                  Algorithm
    -----------------------------------------------------------------------
    "A128GCM"     AEAD_AES_128_GCM
    "A256GCM"     AEAD_AES_256_GCM
     "A128CHS"      AEAD_AES_128_CBC_HMAC_SHA_256
     "A256CHS"      AEAD_AES_256_CBC_HMAC_SHA_512
      "A128SIV"      AEAD_AES_SIV_CMAC_256
      "A256SIV"      AEAD_AES_SIV_CMAC_384

      See <http://www.iana.org/assignments/aead-parameters/aead-parameters.=
xml> for the
     references corresponding to these symbolic names.

If we want to make actual progress on crypto interfaces, the thing that wou=
ld be worth doing is defining a simpler interface that moves the nonce deta=
ils into the ciphertext (and thus away from the user).   Moving the authent=
ication data out of the ciphertext would be movement in the wrong direction=
, in my opinion.

David


                                                            Best wishes,
                                                            -- Mike


From: David McGrew (mcgrew) [mailto:mcgrew@cisco.com]
Sent: Monday, November 12, 2012 11:43 AM
To: Mike Jones; cfrg@irtf.org<mailto:cfrg@irtf.org>; jose@ietf.org<mailto:j=
ose@ietf.org>
Subject: Re: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA, ver=
sion 01

Hi Mike,

From: Mike Jones <Michael.Jones@microsoft.com<mailto:Michael.Jones@microsof=
t.com>>
Date: Monday, November 12, 2012 1:55 PM
To: Cisco Employee <mcgrew@cisco.com<mailto:mcgrew@cisco.com>>, "cfrg@irtf.=
org<mailto:cfrg@irtf.org>" <cfrg@irtf.org<mailto:cfrg@irtf.org>>, "jose@iet=
f.org<mailto:jose@ietf.org>" <jose@ietf.org<mailto:jose@ietf.org>>
Subject: RE: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA, ver=
sion 01

As background, if there was a version of this spec that did not assume that=
 the parameters would be concatenated together in a specific way, but left =
them as independent inputs and outputs, as AES GCM and AES CTR do, it would=
 be a better match for JOSE=92s use case.

I believe that what you are referring to is the inclusion of the authentica=
tion tag in the authenticated ciphertext.   This is not just a property of =
draft-mcgrew-aead-aes-cbc-hmac-sha2; it is a feature of all 19 of the AEAD =
algorithms that have been defined so far.   For comparison, draft-mcgrew-ae=
ad-aes-cbc-hmac-sha2 says

       The AEAD Ciphertext consists of the string S, with the string T
       appended to it.  This Ciphertext is returned as the output of the
       AEAD encryption operation.

Where S is the ciphertext and T is the authentication tag.   RFC 5116 says

                                     "The AEAD_AES_128_GCM ciphertext is fo=
rmed by
   appending the authentication tag provided as an output to the GCM
   encryption operation to the ciphertext that is output by that
   operation."

David

                                                            -- Mike

________________________________
From: mcgrew@cisco.com<mailto:mcgrew@cisco.com>
To: cfrg@irtf.org<mailto:cfrg@irtf.org>; jose@ietf.org<mailto:jose@ietf.org=
>
Date: Mon, 12 Nov 2012 18:20:57 +0000
CC: Kenny.Paterson@rhul.ac.uk<mailto:Kenny.Paterson@rhul.ac.uk>
Subject: [jose] Authenticated Encryption with AES-CBC and HMAC-SHA, version=
 01

Hi,
There is a new version of "Authenticated Encryption with AES-CBC and HMAC-S=
HA", and I would appreciate your review.   It is online at <https://datatra=
cker.ietf.org/doc/draft-mcgrew-aead-aes-cbc-hmac-sha2/?include_text=3D1><ht=
tps://datatracker.ietf.org/doc/draft-mcgrew-aead-aes-cbc-hmac-sha2/?include=
_text=3D1%3e>   The diff between the current and the previous version is av=
ailable at <http://www.ietf.org/rfcdiff?url2=3Ddraft-mcgrew-aead-aes-cbc-hm=
ac-sha2-01><http://www.ietf.org/rfcdiff?url2=3Ddraft-mcgrew-aead-aes-cbc-hm=
ac-sha2-01%3e>
This draft has been proposed for use in the JOSE WG <http://datatracker.iet=
f.org/wg/jose/><http://datatracker.ietf.org/wg/jose/%3e> , where its adopti=
on would allow the working group to omit "raw" unauthenticated encryption, =
e.g. AES-CBC, and only include authenticated encryption.   Thus I am asking=
 for your help in making
John Foley generated test cases that correspond to the current version of t=
he draft, but I didn't include these in the draft because I did not yet get=
 confirmation from a second independent implementation.   With hope, there =
will not be any need for any normative changes, and I will include these af=
ter I get confirmation.
Thanks,
David

_______________________________________________ jose mailing list jose@ietf=
.org<mailto:jose@ietf.org> https://www.ietf.org/mailman/listinfo/jose

--_000_747787E65E3FBD4E93F0EB2F14DB556B0F50ABF8xmbrcdx04ciscoc_
Content-Type: text/html; charset="Windows-1252"
Content-ID: <7261A6CFF5A1E0429F29B0D910A05A09@cisco.com>
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1=
252">
</head>
<body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-lin=
e-break: after-white-space; ">
<div style=3D"color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-s=
ize: 14px; ">
<br>
</div>
<div style=3D"color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-s=
ize: 14px; ">
<br>
</div>
<span id=3D"OLK_SRC_BODY_SECTION" style=3D"color: rgb(0, 0, 0); font-size: =
14px; font-family: Calibri, sans-serif; ">
<div style=3D"font-family:Calibri; font-size:11pt; text-align:left; color:b=
lack; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM:=
 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid;=
 BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style=3D"font-weight:bold">From: </span>Michael Jones &lt;<a href=3D"=
mailto:michael_b_jones@hotmail.com">michael_b_jones@hotmail.com</a>&gt;<br>
<span style=3D"font-weight:bold">Date: </span>Monday, November 12, 2012 3:2=
5 PM<br>
<span style=3D"font-weight:bold">To: </span>Cisco Employee &lt;<a href=3D"m=
ailto:mcgrew@cisco.com">mcgrew@cisco.com</a>&gt;, &quot;<a href=3D"mailto:c=
frg@irtf.org">cfrg@irtf.org</a>&quot; &lt;<a href=3D"mailto:cfrg@irtf.org">=
cfrg@irtf.org</a>&gt;, &quot;<a href=3D"mailto:jose@ietf.org">jose@ietf.org=
</a>&quot;
 &lt;<a href=3D"mailto:jose@ietf.org">jose@ietf.org</a>&gt;<br>
<span style=3D"font-weight:bold">Subject: </span>RE: [jose] Authenticated E=
ncryption with AES-CBC and HMAC-SHA, version 01<br>
</div>
<div><br>
</div>
<blockquote id=3D"MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style=3D"BORDER-LEFT:=
 #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;">
<div><style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
<div class=3D"hmmessage">
<div dir=3D"ltr"><font size=3D"3" face=3D"Times New Roman"></font><br>
<p style=3D"margin: 0in 0in 0pt;" class=3D"MsoNormal"><span style=3D"color:=
 rgb(31, 73, 125); font-size: 11pt; font-family: Calibri, sans-serif; ">OK,=
 I admit that the way I phrased my request may not be exactly in line with =
the way the =93AEAD=94 terminology is used.<span style=3D"mso-spacerun: yes=
;">&nbsp;
</span>I can correct that. That=92s syntax.<span style=3D"mso-spacerun: yes=
;">&nbsp; </span>
I was using =93AEAD=94 as a shorthand for the working group=92s decision to=
 use only authenticated encryption algorithms =96 not to mean the particula=
r combined representation of those parameters apparently specified in the A=
EAD draft.<span style=3D"mso-spacerun: yes;">&nbsp;
</span>I will correct the terminology usage in the next revision of the JOS=
E specifications.</span></p>
<font size=3D"3" face=3D"Times New Roman"></font><br>
<p style=3D"margin: 0in 0in 0pt;" class=3D"MsoNormal"><span style=3D"color:=
 rgb(31, 73, 125); font-size: 11pt; font-family: Calibri, sans-serif; ">The=
 semantic point remains that it=92s cleaner and more flexible to have the K=
ey, the Plaintext, IV, and =93additional authenticated
 data=94 parameters all be separate inputs and the Ciphertext and =93authen=
tication tag=94 all be separate outputs.<span style=3D"mso-spacerun: yes;">=
&nbsp;</span>In JOSE=92s particular use case, that would be a significantly=
 better match and easier for implementers to use.</span></p>
<font size=3D"3" face=3D"Times New Roman"></font>
<div dir=3D"ltr"><br>
</div>
<br>
<p style=3D"margin: 0in 0in 0pt;" class=3D"MsoNormal"><span style=3D"color:=
 rgb(31, 73, 125); font-size: 11pt; font-family: Calibri, sans-serif; ">JOS=
E already has a way of combining the inputs and outputs that=92s inherent t=
o its representation, and it doesn=92t match
 the one you=92ve specified.<span style=3D"mso-spacerun: yes;">&nbsp; </spa=
n>GCM, CTR, and the current JOSE-specified algorithms are a great fit for t=
his, as they can directly use that representation.<span style=3D"mso-spacer=
un: yes;">&nbsp;
</span>The AEAD pattern you cite requires disassembly of the components of =
the AEAD-specific representation to be able to use the combinations already=
 present in the JOSE representations and then reassembly at decryption time=
.<span style=3D"mso-spacerun: yes;">&nbsp;
</span>That=92s just more work for implementers, and it=92s not semanticall=
y necessary work.</span></p>
</div>
</div>
</div>
</blockquote>
</span>
<div style=3D"color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-s=
ize: 14px; ">
<br>
</div>
<div style=3D"color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-s=
ize: 14px; ">
One could just as easily argue that&nbsp;the unnecessary work comes from th=
e fact that&nbsp;draft-ietf-jose-json-web-algorithms-07 defines its own AEA=
D algorithms, which do not use the RFC 5116 interface. &nbsp; The draft con=
fusingly references that RFC after it defines AEAD,
 but then does something different. &nbsp; If the plan is really going to b=
e for the JOSE WG to define its own AEAD algorithms that are incompatible (=
which I hope is not the case), the differences and motivation deserve to be=
 documented. &nbsp;</div>
<div style=3D"color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-s=
ize: 14px; ">
<br>
</div>
<div style=3D"color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-s=
ize: 14px; ">
The motivation for 5116 incorporating the authentication data into the ciph=
ertext was to simplify the interface and move more of the crypto details un=
der the crypto interface. &nbsp; These are still valid motivations, though =
at this point the most important reason
 to use the interface is to avoid gratuitous incompatibility. &nbsp;Other p=
rotocols have not had any trouble in using the 5116 interface; See RFC 5288=
 (TLSv1.2) Section 6.2.3.3, RFC 5647 (SSH GCM), or&nbsp;draft-ietf-avtcore-=
srtp-aes-gcm, for instance. &nbsp;</div>
<div style=3D"color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-s=
ize: 14px; ">
<br>
</div>
<span id=3D"OLK_SRC_BODY_SECTION" style=3D"color: rgb(0, 0, 0); font-size: =
14px; font-family: Calibri, sans-serif; ">
<blockquote id=3D"MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style=3D"BORDER-LEFT:=
 #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;">
<div>
<div class=3D"hmmessage">
<div dir=3D"ltr"><font size=3D"3" face=3D"Times New Roman"></font><br>
<p style=3D"margin: 0in 0in 0pt;" class=3D"MsoNormal"><span style=3D"color:=
 rgb(31, 73, 125); font-size: 11pt; font-family: Calibri, sans-serif; ">Are=
 you open to specifying versions of your algorithms that don=92t require a =
particular combination method for the parameters,
 but instead leave the combination up to the use case?<span style=3D"mso-sp=
acerun: yes;">&nbsp;
</span>I=92m fine with you also specifying a specific combination method as=
 an optional feature of the specification.
<span style=3D"mso-spacerun: yes;">&nbsp;</span>But it shouldn=92t be part =
of the algorithm definition, just like it isn=92t for GCM.</span></p>
</div>
</div>
</div>
</blockquote>
</span>
<div style=3D"color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-s=
ize: 14px; ">
<br>
</div>
<div style=3D"color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-s=
ize: 14px; ">
I am not dogmatically opposed to other interfaces, but the best solution he=
re is for JOSE to actually use the 5116 interface, like this:</div>
<div style=3D"color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-s=
ize: 14px; ">
<br>
</div>
<div>
<div><font class=3D"Apple-style-span" face=3D"Calibri,sans-serif">X.Y. Auth=
enticated Encryption</font></div>
<div><font class=3D"Apple-style-span" face=3D"Calibri,sans-serif"><br>
</font></div>
<div><font class=3D"Apple-style-span" face=3D"Calibri,sans-serif">&nbsp; &n=
bsp;This section defines the specifics of encrypting the JWE Plaintext</fon=
t></div>
<div><font class=3D"Apple-style-span" face=3D"Calibri,sans-serif">&nbsp; &n=
bsp;Using the Authenticated Encryption with Associated Data (AEAD)</font></=
div>
<div><font class=3D"Apple-style-span" face=3D"Calibri,sans-serif">&nbsp; &n=
bsp;as defined in RFC 5116. &nbsp;</font><span class=3D"Apple-style-span" s=
tyle=3D"font-family: Calibri, sans-serif; ">&nbsp;</span><span class=3D"App=
le-style-span" style=3D"font-family: Calibri, sans-serif; ">The
 authenticated encryption operation&nbsp;</span></div>
<div><span class=3D"Apple-style-span" style=3D"font-family: Calibri, sans-s=
erif; ">&nbsp; &nbsp;has four inputs, as follows:</span></div>
<div><font class=3D"Apple-style-span" face=3D"Calibri,sans-serif">
<div><br>
</div>
<div>&nbsp; &nbsp; &nbsp;The secret key is the CMK.</div>
<div><br>
</div>
</font><span class=3D"Apple-style-span" style=3D"font-family: Calibri, sans=
-serif; ">&nbsp; &nbsp; &nbsp;The associated data is the bytes of the ASCII=
 representation of the concatenation of</span><font class=3D"Apple-style-sp=
an" face=3D"Calibri,sans-serif">
<div>
<div>&nbsp; &nbsp; &nbsp;the Encoded JWE Header, a period ('.') character, =
the Encoded JWE</div>
<div>&nbsp; &nbsp; &nbsp;Encrypted Key, a second period character ('.'), an=
d the Encoded JWE</div>
<div>&nbsp; &nbsp; &nbsp;Initialization Vector, per Section 5 of the JWE sp=
ecification.</div>
</div>
<div><br>
</div>
</font><span class=3D"Apple-style-span" style=3D"font-family: Calibri, sans=
-serif; ">
<div>&nbsp; &nbsp; &nbsp; The plaintext , which contains the data to be enc=
rypted and</div>
<div>&nbsp; &nbsp; &nbsp; authenticated.</div>
</span><font class=3D"Apple-style-span" face=3D"Calibri,sans-serif">
<div><br>
</div>
</font><span class=3D"Apple-style-span" style=3D"font-family: Calibri, sans=
-serif; ">&nbsp; &nbsp; &nbsp; A nonce N, with a length of either 0 or 96 b=
its. &nbsp; If the length</span></div>
<div><font class=3D"Apple-style-span" face=3D"Calibri,sans-serif">&nbsp; &n=
bsp; &nbsp; is zero, the nonce is omitted. &nbsp;Otherwise, the nonce</font=
></div>
<div><font class=3D"Apple-style-span" face=3D"Calibri,sans-serif">&nbsp; &n=
bsp; &nbsp; is as described in Section 3 of RFC 5116. &nbsp;&nbsp;<br>
</font><font class=3D"Apple-style-span" face=3D"Calibri,sans-serif">
<div><br>
</div>
</font><font class=3D"Apple-style-span" face=3D"Calibri,sans-serif">
<div>&nbsp; &nbsp;There is a single output, the Ciphertext. &nbsp;</div>
</font><font class=3D"Apple-style-span" face=3D"Calibri,sans-serif">
<div><br>
</div>
</font></div>
<div><span class=3D"Apple-style-span" style=3D"font-family: Calibri, sans-s=
erif; ">&nbsp; &nbsp;The &quot;enc&quot; header</span><span class=3D"Apple-=
style-span" style=3D"font-family: Calibri, sans-serif; ">&nbsp; parameter v=
alues are set as follows:</span></div>
<div><span class=3D"Apple-style-span" style=3D"font-family: Calibri, sans-s=
erif; "><br>
</span></div>
<div><span class=3D"Apple-style-span" style=3D"font-family: Calibri, sans-s=
erif; ">&nbsp; &nbsp; &quot;enc&quot; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &n=
bsp; &nbsp; &nbsp; &nbsp;Algorithm &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp=
; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</span></div>
<div><font class=3D"Apple-style-span" face=3D"Calibri,sans-serif">&nbsp; &n=
bsp; ----------------------------------------------------------------------=
-</font></div>
<div><span class=3D"Apple-style-span" style=3D"font-family: Calibri, sans-s=
erif; ">&nbsp; &nbsp;&nbsp;</span><span class=3D"Apple-style-span" style=3D=
"font-family: Calibri, sans-serif; ">&quot;A128GCM&quot; &nbsp; &nbsp;&nbsp=
;AEAD_AES_128_GCM &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &=
nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span></div>
<div><span class=3D"Apple-style-span" style=3D"font-family: Calibri, sans-s=
erif; ">&nbsp; &nbsp; &quot;A256GCM&quot; &nbsp; &nbsp; AEAD_AES_256_GCM &n=
bsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</span></div>
<div><span class=3D"Apple-style-span" style=3D"font-family: Calibri, sans-s=
erif; ">&nbsp; &nbsp; &nbsp;&quot;A128CHS&quot; &nbsp; &nbsp; &nbsp;AEAD_AE=
S_128_CBC_HMAC_SHA_256 &nbsp; &nbsp;</span></div>
<div><span class=3D"Apple-style-span" style=3D"font-family: Calibri, sans-s=
erif; "></span></div>
</div>
<div><font class=3D"Apple-style-span" face=3D"Calibri,sans-serif">
<div style=3D"font-family: Calibri; "><span class=3D"Apple-style-span" styl=
e=3D"font-family: Calibri, sans-serif; ">&nbsp; &nbsp; &nbsp;&quot;A256CHS&=
quot; &nbsp; &nbsp; &nbsp;AEAD_AES_256_CBC_HMAC_SHA_512 &nbsp;</span></div>
<div>&nbsp; &nbsp; &nbsp; &quot;A128SIV&quot; &nbsp; &nbsp; &nbsp;AEAD_AES_=
SIV_CMAC_256</div>
<div>&nbsp; &nbsp; &nbsp; &quot;A256SIV&quot; &nbsp; &nbsp; &nbsp;AEAD_AES_=
SIV_CMAC_384</div>
</font></div>
<div><font class=3D"Apple-style-span" face=3D"Calibri,sans-serif"><br>
</font></div>
<div><font class=3D"Apple-style-span" face=3D"Calibri,sans-serif">&nbsp; &n=
bsp; &nbsp; See &lt;<a href=3D"http://www.iana.org/assignments/aead-paramet=
ers/aead-parameters.xml&gt;">http://www.iana.org/assignments/aead-parameter=
s/aead-parameters.xml&gt;</a>&nbsp;for the&nbsp;</font></div>
<div><font class=3D"Apple-style-span" face=3D"Calibri,sans-serif">&nbsp; &n=
bsp; &nbsp;references corresponding to</font><span class=3D"Apple-style-spa=
n" style=3D"font-family: Calibri, sans-serif; ">&nbsp;these symbolic names.=
 &nbsp;</span></div>
<div><font class=3D"Apple-style-span" face=3D"Calibri,sans-serif"><br>
</font></div>
<div><font class=3D"Apple-style-span" face=3D"Calibri,sans-serif">If we wan=
t to make actual progress on crypto interfaces, the thing that would be wor=
th doing is defining a simpler interface that moves the nonce details into =
the ciphertext (and thus away from the
 user). &nbsp; Moving the authentication data out of the ciphertext would b=
e movement in the wrong direction, in my opinion. &nbsp;&nbsp;</font></div>
<div><font class=3D"Apple-style-span" face=3D"Calibri,sans-serif"><br>
</font></div>
<div style=3D"color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-s=
ize: 14px; ">
David</div>
<div style=3D"color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-s=
ize: 14px; ">
<br>
</div>
<span id=3D"OLK_SRC_BODY_SECTION" style=3D"color: rgb(0, 0, 0); font-size: =
14px; font-family: Calibri, sans-serif; ">
<blockquote id=3D"MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style=3D"BORDER-LEFT:=
 #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;">
<div>
<div class=3D"hmmessage">
<div dir=3D"ltr"><font size=3D"3" face=3D"Times New Roman"></font><br>
<p style=3D"margin: 0in 0in 0pt;" class=3D"MsoNormal"><span style=3D"color:=
 rgb(31, 73, 125); font-size: 11pt; font-family: Calibri, sans-serif; "><sp=
an style=3D"mso-tab-count: 4;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;
</span>Best wishes,</span></p>
<p style=3D"margin: 0in 0in 0pt;" class=3D"MsoNormal"><span style=3D"color:=
 rgb(31, 73, 125); font-size: 11pt; font-family: Calibri, sans-serif; "><sp=
an style=3D"mso-tab-count: 4;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;
</span>-- Mike<!--?xml:namespace prefix =3D o ns =3D "urn:schemas-microsoft=
-com:office:office" /-->
<o:p></o:p></span></p>
<font size=3D"3" face=3D"Times New Roman"></font><br>
<font size=3D"3" face=3D"Times New Roman"></font><br>
<p style=3D"margin: 0in 0in 0pt;" class=3D"MsoNormal"><b><span style=3D"fon=
t-size: 10pt; font-family: Tahoma, sans-serif; ">From:</span></b><span styl=
e=3D"font-size: 10pt; font-family: Tahoma, sans-serif; "> David McGrew (mcg=
rew) [<a href=3D"mailto:mcgrew@cisco.com">mailto:mcgrew@cisco.com</a>]
<br>
<b>Sent:</b> Monday, November 12, 2012 11:43 AM<br>
<b>To:</b> Mike Jones; <a href=3D"mailto:cfrg@irtf.org">cfrg@irtf.org</a>; =
<a href=3D"mailto:jose@ietf.org">
jose@ietf.org</a><br>
<b>Subject:</b> Re: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-S=
HA, version 01<o:p></o:p></span></p>
<font size=3D"3" face=3D"Times New Roman"></font><br>
<p style=3D"margin: 0in 0in 0pt;" class=3D"MsoNormal"><span style=3D"color:=
 black; font-size: 10.5pt; font-family: Calibri, sans-serif; ">Hi Mike,</sp=
an></p>
<font size=3D"3" face=3D"Times New Roman"></font><br>
<p style=3D"margin: 0in 0in 0pt; mso-outline-level: 1;" class=3D"MsoNormal"=
><b><span style=3D"color: black; font-family: &quot;Calibri&quot;,&quot;san=
s-serif&quot;; font-size: 11pt; mso-fareast-font-family: &quot;Times New Ro=
man&quot;;"><span id=3D"OLK_SRC_BODY_SECTION">From:
</span></span></b><span style=3D"color: black; font-size: 11pt; font-family=
: Calibri, sans-serif; ">Mike Jones &lt;<a href=3D"mailto:Michael.Jones@mic=
rosoft.com"><font color=3D"#0000ff">Michael.Jones@microsoft.com</font></a>&=
gt;<br>
<b>Date: </b>Monday, November 12, 2012 1:55 PM<br>
<b>To: </b>Cisco Employee &lt;<a href=3D"mailto:mcgrew@cisco.com"><font col=
or=3D"#0000ff">mcgrew@cisco.com</font></a>&gt;, &quot;<a href=3D"mailto:cfr=
g@irtf.org"><font color=3D"#0000ff">cfrg@irtf.org</font></a>&quot; &lt;<a h=
ref=3D"mailto:cfrg@irtf.org"><font color=3D"#0000ff">cfrg@irtf.org</font></=
a>&gt;,
 &quot;<a href=3D"mailto:jose@ietf.org"><font color=3D"#0000ff">jose@ietf.o=
rg</font></a>&quot; &lt;<a href=3D"mailto:jose@ietf.org"><font color=3D"#00=
00ff">jose@ietf.org</font></a>&gt;<br>
<b>Subject: </b>RE: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-S=
HA, version 01<o:p></o:p></span></p>
<font size=3D"3" face=3D"Times New Roman"></font><br>
<p style=3D"margin: 0in 0in 0pt;" class=3D"MsoNormal"><span style=3D"color:=
 rgb(31, 73, 125); font-size: 11pt; font-family: Calibri, sans-serif; ">As =
background, if there was a version of this spec that did not assume that th=
e parameters would be concatenated together
 in a specific way, but left them as independent inputs and outputs, as AES=
 GCM and AES CTR do, it would be a better match for JOSE=92s use case.</spa=
n><span style=3D"color: black;"><o:p></o:p></span></p>
<font size=3D"3" face=3D"Times New Roman"></font>&nbsp;<br>
<p style=3D"margin: 0in 0in 0pt;" class=3D"MsoNormal"><span style=3D"color:=
 black; font-size: 10.5pt; font-family: Calibri, sans-serif; ">I believe th=
at what you are referring to is the inclusion of the authentication tag in =
the authenticated ciphertext. &nbsp; This is
 not just a property of draft-mcgrew-aead-aes-cbc-hmac-sha2; it is a featur=
e of all 19 of the AEAD algorithms that have been defined so far. &nbsp; Fo=
r comparison,&nbsp;draft-mcgrew-aead-aes-cbc-hmac-sha2 says&nbsp;<o:p></o:p=
></span></p>
<font size=3D"3" face=3D"Times New Roman"></font><br>
<p style=3D"margin: 0in 0in 0pt;" class=3D"MsoNormal"><span style=3D"color:=
 black; font-size: 10.5pt; font-family: Calibri, sans-serif; ">&nbsp; &nbsp=
; &nbsp; &nbsp;The AEAD Ciphertext consists of the string S, with the strin=
g T</span></p>
<p style=3D"margin: 0in 0in 0pt;" class=3D"MsoNormal"><span style=3D"color:=
 black; font-size: 10.5pt; font-family: Calibri, sans-serif; ">&nbsp; &nbsp=
; &nbsp; &nbsp;appended to it. &nbsp;This Ciphertext is returned as the out=
put of the</span></p>
<p style=3D"margin: 0in 0in 0pt;" class=3D"MsoNormal"><span style=3D"color:=
 black; font-size: 10.5pt; font-family: Calibri, sans-serif; ">&nbsp; &nbsp=
; &nbsp; &nbsp;AEAD encryption operation.<o:p></o:p></span></p>
<span style=3D"color: black; font-size: 10.5pt; font-family: Calibri, sans-=
serif; "></span><font size=3D"3" face=3D"Times New Roman"></font>&nbsp;<br>
<p style=3D"margin: 0in 0in 0pt;" class=3D"MsoNormal"><span style=3D"color:=
 black; font-size: 10.5pt; font-family: Calibri, sans-serif; ">Where S is t=
he ciphertext and T is the authentication tag. &nbsp;&nbsp;RFC 5116 says<o:=
p></o:p></span></p>
<font size=3D"3" face=3D"Times New Roman"></font><br>
<p style=3D"margin: 0in 0in 0pt;" class=3D"MsoNormal"><span style=3D"color:=
 black; font-size: 10.5pt; font-family: Calibri, sans-serif; ">&nbsp; &nbsp=
; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nb=
sp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;The AEAD_AES_128_GCM cip=
hertext is formed by</span></p>
<p style=3D"margin: 0in 0in 0pt;" class=3D"MsoNormal"><span style=3D"color:=
 black; font-size: 10.5pt; font-family: Calibri, sans-serif; ">&nbsp; &nbsp=
;appending the authentication tag provided as an output to the GCM</span></=
p>
<p style=3D"margin: 0in 0in 0pt;" class=3D"MsoNormal"><span style=3D"color:=
 black; font-size: 10.5pt; font-family: Calibri, sans-serif; ">&nbsp; &nbsp=
;encryption operation to the ciphertext that is output by that</span></p>
<p style=3D"margin: 0in 0in 0pt;" class=3D"MsoNormal"><span style=3D"color:=
 black; font-size: 10.5pt; font-family: Calibri, sans-serif; ">&nbsp; &nbsp=
;operation.&quot;<o:p></o:p></span></p>
<font size=3D"3" face=3D"Times New Roman"></font><br>
<p style=3D"margin: 0in 0in 0pt;" class=3D"MsoNormal"><span style=3D"color:=
 black; font-size: 10.5pt; font-family: Calibri, sans-serif; ">David<o:p></=
o:p></span></p>
<font size=3D"3" face=3D"Times New Roman"></font><br>
<p style=3D"margin: 0in 0in 0pt;" class=3D"MsoNormal"><span style=3D"color:=
 rgb(31, 73, 125); font-size: 11pt; font-family: Calibri, sans-serif; ">&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<!--?xml:namespa=
ce prefix =3D u5 /-->
<u5:p></u5:p></span><span style=3D"color: black;"><o:p></o:p></span></p>
<font size=3D"3" face=3D"Times New Roman"></font><br>
<div>
<div id=3D"SkyDrivePlaceholder"></div>
<hr id=3D"stopSpelling">
From: <a href=3D"mailto:mcgrew@cisco.com">mcgrew@cisco.com</a><br>
To: <a href=3D"mailto:cfrg@irtf.org">cfrg@irtf.org</a>; <a href=3D"mailto:j=
ose@ietf.org">
jose@ietf.org</a><br>
Date: Mon, 12 Nov 2012 18:20:57 &#43;0000<br>
CC: <a href=3D"mailto:Kenny.Paterson@rhul.ac.uk">Kenny.Paterson@rhul.ac.uk<=
/a><br>
Subject: [jose] Authenticated Encryption with AES-CBC and HMAC-SHA, version=
 01<br>
<br>
<div style=3D"color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-s=
ize: 14px;">
Hi,</div>
<div style=3D"color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-s=
ize: 14px;">
</div>
<div style=3D"color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-s=
ize: 14px;">
There is a new version of &quot;<span style=3D"font-size: medium;" class=3D=
"ecxApple-style-span">Authenticated Encryption with AES-CBC and HMAC-SHA&qu=
ot;, and&nbsp;</span>I would appreciate your review. &nbsp; It is online at=
 &lt;<a href=3D"https://datatracker.ietf.org/doc/draft-mcgrew-aead-aes-cbc-=
hmac-sha2/?include_text=3D1%3e" target=3D"_blank">https://datatracker.ietf.=
org/doc/draft-mcgrew-aead-aes-cbc-hmac-sha2/?include_text=3D1&gt;</a>&nbsp;
 &nbsp;The diff between the current and the previous version is available a=
t &lt;<a href=3D"http://www.ietf.org/rfcdiff?url2=3Ddraft-mcgrew-aead-aes-c=
bc-hmac-sha2-01%3e" target=3D"_blank">http://www.ietf.org/rfcdiff?url2=3Ddr=
aft-mcgrew-aead-aes-cbc-hmac-sha2-01&gt;</a></div>
<div style=3D"color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-s=
ize: 14px;">
</div>
<div style=3D"color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-s=
ize: 14px;">
This draft has been proposed for use in the JOSE WG &lt;<a href=3D"http://d=
atatracker.ietf.org/wg/jose/%3e" target=3D"_blank">http://datatracker.ietf.=
org/wg/jose/&gt;</a>&nbsp;, where its adoption would allow the working grou=
p to omit &quot;raw&quot; unauthenticated encryption, e.g.
 AES-CBC, and only include authenticated encryption. &nbsp; Thus I am askin=
g for your help in making&nbsp;</div>
<div style=3D"color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-s=
ize: 14px;">
</div>
<div style=3D"color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-s=
ize: 14px;">
John Foley generated test cases that correspond to the current version of t=
he draft, but I didn't include these in the draft because I did not yet get=
 confirmation from a second independent implementation. &nbsp; With hope, t=
here will not be any need for any normative
 changes, and I will include these after I get confirmation. &nbsp;</div>
<div style=3D"color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-s=
ize: 14px;">
</div>
<div style=3D"color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-s=
ize: 14px;">
Thanks,</div>
<div style=3D"color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-s=
ize: 14px;">
</div>
<div style=3D"color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-s=
ize: 14px;">
David</div>
<br>
_______________________________________________ jose mailing list <a href=
=3D"mailto:jose@ietf.org">
jose@ietf.org</a> <a href=3D"https://www.ietf.org/mailman/listinfo/jose">ht=
tps://www.ietf.org/mailman/listinfo/jose</a></div>
</div>
</div>
</div>
</blockquote>
</span>
</body>
</html>

--_000_747787E65E3FBD4E93F0EB2F14DB556B0F50ABF8xmbrcdx04ciscoc_--

From mcgrew@cisco.com  Mon Nov 12 15:39:36 2012
Return-Path: <mcgrew@cisco.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7A2C321F877F for <cfrg@ietfa.amsl.com>; Mon, 12 Nov 2012 15:39:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -110.561
X-Spam-Level: 
X-Spam-Status: No, score=-110.561 tagged_above=-999 required=5 tests=[AWL=0.038, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hWmw8vK-XocO for <cfrg@ietfa.amsl.com>; Mon, 12 Nov 2012 15:39:35 -0800 (PST)
Received: from rcdn-iport-2.cisco.com (rcdn-iport-2.cisco.com [173.37.86.73]) by ietfa.amsl.com (Postfix) with ESMTP id A9CD921F8696 for <cfrg@irtf.org>; Mon, 12 Nov 2012 15:39:35 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=2468; q=dns/txt; s=iport; t=1352763575; x=1353973175; h=from:to:cc:subject:date:message-id:in-reply-to: content-id:content-transfer-encoding:mime-version; bh=CfhQMd/wi5U9Z3cUDSDgdUCOlZv597bwG8WrdKDjZ5k=; b=RShkj5zpEIguV6Gn6a3VlEY4f/bSR7ey/HTqWfU6xcB2wi25fyK+yNX7 kxBE/Oxg095o51+vnFj3NuFR9AVTMUjsqFFN0/x3fAvV8rejdJmTWRg1d PE2kxLsBBGkTLIi9BBnKpVJPYfUkF1Pt+k3sLqQVZWaGEzkMyEXrbeTzU 8=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Av8EAG+HoVCtJV2c/2dsb2JhbABEw2OBCIIeAQEBAwESAQVhEgEIDgMDAQILHTkUCQgCBA4FCBqHYgaaBKANjBWDboF7YQOIJZwvgWuCYg2CGQ
X-IronPort-AV: E=McAfee;i="5400,1158,6894"; a="141455826"
Received: from rcdn-core-5.cisco.com ([173.37.93.156]) by rcdn-iport-2.cisco.com with ESMTP; 12 Nov 2012 23:39:35 +0000
Received: from xhc-aln-x15.cisco.com (xhc-aln-x15.cisco.com [173.36.12.89]) by rcdn-core-5.cisco.com (8.14.5/8.14.5) with ESMTP id qACNdY8V000976 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Mon, 12 Nov 2012 23:39:35 GMT
Received: from xmb-rcd-x04.cisco.com ([169.254.8.200]) by xhc-aln-x15.cisco.com ([173.36.12.89]) with mapi id 14.02.0318.001; Mon, 12 Nov 2012 17:39:34 -0600
From: "David McGrew (mcgrew)" <mcgrew@cisco.com>
To: Dan Harkins <dharkins@lounge.org>
Thread-Topic: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA, version 01
Thread-Index: AQHNwRNEN8doFmnIpEGgEt2l6seQrpfm7JkA
Date: Mon, 12 Nov 2012 23:39:33 +0000
Message-ID: <747787E65E3FBD4E93F0EB2F14DB556B0F50AC3E@xmb-rcd-x04.cisco.com>
In-Reply-To: <3bfc8545d5829d56d26ceafba6d8d1f3.squirrel@www.trepanning.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.2.1.120420
x-originating-ip: [10.117.10.228]
x-tm-as-product-ver: SMEX-10.2.0.1135-7.000.1014-19356.005
x-tm-as-result: No--40.253500-8.000000-31
x-tm-as-user-approved-sender: No
x-tm-as-user-blocked-sender: No
Content-Type: text/plain; charset="iso-8859-1"
Content-ID: <AB07704F1715384C885312219ECD65DA@cisco.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "cfrg@irtf.org" <cfrg@irtf.org>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA, version 01
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 12 Nov 2012 23:39:36 -0000

On 11/12/12 3:21 PM, "Dan Harkins" <dharkins@lounge.org> wrote:

>
>  Hi Mike,
>
>> From: Mike Jones
>> <Michael.Jones@microsoft.com<mailto:Michael.Jones@microsoft.com>>
>> Date: Monday, November 12, 2012 1:55 PM
>> To: Cisco Employee <mcgrew@cisco.com<mailto:mcgrew@cisco.com>>,
>> "cfrg@irtf.org<mailto:cfrg@irtf.org>"
>> <cfrg@irtf.org<mailto:cfrg@irtf.org>>,
>> "jose@ietf.org<mailto:jose@ietf.org>"
>> <jose@ietf.org<mailto:jose@ietf.org>>
>> Subject: RE: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA,
>> version 01
>>
>> As background, if there was a version of this spec that did not assume
>> that the parameters would be concatenated together in a specific way,
>>but
>> left them as independent inputs and outputs, as AES GCM and AES CTR do,
>>it
>> would be a better match for JOSE=B9s use case.
>
>  I encourage you to look into SIV mode, an AEAD scheme found in
>RFC 5297. SIV was defined by Rogaway and Shrimpton (in a paper
>found in the RFC) and is provably secure.
>
>  It takes a vector of input as additional authenticated data which will
>be authenticated, and a plaintext which will be authenticated and
>encrypted. It does not assume that the parameters are concatenated
>together, it's just a vector of separate inputs.
>
>  Additionally, SIV mode does not require a random IV/nonce. It works
>just fine if you have one, and it won't collapse if it is repeated (as GCM
>does) or is predictable (as CBC-HMAC does), and it works if you don't
>have, or want to have, one. In that fashion it is more robust than other
>AEAD schemes. The downside is that it's slower than GCM but is probably
>faster than CBC-HMAC with SHA2.

AES-SIV is in several ways technically superior to AES-CBC-HMAC-SHA.
However, the motivation to use the latter algorithm is its widespread
availability, as I understand it.   Mike and some other folks did a survey
of what crypto that is available.  (Perhaps someone can send a reference,
it is a good survey.)

Despite SIV's flexibility, it doesn't address Mike's complaint, because it
does not have an authentication tag that is separate from the ciphertext.
 Instead, it has the synthetic IV (which acts like an auth tag) combined
with the ciphertext.

As an aside, if SIV is used for JOSE, it can use the RFC 5116 interface
(see Sections 6.1-6.3 of the SIV RFC) and essentially would need to do so.
=20

David

>
>  regards,
>
>  Dan.
>
>
>


From dharkins@lounge.org  Mon Nov 12 16:06:45 2012
Return-Path: <dharkins@lounge.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B2F7921F875C for <cfrg@ietfa.amsl.com>; Mon, 12 Nov 2012 16:06:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.265
X-Spam-Level: 
X-Spam-Status: No, score=-6.265 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XdwXfALaraYA for <cfrg@ietfa.amsl.com>; Mon, 12 Nov 2012 16:06:45 -0800 (PST)
Received: from colo.trepanning.net (colo.trepanning.net [69.55.226.174]) by ietfa.amsl.com (Postfix) with ESMTP id 1F54421F8781 for <cfrg@irtf.org>; Mon, 12 Nov 2012 16:06:45 -0800 (PST)
Received: from www.trepanning.net (localhost [127.0.0.1]) by colo.trepanning.net (Postfix) with ESMTP id 42DAB1022400A; Mon, 12 Nov 2012 16:06:44 -0800 (PST)
Received: from 50.84.73.44 (SquirrelMail authenticated user dharkins@lounge.org) by www.trepanning.net with HTTP; Mon, 12 Nov 2012 16:06:44 -0800 (PST)
Message-ID: <20a4747903e232548d778f1f1d171868.squirrel@www.trepanning.net>
In-Reply-To: <747787E65E3FBD4E93F0EB2F14DB556B0F50AC3E@xmb-rcd-x04.cisco.com>
References: <747787E65E3FBD4E93F0EB2F14DB556B0F50AC3E@xmb-rcd-x04.cisco.com>
Date: Mon, 12 Nov 2012 16:06:44 -0800 (PST)
From: "Dan Harkins" <dharkins@lounge.org>
To: "David McGrew (mcgrew)" <mcgrew@cisco.com>
User-Agent: SquirrelMail/1.4.14 [SVN]
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
Cc: "cfrg@irtf.org" <cfrg@irtf.org>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA, version 01
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 13 Nov 2012 00:06:45 -0000

  Hi David,

On Mon, November 12, 2012 3:39 pm, David McGrew (mcgrew) wrote:
>
>
> On 11/12/12 3:21 PM, "Dan Harkins" <dharkins@lounge.org> wrote:
>
>>
>>  Hi Mike,
>>
>>> From: Mike Jones
>>> <Michael.Jones@microsoft.com<mailto:Michael.Jones@microsoft.com>>
>>> Date: Monday, November 12, 2012 1:55 PM
>>> To: Cisco Employee <mcgrew@cisco.com<mailto:mcgrew@cisco.com>>,
>>> "cfrg@irtf.org<mailto:cfrg@irtf.org>"
>>> <cfrg@irtf.org<mailto:cfrg@irtf.org>>,
>>> "jose@ietf.org<mailto:jose@ietf.org>"
>>> <jose@ietf.org<mailto:jose@ietf.org>>
>>> Subject: RE: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA,
>>> version 01
>>>
>>> As background, if there was a version of this spec that did not assume
>>> that the parameters would be concatenated together in a specific way,
>>>but
>>> left them as independent inputs and outputs, as AES GCM and AES CTR do,
>>>it
>>> would be a better match for JOSEąs use case.
>>
>>  I encourage you to look into SIV mode, an AEAD scheme found in
>>RFC 5297. SIV was defined by Rogaway and Shrimpton (in a paper
>>found in the RFC) and is provably secure.
>>
>>  It takes a vector of input as additional authenticated data which will
>>be authenticated, and a plaintext which will be authenticated and
>>encrypted. It does not assume that the parameters are concatenated
>>together, it's just a vector of separate inputs.
>>
>>  Additionally, SIV mode does not require a random IV/nonce. It works
>>just fine if you have one, and it won't collapse if it is repeated (as
>> GCM
>>does) or is predictable (as CBC-HMAC does), and it works if you don't
>>have, or want to have, one. In that fashion it is more robust than other
>>AEAD schemes. The downside is that it's slower than GCM but is probably
>>faster than CBC-HMAC with SHA2.
>
> AES-SIV is in several ways technically superior to AES-CBC-HMAC-SHA.
> However, the motivation to use the latter algorithm is its widespread
> availability, as I understand it.   Mike and some other folks did a survey
> of what crypto that is available.  (Perhaps someone can send a reference,
> it is a good survey.)

  Well, there is no widespread availability of AES-CBC-HMAC-SHA either.
There may be availability of AES-CBC and HMAC-SHA separately but then
there is, probably, availability of AES-CTR and AES-CMAC too and that
is all SIV is, a provably secure construction of those two primitives.

> Despite SIV's flexibility, it doesn't address Mike's complaint, because it
> does not have an authentication tag that is separate from the ciphertext.
>  Instead, it has the synthetic IV (which acts like an auth tag) combined
> with the ciphertext.

  Ahh, I missed that. But I think that is probably a trivial complaint of
any 5116 AEAD scheme. It should be straightforward to extract the
specific sub-string from the bitstring returned by any of the appropriate
schemes if he wants to copy the IV/MAC/tag/whatever into a field that
is separate from the encrypted plaintext.

> As an aside, if SIV is used for JOSE, it can use the RFC 5116 interface
> (see Sections 6.1-6.3 of the SIV RFC) and essentially would need to do so.

  Good point!

  Regards,

  Dan.

> David
>
>>
>>  regards,
>>
>>  Dan.
>>
>>
>>
>
>


From michael_b_jones@hotmail.com  Mon Nov 12 17:36:52 2012
Return-Path: <michael_b_jones@hotmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 32A0C21F87E7 for <cfrg@ietfa.amsl.com>; Mon, 12 Nov 2012 17:36:52 -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.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id A3PsHSHMlLlM for <cfrg@ietfa.amsl.com>; Mon, 12 Nov 2012 17:36:50 -0800 (PST)
Received: from col0-omc4-s3.col0.hotmail.com (col0-omc4-s3.col0.hotmail.com [65.55.34.205]) by ietfa.amsl.com (Postfix) with ESMTP id 534C921F87AF for <cfrg@irtf.org>; Mon, 12 Nov 2012 17:36:50 -0800 (PST)
Received: from COL401-EAS436 ([65.55.34.199]) by col0-omc4-s3.col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675);  Mon, 12 Nov 2012 17:36:49 -0800
X-Originating-IP: [32.173.214.130]
X-EIP: [RksFGqcBip46A6Ga1yMGpVuM3wAb7cN8]
X-Originating-Email: [michael_b_jones@hotmail.com]
Message-ID: <COL401-EAS43662A8306BCEC1B0D90909B76C0@phx.gbl>
Content-Type: multipart/alternative; boundary="_c18d8d59-6f64-4747-8f62-240c572c3402_"
MIME-Version: 1.0
From: Michael Jones <michael_b_jones@hotmail.com>
Date: Mon, 12 Nov 2012 17:36:33 -0800
To: "David McGrew (mcgrew)" <mcgrew@cisco.com>, "cfrg@irtf.org" <cfrg@irtf.org>, "jose@ietf.org" <jose@ietf.org>
X-OriginalArrivalTime: 13 Nov 2012 01:36:49.0811 (UTC) FILETIME=[59D90E30:01CDC13F]
Subject: Re: [Cfrg] [jose] Authenticated Encryption with AES-CBC and HMAC-SHA, version 01
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 13 Nov 2012 01:36:52 -0000

--_c18d8d59-6f64-4747-8f62-240c572c3402_
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Believe me=2C if there were out of the box AEAD algorithm implementations a=
vailable in most crypto libraries=2C I'd be eager to use them.  As it is th=
ough=2C all we can count on really being there are AES CBC and SHA-2. The J=
WE algs are intended to be as easy to securely and interoperably implement =
with those building blocks as possible.

Remember that implementers will be building these algorithms from those par=
ts themselves. A key JOSE goal is making that prospect both approachable an=
d attractive.  That's my primary motivation in all of these (very useful) d=
iscussions.  I'm sure that's a goal we all share.

Cheers=2C
-- Mike

Sent from my Windows Phone
________________________________
From: David McGrew (mcgrew)
Sent: 11/12/2012 3:20 PM
To: Michael Jones=3B cfrg@irtf.org=3B jose@ietf.org
Cc: Paterson=2C Kenny
Subject: Re: [jose] Authenticated Encryption with AES-CBC and HMAC-SHA=2C v=
ersion 01



From: Michael Jones <michael_b_jones@hotmail.com<mailto:michael_b_jones@hot=
mail.com>>
Date: Monday=2C November 12=2C 2012 3:25 PM
To: Cisco Employee <mcgrew@cisco.com<mailto:mcgrew@cisco.com>>=2C "cfrg@irt=
f.org<mailto:cfrg@irtf.org>" <cfrg@irtf.org<mailto:cfrg@irtf.org>>=2C "jose=
@ietf.org<mailto:jose@ietf.org>" <jose@ietf.org<mailto:jose@ietf.org>>
Subject: RE: [jose] Authenticated Encryption with AES-CBC and HMAC-SHA=2C v=
ersion 01


OK=2C I admit that the way I phrased my request may not be exactly in line =
with the way the =E2=80=9CAEAD=E2=80=9D terminology is used.  I can correct=
 that. That=E2=80=99s syntax.  I was using =E2=80=9CAEAD=E2=80=9D as a shor=
thand for the working group=E2=80=99s decision to use only authenticated en=
cryption algorithms =E2=80=93 not to mean the particular combined represent=
ation of those parameters apparently specified in the AEAD draft.  I will c=
orrect the terminology usage in the next revision of the JOSE specification=
s.

The semantic point remains that it=E2=80=99s cleaner and more flexible to h=
ave the Key=2C the Plaintext=2C IV=2C and =E2=80=9Cadditional authenticated=
 data=E2=80=9D parameters all be separate inputs and the Ciphertext and =E2=
=80=9Cauthentication tag=E2=80=9D all be separate outputs. In JOSE=E2=80=99=
s particular use case=2C that would be a significantly better match and eas=
ier for implementers to use.


JOSE already has a way of combining the inputs and outputs that=E2=80=99s i=
nherent to its representation=2C and it doesn=E2=80=99t match the one you=
=E2=80=99ve specified.  GCM=2C CTR=2C and the current JOSE-specified algori=
thms are a great fit for this=2C as they can directly use that representati=
on.  The AEAD pattern you cite requires disassembly of the components of th=
e AEAD-specific representation to be able to use the combinations already p=
resent in the JOSE representations and then reassembly at decryption time. =
 That=E2=80=99s just more work for implementers=2C and it=E2=80=99s not sem=
antically necessary work.

One could just as easily argue that the unnecessary work comes from the fac=
t that draft-ietf-jose-json-web-algorithms-07 defines its own AEAD algorith=
ms=2C which do not use the RFC 5116 interface.   The draft confusingly refe=
rences that RFC after it defines AEAD=2C but then does something different.=
   If the plan is really going to be for the JOSE WG to define its own AEAD=
 algorithms that are incompatible (which I hope is not the case)=2C the dif=
ferences and motivation deserve to be documented.

The motivation for 5116 incorporating the authentication data into the ciph=
ertext was to simplify the interface and move more of the crypto details un=
der the crypto interface.   These are still valid motivations=2C though at =
this point the most important reason to use the interface is to avoid gratu=
itous incompatibility.  Other protocols have not had any trouble in using t=
he 5116 interface=3B See RFC 5288 (TLSv1.2) Section 6.2.3.3=2C RFC 5647 (SS=
H GCM)=2C or draft-ietf-avtcore-srtp-aes-gcm=2C for instance.


Are you open to specifying versions of your algorithms that don=E2=80=99t r=
equire a particular combination method for the parameters=2C but instead le=
ave the combination up to the use case?  I=E2=80=99m fine with you also spe=
cifying a specific combination method as an optional feature of the specifi=
cation.  But it shouldn=E2=80=99t be part of the algorithm definition=2C ju=
st like it isn=E2=80=99t for GCM.

I am not dogmatically opposed to other interfaces=2C but the best solution =
here is for JOSE to actually use the 5116 interface=2C like this:

X.Y. Authenticated Encryption

   This section defines the specifics of encrypting the JWE Plaintext
   Using the Authenticated Encryption with Associated Data (AEAD)
   as defined in RFC 5116.   The authenticated encryption operation
   has four inputs=2C as follows:

     The secret key is the CMK.

     The associated data is the bytes of the ASCII representation of the co=
ncatenation of
     the Encoded JWE Header=2C a period ('.') character=2C the Encoded JWE
     Encrypted Key=2C a second period character ('.')=2C and the Encoded JW=
E
     Initialization Vector=2C per Section 5 of the JWE specification.

      The plaintext =2C which contains the data to be encrypted and
      authenticated.

      A nonce N=2C with a length of either 0 or 96 bits.   If the length
      is zero=2C the nonce is omitted.  Otherwise=2C the nonce
      is as described in Section 3 of RFC 5116.

   There is a single output=2C the Ciphertext.

   The "enc" header  parameter values are set as follows:

    "enc"                  Algorithm
    -----------------------------------------------------------------------
    "A128GCM"     AEAD_AES_128_GCM
    "A256GCM"     AEAD_AES_256_GCM
     "A128CHS"      AEAD_AES_128_CBC_HMAC_SHA_256
     "A256CHS"      AEAD_AES_256_CBC_HMAC_SHA_512
      "A128SIV"      AEAD_AES_SIV_CMAC_256
      "A256SIV"      AEAD_AES_SIV_CMAC_384

      See <http://www.iana.org/assignments/aead-parameters/aead-parameters.=
xml> for the
     references corresponding to these symbolic names.

If we want to make actual progress on crypto interfaces=2C the thing that w=
ould be worth doing is defining a simpler interface that moves the nonce de=
tails into the ciphertext (and thus away from the user).   Moving the authe=
ntication data out of the ciphertext would be movement in the wrong directi=
on=2C in my opinion.

David


                                                            Best wishes=2C
                                                            -- Mike


From: David McGrew (mcgrew) [mailto:mcgrew@cisco.com]
Sent: Monday=2C November 12=2C 2012 11:43 AM
To: Mike Jones=3B cfrg@irtf.org<mailto:cfrg@irtf.org>=3B jose@ietf.org<mail=
to:jose@ietf.org>
Subject: Re: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA=2C v=
ersion 01

Hi Mike=2C

From: Mike Jones <Michael.Jones@microsoft.com<mailto:Michael.Jones@microsof=
t.com>>
Date: Monday=2C November 12=2C 2012 1:55 PM
To: Cisco Employee <mcgrew@cisco.com<mailto:mcgrew@cisco.com>>=2C "cfrg@irt=
f.org<mailto:cfrg@irtf.org>" <cfrg@irtf.org<mailto:cfrg@irtf.org>>=2C "jose=
@ietf.org<mailto:jose@ietf.org>" <jose@ietf.org<mailto:jose@ietf.org>>
Subject: RE: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA=2C v=
ersion 01

As background=2C if there was a version of this spec that did not assume th=
at the parameters would be concatenated together in a specific way=2C but l=
eft them as independent inputs and outputs=2C as AES GCM and AES CTR do=2C =
it would be a better match for JOSE=E2=80=99s use case.

I believe that what you are referring to is the inclusion of the authentica=
tion tag in the authenticated ciphertext.   This is not just a property of =
draft-mcgrew-aead-aes-cbc-hmac-sha2=3B it is a feature of all 19 of the AEA=
D algorithms that have been defined so far.   For comparison=2C draft-mcgre=
w-aead-aes-cbc-hmac-sha2 says

       The AEAD Ciphertext consists of the string S=2C with the string T
       appended to it.  This Ciphertext is returned as the output of the
       AEAD encryption operation.

Where S is the ciphertext and T is the authentication tag.   RFC 5116 says

                                     "The AEAD_AES_128_GCM ciphertext is fo=
rmed by
   appending the authentication tag provided as an output to the GCM
   encryption operation to the ciphertext that is output by that
   operation."

David

                                                            -- Mike

________________________________
From: mcgrew@cisco.com<mailto:mcgrew@cisco.com>
To: cfrg@irtf.org<mailto:cfrg@irtf.org>=3B jose@ietf.org<mailto:jose@ietf.o=
rg>
Date: Mon=2C 12 Nov 2012 18:20:57 +0000
CC: Kenny.Paterson@rhul.ac.uk<mailto:Kenny.Paterson@rhul.ac.uk>
Subject: [jose] Authenticated Encryption with AES-CBC and HMAC-SHA=2C versi=
on 01

Hi=2C
There is a new version of "Authenticated Encryption with AES-CBC and HMAC-S=
HA"=2C and I would appreciate your review.   It is online at <https://datat=
racker.ietf.org/doc/draft-mcgrew-aead-aes-cbc-hmac-sha2/?include_text=3D1><=
https://datatracker.ietf.org/doc/draft-mcgrew-aead-aes-cbc-hmac-sha2/?inclu=
de_text=3D1%3e>   The diff between the current and the previous version is =
available at <http://www.ietf.org/rfcdiff?url2=3Ddraft-mcgrew-aead-aes-cbc-=
hmac-sha2-01><http://www.ietf.org/rfcdiff?url2=3Ddraft-mcgrew-aead-aes-cbc-=
hmac-sha2-01%3e>
This draft has been proposed for use in the JOSE WG <http://datatracker.iet=
f.org/wg/jose/><http://datatracker.ietf.org/wg/jose/%3e> =2C where its adop=
tion would allow the working group to omit "raw" unauthenticated encryption=
=2C e.g. AES-CBC=2C and only include authenticated encryption.   Thus I am =
asking for your help in making
John Foley generated test cases that correspond to the current version of t=
he draft=2C but I didn't include these in the draft because I did not yet g=
et confirmation from a second independent implementation.   With hope=2C th=
ere will not be any need for any normative changes=2C and I will include th=
ese after I get confirmation.
Thanks=2C
David

_______________________________________________ jose mailing list jose@ietf=
.org<mailto:jose@ietf.org> https://www.ietf.org/mailman/listinfo/jose

--_c18d8d59-6f64-4747-8f62-240c572c3402_
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset="utf-8"

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html=3B charset=3Dutf-8">
</head>
<body>
<div>
<div style=3D"font-family: Calibri=2Csans-serif=3B font-size: 11pt=3B">Beli=
eve me=2C if there were out of the box AEAD algorithm implementations avail=
able in most crypto libraries=2C I'd be eager to use them.&nbsp=3B As it is=
 though=2C all we can count on really being there are
 AES CBC and SHA-2. The JWE algs are intended to be as easy to securely and=
 interoperably implement with those building blocks as possible.<br>
<br>
Remember that implementers will be building these algorithms from those par=
ts themselves. A key JOSE goal is making that prospect both approachable an=
d attractive.&nbsp=3B That's my primary motivation in all of these (very us=
eful) discussions.&nbsp=3B I'm sure that's a goal
 we all share.<br>
<br>
Cheers=2C<br>
-- Mike<br>
<br>
Sent from my Windows Phone<br>
</div>
</div>
<hr>
<span style=3D"font-family: Tahoma=2Csans-serif=3B font-size: 10pt=3B font-=
weight: bold=3B">From:
</span><span style=3D"font-family: Tahoma=2Csans-serif=3B font-size: 10pt=
=3B">David McGrew (mcgrew)</span><br>
<span style=3D"font-family: Tahoma=2Csans-serif=3B font-size: 10pt=3B font-=
weight: bold=3B">Sent:
</span><span style=3D"font-family: Tahoma=2Csans-serif=3B font-size: 10pt=
=3B">11/12/2012 3:20 PM</span><br>
<span style=3D"font-family: Tahoma=2Csans-serif=3B font-size: 10pt=3B font-=
weight: bold=3B">To:
</span><span style=3D"font-family: Tahoma=2Csans-serif=3B font-size: 10pt=
=3B">Michael Jones=3B cfrg@irtf.org=3B jose@ietf.org</span><br>
<span style=3D"font-family: Tahoma=2Csans-serif=3B font-size: 10pt=3B font-=
weight: bold=3B">Cc:
</span><span style=3D"font-family: Tahoma=2Csans-serif=3B font-size: 10pt=
=3B">Paterson=2C Kenny</span><br>
<span style=3D"font-family: Tahoma=2Csans-serif=3B font-size: 10pt=3B font-=
weight: bold=3B">Subject:
</span><span style=3D"font-family: Tahoma=2Csans-serif=3B font-size: 10pt=
=3B">Re: [jose] Authenticated Encryption with AES-CBC and HMAC-SHA=2C versi=
on 01</span><br>
<br>
<div style=3D"word-wrap:break-word">
<div style=3D"color:rgb(0=2C0=2C0)=3B font-family:Calibri=2Csans-serif=3B f=
ont-size:14px"><br>
</div>
<div style=3D"color:rgb(0=2C0=2C0)=3B font-family:Calibri=2Csans-serif=3B f=
ont-size:14px"><br>
</div>
<span id=3D"x_OLK_SRC_BODY_SECTION" style=3D"color:rgb(0=2C0=2C0)=3B font-s=
ize:14px=3B font-family:Calibri=2Csans-serif">
<div style=3D"font-family:Calibri=3B font-size:11pt=3B text-align:left=3B c=
olor:black=3B border-bottom:medium none=3B border-left:medium none=3B paddi=
ng-bottom:0in=3B padding-left:0in=3B padding-right:0in=3B border-top:#b5c4d=
f 1pt solid=3B border-right:medium none=3B padding-top:3pt">
<span style=3D"font-weight:bold">From: </span>Michael Jones &lt=3B<a href=
=3D"mailto:michael_b_jones@hotmail.com">michael_b_jones@hotmail.com</a>&gt=
=3B<br>
<span style=3D"font-weight:bold">Date: </span>Monday=2C November 12=2C 2012=
 3:25 PM<br>
<span style=3D"font-weight:bold">To: </span>Cisco Employee &lt=3B<a href=3D=
"mailto:mcgrew@cisco.com">mcgrew@cisco.com</a>&gt=3B=2C &quot=3B<a href=3D"=
mailto:cfrg@irtf.org">cfrg@irtf.org</a>&quot=3B &lt=3B<a href=3D"mailto:cfr=
g@irtf.org">cfrg@irtf.org</a>&gt=3B=2C &quot=3B<a href=3D"mailto:jose@ietf.=
org">jose@ietf.org</a>&quot=3B
 &lt=3B<a href=3D"mailto:jose@ietf.org">jose@ietf.org</a>&gt=3B<br>
<span style=3D"font-weight:bold">Subject: </span>RE: [jose] Authenticated E=
ncryption with AES-CBC and HMAC-SHA=2C version 01<br>
</div>
<div><br>
</div>
<blockquote id=3D"x_MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style=3D"border-lef=
t:#b5c4df 5 solid=3B padding:0 0 0 5=3B margin:0 0 0 5">
<div><style>
<!--
.x_hmmessage=20
	{margin:0px=3B
	padding:0px}
body.x_hmmessage
	{font-size:10pt=3B
	font-family:Tahoma}
-->
</style>
<div class=3D"x_hmmessage">
<div dir=3D"ltr"><font size=3D"3" face=3D"Times New Roman"></font><br>
<p class=3D"x_MsoNormal" style=3D"margin:0in 0in 0pt"><span style=3D"color:=
rgb(31=2C73=2C125)=3B font-size:11pt=3B font-family:Calibri=2Csans-serif">O=
K=2C I admit that the way I phrased my request may not be exactly in line w=
ith the way the =E2=80=9CAEAD=E2=80=9D terminology is used.<span style=3D""=
>&nbsp=3B
</span>I can correct that. That=E2=80=99s syntax.<span style=3D"">&nbsp=3B =
</span>I was using =E2=80=9CAEAD=E2=80=9D as a shorthand for the working gr=
oup=E2=80=99s decision to use only authenticated encryption algorithms =E2=
=80=93 not to mean the particular combined representation of those paramete=
rs apparently
 specified in the AEAD draft.<span style=3D"">&nbsp=3B </span>I will correc=
t the terminology usage in the next revision of the JOSE specifications.</s=
pan></p>
<font size=3D"3" face=3D"Times New Roman"></font><br>
<p class=3D"x_MsoNormal" style=3D"margin:0in 0in 0pt"><span style=3D"color:=
rgb(31=2C73=2C125)=3B font-size:11pt=3B font-family:Calibri=2Csans-serif">T=
he semantic point remains that it=E2=80=99s cleaner and more flexible to ha=
ve the Key=2C the Plaintext=2C IV=2C and =E2=80=9Cadditional authenticated
 data=E2=80=9D parameters all be separate inputs and the Ciphertext and =E2=
=80=9Cauthentication tag=E2=80=9D all be separate outputs.<span style=3D"">=
&nbsp=3B</span>In JOSE=E2=80=99s particular use case=2C that would be a sig=
nificantly better match and easier for implementers to use.</span></p>
<font size=3D"3" face=3D"Times New Roman"></font>
<div dir=3D"ltr"><br>
</div>
<br>
<p class=3D"x_MsoNormal" style=3D"margin:0in 0in 0pt"><span style=3D"color:=
rgb(31=2C73=2C125)=3B font-size:11pt=3B font-family:Calibri=2Csans-serif">J=
OSE already has a way of combining the inputs and outputs that=E2=80=99s in=
herent to its representation=2C and it doesn=E2=80=99t match the one
 you=E2=80=99ve specified.<span style=3D"">&nbsp=3B </span>GCM=2C CTR=2C an=
d the current JOSE-specified algorithms are a great fit for this=2C as they=
 can directly use that representation.<span style=3D"">&nbsp=3B
</span>The AEAD pattern you cite requires disassembly of the components of =
the AEAD-specific representation to be able to use the combinations already=
 present in the JOSE representations and then reassembly at decryption time=
.<span style=3D"">&nbsp=3B
</span>That=E2=80=99s just more work for implementers=2C and it=E2=80=99s n=
ot semantically necessary work.</span></p>
</div>
</div>
</div>
</blockquote>
</span>
<div style=3D"color:rgb(0=2C0=2C0)=3B font-family:Calibri=2Csans-serif=3B f=
ont-size:14px"><br>
</div>
<div style=3D"color:rgb(0=2C0=2C0)=3B font-family:Calibri=2Csans-serif=3B f=
ont-size:14px">One could just as easily argue that&nbsp=3Bthe unnecessary w=
ork comes from the fact that&nbsp=3Bdraft-ietf-jose-json-web-algorithms-07 =
defines its own AEAD algorithms=2C which do not use the RFC
 5116 interface. &nbsp=3B The draft confusingly references that RFC after i=
t defines AEAD=2C but then does something different. &nbsp=3B If the plan i=
s really going to be for the JOSE WG to define its own AEAD algorithms that=
 are incompatible (which I hope is not the case)=2C
 the differences and motivation deserve to be documented. &nbsp=3B</div>
<div style=3D"color:rgb(0=2C0=2C0)=3B font-family:Calibri=2Csans-serif=3B f=
ont-size:14px"><br>
</div>
<div style=3D"color:rgb(0=2C0=2C0)=3B font-family:Calibri=2Csans-serif=3B f=
ont-size:14px">The motivation for 5116 incorporating the authentication dat=
a into the ciphertext was to simplify the interface and move more of the cr=
ypto details under the crypto interface. &nbsp=3B These
 are still valid motivations=2C though at this point the most important rea=
son to use the interface is to avoid gratuitous incompatibility. &nbsp=3BOt=
her protocols have not had any trouble in using the 5116 interface=3B See R=
FC 5288 (TLSv1.2) Section 6.2.3.3=2C RFC 5647
 (SSH GCM)=2C or&nbsp=3Bdraft-ietf-avtcore-srtp-aes-gcm=2C for instance. &n=
bsp=3B</div>
<div style=3D"color:rgb(0=2C0=2C0)=3B font-family:Calibri=2Csans-serif=3B f=
ont-size:14px"><br>
</div>
<span id=3D"x_OLK_SRC_BODY_SECTION" style=3D"color:rgb(0=2C0=2C0)=3B font-s=
ize:14px=3B font-family:Calibri=2Csans-serif">
<blockquote id=3D"x_MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style=3D"border-lef=
t:#b5c4df 5 solid=3B padding:0 0 0 5=3B margin:0 0 0 5">
<div>
<div class=3D"x_hmmessage">
<div dir=3D"ltr"><font size=3D"3" face=3D"Times New Roman"></font><br>
<p class=3D"x_MsoNormal" style=3D"margin:0in 0in 0pt"><span style=3D"color:=
rgb(31=2C73=2C125)=3B font-size:11pt=3B font-family:Calibri=2Csans-serif">A=
re you open to specifying versions of your algorithms that don=E2=80=99t re=
quire a particular combination method for the parameters=2C
 but instead leave the combination up to the use case?<span style=3D"">&nbs=
p=3B </span>I=E2=80=99m fine with you also specifying a specific combinatio=
n method as an optional feature of the specification.
<span style=3D"">&nbsp=3B</span>But it shouldn=E2=80=99t be part of the alg=
orithm definition=2C just like it isn=E2=80=99t for GCM.</span></p>
</div>
</div>
</div>
</blockquote>
</span>
<div style=3D"color:rgb(0=2C0=2C0)=3B font-family:Calibri=2Csans-serif=3B f=
ont-size:14px"><br>
</div>
<div style=3D"color:rgb(0=2C0=2C0)=3B font-family:Calibri=2Csans-serif=3B f=
ont-size:14px">I am not dogmatically opposed to other interfaces=2C but the=
 best solution here is for JOSE to actually use the 5116 interface=2C like =
this:</div>
<div style=3D"color:rgb(0=2C0=2C0)=3B font-family:Calibri=2Csans-serif=3B f=
ont-size:14px"><br>
</div>
<div>
<div><font class=3D"x_Apple-style-span" face=3D"Calibri=2Csans-serif">X.Y. =
Authenticated Encryption</font></div>
<div><font class=3D"x_Apple-style-span" face=3D"Calibri=2Csans-serif"><br>
</font></div>
<div><font class=3D"x_Apple-style-span" face=3D"Calibri=2Csans-serif">&nbsp=
=3B &nbsp=3BThis section defines the specifics of encrypting the JWE Plaint=
ext</font></div>
<div><font class=3D"x_Apple-style-span" face=3D"Calibri=2Csans-serif">&nbsp=
=3B &nbsp=3BUsing the Authenticated Encryption with Associated Data (AEAD)<=
/font></div>
<div><font class=3D"x_Apple-style-span" face=3D"Calibri=2Csans-serif">&nbsp=
=3B &nbsp=3Bas defined in RFC 5116. &nbsp=3B</font><span class=3D"x_Apple-s=
tyle-span" style=3D"font-family:Calibri=2Csans-serif">&nbsp=3B</span><span =
class=3D"x_Apple-style-span" style=3D"font-family:Calibri=2Csans-serif">The=
 authenticated
 encryption operation&nbsp=3B</span></div>
<div><span class=3D"x_Apple-style-span" style=3D"font-family:Calibri=2Csans=
-serif">&nbsp=3B &nbsp=3Bhas four inputs=2C as follows:</span></div>
<div><font class=3D"x_Apple-style-span" face=3D"Calibri=2Csans-serif">
<div><br>
</div>
<div>&nbsp=3B &nbsp=3B &nbsp=3BThe secret key is the CMK.</div>
<div><br>
</div>
</font><span class=3D"x_Apple-style-span" style=3D"font-family:Calibri=2Csa=
ns-serif">&nbsp=3B &nbsp=3B &nbsp=3BThe associated data is the bytes of the=
 ASCII representation of the concatenation of</span><font class=3D"x_Apple-=
style-span" face=3D"Calibri=2Csans-serif">
<div>
<div>&nbsp=3B &nbsp=3B &nbsp=3Bthe Encoded JWE Header=2C a period ('.') cha=
racter=2C the Encoded JWE</div>
<div>&nbsp=3B &nbsp=3B &nbsp=3BEncrypted Key=2C a second period character (=
'.')=2C and the Encoded JWE</div>
<div>&nbsp=3B &nbsp=3B &nbsp=3BInitialization Vector=2C per Section 5 of th=
e JWE specification.</div>
</div>
<div><br>
</div>
</font><span class=3D"x_Apple-style-span" style=3D"font-family:Calibri=2Csa=
ns-serif">
<div>&nbsp=3B &nbsp=3B &nbsp=3B The plaintext =2C which contains the data t=
o be encrypted and</div>
<div>&nbsp=3B &nbsp=3B &nbsp=3B authenticated.</div>
</span><font class=3D"x_Apple-style-span" face=3D"Calibri=2Csans-serif">
<div><br>
</div>
</font><span class=3D"x_Apple-style-span" style=3D"font-family:Calibri=2Csa=
ns-serif">&nbsp=3B &nbsp=3B &nbsp=3B A nonce N=2C with a length of either 0=
 or 96 bits. &nbsp=3B If the length</span></div>
<div><font class=3D"x_Apple-style-span" face=3D"Calibri=2Csans-serif">&nbsp=
=3B &nbsp=3B &nbsp=3B is zero=2C the nonce is omitted. &nbsp=3BOtherwise=2C=
 the nonce</font></div>
<div><font class=3D"x_Apple-style-span" face=3D"Calibri=2Csans-serif">&nbsp=
=3B &nbsp=3B &nbsp=3B is as described in Section 3 of RFC 5116. &nbsp=3B&nb=
sp=3B<br>
</font><font class=3D"x_Apple-style-span" face=3D"Calibri=2Csans-serif">
<div><br>
</div>
</font><font class=3D"x_Apple-style-span" face=3D"Calibri=2Csans-serif">
<div>&nbsp=3B &nbsp=3BThere is a single output=2C the Ciphertext. &nbsp=3B<=
/div>
</font><font class=3D"x_Apple-style-span" face=3D"Calibri=2Csans-serif">
<div><br>
</div>
</font></div>
<div><span class=3D"x_Apple-style-span" style=3D"font-family:Calibri=2Csans=
-serif">&nbsp=3B &nbsp=3BThe &quot=3Benc&quot=3B header</span><span class=
=3D"x_Apple-style-span" style=3D"font-family:Calibri=2Csans-serif">&nbsp=3B=
 parameter values are set as follows:</span></div>
<div><span class=3D"x_Apple-style-span" style=3D"font-family:Calibri=2Csans=
-serif"><br>
</span></div>
<div><span class=3D"x_Apple-style-span" style=3D"font-family:Calibri=2Csans=
-serif">&nbsp=3B &nbsp=3B &quot=3Benc&quot=3B &nbsp=3B &nbsp=3B &nbsp=3B &n=
bsp=3B &nbsp=3B &nbsp=3B &nbsp=3B &nbsp=3B &nbsp=3BAlgorithm &nbsp=3B &nbsp=
=3B &nbsp=3B &nbsp=3B &nbsp=3B &nbsp=3B &nbsp=3B &nbsp=3B &nbsp=3B &nbsp=3B=
 &nbsp=3B &nbsp=3B&nbsp=3B</span></div>
<div><font class=3D"x_Apple-style-span" face=3D"Calibri=2Csans-serif">&nbsp=
=3B &nbsp=3B --------------------------------------------------------------=
---------</font></div>
<div><span class=3D"x_Apple-style-span" style=3D"font-family:Calibri=2Csans=
-serif">&nbsp=3B &nbsp=3B&nbsp=3B</span><span class=3D"x_Apple-style-span" =
style=3D"font-family:Calibri=2Csans-serif">&quot=3BA128GCM&quot=3B &nbsp=3B=
 &nbsp=3B&nbsp=3BAEAD_AES_128_GCM &nbsp=3B &nbsp=3B &nbsp=3B &nbsp=3B &nbsp=
=3B &nbsp=3B &nbsp=3B &nbsp=3B &nbsp=3B &nbsp=3B &nbsp=3B &nbsp=3B &nbsp=3B=
 &nbsp=3B &nbsp=3B &nbsp=3B &nbsp=3B</span></div>
<div><span class=3D"x_Apple-style-span" style=3D"font-family:Calibri=2Csans=
-serif">&nbsp=3B &nbsp=3B &quot=3BA256GCM&quot=3B &nbsp=3B &nbsp=3B AEAD_AE=
S_256_GCM &nbsp=3B &nbsp=3B &nbsp=3B &nbsp=3B &nbsp=3B &nbsp=3B &nbsp=3B &n=
bsp=3B &nbsp=3B &nbsp=3B &nbsp=3B &nbsp=3B &nbsp=3B &nbsp=3B &nbsp=3B &nbsp=
=3B &nbsp=3B&nbsp=3B</span></div>
<div><span class=3D"x_Apple-style-span" style=3D"font-family:Calibri=2Csans=
-serif">&nbsp=3B &nbsp=3B &nbsp=3B&quot=3BA128CHS&quot=3B &nbsp=3B &nbsp=3B=
 &nbsp=3BAEAD_AES_128_CBC_HMAC_SHA_256 &nbsp=3B &nbsp=3B</span></div>
<div><span class=3D"x_Apple-style-span" style=3D"font-family:Calibri=2Csans=
-serif"></span></div>
</div>
<div><font class=3D"x_Apple-style-span" face=3D"Calibri=2Csans-serif">
<div style=3D"font-family:Calibri"><span class=3D"x_Apple-style-span" style=
=3D"font-family:Calibri=2Csans-serif">&nbsp=3B &nbsp=3B &nbsp=3B&quot=3BA25=
6CHS&quot=3B &nbsp=3B &nbsp=3B &nbsp=3BAEAD_AES_256_CBC_HMAC_SHA_512 &nbsp=
=3B</span></div>
<div>&nbsp=3B &nbsp=3B &nbsp=3B &quot=3BA128SIV&quot=3B &nbsp=3B &nbsp=3B &=
nbsp=3BAEAD_AES_SIV_CMAC_256</div>
<div>&nbsp=3B &nbsp=3B &nbsp=3B &quot=3BA256SIV&quot=3B &nbsp=3B &nbsp=3B &=
nbsp=3BAEAD_AES_SIV_CMAC_384</div>
</font></div>
<div><font class=3D"x_Apple-style-span" face=3D"Calibri=2Csans-serif"><br>
</font></div>
<div><font class=3D"x_Apple-style-span" face=3D"Calibri=2Csans-serif">&nbsp=
=3B &nbsp=3B &nbsp=3B See &lt=3B<a href=3D"http://www.iana.org/assignments/=
aead-parameters/aead-parameters.xml&gt=3B">http://www.iana.org/assignments/=
aead-parameters/aead-parameters.xml&gt=3B</a>&nbsp=3Bfor the&nbsp=3B</font>=
</div>
<div><font class=3D"x_Apple-style-span" face=3D"Calibri=2Csans-serif">&nbsp=
=3B &nbsp=3B &nbsp=3Breferences corresponding to</font><span class=3D"x_App=
le-style-span" style=3D"font-family:Calibri=2Csans-serif">&nbsp=3Bthese sym=
bolic names. &nbsp=3B</span></div>
<div><font class=3D"x_Apple-style-span" face=3D"Calibri=2Csans-serif"><br>
</font></div>
<div><font class=3D"x_Apple-style-span" face=3D"Calibri=2Csans-serif">If we=
 want to make actual progress on crypto interfaces=2C the thing that would =
be worth doing is defining a simpler interface that moves the nonce details=
 into the ciphertext (and thus away from
 the user). &nbsp=3B Moving the authentication data out of the ciphertext w=
ould be movement in the wrong direction=2C in my opinion. &nbsp=3B&nbsp=3B<=
/font></div>
<div><font class=3D"x_Apple-style-span" face=3D"Calibri=2Csans-serif"><br>
</font></div>
<div style=3D"color:rgb(0=2C0=2C0)=3B font-family:Calibri=2Csans-serif=3B f=
ont-size:14px">David</div>
<div style=3D"color:rgb(0=2C0=2C0)=3B font-family:Calibri=2Csans-serif=3B f=
ont-size:14px"><br>
</div>
<span id=3D"x_OLK_SRC_BODY_SECTION" style=3D"color:rgb(0=2C0=2C0)=3B font-s=
ize:14px=3B font-family:Calibri=2Csans-serif">
<blockquote id=3D"x_MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style=3D"border-lef=
t:#b5c4df 5 solid=3B padding:0 0 0 5=3B margin:0 0 0 5">
<div>
<div class=3D"x_hmmessage">
<div dir=3D"ltr"><font size=3D"3" face=3D"Times New Roman"></font><br>
<p class=3D"x_MsoNormal" style=3D"margin:0in 0in 0pt"><span style=3D"color:=
rgb(31=2C73=2C125)=3B font-size:11pt=3B font-family:Calibri=2Csans-serif"><=
span style=3D"">&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nb=
sp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B=
&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nb=
sp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B=
&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B
</span>Best wishes=2C</span></p>
<p class=3D"x_MsoNormal" style=3D"margin:0in 0in 0pt"><span style=3D"color:=
rgb(31=2C73=2C125)=3B font-size:11pt=3B font-family:Calibri=2Csans-serif"><=
span style=3D"">&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nb=
sp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B=
&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nb=
sp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B=
&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B
</span>-- Mike </span></p>
<font size=3D"3" face=3D"Times New Roman"></font><br>
<font size=3D"3" face=3D"Times New Roman"></font><br>
<p class=3D"x_MsoNormal" style=3D"margin:0in 0in 0pt"><b><span style=3D"fon=
t-size:10pt=3B font-family:Tahoma=2Csans-serif">From:</span></b><span style=
=3D"font-size:10pt=3B font-family:Tahoma=2Csans-serif"> David McGrew (mcgre=
w) [<a href=3D"mailto:mcgrew@cisco.com">mailto:mcgrew@cisco.com</a>]
<br>
<b>Sent:</b> Monday=2C November 12=2C 2012 11:43 AM<br>
<b>To:</b> Mike Jones=3B <a href=3D"mailto:cfrg@irtf.org">cfrg@irtf.org</a>=
=3B <a href=3D"mailto:jose@ietf.org">
jose@ietf.org</a><br>
<b>Subject:</b> Re: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-S=
HA=2C version 01</span></p>
<font size=3D"3" face=3D"Times New Roman"></font><br>
<p class=3D"x_MsoNormal" style=3D"margin:0in 0in 0pt"><span style=3D"color:=
black=3B font-size:10.5pt=3B font-family:Calibri=2Csans-serif">Hi Mike=2C</=
span></p>
<font size=3D"3" face=3D"Times New Roman"></font><br>
<p class=3D"x_MsoNormal" style=3D"margin:0in 0in 0pt"><b><span style=3D"col=
or:black=3B font-family:&quot=3BCalibri&quot=3B=2C&quot=3Bsans-serif&quot=
=3B=3B font-size:11pt"><span id=3D"x_OLK_SRC_BODY_SECTION">From:
</span></span></b><span style=3D"color:black=3B font-size:11pt=3B font-fami=
ly:Calibri=2Csans-serif">Mike Jones &lt=3B<a href=3D"mailto:Michael.Jones@m=
icrosoft.com"><font color=3D"#0000ff">Michael.Jones@microsoft.com</font></a=
>&gt=3B<br>
<b>Date: </b>Monday=2C November 12=2C 2012 1:55 PM<br>
<b>To: </b>Cisco Employee &lt=3B<a href=3D"mailto:mcgrew@cisco.com"><font c=
olor=3D"#0000ff">mcgrew@cisco.com</font></a>&gt=3B=2C &quot=3B<a href=3D"ma=
ilto:cfrg@irtf.org"><font color=3D"#0000ff">cfrg@irtf.org</font></a>&quot=
=3B &lt=3B<a href=3D"mailto:cfrg@irtf.org"><font color=3D"#0000ff">cfrg@irt=
f.org</font></a>&gt=3B=2C
 &quot=3B<a href=3D"mailto:jose@ietf.org"><font color=3D"#0000ff">jose@ietf=
.org</font></a>&quot=3B &lt=3B<a href=3D"mailto:jose@ietf.org"><font color=
=3D"#0000ff">jose@ietf.org</font></a>&gt=3B<br>
<b>Subject: </b>RE: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-S=
HA=2C version 01</span></p>
<font size=3D"3" face=3D"Times New Roman"></font><br>
<p class=3D"x_MsoNormal" style=3D"margin:0in 0in 0pt"><span style=3D"color:=
rgb(31=2C73=2C125)=3B font-size:11pt=3B font-family:Calibri=2Csans-serif">A=
s background=2C if there was a version of this spec that did not assume tha=
t the parameters would be concatenated together in
 a specific way=2C but left them as independent inputs and outputs=2C as AE=
S GCM and AES CTR do=2C it would be a better match for JOSE=E2=80=99s use c=
ase.</span><span style=3D"color:black"></span></p>
<font size=3D"3" face=3D"Times New Roman"></font>&nbsp=3B<br>
<p class=3D"x_MsoNormal" style=3D"margin:0in 0in 0pt"><span style=3D"color:=
black=3B font-size:10.5pt=3B font-family:Calibri=2Csans-serif">I believe th=
at what you are referring to is the inclusion of the authentication tag in =
the authenticated ciphertext. &nbsp=3B This is not
 just a property of draft-mcgrew-aead-aes-cbc-hmac-sha2=3B it is a feature =
of all 19 of the AEAD algorithms that have been defined so far. &nbsp=3B Fo=
r comparison=2C&nbsp=3Bdraft-mcgrew-aead-aes-cbc-hmac-sha2 says&nbsp=3B</sp=
an></p>
<font size=3D"3" face=3D"Times New Roman"></font><br>
<p class=3D"x_MsoNormal" style=3D"margin:0in 0in 0pt"><span style=3D"color:=
black=3B font-size:10.5pt=3B font-family:Calibri=2Csans-serif">&nbsp=3B &nb=
sp=3B &nbsp=3B &nbsp=3BThe AEAD Ciphertext consists of the string S=2C with=
 the string T</span></p>
<p class=3D"x_MsoNormal" style=3D"margin:0in 0in 0pt"><span style=3D"color:=
black=3B font-size:10.5pt=3B font-family:Calibri=2Csans-serif">&nbsp=3B &nb=
sp=3B &nbsp=3B &nbsp=3Bappended to it. &nbsp=3BThis Ciphertext is returned =
as the output of the</span></p>
<p class=3D"x_MsoNormal" style=3D"margin:0in 0in 0pt"><span style=3D"color:=
black=3B font-size:10.5pt=3B font-family:Calibri=2Csans-serif">&nbsp=3B &nb=
sp=3B &nbsp=3B &nbsp=3BAEAD encryption operation.</span></p>
<span style=3D"color:black=3B font-size:10.5pt=3B font-family:Calibri=2Csan=
s-serif"></span><font size=3D"3" face=3D"Times New Roman"></font>&nbsp=3B<b=
r>
<p class=3D"x_MsoNormal" style=3D"margin:0in 0in 0pt"><span style=3D"color:=
black=3B font-size:10.5pt=3B font-family:Calibri=2Csans-serif">Where S is t=
he ciphertext and T is the authentication tag. &nbsp=3B&nbsp=3BRFC 5116 say=
s</span></p>
<font size=3D"3" face=3D"Times New Roman"></font><br>
<p class=3D"x_MsoNormal" style=3D"margin:0in 0in 0pt"><span style=3D"color:=
black=3B font-size:10.5pt=3B font-family:Calibri=2Csans-serif">&nbsp=3B &nb=
sp=3B &nbsp=3B &nbsp=3B &nbsp=3B &nbsp=3B &nbsp=3B &nbsp=3B &nbsp=3B &nbsp=
=3B &nbsp=3B &nbsp=3B &nbsp=3B &nbsp=3B &nbsp=3B &nbsp=3B &nbsp=3B &nbsp=3B=
 &nbsp=3B&quot=3BThe AEAD_AES_128_GCM ciphertext is formed by</span></p>
<p class=3D"x_MsoNormal" style=3D"margin:0in 0in 0pt"><span style=3D"color:=
black=3B font-size:10.5pt=3B font-family:Calibri=2Csans-serif">&nbsp=3B &nb=
sp=3Bappending the authentication tag provided as an output to the GCM</spa=
n></p>
<p class=3D"x_MsoNormal" style=3D"margin:0in 0in 0pt"><span style=3D"color:=
black=3B font-size:10.5pt=3B font-family:Calibri=2Csans-serif">&nbsp=3B &nb=
sp=3Bencryption operation to the ciphertext that is output by that</span></=
p>
<p class=3D"x_MsoNormal" style=3D"margin:0in 0in 0pt"><span style=3D"color:=
black=3B font-size:10.5pt=3B font-family:Calibri=2Csans-serif">&nbsp=3B &nb=
sp=3Boperation.&quot=3B</span></p>
<font size=3D"3" face=3D"Times New Roman"></font><br>
<p class=3D"x_MsoNormal" style=3D"margin:0in 0in 0pt"><span style=3D"color:=
black=3B font-size:10.5pt=3B font-family:Calibri=2Csans-serif">David</span>=
</p>
<font size=3D"3" face=3D"Times New Roman"></font><br>
<p class=3D"x_MsoNormal" style=3D"margin:0in 0in 0pt"><span style=3D"color:=
rgb(31=2C73=2C125)=3B font-size:11pt=3B font-family:Calibri=2Csans-serif">&=
nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbs=
p=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B=
&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nb=
sp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=
=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B=
&nbsp=3B&nbsp=3B&nbsp=3B -- Mike
</span><span style=3D"color:black"></span></p>
<font size=3D"3" face=3D"Times New Roman"></font><br>
<div>
<div id=3D"x_SkyDrivePlaceholder"></div>
<hr id=3D"x_stopSpelling">
From: <a href=3D"mailto:mcgrew@cisco.com">mcgrew@cisco.com</a><br>
To: <a href=3D"mailto:cfrg@irtf.org">cfrg@irtf.org</a>=3B <a href=3D"mailto=
:jose@ietf.org">
jose@ietf.org</a><br>
Date: Mon=2C 12 Nov 2012 18:20:57 &#43=3B0000<br>
CC: <a href=3D"mailto:Kenny.Paterson@rhul.ac.uk">Kenny.Paterson@rhul.ac.uk<=
/a><br>
Subject: [jose] Authenticated Encryption with AES-CBC and HMAC-SHA=2C versi=
on 01<br>
<br>
<div style=3D"color:rgb(0=2C0=2C0)=3B font-family:Calibri=2Csans-serif=3B f=
ont-size:14px">Hi=2C</div>
<div style=3D"color:rgb(0=2C0=2C0)=3B font-family:Calibri=2Csans-serif=3B f=
ont-size:14px"></div>
<div style=3D"color:rgb(0=2C0=2C0)=3B font-family:Calibri=2Csans-serif=3B f=
ont-size:14px">There is a new version of &quot=3B<span class=3D"x_ecxApple-=
style-span" style=3D"font-size:medium">Authenticated Encryption with AES-CB=
C and HMAC-SHA&quot=3B=2C and&nbsp=3B</span>I would appreciate your review.
 &nbsp=3B It is online at &lt=3B<a href=3D"https://datatracker.ietf.org/doc=
/draft-mcgrew-aead-aes-cbc-hmac-sha2/?include_text=3D1%3e" target=3D"_blank=
">https://datatracker.ietf.org/doc/draft-mcgrew-aead-aes-cbc-hmac-sha2/?inc=
lude_text=3D1&gt=3B</a>&nbsp=3B &nbsp=3BThe diff between the current and
 the previous version is available at &lt=3B<a href=3D"http://www.ietf.org/=
rfcdiff?url2=3Ddraft-mcgrew-aead-aes-cbc-hmac-sha2-01%3e" target=3D"_blank"=
>http://www.ietf.org/rfcdiff?url2=3Ddraft-mcgrew-aead-aes-cbc-hmac-sha2-01&=
gt=3B</a></div>
<div style=3D"color:rgb(0=2C0=2C0)=3B font-family:Calibri=2Csans-serif=3B f=
ont-size:14px"></div>
<div style=3D"color:rgb(0=2C0=2C0)=3B font-family:Calibri=2Csans-serif=3B f=
ont-size:14px">This draft has been proposed for use in the JOSE WG &lt=3B<a=
 href=3D"http://datatracker.ietf.org/wg/jose/%3e" target=3D"_blank">http://=
datatracker.ietf.org/wg/jose/&gt=3B</a>&nbsp=3B=2C where its adoption
 would allow the working group to omit &quot=3Braw&quot=3B unauthenticated =
encryption=2C e.g. AES-CBC=2C and only include authenticated encryption. &n=
bsp=3B Thus I am asking for your help in making&nbsp=3B</div>
<div style=3D"color:rgb(0=2C0=2C0)=3B font-family:Calibri=2Csans-serif=3B f=
ont-size:14px"></div>
<div style=3D"color:rgb(0=2C0=2C0)=3B font-family:Calibri=2Csans-serif=3B f=
ont-size:14px">John Foley generated test cases that correspond to the curre=
nt version of the draft=2C but I didn't include these in the draft because =
I did not yet get confirmation from a second independent
 implementation. &nbsp=3B With hope=2C there will not be any need for any n=
ormative changes=2C and I will include these after I get confirmation. &nbs=
p=3B</div>
<div style=3D"color:rgb(0=2C0=2C0)=3B font-family:Calibri=2Csans-serif=3B f=
ont-size:14px"></div>
<div style=3D"color:rgb(0=2C0=2C0)=3B font-family:Calibri=2Csans-serif=3B f=
ont-size:14px">Thanks=2C</div>
<div style=3D"color:rgb(0=2C0=2C0)=3B font-family:Calibri=2Csans-serif=3B f=
ont-size:14px"></div>
<div style=3D"color:rgb(0=2C0=2C0)=3B font-family:Calibri=2Csans-serif=3B f=
ont-size:14px">David</div>
<br>
_______________________________________________ jose mailing list <a href=
=3D"mailto:jose@ietf.org">
jose@ietf.org</a> <a href=3D"https://www.ietf.org/mailman/listinfo/jose">ht=
tps://www.ietf.org/mailman/listinfo/jose</a></div>
</div>
</div>
</div>
</blockquote>
</span></div>
</body>
</html>

--_c18d8d59-6f64-4747-8f62-240c572c3402_--

From dharkins@lounge.org  Mon Nov 12 18:58:13 2012
Return-Path: <dharkins@lounge.org>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2C6C021F8853 for <cfrg@ietfa.amsl.com>; Mon, 12 Nov 2012 18:58:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.265
X-Spam-Level: 
X-Spam-Status: No, score=-6.265 tagged_above=-999 required=5 tests=[AWL=-0.000, BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lKvDSXJQdtKf for <cfrg@ietfa.amsl.com>; Mon, 12 Nov 2012 18:58:12 -0800 (PST)
Received: from colo.trepanning.net (colo.trepanning.net [69.55.226.174]) by ietfa.amsl.com (Postfix) with ESMTP id A53CD21F8850 for <cfrg@irtf.org>; Mon, 12 Nov 2012 18:58:12 -0800 (PST)
Received: from www.trepanning.net (localhost [127.0.0.1]) by colo.trepanning.net (Postfix) with ESMTP id 14D301022400A; Mon, 12 Nov 2012 18:58:12 -0800 (PST)
Received: from 50.84.73.44 (SquirrelMail authenticated user dharkins@lounge.org) by www.trepanning.net with HTTP; Mon, 12 Nov 2012 18:58:12 -0800 (PST)
Message-ID: <b360fc8e18f1eea986f87893c276c34e.squirrel@www.trepanning.net>
In-Reply-To: <E1TY5Xc-0006iM-Rb@login01.fos.auckland.ac.nz>
References: <E1TY5Xc-0006iM-Rb@login01.fos.auckland.ac.nz>
Date: Mon, 12 Nov 2012 18:58:12 -0800 (PST)
From: "Dan Harkins" <dharkins@lounge.org>
To: "Peter Gutmann" <pgut001@cs.auckland.ac.nz>
User-Agent: SquirrelMail/1.4.14 [SVN]
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
Cc: mcgrew@cisco.com, cfrg@irtf.org, jose@ietf.org
Subject: Re: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA, version 01
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 13 Nov 2012 02:58:13 -0000

On Mon, November 12, 2012 5:43 pm, Peter Gutmann wrote:
> Dan Harkins <dharkins@lounge.org> writes:
>
>>The downside is that it's slower than GCM but is probably faster than
>> CBC-
>>HMAC with SHA2.
>
> A much bigger downside is that it requires two passes over the data,
> making it
> unusable with any streaming implementation.  This limits its applicability
> to
> protocols with very short PDUs.

  That is exactly why it's slower than GCM. But the alternative that's being
discussed for JOSE does 2 passes of the data anyway, one with HMAC-SHA256
and another with AES-CBC, so it sounds a little hard to believe that 2 passes
is a limitation for the application at hand.

  Dan.




From James.H.Manger@team.telstra.com  Mon Nov 12 22:33:36 2012
Return-Path: <James.H.Manger@team.telstra.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B6B5621F88EA for <cfrg@ietfa.amsl.com>; Mon, 12 Nov 2012 22:33:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.727
X-Spam-Level: 
X-Spam-Status: No, score=-0.727 tagged_above=-999 required=5 tests=[AWL=0.173,  BAYES_00=-2.599, HELO_EQ_AU=0.377, HOST_EQ_AU=0.327, HTML_MESSAGE=0.001, RELAY_IS_203=0.994]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QJJi0yFsNuzN for <cfrg@ietfa.amsl.com>; Mon, 12 Nov 2012 22:33:35 -0800 (PST)
Received: from ipxano.tcif.telstra.com.au (ipxano.tcif.telstra.com.au [203.35.82.200]) by ietfa.amsl.com (Postfix) with ESMTP id BD24B21F88E4 for <cfrg@irtf.org>; Mon, 12 Nov 2012 22:33:34 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.80,765,1344175200";  d="scan'208,217";a="108602605"
Received: from unknown (HELO ipcdni.tcif.telstra.com.au) ([10.97.216.212]) by ipoani.tcif.telstra.com.au with ESMTP; 13 Nov 2012 17:33:32 +1100
X-IronPort-AV: E=McAfee;i="5400,1158,6894"; a="92856483"
Received: from wsmsg3754.srv.dir.telstra.com ([172.49.40.198]) by ipcdni.tcif.telstra.com.au with ESMTP; 13 Nov 2012 17:33:32 +1100
Received: from WSMSG3153V.srv.dir.telstra.com ([172.49.40.159]) by WSMSG3754.srv.dir.telstra.com ([172.49.40.198]) with mapi; Tue, 13 Nov 2012 17:33:31 +1100
From: "Manger, James H" <James.H.Manger@team.telstra.com>
To: "David McGrew (mcgrew)" <mcgrew@cisco.com>, "cfrg@irtf.org" <cfrg@irtf.org>, "jose@ietf.org" <jose@ietf.org>
Date: Tue, 13 Nov 2012 17:33:30 +1100
Thread-Topic: [Cfrg] [jose] Authenticated Encryption with AES-CBC and HMAC-SHA, version 01
Thread-Index: AQHNwQJ1KPZ1PBWsRUecOePTOEDiwZfnCigA///dCgCAAFxuQA==
Message-ID: <255B9BB34FB7D647A506DC292726F6E115004FD4BA@WSMSG3153V.srv.dir.telstra.com>
References: <BAY171-W133C34B6212813A7B59F439B76D0@phx.gbl> <747787E65E3FBD4E93F0EB2F14DB556B0F50ABF8@xmb-rcd-x04.cisco.com>
In-Reply-To: <747787E65E3FBD4E93F0EB2F14DB556B0F50ABF8@xmb-rcd-x04.cisco.com>
Accept-Language: en-US, en-AU
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US, en-AU
Content-Type: multipart/alternative; boundary="_000_255B9BB34FB7D647A506DC292726F6E115004FD4BAWSMSG3153Vsrv_"
MIME-Version: 1.0
Subject: Re: [Cfrg] [jose] Authenticated Encryption with AES-CBC and HMAC-SHA, version 01
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 13 Nov 2012 06:33:36 -0000

--_000_255B9BB34FB7D647A506DC292726F6E115004FD4BAWSMSG3153Vsrv_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64

KzEwDQoNClRoaXMgaXMgbXVjaCBjbGVhcmVyLCBhbmQgbXVjaCBtb3JlIHN1aXRhYmxlIGZvciBz
ZXBhcmF0aW5nIHdoYXQgZ29lcyBpbiBhIEpPU0UgbGlicmFyeSB2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VBRF9BRVNfMjU2X0dDTQ0KICAgICAiQTEyOENIUyIgICAg
ICBBRUFEX0FFU18xMjhfQ0JDX0hNQUNfU0hBXzI1Ng0KICAgICAiQTI1NkNIUyIgICAgICBBRUFE
X0FFU18yNTZfQ0JDX0hNQUNfU0hBXzUxMg0KICAgICAgIkExMjhTSVYiICAgICAgQUVBRF9BRVNf
U0lWX0NNQUNfMjU2DQogICAgICAiQTI1NlNJViIgICAgICBBRUFEX0FFU19TSVZfQ01BQ18zODQN
Cg0KICAgICAgU2VlIDxodHRwOi8vd3d3LmlhbmEub3JnL2Fzc2lnbm1lbnRzL2FlYWQtcGFyYW1l
dGVycy9hZWFkLXBhcmFtZXRlcnMueG1sPjxodHRwOi8vd3d3LmlhbmEub3JnL2Fzc2lnbm1lbnRz
L2FlYWQtcGFyYW1ldGVycy9hZWFkLXBhcmFtZXRlcnMueG1sJTNlPiBmb3IgdGhlDQogICAgIHJl
ZmVyZW5jZXMgY29ycmVzcG9uZGluZyB0byB0aGVzZSBzeW1ib2xpYyBuYW1lcy4NCg==

--_000_255B9BB34FB7D647A506DC292726F6E115004FD4BAWSMSG3153Vsrv_
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: base64

PGh0bWwgeG1sbnM6dj0idXJuOnNjaGVtYXMtbWljcm9zb2Z0LWNvbTp2bWwiIHhtbG5zOm89InVy
bjpzY2hlbWFzLW1pY3Jvc29mdC1jb206b2ZmaWNlOm9mZmljZSIgeG1sbnM6dz0idXJuOnNjaGVt
YXMtbWljcm9zb2Z0LWNvbTpvZmZpY2U6d29yZCIgeG1sbnM6bT0iaHR0cDovL3NjaGVtYXMubWlj
cm9zb2Z0LmNvbS9vZmZpY2UvMjAwNC8xMi9vbW1sIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
VFIvUkVDLWh0bWw0MCI+PGhlYWQ+PG1ldGEgaHR0cC1lcXVpdj1Db250ZW50LVR5cGUgY29udGVu
dD0idGV4dC9odG1sOyBjaGFyc2V0P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0cDovL3d3dy5pYW5hLm9yZy9hc3NpZ25tZW50cy9hZWFkLXBhcmFtZXRlcnMvYWVh
ZC1wYXJhbWV0ZXJzLnhtbCZndDs8L2E+Jm5ic3A7Zm9yIHRoZSZuYnNwOzwvc3Bhbj48bzpwPjwv
bzpwPjwvcD48L2Rpdj48ZGl2PjxwIGNsYXNzPU1zb05vcm1hbD48c3BhbiBzdHlsZT0nZm9udC1m
YW1pbHk6IkNhbGlicmkiLCJzYW5zLXNlcmlmIic+Jm5ic3A7ICZuYnNwOyAmbmJzcDtyZWZlcmVu
Y2VzIGNvcnJlc3BvbmRpbmcgdG88c3BhbiBjbGFzcz1hcHBsZS1zdHlsZS1zcGFuPiZuYnNwO3Ro
ZXNlIHN5bWJvbGljIG5hbWVzLiAmbmJzcDs8L3NwYW4+PC9zcGFuPjxvOnA+PC9vOnA+PC9wPjwv
ZGl2PjwvZGl2PjwvZGl2PjwvYm9keT48L2h0bWw+

--_000_255B9BB34FB7D647A506DC292726F6E115004FD4BAWSMSG3153Vsrv_--

From mcgrew@cisco.com  Tue Nov 13 08:31:54 2012
Return-Path: <mcgrew@cisco.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 70AB721F8771 for <cfrg@ietfa.amsl.com>; Tue, 13 Nov 2012 08:31:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -110.598
X-Spam-Level: 
X-Spam-Status: No, score=-110.598 tagged_above=-999 required=5 tests=[AWL=-0.000, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dIgCe2CtVJWh for <cfrg@ietfa.amsl.com>; Tue, 13 Nov 2012 08:31:50 -0800 (PST)
Received: from rcdn-iport-3.cisco.com (rcdn-iport-3.cisco.com [173.37.86.74]) by ietfa.amsl.com (Postfix) with ESMTP id BB5E121F8743 for <cfrg@irtf.org>; Tue, 13 Nov 2012 08:31:46 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=24252; q=dns/txt; s=iport; t=1352824307; x=1354033907; h=from:to:subject:date:message-id:in-reply-to:mime-version; bh=HOAweE7u4s4DT3cNeIP4WIBrnrr2Mu0ih4Y27BymVsQ=; b=SAlY6fATgy5x/j+5hkwRef4P2kReUdlaGw2bxlKz27hbyBE+ifdpZqDf Mu56PFy9X4iZAM0U2XA4pEwyYsf1fUc5F4RGzJRfKMIb3S/GmwyL5jM2Z 23nkftno7kQWIsuPEWYoxGHwe3cWcbPB3hB0GJ7YI/h2Xrmka4kWxUPlH k=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Av8EAIt0olCtJV2d/2dsb2JhbABEgknBJIEIgh4BAQEEEgEaXgEIEQMBAQELFgc5FAkIAgQBEggBEgeHVgMPC5oXj2WGTx2JRIwqhXNhA6RUgWuCb4IZ
X-IronPort-AV: E=McAfee;i="5400,1158,6894"; a="141958792"
Received: from rcdn-core-6.cisco.com ([173.37.93.157]) by rcdn-iport-3.cisco.com with ESMTP; 13 Nov 2012 16:31:44 +0000
Received: from xhc-rcd-x09.cisco.com (xhc-rcd-x09.cisco.com [173.37.183.83]) by rcdn-core-6.cisco.com (8.14.5/8.14.5) with ESMTP id qADGVhuM030265 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Tue, 13 Nov 2012 16:31:44 GMT
Received: from xmb-rcd-x04.cisco.com ([169.254.8.200]) by xhc-rcd-x09.cisco.com ([173.37.183.83]) with mapi id 14.02.0318.001; Tue, 13 Nov 2012 10:31:43 -0600
From: "David McGrew (mcgrew)" <mcgrew@cisco.com>
To: "Manger, James H" <James.H.Manger@team.telstra.com>, "cfrg@irtf.org" <cfrg@irtf.org>, "jose@ietf.org" <jose@ietf.org>
Thread-Topic: [Cfrg] [jose] Authenticated Encryption with AES-CBC and HMAC-SHA, version 01
Thread-Index: AQHNwQJ1KPZ1PBWsRUecOePTOEDiwZfnCigA///dCgCAAFxuQIAAw+YA
Date: Tue, 13 Nov 2012 16:31:42 +0000
Message-ID: <747787E65E3FBD4E93F0EB2F14DB556B0F50AFD6@xmb-rcd-x04.cisco.com>
In-Reply-To: <255B9BB34FB7D647A506DC292726F6E115004FD4BA@WSMSG3153V.srv.dir.telstra.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.2.1.120420
x-originating-ip: [10.117.10.228]
x-tm-as-product-ver: SMEX-10.2.0.1135-7.000.1014-19360.002
x-tm-as-result: No--32.424200-8.000000-31
x-tm-as-user-approved-sender: No
x-tm-as-user-blocked-sender: No
Content-Type: multipart/alternative; boundary="_000_747787E65E3FBD4E93F0EB2F14DB556B0F50AFD6xmbrcdx04ciscoc_"
MIME-Version: 1.0
Subject: Re: [Cfrg] [jose] Authenticated Encryption with AES-CBC and HMAC-SHA, version 01
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 13 Nov 2012 16:31:54 -0000

--_000_747787E65E3FBD4E93F0EB2F14DB556B0F50AFD6xmbrcdx04ciscoc_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

Hi James,

From: <Manger>, James H <James.H.Manger@team.telstra.com<mailto:James.H.Man=
ger@team.telstra.com>>
Date: Tuesday, November 13, 2012 1:33 AM
To: Cisco Employee <mcgrew@cisco.com<mailto:mcgrew@cisco.com>>, "cfrg@irtf.=
org<mailto:cfrg@irtf.org>" <cfrg@irtf.org<mailto:cfrg@irtf.org>>, "jose@iet=
f.org<mailto:jose@ietf.org>" <jose@ietf.org<mailto:jose@ietf.org>>
Subject: RE: [Cfrg] [jose] Authenticated Encryption with AES-CBC and HMAC-S=
HA, version 01

+10

This is much clearer, and much more suitable for separating what goes in a =
JOSE library vs what goes in a general-purpose crypto library. Even if a JO=
SE library needs to implement parts of the crypto today because native AEAD=
 support is not yet present, this solution makes it much more likely JOSE w=
ill be compatible with native AEAD as it becomes available. I think it is u=
nlikely that native AEAD support (once available) would support both JOSE a=
nd draft-mcgrew variants of AEAD-from-AES-CBC-HMAC. The draft-mcgrew varian=
t has a better chance of being implemented because it doesn=92t impose a 33=
% performance penalty for the MACing part, and the other differences are tr=
ivial.

The fact that some existing AEAD algorithms (SIV [RFC 5297]) don=92t produc=
e a separate authentication tag is a clear indication that a single ciphert=
ext output is a better general model for AEAD in JOSE than separate ciphert=
ext and integrity values as in JWE today.

Editorials:
=93JWE Initialization Vector=94 should be renamed =93JWE Nonce=94.
The nonce paragraph needn=92t hardwire 2 lengths (0 and 96 bits) =96 leave =
it to each alg to specify.
The table can include key and nonce sizes.
    "enc"                key size    nonce size  Algorithm
    -----------------------------------------------------------------------
    "A128GCM"   16 bytes    12 bytes     AEAD_AES_128_GCM
    "A256GCM"   32 bytes    12 bytes     AEAD_AES_256_GCM
     "A128CHS"     48 bytes     0 bytes      AEAD_AES_128_CBC_HMAC_SHA_256
     "A256CHS"     64 bytes     0 bytes      AEAD_AES_256_CBC_HMAC_SHA_512

Thanks for the good suggestions (agreed on all of them) and support.

Regards,

David


--
James Manger

From: cfrg-bounces@irtf.org<mailto:cfrg-bounces@irtf.org> [mailto:cfrg-boun=
ces@irtf.org] On Behalf Of David McGrew (mcgrew)
Sent: Tuesday, 13 November 2012 10:20 AM
To: Michael Jones; cfrg@irtf.org<mailto:cfrg@irtf.org>; jose@ietf.org<mailt=
o:jose@ietf.org>
Subject: Re: [Cfrg] [jose] Authenticated Encryption with AES-CBC and HMAC-S=
HA, version 01

=85
I am not dogmatically opposed to other interfaces, but the best solution he=
re is for JOSE to actually use the 5116 interface, like this:

X.Y. Authenticated Encryption

   This section defines the specifics of encrypting the JWE Plaintext
   Using the Authenticated Encryption with Associated Data (AEAD)
   as defined in RFC 5116.   The authenticated encryption operation
   has four inputs, as follows:

     The secret key is the CMK.

     The associated data is the bytes of the ASCII representation of the co=
ncatenation of
     the Encoded JWE Header, a period ('.') character, the Encoded JWE
     Encrypted Key, a second period character ('.'), and the Encoded JWE
     Initialization Vector, per Section 5 of the JWE specification.

      The plaintext , which contains the data to be encrypted and
      authenticated.

      A nonce N, with a length of either 0 or 96 bits.   If the length
      is zero, the nonce is omitted.  Otherwise, the nonce
      is as described in Section 3 of RFC 5116.

   There is a single output, the Ciphertext.

   The "enc" header  parameter values are set as follows:

    "enc"                  Algorithm
    -----------------------------------------------------------------------
    "A128GCM"     AEAD_AES_128_GCM
    "A256GCM"     AEAD_AES_256_GCM
     "A128CHS"      AEAD_AES_128_CBC_HMAC_SHA_256
     "A256CHS"      AEAD_AES_256_CBC_HMAC_SHA_512
      "A128SIV"      AEAD_AES_SIV_CMAC_256
      "A256SIV"      AEAD_AES_SIV_CMAC_384

      See <http://www.iana.org/assignments/aead-parameters/aead-parameters.=
xml><http://www.iana.org/assignments/aead-parameters/aead-parameters.xml%3e=
> for the
     references corresponding to these symbolic names.

--_000_747787E65E3FBD4E93F0EB2F14DB556B0F50AFD6xmbrcdx04ciscoc_
Content-Type: text/html; charset="Windows-1252"
Content-ID: <94533B1A0135D84F9C9FB7FEBA90D1A7@cisco.com>
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1=
252">
</head>
<body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-lin=
e-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-fami=
ly: Calibri, sans-serif; ">
<div>Hi James,</div>
<div><br>
</div>
<span id=3D"OLK_SRC_BODY_SECTION">
<div style=3D"font-family:Calibri; font-size:11pt; text-align:left; color:b=
lack; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM:=
 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid;=
 BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style=3D"font-weight:bold">From: </span>&lt;Manger&gt;, James H &lt;<=
a href=3D"mailto:James.H.Manger@team.telstra.com">James.H.Manger@team.telst=
ra.com</a>&gt;<br>
<span style=3D"font-weight:bold">Date: </span>Tuesday, November 13, 2012 1:=
33 AM<br>
<span style=3D"font-weight:bold">To: </span>Cisco Employee &lt;<a href=3D"m=
ailto:mcgrew@cisco.com">mcgrew@cisco.com</a>&gt;, &quot;<a href=3D"mailto:c=
frg@irtf.org">cfrg@irtf.org</a>&quot; &lt;<a href=3D"mailto:cfrg@irtf.org">=
cfrg@irtf.org</a>&gt;, &quot;<a href=3D"mailto:jose@ietf.org">jose@ietf.org=
</a>&quot;
 &lt;<a href=3D"mailto:jose@ietf.org">jose@ietf.org</a>&gt;<br>
<span style=3D"font-weight:bold">Subject: </span>RE: [Cfrg] [jose] Authenti=
cated Encryption with AES-CBC and HMAC-SHA, version 01<br>
</div>
<div><br>
</div>
<blockquote id=3D"MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style=3D"BORDER-LEFT:=
 #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;">
<div xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micro=
soft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" x=
mlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:/=
/www.w3.org/TR/REC-html40">
<meta name=3D"Generator" content=3D"Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:0cm;
	mso-margin-bottom-alt:auto;
	margin-left:0cm;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.apple-style-span
	{mso-style-name:apple-style-span;}
span.ecxapple-style-span
	{mso-style-name:ecxapple-style-span;}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
span.EmailStyle22
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
<div lang=3D"EN-AU" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size: 11pt; color: rgb(31, 73, 1=
25); font-family: Calibri, sans-serif; ">&#43;10<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size: 11pt; color: rgb(31, 73, 1=
25); font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size: 11pt; color: rgb(31, 73, 1=
25); font-family: Calibri, sans-serif; ">This is much clearer, and much mor=
e suitable for separating what goes in a JOSE library vs what goes in a gen=
eral-purpose crypto library. Even if
 a JOSE library needs to implement parts of the crypto today because native=
 AEAD support is not yet present, this solution makes it much more likely J=
OSE will be compatible with native AEAD as it becomes available. I think it=
 is unlikely that native AEAD support
 (once available) would support both JOSE and draft-mcgrew variants of AEAD=
-from-AES-CBC-HMAC. The draft-mcgrew variant has a better chance of being i=
mplemented because it doesn=92t impose a 33% performance penalty for the MA=
Cing part, and the other differences
 are trivial.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size: 11pt; color: rgb(31, 73, 1=
25); font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size: 11pt; color: rgb(31, 73, 1=
25); font-family: Calibri, sans-serif; ">The fact that some existing AEAD a=
lgorithms (SIV [RFC 5297]) don=92t produce a separate authentication tag is=
 a clear indication that a single ciphertext
 output is a better general model for AEAD in JOSE than separate ciphertext=
 and integrity values as in JWE today.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size: 11pt; color: rgb(31, 73, 1=
25); font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size: 11pt; color: rgb(31, 73, 1=
25); font-family: Calibri, sans-serif; ">Editorials:<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size: 11pt; color: rgb(31, 73, 1=
25); font-family: Calibri, sans-serif; ">=93JWE Initialization Vector=94 sh=
ould be renamed =93JWE Nonce=94.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size: 11pt; color: rgb(31, 73, 1=
25); font-family: Calibri, sans-serif; ">The nonce paragraph needn=92t hard=
wire 2 lengths (0 and 96 bits) =96 leave it to each alg to specify.<o:p></o=
:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size: 11pt; color: rgb(31, 73, 1=
25); font-family: Calibri, sans-serif; ">The table can include key and nonc=
e sizes.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size: 11pt; color: rgb(31, 73, 1=
25); font-family: Calibri, sans-serif; ">&nbsp;&nbsp;&nbsp; &quot;enc&quot;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; key size&nbsp; &nbsp;&nbsp;nonce size&nbsp; Algorithm&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size: 11pt; color: rgb(31, 73, 1=
25); font-family: Calibri, sans-serif; ">&nbsp;&nbsp;&nbsp;&nbsp;----------=
-------------------------------------------------------------<o:p></o:p></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-size: 11pt; color: rgb(31, 73, 1=
25); font-family: Calibri, sans-serif; ">&nbsp;&nbsp;&nbsp; &quot;A128GCM&q=
uot;&nbsp;&nbsp; 16 bytes&nbsp; &nbsp;&nbsp;12 bytes&nbsp;&nbsp;&nbsp;&nbsp=
; AEAD_AES_128_GCM&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<o:p></o=
:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size: 11pt; color: rgb(31, 73, 1=
25); font-family: Calibri, sans-serif; ">&nbsp;&nbsp;&nbsp;&nbsp;&quot;A256=
GCM&quot;&nbsp;&nbsp; 32 bytes&nbsp;&nbsp;&nbsp; 12 bytes&nbsp; &nbsp;&nbsp=
;&nbsp;AEAD_AES_256_GCM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size: 11pt; color: rgb(31, 73, 1=
25); font-family: Calibri, sans-serif; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quo=
t;A128CHS&quot;&nbsp;&nbsp;&nbsp;&nbsp; 48 bytes&nbsp;&nbsp;&nbsp;&nbsp; 0 =
bytes&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;AEAD_AES_128_CBC_HMAC_SHA_256&nbsp;&nbs=
p;&nbsp;
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size: 11pt; color: rgb(31, 73, 1=
25); font-family: Calibri, sans-serif; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quo=
t;A256CHS&quot;&nbsp;&nbsp;&nbsp;&nbsp; 64 bytes&nbsp;&nbsp;&nbsp;&nbsp; 0 =
bytes&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;AEAD_AES_256_CBC_HMAC_SHA_512&nbsp;</sp=
an></p>
</div>
</div>
</div>
</blockquote>
</span>
<div><br>
</div>
<div>Thanks for the good suggestions (agreed on all of them) and support.</=
div>
<div><br>
</div>
<div>Regards,</div>
<div><br>
</div>
<div>David</div>
<div><br>
</div>
<span id=3D"OLK_SRC_BODY_SECTION">
<blockquote id=3D"MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style=3D"BORDER-LEFT:=
 #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;">
<div xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micro=
soft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" x=
mlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:/=
/www.w3.org/TR/REC-html40">
<div lang=3D"EN-AU" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size: 11pt; color: rgb(31, 73, 1=
25); font-family: Calibri, sans-serif; "><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size: 11pt; color: rgb(31, 73, 1=
25); font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></span></p>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size: 11pt; color: rgb(31, 73, 1=
25); font-family: Calibri, sans-serif; ">--<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size: 11pt; color: rgb(31, 73, 1=
25); font-family: Calibri, sans-serif; ">James Manger<o:p></o:p></span></p>
</div>
<p class=3D"MsoNormal"><span style=3D"font-size: 11pt; color: rgb(31, 73, 1=
25); font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></span></p>
<div style=3D"border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm =
4.0pt">
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal"><b><span lang=3D"EN-US" style=3D"font-size: 10pt; fo=
nt-family: Tahoma, sans-serif; ">From:</span></b><span lang=3D"EN-US" style=
=3D"font-size: 10pt; font-family: Tahoma, sans-serif; ">
<a href=3D"mailto:cfrg-bounces@irtf.org">cfrg-bounces@irtf.org</a> [<a href=
=3D"mailto:cfrg-bounces@irtf.org">mailto:cfrg-bounces@irtf.org</a>]
<b>On Behalf Of </b>David McGrew (mcgrew)<br>
<b>Sent:</b> Tuesday, 13 November 2012 10:20 AM<br>
<b>To:</b> Michael Jones; <a href=3D"mailto:cfrg@irtf.org">cfrg@irtf.org</a=
>; <a href=3D"mailto:jose@ietf.org">
jose@ietf.org</a><br>
<b>Subject:</b> Re: [Cfrg] [jose] Authenticated Encryption with AES-CBC and=
 HMAC-SHA, version 01<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size: 10.5pt; color: rgb(31, 73,=
 125); font-family: Calibri, sans-serif; ">=85</span><span style=3D"font-si=
ze: 10.5pt; color: black; font-family: Calibri, sans-serif; "><o:p></o:p></=
span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size: 10.5pt; color: black; font=
-family: Calibri, sans-serif; ">I am not dogmatically opposed to other inte=
rfaces, but the best solution here is for JOSE to actually use the 5116 int=
erface, like this:<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size: 10.5pt; color: black; font=
-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family: Calibri, sans-serif; ">X=
.Y. Authenticated Encryption</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family: Calibri, sans-serif; ">&=
nbsp; &nbsp;This section defines the specifics of encrypting the JWE Plaint=
ext</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family: Calibri, sans-serif; ">&=
nbsp; &nbsp;Using the Authenticated Encryption with Associated Data (AEAD)<=
/span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family: Calibri, sans-serif; ">&=
nbsp; &nbsp;as defined in RFC 5116. &nbsp;<span class=3D"apple-style-span">=
&nbsp;The authenticated encryption operation&nbsp;</span></span><o:p></o:p>=
</p>
</div>
<div>
<p class=3D"MsoNormal"><span class=3D"apple-style-span"><span style=3D"font=
-family: Calibri, sans-serif; ">&nbsp; &nbsp;has four inputs, as follows:</=
span></span><o:p></o:p></p>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family: Calibri, sans-serif; "><=
o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family: Calibri, sans-serif; ">&=
nbsp; &nbsp; &nbsp;The secret key is the CMK.<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family: Calibri, sans-serif; "><=
o:p>&nbsp;</o:p></span></p>
</div>
<p class=3D"MsoNormal"><span class=3D"apple-style-span"><span style=3D"font=
-family: Calibri, sans-serif; ">&nbsp; &nbsp; &nbsp;The associated data is =
the bytes of the ASCII representation of the concatenation of</span></span>=
<span style=3D"font-family: Calibri, sans-serif; "><o:p></o:p></span></p>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family: Calibri, sans-serif; ">&=
nbsp; &nbsp; &nbsp;the Encoded JWE Header, a period ('.') character, the En=
coded JWE<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family: Calibri, sans-serif; ">&=
nbsp; &nbsp; &nbsp;Encrypted Key, a second period character ('.'), and the =
Encoded JWE<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family: Calibri, sans-serif; ">&=
nbsp; &nbsp; &nbsp;Initialization Vector, per Section 5 of the JWE specific=
ation.<o:p></o:p></span></p>
</div>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family: Calibri, sans-serif; "><=
o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family: Calibri, sans-serif; ">&=
nbsp; &nbsp; &nbsp; The plaintext , which contains the data to be encrypted=
 and<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family: Calibri, sans-serif; ">&=
nbsp; &nbsp; &nbsp; authenticated.<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family: Calibri, sans-serif; "><=
o:p>&nbsp;</o:p></span></p>
</div>
<p class=3D"MsoNormal"><span class=3D"apple-style-span"><span style=3D"font=
-family: Calibri, sans-serif; ">&nbsp; &nbsp; &nbsp; A nonce N, with a leng=
th of either 0 or 96 bits. &nbsp; If the length</span></span><o:p></o:p></p=
>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family: Calibri, sans-serif; ">&=
nbsp; &nbsp; &nbsp; is zero, the nonce is omitted. &nbsp;Otherwise, the non=
ce</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family: Calibri, sans-serif; ">&=
nbsp; &nbsp; &nbsp; is as described in Section 3 of RFC 5116. &nbsp;&nbsp;<=
o:p></o:p></span></p>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family: Calibri, sans-serif; "><=
o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family: Calibri, sans-serif; ">&=
nbsp; &nbsp;There is a single output, the Ciphertext. &nbsp;<o:p></o:p></sp=
an></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family: Calibri, sans-serif; "><=
o:p>&nbsp;</o:p></span></p>
</div>
</div>
<div>
<p class=3D"MsoNormal"><span class=3D"apple-style-span"><span style=3D"font=
-family: Calibri, sans-serif; ">&nbsp; &nbsp;The &quot;enc&quot; header&nbs=
p; parameter values are set as follows:</span></span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span class=3D"apple-style-span"><span style=3D"font=
-family: Calibri, sans-serif; ">&nbsp; &nbsp; &quot;enc&quot; &nbsp; &nbsp;=
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Algorithm &nbsp; &nbsp; &n=
bsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</=
span></span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family: Calibri, sans-serif; ">&=
nbsp; &nbsp; --------------------------------------------------------------=
---------</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span class=3D"apple-style-span"><span style=3D"font=
-family: Calibri, sans-serif; ">&nbsp; &nbsp;&nbsp;&quot;A128GCM&quot; &nbs=
p; &nbsp;&nbsp;AEAD_AES_128_GCM &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &=
nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;=
</span></span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span class=3D"apple-style-span"><span style=3D"font=
-family: Calibri, sans-serif; ">&nbsp; &nbsp; &quot;A256GCM&quot; &nbsp; &n=
bsp; AEAD_AES_256_GCM &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbs=
p; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</sp=
an></span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span class=3D"apple-style-span"><span style=3D"font=
-family: Calibri, sans-serif; ">&nbsp; &nbsp; &nbsp;&quot;A128CHS&quot; &nb=
sp; &nbsp; &nbsp;AEAD_AES_128_CBC_HMAC_SHA_256 &nbsp; &nbsp;</span></span><=
o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span class=3D"apple-style-span"><span style=3D"font=
-family: Calibri, sans-serif; ">&nbsp; &nbsp; &nbsp;&quot;A256CHS&quot; &nb=
sp; &nbsp; &nbsp;AEAD_AES_256_CBC_HMAC_SHA_512 &nbsp;</span></span><span st=
yle=3D"font-family: Calibri, sans-serif; "><o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family: Calibri, sans-serif; ">&=
nbsp; &nbsp; &nbsp; &quot;A128SIV&quot; &nbsp; &nbsp; &nbsp;AEAD_AES_SIV_CM=
AC_256<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family: Calibri, sans-serif; ">&=
nbsp; &nbsp; &nbsp; &quot;A256SIV&quot; &nbsp; &nbsp; &nbsp;AEAD_AES_SIV_CM=
AC_384<o:p></o:p></span></p>
</div>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family: Calibri, sans-serif; ">&=
nbsp; &nbsp; &nbsp; See &lt;<a href=3D"http://www.iana.org/assignments/aead=
-parameters/aead-parameters.xml%3e">http://www.iana.org/assignments/aead-pa=
rameters/aead-parameters.xml&gt;</a>&nbsp;for the&nbsp;</span><o:p></o:p></=
p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family: Calibri, sans-serif; ">&=
nbsp; &nbsp; &nbsp;references corresponding to<span class=3D"apple-style-sp=
an">&nbsp;these symbolic names. &nbsp;</span></span><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</span>
</body>
</html>

--_000_747787E65E3FBD4E93F0EB2F14DB556B0F50AFD6xmbrcdx04ciscoc_--

From michael_b_jones@hotmail.com  Tue Nov 13 15:33:27 2012
Return-Path: <michael_b_jones@hotmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 44C5821F8793 for <cfrg@ietfa.amsl.com>; Tue, 13 Nov 2012 15:33:27 -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.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TxRhZqmNFvgn for <cfrg@ietfa.amsl.com>; Tue, 13 Nov 2012 15:33:26 -0800 (PST)
Received: from bay0-omc1-s25.bay0.hotmail.com (bay0-omc1-s25.bay0.hotmail.com [65.54.190.36]) by ietfa.amsl.com (Postfix) with ESMTP id D4EE621F8447 for <cfrg@irtf.org>; Tue, 13 Nov 2012 15:33:26 -0800 (PST)
Received: from BAY171-W47 ([65.54.190.60]) by bay0-omc1-s25.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675);  Tue, 13 Nov 2012 15:33:26 -0800
Message-ID: <BAY171-W4767242AC702446BF30539B76C0@phx.gbl>
Content-Type: multipart/alternative; boundary="_2df8537d-c1b1-4a26-b683-96413d67d4ed_"
X-Originating-IP: [174.7.255.77]
From: Michael Jones <michael_b_jones@hotmail.com>
To: <jose@ietf.org>, <oauth@ietf.org>, <apps-discuss@ietf.org>
Date: Tue, 13 Nov 2012 15:33:26 -0800
Importance: Normal
MIME-Version: 1.0
X-OriginalArrivalTime: 13 Nov 2012 23:33:26.0611 (UTC) FILETIME=[479C2230:01CDC1F7]
Cc: cfrg@irtf.org
Subject: [Cfrg] Vacationing this week & e-mail address
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 13 Nov 2012 23:33:27 -0000

--_2df8537d-c1b1-4a26-b683-96413d67d4ed_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable





Hi all=2C I wanted to let you know that I'm vacationing this week=2C and so=
 mostly won't be participating in discussions.  I'll respond next week. Als=
o=2C at present I=92m using the e-mail address michael_b_jones@hotmail.com
to send e-mail to IETF mailing lists because currently I=92m unable to send=
 e-mail to any IETF lists using my normal
e-mail address Michael.Jones@microsoft.com.=20
When corresponding with me individually=2C it would be better to use the
Microsoft address=2C as the message is likely to be seen more quickly. Have=
 a good week=2C everyone! -- Mike=20

 		 	   		  =

--_2df8537d-c1b1-4a26-b683-96413d67d4ed_
Content-Type: text/html; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style><!--
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 10pt=3B
font-family:Tahoma
}
--></style></head>
<body class=3D'hmmessage'><div dir=3D'ltr'>



Hi all=2C<BR>&nbsp=3B<BR>I wanted to let you know that I'm vacationing this=
 week=2C and so mostly won't be participating in discussions.&nbsp=3B I'll =
respond next week.<BR><font size=3D"3" face=3D"Times New Roman"></font>&nbs=
p=3B<BR><p style=3D"margin: 0in 0in 12pt=3B" class=3D"MsoNormal"><span styl=
e=3D'font-family: "Tahoma"=2C"sans-serif"=3B font-size: 10pt=3B mso-fareast=
-font-family: "Times New Roman"=3B'>Also=2C at present I=92m using the e-ma=
il address <a href=3D"mailto:michael_b_jones@hotmail.com"><font color=3D"#0=
000ff">michael_b_jones@hotmail.com</font></a>
to send e-mail to IETF mailing lists because currently I=92m unable to send=
 e-mail to any IETF lists using my normal
e-mail address <a href=3D"mailto:Michael.Jones@microsoft.com"><font color=
=3D"#0000ff">Michael.Jones@microsoft.com</font></a>.&nbsp=3B
When corresponding with me individually=2C it would be better to use the
Microsoft address=2C as the message is likely to be seen more quickly.</spa=
n></p><span style=3D'font-family: "Tahoma"=2C"sans-serif"=3B font-size: 10p=
t=3B mso-fareast-font-family: "Times New Roman"=3B'></span>&nbsp=3B<BR><spa=
n style=3D'font-family: "Tahoma"=2C"sans-serif"=3B font-size: 10pt=3B mso-f=
areast-font-family: "Times New Roman"=3B'>Have a good week=2C everyone!</sp=
an><BR><span style=3D'font-family: "Tahoma"=2C"sans-serif"=3B font-size: 10=
pt=3B mso-fareast-font-family: "Times New Roman"=3B'></span>&nbsp=3B<BR><sp=
an style=3D'font-family: "Tahoma"=2C"sans-serif"=3B font-size: 10pt=3B mso-=
fareast-font-family: "Times New Roman"=3B'>-- Mike</span><BR><span style=3D=
'font-family: "Tahoma"=2C"sans-serif"=3B font-size: 10pt=3B mso-fareast-fon=
t-family: "Times New Roman"=3B'>&nbsp=3B<BR><p style=3D"margin: 0in 0in 12p=
t=3B" class=3D"MsoNormal"><br>
</span></p> 		 	   		  </div></body>
</html>=

--_2df8537d-c1b1-4a26-b683-96413d67d4ed_--

From Michael.Jones@microsoft.com  Tue Nov 13 15:35:34 2012
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E97C321F8507 for <cfrg@ietfa.amsl.com>; Tue, 13 Nov 2012 15:35:34 -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=[AWL=-0.000, BAYES_00=-2.599, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2xOwSyXhJiNR for <cfrg@ietfa.amsl.com>; Tue, 13 Nov 2012 15:35:33 -0800 (PST)
Received: from NA01-BY2-obe.outbound.protection.outlook.com (na01-by2-obe.ptr.protection.outlook.com [207.46.100.23]) by ietfa.amsl.com (Postfix) with ESMTP id 7943A21F84FC for <cfrg@irtf.org>; Tue, 13 Nov 2012 15:35:33 -0800 (PST)
Received: from BL2FFO11FD008.protection.gbl (10.173.161.201) by BL2FFO11HUB024.protection.gbl (10.173.161.48) with Microsoft SMTP Server (TLS) id 15.0.556.9; Mon, 12 Nov 2012 18:56:07 +0000
Received: from TK5EX14MLTC101.redmond.corp.microsoft.com (131.107.125.37) by BL2FFO11FD008.mail.protection.outlook.com (10.173.161.4) with Microsoft SMTP Server (TLS) id 15.0.556.9 via Frontend Transport; Mon, 12 Nov 2012 18:56:07 +0000
Received: from TK5EX14MBXC283.redmond.corp.microsoft.com ([169.254.2.11]) by TK5EX14MLTC101.redmond.corp.microsoft.com ([157.54.79.178]) with mapi id 14.02.0318.003; Mon, 12 Nov 2012 18:55:18 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: "David McGrew (mcgrew)" <mcgrew@cisco.com>, "cfrg@irtf.org" <cfrg@irtf.org>, "jose@ietf.org" <jose@ietf.org>
Thread-Topic: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA, version 01
Thread-Index: AQHNwQJ1KPZ1PBWsRUecOePTOEDiwZfmjABA
Date: Mon, 12 Nov 2012 18:55:17 +0000
Message-ID: <4E1F6AAD24975D4BA5B1680429673943668B026C@TK5EX14MBXC283.redmond.corp.microsoft.com>
References: <747787E65E3FBD4E93F0EB2F14DB556B0F50A96C@xmb-rcd-x04.cisco.com>
In-Reply-To: <747787E65E3FBD4E93F0EB2F14DB556B0F50A96C@xmb-rcd-x04.cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.36]
Content-Type: multipart/alternative; boundary="_000_4E1F6AAD24975D4BA5B1680429673943668B026CTK5EX14MBXC283r_"
MIME-Version: 1.0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:CAL; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(164054002)(377454001)(46102001)(16406001)(5343635001)(5343655001)(31966008)(512954001)(54316001)(54356001)(53806001)(51856001)(47976001)(15202345001)(33656001)(4396001)(47446002)(49866001)(50986001)(76482001)(44976002)(47736001)(74502001)(74662001)(55846005); DIR:OUT; SFP:; LANG:en; 
X-OriginatorOrg: microsoft.onmicrosoft.com
X-Forefront-PRVS: 0663390E1B
Subject: Re: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA, version 01
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 13 Nov 2012 23:35:35 -0000

--_000_4E1F6AAD24975D4BA5B1680429673943668B026CTK5EX14MBXC283r_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

As background, if there was a version of this spec that did not assume that=
 the parameters would be concatenated together in a specific way, but left =
them as independent inputs and outputs, as AES GCM and AES CTR do, it would=
 be a better match for JOSE's use case.

                                                            -- Mike

From: cfrg-bounces@irtf.org [mailto:cfrg-bounces@irtf.org] On Behalf Of Dav=
id McGrew (mcgrew)
Sent: Monday, November 12, 2012 10:21 AM
To: cfrg@irtf.org; jose@ietf.org
Subject: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA, version=
 01

Hi,

There is a new version of "Authenticated Encryption with AES-CBC and HMAC-S=
HA", and I would appreciate your review.   It is online at <https://datatra=
cker.ietf.org/doc/draft-mcgrew-aead-aes-cbc-hmac-sha2/?include_text=3D1><ht=
tps://datatracker.ietf.org/doc/draft-mcgrew-aead-aes-cbc-hmac-sha2/?include=
_text=3D1%3e>   The diff between the current and the previous version is av=
ailable at <http://www.ietf.org/rfcdiff?url2=3Ddraft-mcgrew-aead-aes-cbc-hm=
ac-sha2-01><http://www.ietf.org/rfcdiff?url2=3Ddraft-mcgrew-aead-aes-cbc-hm=
ac-sha2-01%3e>

This draft has been proposed for use in the JOSE WG <http://datatracker.iet=
f.org/wg/jose/><http://datatracker.ietf.org/wg/jose/%3e> , where its adopti=
on would allow the working group to omit "raw" unauthenticated encryption, =
e.g. AES-CBC, and only include authenticated encryption.   Thus I am asking=
 for your help in making

John Foley generated test cases that correspond to the current version of t=
he draft, but I didn't include these in the draft because I did not yet get=
 confirmation from a second independent implementation.   With hope, there =
will not be any need for any normative changes, and I will include these af=
ter I get confirmation.

Thanks,

David

--_000_4E1F6AAD24975D4BA5B1680429673943668B026CTK5EX14MBXC283r_
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-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" 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=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.apple-style-span
	{mso-style-name:apple-style-span;}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">As background, if there w=
as a version of this spec that did not assume that the parameters would be =
concatenated together in a specific way, but left them as
 independent inputs and outputs, as AES GCM and AES CTR do, it would be a b=
etter match for JOSE&#8217;s use case.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> cfrg-bou=
nces@irtf.org [mailto:cfrg-bounces@irtf.org]
<b>On Behalf Of </b>David McGrew (mcgrew)<br>
<b>Sent:</b> Monday, November 12, 2012 10:21 AM<br>
<b>To:</b> cfrg@irtf.org; jose@ietf.org<br>
<b>Subject:</b> [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA, =
version 01<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:black">Hi,<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:black"><o:p>&nbsp;</o:p></span></p=
>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:black">There is a new version of &=
quot;</span><span class=3D"apple-style-span"><span style=3D"font-size:13.5p=
t;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:black">Authe=
nticated Encryption
 with AES-CBC and HMAC-SHA&quot;, and&nbsp;</span></span><span style=3D"fon=
t-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:=
black">I would appreciate your review. &nbsp; It is online at &lt;<a href=
=3D"https://datatracker.ietf.org/doc/draft-mcgrew-aead-aes-cbc-hmac-sha2/?i=
nclude_text=3D1%3e">https://datatracker.ietf.org/doc/draft-mcgrew-aead-aes-=
cbc-hmac-sha2/?include_text=3D1&gt;</a>&nbsp;
 &nbsp;The diff between the current and the previous version is available a=
t &lt;<a href=3D"http://www.ietf.org/rfcdiff?url2=3Ddraft-mcgrew-aead-aes-c=
bc-hmac-sha2-01%3e">http://www.ietf.org/rfcdiff?url2=3Ddraft-mcgrew-aead-ae=
s-cbc-hmac-sha2-01&gt;</a><o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:black"><o:p>&nbsp;</o:p></span></p=
>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:black">This draft has been propose=
d for use in the JOSE WG &lt;<a href=3D"http://datatracker.ietf.org/wg/jose=
/%3e">http://datatracker.ietf.org/wg/jose/&gt;</a>&nbsp;, where its adoptio=
n
 would allow the working group to omit &quot;raw&quot; unauthenticated encr=
yption, e.g. AES-CBC, and only include authenticated encryption. &nbsp; Thu=
s I am asking for your help in making&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:black"><o:p>&nbsp;</o:p></span></p=
>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:black">John Foley generated test c=
ases that correspond to the current version of the draft, but I didn't incl=
ude these in the draft because I did not yet get confirmation
 from a second independent implementation. &nbsp; With hope, there will not=
 be any need for any normative changes, and I will include these after I ge=
t confirmation. &nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:black"><o:p>&nbsp;</o:p></span></p=
>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:black">Thanks,<o:p></o:p></span></=
p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:black"><o:p>&nbsp;</o:p></span></p=
>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:black">David<o:p></o:p></span></p>
</div>
</div>
</body>
</html>

--_000_4E1F6AAD24975D4BA5B1680429673943668B026CTK5EX14MBXC283r_--

From housley@vigilsec.com  Sun Nov 18 04:45:40 2012
Return-Path: <housley@vigilsec.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8937721F84C0 for <cfrg@ietfa.amsl.com>; Sun, 18 Nov 2012 04:45:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.598
X-Spam-Level: 
X-Spam-Status: No, score=-102.598 tagged_above=-999 required=5 tests=[AWL=-0.000, BAYES_00=-2.599, HTML_MESSAGE=0.001, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id k5A9yz8A2dt5 for <cfrg@ietfa.amsl.com>; Sun, 18 Nov 2012 04:45:39 -0800 (PST)
Received: from odin.smetech.net (mail.smetech.net [208.254.26.82]) by ietfa.amsl.com (Postfix) with ESMTP id 71B1321F84B9 for <cfrg@irtf.org>; Sun, 18 Nov 2012 04:45:39 -0800 (PST)
Received: from localhost (unknown [208.254.26.81]) by odin.smetech.net (Postfix) with ESMTP id 85BFA9A4006; Sun, 18 Nov 2012 07:45:44 -0500 (EST)
X-Virus-Scanned: amavisd-new at smetech.net
Received: from odin.smetech.net ([208.254.26.82]) by localhost (ronin.smetech.net [208.254.26.81]) (amavisd-new, port 10024) with ESMTP id TjBKGZGNrKKm; Sun, 18 Nov 2012 07:45:33 -0500 (EST)
Received: from [5.5.33.15] (vpn.snozzages.com [204.194.22.7]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by odin.smetech.net (Postfix) with ESMTP id AAA919A4002; Sun, 18 Nov 2012 07:45:37 -0500 (EST)
Mime-Version: 1.0 (Apple Message framework v1085)
Content-Type: multipart/alternative; boundary=Apple-Mail-91--874108683
From: Russ Housley <housley@vigilsec.com>
In-Reply-To: <4E1F6AAD24975D4BA5B1680429673943668B026C@TK5EX14MBXC283.redmond.corp.microsoft.com>
Date: Sun, 18 Nov 2012 07:45:29 -0500
Message-Id: <FE2BC73F-41FA-4B5B-900C-117749CEEBAC@vigilsec.com>
References: <747787E65E3FBD4E93F0EB2F14DB556B0F50A96C@xmb-rcd-x04.cisco.com> <4E1F6AAD24975D4BA5B1680429673943668B026C@TK5EX14MBXC283.redmond.corp.microsoft.com>
To: Mike Jones <Michael.Jones@microsoft.com>
X-Mailer: Apple Mail (2.1085)
Cc: IRTF CFRG <cfrg@irtf.org>, jose@ietf.org
Subject: Re: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA, version 01
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sun, 18 Nov 2012 12:45:40 -0000

--Apple-Mail-91--874108683
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

Have you looked at the algorithm in RFC 6476?  While the discussion is =
CMS-specific, the algorithm could be used with another syntax.

Russ


On Nov 12, 2012, at 1:55 PM, Mike Jones wrote:

> As background, if there was a version of this spec that did not assume =
that the parameters would be concatenated together in a specific way, =
but left them as independent inputs and outputs, as AES GCM and AES CTR =
do, it would be a better match for JOSE=92s use case.
> =20
>                                                             -- Mike
> =20
> From: cfrg-bounces@irtf.org [mailto:cfrg-bounces@irtf.org] On Behalf =
Of David McGrew (mcgrew)
> Sent: Monday, November 12, 2012 10:21 AM
> To: cfrg@irtf.org; jose@ietf.org
> Subject: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA, =
version 01
> =20
> Hi,
> =20
> There is a new version of "Authenticated Encryption with AES-CBC and =
HMAC-SHA", and I would appreciate your review.   It is online at =
<https://datatracker.ietf.org/doc/draft-mcgrew-aead-aes-cbc-hmac-sha2/?inc=
lude_text=3D1>   The diff between the current and the previous version =
is available at =
<http://www.ietf.org/rfcdiff?url2=3Ddraft-mcgrew-aead-aes-cbc-hmac-sha2-01=
>
> =20
> This draft has been proposed for use in the JOSE WG =
<http://datatracker.ietf.org/wg/jose/> , where its adoption would allow =
the working group to omit "raw" unauthenticated encryption, e.g. =
AES-CBC, and only include authenticated encryption.   Thus I am asking =
for your help in making=20
> =20
> John Foley generated test cases that correspond to the current version =
of the draft, but I didn't include these in the draft because I did not =
yet get confirmation from a second independent implementation.   With =
hope, there will not be any need for any normative changes, and I will =
include these after I get confirmation. =20
> =20
> Thanks,
> =20
> David
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg


--Apple-Mail-91--874108683
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=windows-1252

<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Have =
you looked at the algorithm in RFC 6476? &nbsp;While the discussion is =
CMS-specific, the algorithm could be used with another =
syntax.<div><br></div><div>Russ</div><div><br></div><div><br><div><div>On =
Nov 12, 2012, at 1:55 PM, Mike Jones wrote:</div><br =
class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><span =
class=3D"Apple-style-span" style=3D"border-collapse: separate; =
font-family: Helvetica; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: =
none; white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div =
lang=3D"EN-US" link=3D"blue" vlink=3D"purple"><div class=3D"WordSection1" =
style=3D"page: WordSection1; "><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
12pt; font-family: 'Times New Roman', serif; "><span style=3D"font-size: =
11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">As =
background, if there was a version of this spec that did not assume that =
the parameters would be concatenated together in a specific way, but =
left them as independent inputs and outputs, as AES GCM and AES CTR do, =
it would be a better match for JOSE=92s use =
case.<o:p></o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
12pt; font-family: 'Times New Roman', serif; "><span style=3D"font-size: =
11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); =
"><o:p>&nbsp;</o:p></span></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
12pt; font-family: 'Times New Roman', serif; "><span style=3D"font-size: =
11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); =
">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- =
Mike<o:p></o:p></span></div><div style=3D"margin-top: 0in; margin-right: =
0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; =
font-family: 'Times New Roman', serif; "><span style=3D"font-size: 11pt; =
font-family: Calibri, sans-serif; color: rgb(31, 73, 125); =
"><o:p>&nbsp;</o:p></span></div><div><div style=3D"border-right-style: =
none; border-bottom-style: none; border-left-style: none; border-width: =
initial; border-color: initial; border-top-style: solid; =
border-top-color: rgb(181, 196, 223); border-top-width: 1pt; =
padding-top: 3pt; padding-right: 0in; padding-bottom: 0in; padding-left: =
0in; "><div style=3D"margin-top: 0in; margin-right: 0in; margin-left: =
0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New =
Roman', serif; "><b><span style=3D"font-size: 10pt; font-family: Tahoma, =
sans-serif; ">From:</span></b><span style=3D"font-size: 10pt; =
font-family: Tahoma, sans-serif; "><span =
class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"mailto:cfrg-bounces@irtf.org" style=3D"color: blue; =
text-decoration: underline; ">cfrg-bounces@irtf.org</a><span =
class=3D"Apple-converted-space">&nbsp;</span>[mailto:cfrg-bounces@irtf.org=
]<span class=3D"Apple-converted-space">&nbsp;</span><b>On Behalf Of<span =
class=3D"Apple-converted-space">&nbsp;</span></b>David McGrew =
(mcgrew)<br><b>Sent:</b><span =
class=3D"Apple-converted-space">&nbsp;</span>Monday, November 12, 2012 =
10:21 AM<br><b>To:</b><span =
class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"mailto:cfrg@irtf.org" style=3D"color: blue; text-decoration: =
underline; ">cfrg@irtf.org</a>;<span =
class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"mailto:jose@ietf.org" style=3D"color: blue; text-decoration: =
underline; ">jose@ietf.org</a><br><b>Subject:</b><span =
class=3D"Apple-converted-space">&nbsp;</span>[Cfrg] Authenticated =
Encryption with AES-CBC and HMAC-SHA, version =
01<o:p></o:p></span></div></div></div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
12pt; font-family: 'Times New Roman', serif; =
"><o:p>&nbsp;</o:p></div><div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
12pt; font-family: 'Times New Roman', serif; "><span style=3D"font-size: =
10.5pt; font-family: Calibri, sans-serif; color: black; =
">Hi,<o:p></o:p></span></div></div><div><div style=3D"margin-top: 0in; =
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: =
12pt; font-family: 'Times New Roman', serif; "><span style=3D"font-size: =
10.5pt; font-family: Calibri, sans-serif; color: black; =
"><o:p>&nbsp;</o:p></span></div></div><div><div style=3D"margin-top: =
0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif; "><span =
style=3D"font-size: 10.5pt; font-family: Calibri, sans-serif; color: =
black; ">There is a new version of "</span><span =
class=3D"apple-style-span"><span style=3D"font-size: 13.5pt; =
font-family: Calibri, sans-serif; color: black; ">Authenticated =
Encryption with AES-CBC and HMAC-SHA", and&nbsp;</span></span><span =
style=3D"font-size: 10.5pt; font-family: Calibri, sans-serif; color: =
black; ">I would appreciate your review. &nbsp; It is online at &lt;<a =
href=3D"https://datatracker.ietf.org/doc/draft-mcgrew-aead-aes-cbc-hmac-sh=
a2/?include_text=3D1%3e" style=3D"color: blue; text-decoration: =
underline; =
">https://datatracker.ietf.org/doc/draft-mcgrew-aead-aes-cbc-hmac-sha2/?in=
clude_text=3D1&gt;</a>&nbsp; &nbsp;The diff between the current and the =
previous version is available at &lt;<a =
href=3D"http://www.ietf.org/rfcdiff?url2=3Ddraft-mcgrew-aead-aes-cbc-hmac-=
sha2-01%3e" style=3D"color: blue; text-decoration: underline; =
">http://www.ietf.org/rfcdiff?url2=3Ddraft-mcgrew-aead-aes-cbc-hmac-sha2-0=
1&gt;</a><o:p></o:p></span></div></div><div><div style=3D"margin-top: =
0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif; "><span =
style=3D"font-size: 10.5pt; font-family: Calibri, sans-serif; color: =
black; "><o:p>&nbsp;</o:p></span></div></div><div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0in; =
margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New =
Roman', serif; "><span style=3D"font-size: 10.5pt; font-family: Calibri, =
sans-serif; color: black; ">This draft has been proposed for use in the =
JOSE WG &lt;<a href=3D"http://datatracker.ietf.org/wg/jose/%3e" =
style=3D"color: blue; text-decoration: underline; =
">http://datatracker.ietf.org/wg/jose/&gt;</a>&nbsp;, where its adoption =
would allow the working group to omit "raw" unauthenticated encryption, =
e.g. AES-CBC, and only include authenticated encryption. &nbsp; Thus I =
am asking for your help in =
making&nbsp;<o:p></o:p></span></div></div><div><div style=3D"margin-top: =
0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif; "><span =
style=3D"font-size: 10.5pt; font-family: Calibri, sans-serif; color: =
black; "><o:p>&nbsp;</o:p></span></div></div><div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0in; =
margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New =
Roman', serif; "><span style=3D"font-size: 10.5pt; font-family: Calibri, =
sans-serif; color: black; ">John Foley generated test cases that =
correspond to the current version of the draft, but I didn't include =
these in the draft because I did not yet get confirmation from a second =
independent implementation. &nbsp; With hope, there will not be any need =
for any normative changes, and I will include these after I get =
confirmation. &nbsp;<o:p></o:p></span></div></div><div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0in; =
margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New =
Roman', serif; "><span style=3D"font-size: 10.5pt; font-family: Calibri, =
sans-serif; color: black; =
"><o:p>&nbsp;</o:p></span></div></div><div><div style=3D"margin-top: =
0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif; "><span =
style=3D"font-size: 10.5pt; font-family: Calibri, sans-serif; color: =
black; ">Thanks,<o:p></o:p></span></div></div><div><div =
style=3D"margin-top: 0in; margin-right: 0in; margin-left: 0in; =
margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New =
Roman', serif; "><span style=3D"font-size: 10.5pt; font-family: Calibri, =
sans-serif; color: black; =
"><o:p>&nbsp;</o:p></span></div></div><div><div style=3D"margin-top: =
0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; =
font-size: 12pt; font-family: 'Times New Roman', serif; "><span =
style=3D"font-size: 10.5pt; font-family: Calibri, sans-serif; color: =
black; =
">David<o:p></o:p></span></div></div></div>_______________________________=
________________<br>Cfrg mailing list<br><a href=3D"mailto:Cfrg@irtf.org" =
style=3D"color: blue; text-decoration: underline; =
">Cfrg@irtf.org</a><br><a =
href=3D"http://www.irtf.org/mailman/listinfo/cfrg" style=3D"color: blue; =
text-decoration: underline; =
">http://www.irtf.org/mailman/listinfo/cfrg</a><br></div></span></blockquo=
te></div><br></div></body></html>=

--Apple-Mail-91--874108683--

From t.acar@att.net  Sun Nov 18 10:45:21 2012
Return-Path: <t.acar@att.net>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5C21121F8D68 for <cfrg@ietfa.amsl.com>; Sun, 18 Nov 2012 10:45:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.596
X-Spam-Level: 
X-Spam-Status: No, score=-2.596 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HS_INDEX_PARAM=0.001, HTML_MESSAGE=0.001, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DVbhm6qBrzTS for <cfrg@ietfa.amsl.com>; Sun, 18 Nov 2012 10:45:19 -0800 (PST)
Received: from nm1-vm0.access.bullet.mail.sp2.yahoo.com (nm1-vm0.access.bullet.mail.sp2.yahoo.com [98.139.44.94]) by ietfa.amsl.com (Postfix) with ESMTP id E88C121F8C13 for <cfrg@irtf.org>; Sun, 18 Nov 2012 10:45:18 -0800 (PST)
Received: from [98.139.44.97] by nm1.access.bullet.mail.sp2.yahoo.com with NNFMP; 18 Nov 2012 18:45:14 -0000
Received: from [67.195.22.119] by tm2.access.bullet.mail.sp2.yahoo.com with NNFMP; 18 Nov 2012 18:45:14 -0000
Received: from [127.0.0.1] by smtp114.sbc.mail.gq1.yahoo.com with NNFMP; 18 Nov 2012 18:45:14 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=att.net; s=s1024; t=1353264314; bh=Z7wlkYd9cQf3WyVmyh9yA63YrSJtBsAmaSxYWI/O8U8=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:From:To:Cc:References:In-Reply-To:Subject:Date:Message-ID:MIME-Version:Content-Type:X-Mailer:Content-Language:thread-index; b=lrE6PQxf+jBUCwHwNCBxrjXgy1oM2nB3K3SvqyfhadJogtN+pwcLi+uRNLlV5eHZ5+YqdKzsc+eKny+iWXzdDcu+vjliGEBpGim/XIzj8EMJog6Ok9jBlLMpauNCzDZ4bi9aDiDXjz9ndHONjgI21c7ucqLEEzihftyIzlkCJ1Y=
X-Yahoo-Newman-Id: 579909.26225.bm@smtp114.sbc.mail.gq1.yahoo.com
X-Yahoo-Newman-Property: ymail-3
X-YMail-OSG: PmyV.QkVM1k2RFGxCoaQleSuk2aiveQ9_ptiX3a1xwiQY5r SfZ6acXvjRiWCvXQpvW48MfP_5P3_K5YWQd2qywgTeSPZZaoks5DOL1N1UOi CgS_pAHtC5Q8TFilvRTSI_OFIVnA17_ZSpSy1pPfJaKjgL.V6xMFJWAagDg0 2YpsmUUPqf.u4hhG9HqDUhArCGfnZNGiGs1tw5E56nNMq0.ku5tj_nuYKxwF CUwRQOBmzo4KPtnU3d.5V7_3SPVgA7MM8lY1XxAIaJaaBdZtIt3d50Nmh0ZA Tn0I8M.sFcm2_bmTz2HomlyDJTYISgmQKQNKM88UelxLhZm0xxreBX8A8Jte VoboLslCICEhgQNvEzEWBqb.l4O.9gD1ak2wjtuLA4RW68Do7nqInrC8wRrB WcXy7W0ms77njb8FmxL.PfTkWHb._WhJeKSxxHqLQa.AFBl1Yj0bH0ZU7qmh yTAbd6H3DMIzduV0-
X-Yahoo-SMTP: 3qJt0gGswBA7ciDNaLLHiPpvI7NLZWkkd3zL
Received: from tolginator (t.acar@174.61.228.6 with login) by smtp114.sbc.mail.gq1.yahoo.com with SMTP; 18 Nov 2012 10:45:14 -0800 PST
From: "Tolga Acar" <t.acar@att.net>
To: "'Russ Housley'" <housley@vigilsec.com>, "'Mike Jones'" <Michael.Jones@microsoft.com>
References: <747787E65E3FBD4E93F0EB2F14DB556B0F50A96C@xmb-rcd-x04.cisco.com>	<4E1F6AAD24975D4BA5B1680429673943668B026C@TK5EX14MBXC283.redmond.corp.microsoft.com> <FE2BC73F-41FA-4B5B-900C-117749CEEBAC@vigilsec.com>
In-Reply-To: <FE2BC73F-41FA-4B5B-900C-117749CEEBAC@vigilsec.com>
Date: Sun, 18 Nov 2012 10:44:56 -0800
Message-ID: <003801cdc5bc$ce464e50$6ad2eaf0$@att.net>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0039_01CDC579.C02642A0"
X-Mailer: Microsoft Outlook 14.0
Content-Language: en-us
thread-index: AQH7LcwHg/ezhejU5qFNOX+NYfYUAwFycKfHApQrwMiXdOUeEA==
Cc: 'IRTF CFRG' <cfrg@irtf.org>, jose@ietf.org
Subject: Re: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA, version 01
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Sun, 18 Nov 2012 18:45:21 -0000

This is a multipart message in MIME format.

------=_NextPart_000_0039_01CDC579.C02642A0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Quick feedback on the draft

 

.         Page 5, item 3, padding string PS. Please \cite PKCS#5 so it is
clear this is not new, but a reuse of an existing padding scheme.

.         Section 2.2, step 3. When MAC verification fails, the draft
recommends halting the operation before CBC decryption. We have seen timing
and error-code based attacks against TLS' MAC-then-Encrypt scheme. I realize
that the draft is prescribing E-t-M. Nonetheless, considering a potential
flaw in HMAC-SHA2 series (I don't know of any, but .), I'd suggest not
halting the operation even after MAC check fails, but continuing on to CBC
decryption, and then returning an error that doesn't distinguish between a
MAC and a decryption (pad check) error. Yes, this would consume more CPU
cycles only to waste them *under an attack*, which is not necessarily bad.

.         Section 2.2, step 5. Unspecified error case of invalid padding
(link to my comment above).

 

Best,

-          Tolga

 

From: cfrg-bounces@irtf.org [mailto:cfrg-bounces@irtf.org] On Behalf Of Russ
Housley
Sent: Sunday, November 18, 2012 4:45 AM
To: Mike Jones
Cc: IRTF CFRG; jose@ietf.org
Subject: Re: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA,
version 01

 

Have you looked at the algorithm in RFC 6476?  While the discussion is
CMS-specific, the algorithm could be used with another syntax.

 

Russ

 

 

On Nov 12, 2012, at 1:55 PM, Mike Jones wrote:





As background, if there was a version of this spec that did not assume that
the parameters would be concatenated together in a specific way, but left
them as independent inputs and outputs, as AES GCM and AES CTR do, it would
be a better match for JOSE's use case.

 

                                                            -- Mike

 

From: cfrg-bounces@irtf.org [mailto:cfrg-bounces@irtf.org] On Behalf Of
David McGrew (mcgrew)
Sent: Monday, November 12, 2012 10:21 AM
To: cfrg@irtf.org; jose@ietf.org
Subject: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA, version
01

 

Hi,

 

There is a new version of "Authenticated Encryption with AES-CBC and
HMAC-SHA", and I would appreciate your review.   It is online at
<https://datatracker.ietf.org/doc/draft-mcgrew-aead-aes-cbc-hmac-sha2/?inclu
de_text=1
<https://datatracker.ietf.org/doc/draft-mcgrew-aead-aes-cbc-hmac-sha2/?inclu
de_text=1%3e> >   The diff between the current and the previous version is
available at
<http://www.ietf.org/rfcdiff?url2=draft-mcgrew-aead-aes-cbc-hmac-sha2-01
<http://www.ietf.org/rfcdiff?url2=draft-mcgrew-aead-aes-cbc-hmac-sha2-01%3e>
>

 

This draft has been proposed for use in the JOSE WG
<http://datatracker.ietf.org/wg/jose/
<http://datatracker.ietf.org/wg/jose/%3e> > , where its adoption would allow
the working group to omit "raw" unauthenticated encryption, e.g. AES-CBC,
and only include authenticated encryption.   Thus I am asking for your help
in making 

 

John Foley generated test cases that correspond to the current version of
the draft, but I didn't include these in the draft because I did not yet get
confirmation from a second independent implementation.   With hope, there
will not be any need for any normative changes, and I will include these
after I get confirmation.  

 

Thanks,

 

David

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

 


------=_NextPart_000_0039_01CDC579.C02642A0
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:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 14 =
(filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:Helvetica;
	panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
span.apple-style-span
	{mso-style-name:apple-style-span;}
span.apple-converted-space
	{mso-style-name:apple-converted-space;}
span.EmailStyle19
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:609583004;
	mso-list-type:hybrid;
	mso-list-template-ids:1554964368 -574487082 67698691 67698693 67698689 =
67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
	{mso-level-start-at:0;
	mso-level-number-format:bullet;
	mso-level-text:-;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Calibri","sans-serif";
	mso-fareast-font-family:Calibri;
	mso-bidi-font-family:"Times New Roman";}
@list l0:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l0:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level5
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l0:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level8
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l1
	{mso-list-id:1900314181;
	mso-list-type:hybrid;
	mso-list-template-ids:-1157354052 -248639884 67698691 67698693 67698689 =
67698691 67698693 67698689 67698691 67698693;}
@list l1:level1
	{mso-level-start-at:0;
	mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;
	mso-fareast-font-family:Calibri;
	mso-bidi-font-family:"Times New Roman";}
@list l1:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l1:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l1:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l1:level5
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l1:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l1:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l1:level8
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l1:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Quick feedback on the draft<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoListParagraph =
style=3D'text-indent:-.25in;mso-list:l1 level1 lfo1'><![if =
!supportLists]><span =
style=3D'font-size:11.0pt;font-family:Symbol;color:#1F497D'><span =
style=3D'mso-list:Ignore'>&middot;<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
</span></span></span><![endif]><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Page 5, item 3, padding string PS. Please \cite PKCS#5 so it is clear =
this is not new, but a reuse of an existing padding =
scheme.<o:p></o:p></span></p><p class=3DMsoListParagraph =
style=3D'text-indent:-.25in;mso-list:l1 level1 lfo1'><![if =
!supportLists]><span =
style=3D'font-size:11.0pt;font-family:Symbol;color:#1F497D'><span =
style=3D'mso-list:Ignore'>&middot;<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
</span></span></span><![endif]><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Section 2.2, step 3. When MAC verification fails, the draft =
recommends halting the operation before CBC decryption. We have seen =
timing and error-code based attacks against TLS&#8217; MAC-then-Encrypt =
scheme. I realize that the draft is prescribing E-t-M. Nonetheless, =
considering a potential flaw in HMAC-SHA2 series (I don&#8217;t know of =
any, but &#8230;), I&#8217;d suggest not halting the operation even =
after MAC check fails, but continuing on to CBC decryption, and then =
returning an error that doesn&#8217;t distinguish between a MAC and a =
decryption (pad check) error. Yes, this would consume more CPU cycles =
only to waste them *<b>under an attack</b>*, which is not necessarily =
bad.<o:p></o:p></span></p><p class=3DMsoListParagraph =
style=3D'text-indent:-.25in;mso-list:l1 level1 lfo1'><![if =
!supportLists]><span =
style=3D'font-size:11.0pt;font-family:Symbol;color:#1F497D'><span =
style=3D'mso-list:Ignore'>&middot;<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
</span></span></span><![endif]><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Section 2.2, step 5. Unspecified error case of invalid padding (link =
to my comment above).<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Best,<o:p></o:p></span></p><p class=3DMsoListParagraph =
style=3D'text-indent:-.25in;mso-list:l0 level1 lfo2'><![if =
!supportLists]><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><span style=3D'mso-list:Ignore'>-<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
</span></span></span><![endif]><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Tolga<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><div><div =
style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in'><p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> =
cfrg-bounces@irtf.org [mailto:cfrg-bounces@irtf.org] <b>On Behalf Of =
</b>Russ Housley<br><b>Sent:</b> Sunday, November 18, 2012 4:45 =
AM<br><b>To:</b> Mike Jones<br><b>Cc:</b> IRTF CFRG; =
jose@ietf.org<br><b>Subject:</b> Re: [Cfrg] Authenticated Encryption =
with AES-CBC and HMAC-SHA, version =
01<o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>Have you =
looked at the algorithm in RFC 6476? &nbsp;While the discussion is =
CMS-specific, the algorithm could be used with another =
syntax.<o:p></o:p></p><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p =
class=3DMsoNormal>Russ<o:p></o:p></p></div><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><div><div><p class=3DMsoNormal>On =
Nov 12, 2012, at 1:55 PM, Mike Jones wrote:<o:p></o:p></p></div><p =
class=3DMsoNormal><br><br><o:p></o:p></p><div><div><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>As background, if there was a version of this spec that did not =
assume that the parameters would be concatenated together in a specific =
way, but left them as independent inputs and outputs, as AES GCM and AES =
CTR do, it would be a better match for JOSE&#8217;s use =
case.</span><o:p></o:p></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>&nbsp;</span><o:p></o:p></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- =
Mike</span><o:p></o:p></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>&nbsp;</span><o:p></o:p></p></div><div><div =
style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in;border-width:initial;border-color:initial'><div><p =
class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span class=3Dapple-converted-space><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>&nbsp;</span=
></span><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'><a =
href=3D"mailto:cfrg-bounces@irtf.org">cfrg-bounces@irtf.org</a><span =
class=3Dapple-converted-space>&nbsp;</span>[<a =
href=3D"mailto:cfrg-bounces@irtf.org">mailto:cfrg-bounces@irtf.org</a>]<s=
pan class=3Dapple-converted-space>&nbsp;</span><b>On Behalf Of<span =
class=3Dapple-converted-space>&nbsp;</span></b>David McGrew =
(mcgrew)<br><b>Sent:</b><span =
class=3Dapple-converted-space>&nbsp;</span>Monday, November 12, 2012 =
10:21 AM<br><b>To:</b><span =
class=3Dapple-converted-space>&nbsp;</span><a =
href=3D"mailto:cfrg@irtf.org">cfrg@irtf.org</a>;<span =
class=3Dapple-converted-space>&nbsp;</span><a =
href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br><b>Subject:</b><span =
class=3Dapple-converted-space>&nbsp;</span>[Cfrg] Authenticated =
Encryption with AES-CBC and HMAC-SHA, version =
01</span><o:p></o:p></p></div></div></div><div><p =
class=3DMsoNormal>&nbsp;<o:p></o:p></p></div><div><div><p =
class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
>Hi,</span><o:p></o:p></p></div></div><div><div><p =
class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
>&nbsp;</span><o:p></o:p></p></div></div><div><div><p =
class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
>There is a new version of &quot;</span><span =
class=3Dapple-style-span><span =
style=3D'font-size:13.5pt;font-family:"Calibri","sans-serif";color:black'=
>Authenticated Encryption with AES-CBC and HMAC-SHA&quot;, =
and&nbsp;</span></span><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
>I would appreciate your review. &nbsp; It is online at &lt;<a =
href=3D"https://datatracker.ietf.org/doc/draft-mcgrew-aead-aes-cbc-hmac-s=
ha2/?include_text=3D1%3e">https://datatracker.ietf.org/doc/draft-mcgrew-a=
ead-aes-cbc-hmac-sha2/?include_text=3D1&gt;</a>&nbsp; &nbsp;The diff =
between the current and the previous version is available at &lt;<a =
href=3D"http://www.ietf.org/rfcdiff?url2=3Ddraft-mcgrew-aead-aes-cbc-hmac=
-sha2-01%3e">http://www.ietf.org/rfcdiff?url2=3Ddraft-mcgrew-aead-aes-cbc=
-hmac-sha2-01&gt;</a></span><o:p></o:p></p></div></div><div><div><p =
class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
>&nbsp;</span><o:p></o:p></p></div></div><div><div><p =
class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
>This draft has been proposed for use in the JOSE WG &lt;<a =
href=3D"http://datatracker.ietf.org/wg/jose/%3e">http://datatracker.ietf.=
org/wg/jose/&gt;</a>&nbsp;, where its adoption would allow the working =
group to omit &quot;raw&quot; unauthenticated encryption, e.g. AES-CBC, =
and only include authenticated encryption. &nbsp; Thus I am asking for =
your help in making&nbsp;</span><o:p></o:p></p></div></div><div><div><p =
class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
>&nbsp;</span><o:p></o:p></p></div></div><div><div><p =
class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
>John Foley generated test cases that correspond to the current version =
of the draft, but I didn't include these in the draft because I did not =
yet get confirmation from a second independent implementation. &nbsp; =
With hope, there will not be any need for any normative changes, and I =
will include these after I get confirmation. =
&nbsp;</span><o:p></o:p></p></div></div><div><div><p =
class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
>&nbsp;</span><o:p></o:p></p></div></div><div><div><p =
class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
>Thanks,</span><o:p></o:p></p></div></div><div><div><p =
class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
>&nbsp;</span><o:p></o:p></p></div></div><div><div><p =
class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif";color:black'=
>David</span><o:p></o:p></p></div></div><p class=3DMsoNormal><span =
style=3D'font-size:13.5pt;font-family:"Helvetica","sans-serif"'>_________=
______________________________________<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">http://www.irtf.org/ma=
ilman/listinfo/cfrg</a><o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></div></body></html>
------=_NextPart_000_0039_01CDC579.C02642A0--


From Michael.Jones@microsoft.com  Mon Nov 19 17:48:58 2012
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 16BD921F87E6 for <cfrg@ietfa.amsl.com>; Mon, 19 Nov 2012 17:48:58 -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=[AWL=-0.000, BAYES_00=-2.599, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zGlAFYL5sdyy for <cfrg@ietfa.amsl.com>; Mon, 19 Nov 2012 17:48:56 -0800 (PST)
Received: from NA01-BY2-obe.outbound.protection.outlook.com (na01-by2-obe.ptr.protection.outlook.com [207.46.100.23]) by ietfa.amsl.com (Postfix) with ESMTP id 1738D21F87E1 for <cfrg@irtf.org>; Mon, 19 Nov 2012 17:48:55 -0800 (PST)
Received: from BL2FFO11FD011.protection.gbl (10.173.161.203) by BL2FFO11HUB007.protection.gbl (10.173.160.227) with Microsoft SMTP Server (TLS) id 15.0.556.9; Tue, 20 Nov 2012 01:48:49 +0000
Received: from TK5EX14MLTC101.redmond.corp.microsoft.com (131.107.125.37) by BL2FFO11FD011.mail.protection.outlook.com (10.173.161.17) with Microsoft SMTP Server (TLS) id 15.0.556.9 via Frontend Transport; Tue, 20 Nov 2012 01:48:48 +0000
Received: from TK5EX14MBXC283.redmond.corp.microsoft.com ([169.254.2.146]) by TK5EX14MLTC101.redmond.corp.microsoft.com ([157.54.79.178]) with mapi id 14.02.0318.003; Tue, 20 Nov 2012 01:48:43 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Russ Housley <housley@vigilsec.com>
Thread-Topic: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA, version 01
Thread-Index: AQHNxYqe+EdNf2OoW02Ggo3Wp5fiaZfx9t3g
Date: Tue, 20 Nov 2012 01:48:43 +0000
Message-ID: <4E1F6AAD24975D4BA5B1680429673943668D8EE3@TK5EX14MBXC283.redmond.corp.microsoft.com>
References: <747787E65E3FBD4E93F0EB2F14DB556B0F50A96C@xmb-rcd-x04.cisco.com> <4E1F6AAD24975D4BA5B1680429673943668B026C@TK5EX14MBXC283.redmond.corp.microsoft.com> <FE2BC73F-41FA-4B5B-900C-117749CEEBAC@vigilsec.com>
In-Reply-To: <FE2BC73F-41FA-4B5B-900C-117749CEEBAC@vigilsec.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.73]
Content-Type: multipart/alternative; boundary="_000_4E1F6AAD24975D4BA5B1680429673943668D8EE3TK5EX14MBXC283r_"
MIME-Version: 1.0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:CAL; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(24454001)(51914002)(377454001)(164054002)(47446002)(54316002)(4396001)(76482001)(49866001)(5343655001)(47736001)(50986001)(16406001)(550184003)(74662001)(47976001)(44976002)(31966008)(5343635001)(56776001)(54356001)(512954001)(15202345001)(53806001)(46102001)(51856001)(56816002)(74502001)(33656001)(55846005); DIR:OUT; SFP:; LANG:en; 
X-OriginatorOrg: microsoft.onmicrosoft.com
X-Forefront-PRVS: 0671F32598
Cc: IRTF CFRG <cfrg@irtf.org>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA, version 01
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 20 Nov 2012 01:48:58 -0000

--_000_4E1F6AAD24975D4BA5B1680429673943668D8EE3TK5EX14MBXC283r_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Thanks for the pointer, Russ.  This is a useful point of reference in sever=
al regards.

                                                                -- Mike

From: Russ Housley [mailto:housley@vigilsec.com]
Sent: Sunday, November 18, 2012 4:45 AM
To: Mike Jones
Cc: IRTF CFRG; jose@ietf.org
Subject: Re: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA, ver=
sion 01

Have you looked at the algorithm in RFC 6476?  While the discussion is CMS-=
specific, the algorithm could be used with another syntax.

Russ


On Nov 12, 2012, at 1:55 PM, Mike Jones wrote:


As background, if there was a version of this spec that did not assume that=
 the parameters would be concatenated together in a specific way, but left =
them as independent inputs and outputs, as AES GCM and AES CTR do, it would=
 be a better match for JOSE's use case.

                                                            -- Mike

From: cfrg-bounces@irtf.org<mailto:cfrg-bounces@irtf.org> [mailto:cfrg-boun=
ces@irtf.org] On Behalf Of David McGrew (mcgrew)
Sent: Monday, November 12, 2012 10:21 AM
To: cfrg@irtf.org<mailto:cfrg@irtf.org>; jose@ietf.org<mailto:jose@ietf.org=
>
Subject: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA, version=
 01

Hi,

There is a new version of "Authenticated Encryption with AES-CBC and HMAC-S=
HA", and I would appreciate your review.   It is online at <https://datatra=
cker.ietf.org/doc/draft-mcgrew-aead-aes-cbc-hmac-sha2/?include_text=3D1><ht=
tps://datatracker.ietf.org/doc/draft-mcgrew-aead-aes-cbc-hmac-sha2/?include=
_text=3D1%3e>   The diff between the current and the previous version is av=
ailable at <http://www.ietf.org/rfcdiff?url2=3Ddraft-mcgrew-aead-aes-cbc-hm=
ac-sha2-01><http://www.ietf.org/rfcdiff?url2=3Ddraft-mcgrew-aead-aes-cbc-hm=
ac-sha2-01%3e>

This draft has been proposed for use in the JOSE WG <http://datatracker.iet=
f.org/wg/jose/><http://datatracker.ietf.org/wg/jose/%3e> , where its adopti=
on would allow the working group to omit "raw" unauthenticated encryption, =
e.g. AES-CBC, and only include authenticated encryption.   Thus I am asking=
 for your help in making

John Foley generated test cases that correspond to the current version of t=
he draft, but I didn't include these in the draft because I did not yet get=
 confirmation from a second independent implementation.   With hope, there =
will not be any need for any normative changes, and I will include these af=
ter I get confirmation.

Thanks,

David
_______________________________________________
Cfrg mailing list
Cfrg@irtf.org<mailto:Cfrg@irtf.org>
http://www.irtf.org/mailman/listinfo/cfrg


--_000_4E1F6AAD24975D4BA5B1680429673943668D8EE3TK5EX14MBXC283r_
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-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" 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=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Helvetica;
	panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
	{font-family:Helvetica;
	panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.apple-style-span
	{mso-style-name:apple-style-span;}
span.apple-converted-space
	{mso-style-name:apple-converted-space;}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
span.EmailStyle21
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#002060;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#002060">Thanks for the pointer, R=
uss.&nbsp; This is a useful point of reference in several regards.<o:p></o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#002060"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#002060">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<o:p></o:p></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#002060"><o:p>&nbsp;</o:p></span><=
/p>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Russ Hou=
sley [mailto:housley@vigilsec.com]
<br>
<b>Sent:</b> Sunday, November 18, 2012 4:45 AM<br>
<b>To:</b> Mike Jones<br>
<b>Cc:</b> IRTF CFRG; jose@ietf.org<br>
<b>Subject:</b> Re: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-S=
HA, version 01<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Have you looked at the algorithm in RFC 6476? &nbsp;=
While the discussion is CMS-specific, the algorithm could be used with anot=
her syntax.<o:p></o:p></p>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Russ<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<p class=3D"MsoNormal">On Nov 12, 2012, at 1:55 PM, Mike Jones wrote:<o:p><=
/o:p></p>
</div>
<p class=3D"MsoNormal"><br>
<br>
<o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">As background, if there w=
as a version of this spec that did not assume that the parameters would be =
concatenated together in a specific way, but left them as
 independent inputs and outputs, as AES GCM and AES CTR do, it would be a b=
etter match for JOSE&#8217;s use case.</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p><=
/p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p><=
/p>
</div>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in;border-width:initial;border-color:initial">
<div>
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span class=3D"apple-=
converted-space"><span style=3D"font-size:10.0pt;font-family:&quot;Tahoma&q=
uot;,&quot;sans-serif&quot;">&nbsp;</span></span><span style=3D"font-size:1=
0.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"><a href=3D"mai=
lto:cfrg-bounces@irtf.org">cfrg-bounces@irtf.org</a><span class=3D"apple-co=
nverted-space">&nbsp;</span>[<a href=3D"mailto:cfrg-bounces@irtf.org">mailt=
o:cfrg-bounces@irtf.org</a>]<span class=3D"apple-converted-space">&nbsp;</s=
pan><b>On
 Behalf Of<span class=3D"apple-converted-space">&nbsp;</span></b>David McGr=
ew (mcgrew)<br>
<b>Sent:</b><span class=3D"apple-converted-space">&nbsp;</span>Monday, Nove=
mber 12, 2012 10:21 AM<br>
<b>To:</b><span class=3D"apple-converted-space">&nbsp;</span><a href=3D"mai=
lto:cfrg@irtf.org">cfrg@irtf.org</a>;<span class=3D"apple-converted-space">=
&nbsp;</span><a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
<b>Subject:</b><span class=3D"apple-converted-space">&nbsp;</span>[Cfrg] Au=
thenticated Encryption with AES-CBC and HMAC-SHA, version 01</span><o:p></o=
:p></p>
</div>
</div>
</div>
<div>
<p class=3D"MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:black">Hi,</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:black">&nbsp;</span><o:p></o:p></p=
>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:black">There is a new version of &=
quot;</span><span class=3D"apple-style-span"><span style=3D"font-size:13.5p=
t;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:black">Authe=
nticated Encryption
 with AES-CBC and HMAC-SHA&quot;, and&nbsp;</span></span><span style=3D"fon=
t-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:=
black">I would appreciate your review. &nbsp; It is online at &lt;<a href=
=3D"https://datatracker.ietf.org/doc/draft-mcgrew-aead-aes-cbc-hmac-sha2/?i=
nclude_text=3D1%3e">https://datatracker.ietf.org/doc/draft-mcgrew-aead-aes-=
cbc-hmac-sha2/?include_text=3D1&gt;</a>&nbsp;
 &nbsp;The diff between the current and the previous version is available a=
t &lt;<a href=3D"http://www.ietf.org/rfcdiff?url2=3Ddraft-mcgrew-aead-aes-c=
bc-hmac-sha2-01%3e">http://www.ietf.org/rfcdiff?url2=3Ddraft-mcgrew-aead-ae=
s-cbc-hmac-sha2-01&gt;</a></span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:black">&nbsp;</span><o:p></o:p></p=
>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:black">This draft has been propose=
d for use in the JOSE WG &lt;<a href=3D"http://datatracker.ietf.org/wg/jose=
/%3e">http://datatracker.ietf.org/wg/jose/&gt;</a>&nbsp;, where its adoptio=
n
 would allow the working group to omit &quot;raw&quot; unauthenticated encr=
yption, e.g. AES-CBC, and only include authenticated encryption. &nbsp; Thu=
s I am asking for your help in making&nbsp;</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:black">&nbsp;</span><o:p></o:p></p=
>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:black">John Foley generated test c=
ases that correspond to the current version of the draft, but I didn't incl=
ude these in the draft because I did not yet get confirmation
 from a second independent implementation. &nbsp; With hope, there will not=
 be any need for any normative changes, and I will include these after I ge=
t confirmation. &nbsp;</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:black">&nbsp;</span><o:p></o:p></p=
>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:black">Thanks,</span><o:p></o:p></=
p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:black">&nbsp;</span><o:p></o:p></p=
>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:black">David</span><o:p></o:p></p>
</div>
</div>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:&quot;He=
lvetica&quot;,&quot;sans-serif&quot;">_____________________________________=
__________<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">http://www.irtf.org/m=
ailman/listinfo/cfrg</a><o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</body>
</html>

--_000_4E1F6AAD24975D4BA5B1680429673943668D8EE3TK5EX14MBXC283r_--

From dmjacobson@sbcglobal.net  Mon Nov 19 20:59:41 2012
Return-Path: <dmjacobson@sbcglobal.net>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8E81821F8807 for <cfrg@ietfa.amsl.com>; Mon, 19 Nov 2012 20:59:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level: 
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_25=0.6]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WAo9Bs27YhmN for <cfrg@ietfa.amsl.com>; Mon, 19 Nov 2012 20:59:38 -0800 (PST)
Received: from nm15.access.bullet.mail.mud.yahoo.com (nm15.access.bullet.mail.mud.yahoo.com [66.94.237.216]) by ietfa.amsl.com (Postfix) with ESMTP id 9FE2821F8804 for <cfrg@irtf.org>; Mon, 19 Nov 2012 20:59:38 -0800 (PST)
Received: from [66.94.237.127] by nm15.access.bullet.mail.mud.yahoo.com with NNFMP; 20 Nov 2012 04:59:37 -0000
Received: from [68.142.198.207] by tm2.access.bullet.mail.mud.yahoo.com with NNFMP; 20 Nov 2012 04:59:37 -0000
Received: from [127.0.0.1] by smtp111.sbc.mail.mud.yahoo.com with NNFMP; 20 Nov 2012 04:59:37 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s1024; t=1353387577; bh=N7CmV9TVhbHdB00FTGO/zbLY4jZAL9z7ZSTdWBtU7xY=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:Content-Type; b=FlM5bNNo1qt3YHaHKBJhYDZQ1eC6z9MY1YcGVh14dgZCvsP1QaQbPSY3oP5bHltem1skbPmsvORjr1B8h3s85BYN3XxPPBar8IufmYrE/fSC0HO+qHExUfE805yvUGRhldWSr23oRM16RBpL/Bj3b4t1GTWOtqvJiqiLPXhq5+w=
X-Yahoo-Newman-Id: 772578.97549.bm@smtp111.sbc.mail.mud.yahoo.com
X-Yahoo-Newman-Property: ymail-3
X-YMail-OSG: WcvZtEsVM1nHGcmVxRikrugDfrqFuRa7leClJ4b2RmTTLwY hWokEuuEFL_hVuuJyg8m6HkKaa6k_dd8G5HFXHOmxL3SVnnKzTfsCxX8f7AE xx5q_gU7HknbWvmdbjyXmheBZI38nOqyHJnu_91N5MCxYHMvurobnbqULIHz 5zHPGlEOmXAf4GborLOmGtFodTiozlvPAhClUplbaMxy4Bciro5WhqJEFKog rRzL_zo.LYv_gwS0tqL.kDk.m9GzY30cWXaHL3m9NtBgPcAGbKgWuUNo6Z6u YFOU_GLuhliyyHHEXFxP2JOmLSQqTq4aTiquJ_xWKlgSV3H_zJfhd4AMSG1C KhzJZPUdxIUOvF8Do.zAuw23qxYfkivKzPPFReFOkb0aGaca2hIpB0rQBfuc X.1UZaouEaN7vaiFVBHARQD7GH2beXqQisD2gsIfsXaIG3HplD3uqHMeECz3 BHhK0dDR9BF3xLDZkQ.caea3a3taUwg--
X-Yahoo-SMTP: nOrmCa6swBAE50FabWnlVFUpgFVJ9Gbi__8U5mpvhtQq7tTV1g--
Received: from [192.168.1.73] (dmjacobson@99.120.98.171 with plain) by smtp111.sbc.mail.mud.yahoo.com with SMTP; 19 Nov 2012 20:59:37 -0800 PST
Message-ID: <50AB0E38.9050700@sbcglobal.net>
Date: Mon, 19 Nov 2012 20:59:36 -0800
From: David Jacobson <dmjacobson@sbcglobal.net>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:16.0) Gecko/20121028 Thunderbird/16.0.2
MIME-Version: 1.0
To: cfrg@irtf.org
References: <747787E65E3FBD4E93F0EB2F14DB556B0F50A96C@xmb-rcd-x04.cisco.com>	<4E1F6AAD24975D4BA5B1680429673943668B026C@TK5EX14MBXC283.redmond.corp.microsoft.com> <FE2BC73F-41FA-4B5B-900C-117749CEEBAC@vigilsec.com> <003801cdc5bc$ce464e50$6ad2eaf0$@att.net>
In-Reply-To: <003801cdc5bc$ce464e50$6ad2eaf0$@att.net>
Content-Type: multipart/alternative; boundary="------------060401070801050705070309"
Subject: Re: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA, version 01
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 20 Nov 2012 04:59:41 -0000

This is a multi-part message in MIME format.
--------------060401070801050705070309
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

I think I'd argue the other way on continuing on on when the MAC fails.

One big advantage of encrypt-then-MAC is that the receiving end does 
MACverify-then-decrypt.  If the message has been tampered with, the MAC 
fails to verify and we never even enter the decryption stuff, thus there 
is never even the possibility of padding oracles, timing attacks, etc.  
If you go ahead with the decryption, you risk revealing something.

    --David



On 11/18/2012 10:44 AM, Tolga Acar wrote:
>
> Quick feedback on the draft
>
> ·Page 5, item 3, padding string PS. Please \cite PKCS#5 so it is clear 
> this is not new, but a reuse of an existing padding scheme.
>
> ·Section 2.2, step 3. When MAC verification fails, the draft 
> recommends halting the operation before CBC decryption. We have seen 
> timing and error-code based attacks against TLS' MAC-then-Encrypt 
> scheme. I realize that the draft is prescribing E-t-M. Nonetheless, 
> considering a potential flaw in HMAC-SHA2 series (I don't know of any, 
> but ...), I'd suggest not halting the operation even after MAC check 
> fails, but continuing on to CBC decryption, and then returning an 
> error that doesn't distinguish between a MAC and a decryption (pad 
> check) error. Yes, this would consume more CPU cycles only to waste 
> them **under an attack**, which is not necessarily bad.
>
> ·Section 2.2, step 5. Unspecified error case of invalid padding (link 
> to my comment above).
>
> Best,
>
> -Tolga
>
> *From:*cfrg-bounces@irtf.org [mailto:cfrg-bounces@irtf.org] *On Behalf 
> Of *Russ Housley
> *Sent:* Sunday, November 18, 2012 4:45 AM
> *To:* Mike Jones
> *Cc:* IRTF CFRG; jose@ietf.org
> *Subject:* Re: [Cfrg] Authenticated Encryption with AES-CBC and 
> HMAC-SHA, version 01
>
> Have you looked at the algorithm in RFC 6476?  While the discussion is 
> CMS-specific, the algorithm could be used with another syntax.
>
> Russ
>
> On Nov 12, 2012, at 1:55 PM, Mike Jones wrote:
>
>
>
> As background, if there was a version of this spec that did not assume 
> that the parameters would be concatenated together in a specific way, 
> but left them as independent inputs and outputs, as AES GCM and AES 
> CTR do, it would be a better match for JOSE's use case.
>
> -- Mike
>
> *From:*cfrg-bounces@irtf.org 
> <mailto:cfrg-bounces@irtf.org>[mailto:cfrg-bounces@irtf.org]*On Behalf 
> Of*David McGrew (mcgrew)
> *Sent:*Monday, November 12, 2012 10:21 AM
> *To:*cfrg@irtf.org <mailto:cfrg@irtf.org>;jose@ietf.org 
> <mailto:jose@ietf.org>
> *Subject:*[Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA, 
> version 01
>
> Hi,
>
> There is a new version of "Authenticated Encryption with AES-CBC and 
> HMAC-SHA", and I would appreciate your review.   It is online at 
> <https://datatracker.ietf.org/doc/draft-mcgrew-aead-aes-cbc-hmac-sha2/?include_text=1> 
> <https://datatracker.ietf.org/doc/draft-mcgrew-aead-aes-cbc-hmac-sha2/?include_text=1%3e> 
>  The diff between the current and the previous version is available at 
> <http://www.ietf.org/rfcdiff?url2=draft-mcgrew-aead-aes-cbc-hmac-sha2-01> 
> <http://www.ietf.org/rfcdiff?url2=draft-mcgrew-aead-aes-cbc-hmac-sha2-01%3e>
>
> This draft has been proposed for use in the JOSE WG 
> <http://datatracker.ietf.org/wg/jose/> 
> <http://datatracker.ietf.org/wg/jose/%3e> , where its adoption would 
> allow the working group to omit "raw" unauthenticated encryption, e.g. 
> AES-CBC, and only include authenticated encryption.   Thus I am asking 
> for your help in making
>
> John Foley generated test cases that correspond to the current version 
> of the draft, but I didn't include these in the draft because I did 
> not yet get confirmation from a second independent implementation.   
> With hope, there will not be any need for any normative changes, and I 
> will include these after I get confirmation.
>
> Thanks,
>
> David
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org <mailto:Cfrg@irtf.org>
> http://www.irtf.org/mailman/listinfo/cfrg
>
>
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg


--------------060401070801050705070309
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">I think I'd argue the other way on
      continuing on on when the MAC fails.<br>
      <br>
      One big advantage of encrypt-then-MAC is that the receiving end
      does MACverify-then-decrypt.&nbsp; If the message has been tampered
      with, the MAC fails to verify and we never even enter the
      decryption stuff, thus there is never even the possibility of
      padding oracles, timing attacks, etc.&nbsp; If you go ahead with the
      decryption, you risk revealing something.<br>
      <br>
      &nbsp;&nbsp; --David<br>
      <br>
      &nbsp;<br>
      <br>
      On 11/18/2012 10:44 AM, Tolga Acar wrote:<br>
    </div>
    <blockquote cite="mid:003801cdc5bc$ce464e50$6ad2eaf0$@att.net"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
	{font-family:Helvetica;
	panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
span.apple-style-span
	{mso-style-name:apple-style-span;}
span.apple-converted-space
	{mso-style-name:apple-converted-space;}
span.EmailStyle19
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:609583004;
	mso-list-type:hybrid;
	mso-list-template-ids:1554964368 -574487082 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
	{mso-level-start-at:0;
	mso-level-number-format:bullet;
	mso-level-text:-;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Calibri","sans-serif";
	mso-fareast-font-family:Calibri;
	mso-bidi-font-family:"Times New Roman";}
@list l0:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l0:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level5
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l0:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level8
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l1
	{mso-list-id:1900314181;
	mso-list-type:hybrid;
	mso-list-template-ids:-1157354052 -248639884 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l1:level1
	{mso-level-start-at:0;
	mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;
	mso-fareast-font-family:Calibri;
	mso-bidi-font-family:"Times New Roman";}
@list l1:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l1:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l1:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l1:level5
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l1:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l1:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l1:level8
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l1:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Quick
            feedback on the draft<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoListParagraph"
          style="text-indent:-.25in;mso-list:l1 level1 lfo1"><!--[if !supportLists]--><span
            style="font-size:11.0pt;font-family:Symbol;color:#1F497D"><span
              style="mso-list:Ignore">&middot;<span style="font:7.0pt
                &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><!--[endif]--><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Page
            5, item 3, padding string PS. Please \cite PKCS#5 so it is
            clear this is not new, but a reuse of an existing padding
            scheme.<o:p></o:p></span></p>
        <p class="MsoListParagraph"
          style="text-indent:-.25in;mso-list:l1 level1 lfo1"><!--[if !supportLists]--><span
            style="font-size:11.0pt;font-family:Symbol;color:#1F497D"><span
              style="mso-list:Ignore">&middot;<span style="font:7.0pt
                &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><!--[endif]--><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Section
            2.2, step 3. When MAC verification fails, the draft
            recommends halting the operation before CBC decryption. We
            have seen timing and error-code based attacks against TLS&#8217;
            MAC-then-Encrypt scheme. I realize that the draft is
            prescribing E-t-M. Nonetheless, considering a potential flaw
            in HMAC-SHA2 series (I don&#8217;t know of any, but &#8230;), I&#8217;d
            suggest not halting the operation even after MAC check
            fails, but continuing on to CBC decryption, and then
            returning an error that doesn&#8217;t distinguish between a MAC
            and a decryption (pad check) error. Yes, this would consume
            more CPU cycles only to waste them *<b>under an attack</b>*,
            which is not necessarily bad.<o:p></o:p></span></p>
        <p class="MsoListParagraph"
          style="text-indent:-.25in;mso-list:l1 level1 lfo1"><!--[if !supportLists]--><span
            style="font-size:11.0pt;font-family:Symbol;color:#1F497D"><span
              style="mso-list:Ignore">&middot;<span style="font:7.0pt
                &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><!--[endif]--><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Section
            2.2, step 5. Unspecified error case of invalid padding (link
            to my comment above).<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Best,<o:p></o:p></span></p>
        <p class="MsoListParagraph"
          style="text-indent:-.25in;mso-list:l0 level1 lfo2"><!--[if !supportLists]--><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><span
              style="mso-list:Ignore">-<span style="font:7.0pt
                &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><!--[endif]--><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Tolga<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <div>
          <div style="border:none;border-top:solid #B5C4DF
            1.0pt;padding:3.0pt 0in 0in 0in">
            <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
                <a class="moz-txt-link-abbreviated" href="mailto:cfrg-bounces@irtf.org">cfrg-bounces@irtf.org</a> [<a class="moz-txt-link-freetext" href="mailto:cfrg-bounces@irtf.org">mailto:cfrg-bounces@irtf.org</a>] <b>On
                  Behalf Of </b>Russ Housley<br>
                <b>Sent:</b> Sunday, November 18, 2012 4:45 AM<br>
                <b>To:</b> Mike Jones<br>
                <b>Cc:</b> IRTF CFRG; <a class="moz-txt-link-abbreviated" href="mailto:jose@ietf.org">jose@ietf.org</a><br>
                <b>Subject:</b> Re: [Cfrg] Authenticated Encryption with
                AES-CBC and HMAC-SHA, version 01<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">Have you looked at the algorithm in RFC
          6476? &nbsp;While the discussion is CMS-specific, the algorithm
          could be used with another syntax.<o:p></o:p></p>
        <div>
          <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        </div>
        <div>
          <p class="MsoNormal">Russ<o:p></o:p></p>
        </div>
        <div>
          <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        </div>
        <div>
          <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
          <div>
            <div>
              <p class="MsoNormal">On Nov 12, 2012, at 1:55 PM, Mike
                Jones wrote:<o:p></o:p></p>
            </div>
            <p class="MsoNormal"><br>
              <br>
              <o:p></o:p></p>
            <div>
              <div>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">As
                    background, if there was a version of this spec that
                    did not assume that the parameters would be
                    concatenated together in a specific way, but left
                    them as independent inputs and outputs, as AES GCM
                    and AES CTR do, it would be a better match for
                    JOSE&#8217;s use case.</span><o:p></o:p></p>
              </div>
              <div>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
              </div>
              <div>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    -- Mike</span><o:p></o:p></p>
              </div>
              <div>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
              </div>
              <div>
                <div style="border:none;border-top:solid #B5C4DF
                  1.0pt;padding:3.0pt 0in 0in
                  0in;border-width:initial;border-color:initial">
                  <div>
                    <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span
                        class="apple-converted-space"><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">&nbsp;</span></span><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"><a
                          moz-do-not-send="true"
                          href="mailto:cfrg-bounces@irtf.org">cfrg-bounces@irtf.org</a><span
                          class="apple-converted-space">&nbsp;</span>[<a
                          moz-do-not-send="true"
                          href="mailto:cfrg-bounces@irtf.org">mailto:cfrg-bounces@irtf.org</a>]<span
                          class="apple-converted-space">&nbsp;</span><b>On
                          Behalf Of<span class="apple-converted-space">&nbsp;</span></b>David
                        McGrew (mcgrew)<br>
                        <b>Sent:</b><span class="apple-converted-space">&nbsp;</span>Monday,
                        November 12, 2012 10:21 AM<br>
                        <b>To:</b><span class="apple-converted-space">&nbsp;</span><a
                          moz-do-not-send="true"
                          href="mailto:cfrg@irtf.org">cfrg@irtf.org</a>;<span
                          class="apple-converted-space">&nbsp;</span><a
                          moz-do-not-send="true"
                          href="mailto:jose@ietf.org">jose@ietf.org</a><br>
                        <b>Subject:</b><span
                          class="apple-converted-space">&nbsp;</span>[Cfrg]
                        Authenticated Encryption with AES-CBC and
                        HMAC-SHA, version 01</span><o:p></o:p></p>
                  </div>
                </div>
              </div>
              <div>
                <p class="MsoNormal">&nbsp;<o:p></o:p></p>
              </div>
              <div>
                <div>
                  <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:black">Hi,</span><o:p></o:p></p>
                </div>
              </div>
              <div>
                <div>
                  <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:black">&nbsp;</span><o:p></o:p></p>
                </div>
              </div>
              <div>
                <div>
                  <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:black">There
                      is a new version of "</span><span
                      class="apple-style-span"><span
style="font-size:13.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:black">Authenticated
                        Encryption with AES-CBC and HMAC-SHA", and&nbsp;</span></span><span
style="font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:black">I
                      would appreciate your review. &nbsp; It is online at
                      &lt;<a moz-do-not-send="true"
href="https://datatracker.ietf.org/doc/draft-mcgrew-aead-aes-cbc-hmac-sha2/?include_text=1%3e">https://datatracker.ietf.org/doc/draft-mcgrew-aead-aes-cbc-hmac-sha2/?include_text=1&gt;</a>&nbsp;
                      &nbsp;The diff between the current and the previous
                      version is available at &lt;<a
                        moz-do-not-send="true"
href="http://www.ietf.org/rfcdiff?url2=draft-mcgrew-aead-aes-cbc-hmac-sha2-01%3e">http://www.ietf.org/rfcdiff?url2=draft-mcgrew-aead-aes-cbc-hmac-sha2-01&gt;</a></span><o:p></o:p></p>
                </div>
              </div>
              <div>
                <div>
                  <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:black">&nbsp;</span><o:p></o:p></p>
                </div>
              </div>
              <div>
                <div>
                  <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:black">This
                      draft has been proposed for use in the JOSE WG
                      &lt;<a moz-do-not-send="true"
                        href="http://datatracker.ietf.org/wg/jose/%3e">http://datatracker.ietf.org/wg/jose/&gt;</a>&nbsp;,
                      where its adoption would allow the working group
                      to omit "raw" unauthenticated encryption, e.g.
                      AES-CBC, and only include authenticated
                      encryption. &nbsp; Thus I am asking for your help in
                      making&nbsp;</span><o:p></o:p></p>
                </div>
              </div>
              <div>
                <div>
                  <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:black">&nbsp;</span><o:p></o:p></p>
                </div>
              </div>
              <div>
                <div>
                  <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:black">John
                      Foley generated test cases that correspond to the
                      current version of the draft, but I didn't include
                      these in the draft because I did not yet get
                      confirmation from a second independent
                      implementation. &nbsp; With hope, there will not be any
                      need for any normative changes, and I will include
                      these after I get confirmation. &nbsp;</span><o:p></o:p></p>
                </div>
              </div>
              <div>
                <div>
                  <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:black">&nbsp;</span><o:p></o:p></p>
                </div>
              </div>
              <div>
                <div>
                  <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:black">Thanks,</span><o:p></o:p></p>
                </div>
              </div>
              <div>
                <div>
                  <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:black">&nbsp;</span><o:p></o:p></p>
                </div>
              </div>
              <div>
                <div>
                  <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:black">David</span><o:p></o:p></p>
                </div>
              </div>
              <p class="MsoNormal"><span
style="font-size:13.5pt;font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;">_______________________________________________<br>
                  Cfrg mailing list<br>
                  <a moz-do-not-send="true" href="mailto:Cfrg@irtf.org">Cfrg@irtf.org</a><br>
                  <a moz-do-not-send="true"
                    href="http://www.irtf.org/mailman/listinfo/cfrg">http://www.irtf.org/mailman/listinfo/cfrg</a><o:p></o:p></span></p>
            </div>
          </div>
          <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Cfrg mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Cfrg@irtf.org">Cfrg@irtf.org</a>
<a class="moz-txt-link-freetext" href="http://www.irtf.org/mailman/listinfo/cfrg">http://www.irtf.org/mailman/listinfo/cfrg</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>

--------------060401070801050705070309--

From t.acar@att.net  Mon Nov 19 22:27:02 2012
Return-Path: <t.acar@att.net>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E9CFD21F8D2B for <cfrg@ietfa.amsl.com>; Mon, 19 Nov 2012 22:27:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.596
X-Spam-Level: 
X-Spam-Status: No, score=-2.596 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HS_INDEX_PARAM=0.001, HTML_MESSAGE=0.001, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OirF74k8+M8q for <cfrg@ietfa.amsl.com>; Mon, 19 Nov 2012 22:26:59 -0800 (PST)
Received: from nm3-vm0.access.bullet.mail.sp2.yahoo.com (nm3-vm0.access.bullet.mail.sp2.yahoo.com [98.139.44.108]) by ietfa.amsl.com (Postfix) with ESMTP id 89CBE21F8B00 for <cfrg@irtf.org>; Mon, 19 Nov 2012 22:26:59 -0800 (PST)
Received: from [98.139.44.100] by nm3.access.bullet.mail.sp2.yahoo.com with NNFMP; 20 Nov 2012 06:26:56 -0000
Received: from [67.195.14.111] by tm5.access.bullet.mail.sp2.yahoo.com with NNFMP; 20 Nov 2012 06:26:56 -0000
Received: from [127.0.0.1] by smtp108.sbc.mail.gq1.yahoo.com with NNFMP; 20 Nov 2012 06:26:56 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=att.net; s=s1024; t=1353392816; bh=ncN+GYx3oNTWEA3KNRsM+KTw2uYucI1VGR7dke0QHIU=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:From:To:References:In-Reply-To:Subject:Date:Message-ID:MIME-Version:Content-Type:X-Mailer:Thread-Index:Content-Language; b=BiyR2nAhOXkCm1Okwcv6aVHLvrUfScRpE15ofAnE6D/xNu7LRRUbOCrO7x40hVL3V8OoUthI+tp/ZygnLOFZfoZbL41BDrrQ/OGg8XITuvyusBJkexDivsK4w3nCLHnMESIGPJDAgNQji9hMsNptHBYzFTqHKXmqQx8NOjyw6Vw=
X-Yahoo-Newman-Id: 426450.97242.bm@smtp108.sbc.mail.gq1.yahoo.com
X-Yahoo-Newman-Property: ymail-3
X-YMail-OSG: fa9DmUoVM1myPo.5psJEzJQeeh.nGEiP93751a5MDVCeMBY Sf7m.rMjoWZ80YASZRuQslkw_2lBgtGU7FyHxWP7Ru6JMYKoRwwhjxn1oDU9 ki.gcq6Tfqe.7Sc6PFVhUppK8zzwmMIDrHH88QsvSg27MNUzbNvH3SXBRAl. LDmogiOeX07UuGAfSxr6VLW93ihAAhWo_e64qlX7htCN0.tZK9ZsrKsAE8gE qhfsdDxzl3wlZTnFYAR93XoXKNnfkAFKGqqgi7GjVlJE6iWdBCVScO01ZZtV R.TTwNtlFPAjcBu_58N6zBWzcQ1vgtXAHM9xlX6LANkUoCsvvo9Ez2dQOeGJ EybSQ8AS.Wnz0mT7jz13WlvlAlo6mVQWPK9g0kw3am7EC0o0LR_DYXlDLJxy 2.IPyjqKSrp5N0eJ_zyVXQ0u8XUOm76_yxmG.Ozfyql2gNTlzs_q7_eCJ1dA URUZjbOguGWa3nII-
X-Yahoo-SMTP: 3qJt0gGswBA7ciDNaLLHiPpvI7NLZWkkd3zL
Received: from tolginator (t.acar@174.61.228.6 with login) by smtp108.sbc.mail.gq1.yahoo.com with SMTP; 19 Nov 2012 22:26:56 -0800 PST
From: "Tolga Acar" <t.acar@att.net>
To: "'David Jacobson'" <dmjacobson@sbcglobal.net>, <cfrg@irtf.org>
References: <747787E65E3FBD4E93F0EB2F14DB556B0F50A96C@xmb-rcd-x04.cisco.com>	<4E1F6AAD24975D4BA5B1680429673943668B026C@TK5EX14MBXC283.redmond.corp.microsoft.com>	<FE2BC73F-41FA-4B5B-900C-117749CEEBAC@vigilsec.com>	<003801cdc5bc$ce464e50$6ad2eaf0$@att.net> <50AB0E38.9050700@sbcglobal.net>
In-Reply-To: <50AB0E38.9050700@sbcglobal.net>
Date: Mon, 19 Nov 2012 22:26:55 -0800
Message-ID: <00b001cdc6e8$09a82820$1cf87860$@att.net>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_00B1_01CDC6A4.FB8A6660"
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQH7LcwHg/ezhejU5qFNOX+NYfYUAwFycKfHApQrwMgDFiARxQIEuJ6nl05m/MA=
Content-Language: en-us
Subject: Re: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA, version 01
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 20 Nov 2012 06:27:03 -0000

This is a multipart message in MIME format.

------=_NextPart_000_00B1_01CDC6A4.FB8A6660
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

=D8  One big advantage of encrypt-then-MAC is that the receiving end =
does
MACverify-then-decrypt.  If the message has been tampered with, the MAC
fails to verify and we never even enter the decryption stuff, thus there =
is
never even the possibility of padding oracles, timing attacks, etc.  If =
you
go ahead with the decryption, you risk revealing something.



I realize that is what the theory says up to a negligible probability; =
but
saying =93never even enter decryption stuff=94 is practically accurate =
as far as
we know today. I am concerned about not yet existent weaknesses in MAC
functions (and perhaps their underlying hash functions if MAC =3D HMAC =
as in
this case), that would open an avenue for a side-channel leakage. Call =
me
paranoid, and say this is far-fetched.

=20

If you go ahead with decryption regardless of a MAC failure, you will =
return
a failure if decryption fails. This is about MAC succeeding but =
decryption
failing, which ends up in a failure to be returned anyhow. If both =
succeeds
when they are not supposed to, then you found that negligible =
probability
case (or one of them).

=20

-          Tolga

=20

From: cfrg-bounces@irtf.org [mailto:cfrg-bounces@irtf.org] On Behalf Of
David Jacobson
Sent: Monday, November 19, 2012 9:00 PM
To: cfrg@irtf.org
Subject: Re: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA,
version 01

=20

I think I'd argue the other way on continuing on on when the MAC fails.

One big advantage of encrypt-then-MAC is that the receiving end does
MACverify-then-decrypt.  If the message has been tampered with, the MAC
fails to verify and we never even enter the decryption stuff, thus there =
is
never even the possibility of padding oracles, timing attacks, etc.  If =
you
go ahead with the decryption, you risk revealing something.

   --David

=20

On 11/18/2012 10:44 AM, Tolga Acar wrote:

Quick feedback on the draft

=20

=B7         Page 5, item 3, padding string PS. Please \cite PKCS#5 so it =
is
clear this is not new, but a reuse of an existing padding scheme.

=B7         Section 2.2, step 3. When MAC verification fails, the draft
recommends halting the operation before CBC decryption. We have seen =
timing
and error-code based attacks against TLS=92 MAC-then-Encrypt scheme. I =
realize
that the draft is prescribing E-t-M. Nonetheless, considering a =
potential
flaw in HMAC-SHA2 series (I don=92t know of any, but =85), I=92d suggest =
not
halting the operation even after MAC check fails, but continuing on to =
CBC
decryption, and then returning an error that doesn=92t distinguish =
between a
MAC and a decryption (pad check) error. Yes, this would consume more CPU
cycles only to waste them *under an attack*, which is not necessarily =
bad.

=B7         Section 2.2, step 5. Unspecified error case of invalid =
padding
(link to my comment above).

=20

Best,

-          Tolga

=20

From: cfrg-bounces@irtf.org [mailto:cfrg-bounces@irtf.org] On Behalf Of =
Russ
Housley
Sent: Sunday, November 18, 2012 4:45 AM
To: Mike Jones
Cc: IRTF CFRG; jose@ietf.org
Subject: Re: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA,
version 01

=20

Have you looked at the algorithm in RFC 6476?  While the discussion is
CMS-specific, the algorithm could be used with another syntax.

=20

Russ

=20

=20

On Nov 12, 2012, at 1:55 PM, Mike Jones wrote:






As background, if there was a version of this spec that did not assume =
that
the parameters would be concatenated together in a specific way, but =
left
them as independent inputs and outputs, as AES GCM and AES CTR do, it =
would
be a better match for JOSE=92s use case.

=20

                                                            -- Mike

=20

From: cfrg-bounces@irtf.org [mailto:cfrg-bounces@irtf.org] On Behalf Of
David McGrew (mcgrew)
Sent: Monday, November 12, 2012 10:21 AM
To: cfrg@irtf.org; jose@ietf.org
Subject: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA, =
version
01

=20

Hi,

=20

There is a new version of "Authenticated Encryption with AES-CBC and
HMAC-SHA", and I would appreciate your review.   It is online at
<https://datatracker.ietf.org/doc/draft-mcgrew-aead-aes-cbc-hmac-sha2/?in=
clu
de_text=3D1
<https://datatracker.ietf.org/doc/draft-mcgrew-aead-aes-cbc-hmac-sha2/?in=
clu
de_text=3D1%3e> >   The diff between the current and the previous =
version is
available at
<http://www.ietf.org/rfcdiff?url2=3Ddraft-mcgrew-aead-aes-cbc-hmac-sha2-0=
1
<http://www.ietf.org/rfcdiff?url2=3Ddraft-mcgrew-aead-aes-cbc-hmac-sha2-0=
1%3e>
>

=20

This draft has been proposed for use in the JOSE WG
<http://datatracker.ietf.org/wg/jose/
<http://datatracker.ietf.org/wg/jose/%3e> > , where its adoption would =
allow
the working group to omit "raw" unauthenticated encryption, e.g. =
AES-CBC,
and only include authenticated encryption.   Thus I am asking for your =
help
in making=20

=20

John Foley generated test cases that correspond to the current version =
of
the draft, but I didn't include these in the draft because I did not yet =
get
confirmation from a second independent implementation.   With hope, =
there
will not be any need for any normative changes, and I will include these
after I get confirmation. =20

=20

Thanks,

=20

David

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

=20






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

=20


------=_NextPart_000_00B1_01CDC6A4.FB8A6660
Content-Type: text/html;
	charset="iso-8859-1"
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:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1"><meta name=3DGenerator content=3D"Microsoft Word =
14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:Helvetica;
	panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";
	color:black;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
pre
	{mso-style-priority:99;
	mso-style-link:"HTML Preformatted Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";
	color:black;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";
	color:black;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";
	color:black;}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
span.apple-style-span
	{mso-style-name:apple-style-span;}
span.apple-converted-space
	{mso-style-name:apple-converted-space;}
span.EmailStyle22
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.HTMLPreformattedChar
	{mso-style-name:"HTML Preformatted Char";
	mso-style-priority:99;
	mso-style-link:"HTML Preformatted";
	font-family:"Consolas","serif";
	color:black;}
span.EmailStyle25
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:37290858;
	mso-list-type:hybrid;
	mso-list-template-ids:1935569956 -45193374 67698691 67698693 67698689 =
67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
	{mso-level-start-at:0;
	mso-level-number-format:bullet;
	mso-level-text:-;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Calibri","sans-serif";
	mso-fareast-font-family:Calibri;
	mso-bidi-font-family:"Times New Roman";}
@list l0:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l0:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level5
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l0:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level8
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l1
	{mso-list-id:609583004;
	mso-list-type:hybrid;
	mso-list-template-ids:1554964368 -574487082 67698691 67698693 67698689 =
67698691 67698693 67698689 67698691 67698693;}
@list l1:level1
	{mso-level-start-at:0;
	mso-level-number-format:bullet;
	mso-level-text:-;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Calibri","sans-serif";
	mso-fareast-font-family:Calibri;
	mso-bidi-font-family:"Times New Roman";}
@list l1:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l1:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l1:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l1:level5
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l1:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l1:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l1:level8
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l1:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l2
	{mso-list-id:1900314181;
	mso-list-type:hybrid;
	mso-list-template-ids:-1157354052 -248639884 67698691 67698693 67698689 =
67698691 67698693 67698689 67698691 67698693;}
@list l2:level1
	{mso-level-start-at:0;
	mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;
	mso-fareast-font-family:Calibri;
	mso-bidi-font-family:"Times New Roman";}
@list l2:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l2:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l2:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l2:level5
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l2:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l2:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l2:level8
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l2:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l3
	{mso-list-id:2009399829;
	mso-list-type:hybrid;
	mso-list-template-ids:-355802422 -45286742 67698691 67698693 67698689 =
67698691 67698693 67698689 67698691 67698693;}
@list l3:level1
	{mso-level-start-at:0;
	mso-level-number-format:bullet;
	mso-level-text:\F0D8;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;
	mso-fareast-font-family:Calibri;
	mso-bidi-font-family:"Times New Roman";}
@list l3:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l3:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l3:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l3:level5
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l3:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l3:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l3:level8
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l3:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=3Dwhite =
lang=3DEN-US link=3Dblue vlink=3Dpurple><div class=3DWordSection1><p =
class=3DMsoListParagraph style=3D'text-indent:-.25in;mso-list:l3 level1 =
lfo5'><![if !supportLists]><span =
style=3D'font-size:11.0pt;font-family:Wingdings;color:#1F497D'><span =
style=3D'mso-list:Ignore'>=D8<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp; </span></span></span><![endif]>One big advantage of =
encrypt-then-MAC is that the receiving end does =
MACverify-then-decrypt.&nbsp; If the message has been tampered with, the =
MAC fails to verify and we never even enter the decryption stuff, thus =
there is never even the possibility of padding oracles, timing attacks, =
etc.&nbsp; If you go ahead with the decryption, you risk revealing =
something.<br><br><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>I realize that is what the theory says up to a negligible =
probability; but saying &#8220;never even enter decryption stuff&#8221; =
is practically accurate as far as we know today. I am concerned about =
not yet existent weaknesses in MAC functions (and perhaps their =
underlying hash functions if MAC =3D HMAC as in this case), that would =
open an avenue for a side-channel leakage. Call me paranoid, and say =
this is far-fetched.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>If you go ahead with decryption regardless of a MAC failure, you will =
return a failure if decryption fails. This is about MAC succeeding but =
decryption failing, which ends up in a failure to be returned anyhow. If =
both succeeds when they are not supposed to, then you found that =
negligible probability case (or one of them).<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoListParagraph =
style=3D'text-indent:-.25in;mso-list:l0 level1 lfo6'><![if =
!supportLists]><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><span style=3D'mso-list:Ignore'>-<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
</span></span></span><![endif]><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Tolga<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'><o:p>&nbsp;</o:p></span></p><div><div =
style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in'><p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowt=
ext'>From:</span></b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowt=
ext'> cfrg-bounces@irtf.org [mailto:cfrg-bounces@irtf.org] <b>On Behalf =
Of </b>David Jacobson<br><b>Sent:</b> Monday, November 19, 2012 9:00 =
PM<br><b>To:</b> cfrg@irtf.org<br><b>Subject:</b> Re: [Cfrg] =
Authenticated Encryption with AES-CBC and HMAC-SHA, version =
01<o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><div><p class=3DMsoNormal>I think =
I'd argue the other way on continuing on on when the MAC =
fails.<br><br>One big advantage of encrypt-then-MAC is that the =
receiving end does MACverify-then-decrypt.&nbsp; If the message has been =
tampered with, the MAC fails to verify and we never even enter the =
decryption stuff, thus there is never even the possibility of padding =
oracles, timing attacks, etc.&nbsp; If you go ahead with the decryption, =
you risk revealing something.<br><br>&nbsp;&nbsp; =
--David<br><br>&nbsp;<br><br>On 11/18/2012 10:44 AM, Tolga Acar =
wrote:<o:p></o:p></p></div><blockquote =
style=3D'margin-top:5.0pt;margin-bottom:5.0pt'><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Quick feedback on the draft</span><o:p></o:p></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>&nbsp;</span><o:p></o:p></p><p class=3DMsoListParagraph =
style=3D'text-indent:-.25in;mso-list:l2 level1 lfo2'><![if =
!supportLists]><span style=3D'font-family:Symbol'><span =
style=3D'mso-list:Ignore'>=B7<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
</span></span></span><![endif]><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Page 5, item 3, padding string PS. Please \cite PKCS#5 so it is clear =
this is not new, but a reuse of an existing padding =
scheme.</span><o:p></o:p></p><p class=3DMsoListParagraph =
style=3D'text-indent:-.25in;mso-list:l2 level1 lfo2'><![if =
!supportLists]><span style=3D'font-family:Symbol'><span =
style=3D'mso-list:Ignore'>=B7<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
</span></span></span><![endif]><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Section 2.2, step 3. When MAC verification fails, the draft =
recommends halting the operation before CBC decryption. We have seen =
timing and error-code based attacks against TLS&#8217; MAC-then-Encrypt =
scheme. I realize that the draft is prescribing E-t-M. Nonetheless, =
considering a potential flaw in HMAC-SHA2 series (I don&#8217;t know of =
any, but &#8230;), I&#8217;d suggest not halting the operation even =
after MAC check fails, but continuing on to CBC decryption, and then =
returning an error that doesn&#8217;t distinguish between a MAC and a =
decryption (pad check) error. Yes, this would consume more CPU cycles =
only to waste them *<b>under an attack</b>*, which is not necessarily =
bad.</span><o:p></o:p></p><p class=3DMsoListParagraph =
style=3D'text-indent:-.25in;mso-list:l2 level1 lfo2'><![if =
!supportLists]><span style=3D'font-family:Symbol'><span =
style=3D'mso-list:Ignore'>=B7<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
</span></span></span><![endif]><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Section 2.2, step 5. Unspecified error case of invalid padding (link =
to my comment above).</span><o:p></o:p></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>&nbsp;</span><o:p></o:p></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Best,</span><o:p></o:p></p><p class=3DMsoListParagraph =
style=3D'text-indent:-.25in;mso-list:l1 level1 lfo4'><![if =
!supportLists]><span style=3D'font-family:"Calibri","sans-serif"'><span =
style=3D'mso-list:Ignore'>-<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
</span></span></span><![endif]><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>Tolga</span><o:p></o:p></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>&nbsp;</span><o:p></o:p></p><div><div =
style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in'><p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> =
<a href=3D"mailto:cfrg-bounces@irtf.org">cfrg-bounces@irtf.org</a> [<a =
href=3D"mailto:cfrg-bounces@irtf.org">mailto:cfrg-bounces@irtf.org</a>] =
<b>On Behalf Of </b>Russ Housley<br><b>Sent:</b> Sunday, November 18, =
2012 4:45 AM<br><b>To:</b> Mike Jones<br><b>Cc:</b> IRTF CFRG; <a =
href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br><b>Subject:</b> Re: =
[Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA, version =
01</span><o:p></o:p></p></div></div><p =
class=3DMsoNormal>&nbsp;<o:p></o:p></p><p class=3DMsoNormal>Have you =
looked at the algorithm in RFC 6476? &nbsp;While the discussion is =
CMS-specific, the algorithm could be used with another =
syntax.<o:p></o:p></p><div><p =
class=3DMsoNormal>&nbsp;<o:p></o:p></p></div><div><p =
class=3DMsoNormal>Russ<o:p></o:p></p></div><div><p =
class=3DMsoNormal>&nbsp;<o:p></o:p></p></div><div><p =
class=3DMsoNormal>&nbsp;<o:p></o:p></p><div><div><p class=3DMsoNormal>On =
Nov 12, 2012, at 1:55 PM, Mike Jones wrote:<o:p></o:p></p></div><p =
class=3DMsoNormal><br><br><br><o:p></o:p></p><div><div><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>As background, if there was a version of this spec that did not =
assume that the parameters would be concatenated together in a specific =
way, but left them as independent inputs and outputs, as AES GCM and AES =
CTR do, it would be a better match for JOSE&#8217;s use =
case.</span><o:p></o:p></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>&nbsp;</span><o:p></o:p></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- =
Mike</span><o:p></o:p></p></div><div><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497=
D'>&nbsp;</span><o:p></o:p></p></div><div><div =
style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in;border-width:initial;border-color:initial'><div><p =
class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span class=3Dapple-converted-space><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>&nbsp;</span=
></span><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'><a =
href=3D"mailto:cfrg-bounces@irtf.org">cfrg-bounces@irtf.org</a><span =
class=3Dapple-converted-space>&nbsp;</span>[<a =
href=3D"mailto:cfrg-bounces@irtf.org">mailto:cfrg-bounces@irtf.org</a>]<s=
pan class=3Dapple-converted-space>&nbsp;</span><b>On Behalf Of<span =
class=3Dapple-converted-space>&nbsp;</span></b>David McGrew =
(mcgrew)<br><b>Sent:</b><span =
class=3Dapple-converted-space>&nbsp;</span>Monday, November 12, 2012 =
10:21 AM<br><b>To:</b><span =
class=3Dapple-converted-space>&nbsp;</span><a =
href=3D"mailto:cfrg@irtf.org">cfrg@irtf.org</a>;<span =
class=3Dapple-converted-space>&nbsp;</span><a =
href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br><b>Subject:</b><span =
class=3Dapple-converted-space>&nbsp;</span>[Cfrg] Authenticated =
Encryption with AES-CBC and HMAC-SHA, version =
01</span><o:p></o:p></p></div></div></div><div><p =
class=3DMsoNormal>&nbsp;<o:p></o:p></p></div><div><div><p =
class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif"'>Hi,</span><=
o:p></o:p></p></div></div><div><div><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif"'>&nbsp;</spa=
n><o:p></o:p></p></div></div><div><div><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif"'>There is a =
new version of &quot;</span><span class=3Dapple-style-span><span =
style=3D'font-size:13.5pt;font-family:"Calibri","sans-serif"'>Authenticat=
ed Encryption with AES-CBC and HMAC-SHA&quot;, =
and&nbsp;</span></span><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif"'>I would =
appreciate your review. &nbsp; It is online at &lt;<a =
href=3D"https://datatracker.ietf.org/doc/draft-mcgrew-aead-aes-cbc-hmac-s=
ha2/?include_text=3D1%3e">https://datatracker.ietf.org/doc/draft-mcgrew-a=
ead-aes-cbc-hmac-sha2/?include_text=3D1&gt;</a>&nbsp; &nbsp;The diff =
between the current and the previous version is available at &lt;<a =
href=3D"http://www.ietf.org/rfcdiff?url2=3Ddraft-mcgrew-aead-aes-cbc-hmac=
-sha2-01%3e">http://www.ietf.org/rfcdiff?url2=3Ddraft-mcgrew-aead-aes-cbc=
-hmac-sha2-01&gt;</a></span><o:p></o:p></p></div></div><div><div><p =
class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif"'>&nbsp;</spa=
n><o:p></o:p></p></div></div><div><div><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif"'>This draft =
has been proposed for use in the JOSE WG &lt;<a =
href=3D"http://datatracker.ietf.org/wg/jose/%3e">http://datatracker.ietf.=
org/wg/jose/&gt;</a>&nbsp;, where its adoption would allow the working =
group to omit &quot;raw&quot; unauthenticated encryption, e.g. AES-CBC, =
and only include authenticated encryption. &nbsp; Thus I am asking for =
your help in making&nbsp;</span><o:p></o:p></p></div></div><div><div><p =
class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif"'>&nbsp;</spa=
n><o:p></o:p></p></div></div><div><div><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif"'>John Foley =
generated test cases that correspond to the current version of the =
draft, but I didn't include these in the draft because I did not yet get =
confirmation from a second independent implementation. &nbsp; With hope, =
there will not be any need for any normative changes, and I will include =
these after I get confirmation. =
&nbsp;</span><o:p></o:p></p></div></div><div><div><p =
class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif"'>&nbsp;</spa=
n><o:p></o:p></p></div></div><div><div><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif"'>Thanks,</sp=
an><o:p></o:p></p></div></div><div><div><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif"'>&nbsp;</spa=
n><o:p></o:p></p></div></div><div><div><p class=3DMsoNormal><span =
style=3D'font-size:10.5pt;font-family:"Calibri","sans-serif"'>David</span=
><o:p></o:p></p></div></div><p class=3DMsoNormal><span =
style=3D'font-size:13.5pt;font-family:"Helvetica","sans-serif"'>_________=
______________________________________<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">http://www.irtf.org/ma=
ilman/listinfo/cfrg</a></span><o:p></o:p></p></div></div><p =
class=3DMsoNormal>&nbsp;<o:p></o:p></p></div><p =
class=3DMsoNormal><br><br><br><o:p></o:p></p><pre>_______________________=
________________________<o:p></o:p></pre><pre>Cfrg mailing =
list<o:p></o:p></pre><pre><a =
href=3D"mailto:Cfrg@irtf.org">Cfrg@irtf.org</a><o:p></o:p></pre><pre><a =
href=3D"http://www.irtf.org/mailman/listinfo/cfrg">http://www.irtf.org/ma=
ilman/listinfo/cfrg</a><o:p></o:p></pre></blockquote><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></body></html>
------=_NextPart_000_00B1_01CDC6A4.FB8A6660--


From kmigoe@nsa.gov  Tue Nov 20 09:37:10 2012
Return-Path: <kmigoe@nsa.gov>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BA54621F872A for <cfrg@ietfa.amsl.com>; Tue, 20 Nov 2012 09:37:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[AWL=-0.000, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NI7WIIF6MMmX for <cfrg@ietfa.amsl.com>; Tue, 20 Nov 2012 09:37:07 -0800 (PST)
Received: from nsa.gov (emvm-gh1-uea09.nsa.gov [63.239.67.10]) by ietfa.amsl.com (Postfix) with ESMTP id 028CF21F86C6 for <cfrg@irtf.org>; Tue, 20 Nov 2012 09:37:03 -0800 (PST)
X-TM-IMSS-Message-ID: <0d7f18b40000d934@nsa.gov>
Received: from MSHT-GH1-UEA02.corp.nsa.gov ([10.215.227.181]) by nsa.gov ([63.239.67.10]) with ESMTP (TREND IMSS SMTP Service 7.1; TLSv1/SSLv3 AES128-SHA (128/128)) id 0d7f18b40000d934 ; Tue, 20 Nov 2012 08:13:50 -0500
Received: from MSMR-GH1-UEA02.corp.nsa.gov (10.215.227.180) by MSHT-GH1-UEA02.corp.nsa.gov (10.215.227.181) with Microsoft SMTP Server (TLS) id 14.1.289.1; Tue, 20 Nov 2012 08:10:21 -0500
Received: from MSMR-GH1-UEA03.corp.nsa.gov ([10.215.224.3]) by MSMR-GH1-UEA02.corp.nsa.gov ([10.215.227.180]) with mapi id 14.01.0289.001; Tue, 20 Nov 2012 08:10:20 -0500
From: "Igoe, Kevin M." <kmigoe@nsa.gov>
To: 'David Jacobson' <dmjacobson@sbcglobal.net>, "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA, version 01
Thread-Index: AQHNxtvg5dRmH42ImUCxpzeefAod4Zfyrl3w
Date: Tue, 20 Nov 2012 13:10:19 +0000
Message-ID: <3C4AAD4B5304AB44A6BA85173B4675CA3AFE5D17@MSMR-GH1-UEA03.corp.nsa.gov>
References: <747787E65E3FBD4E93F0EB2F14DB556B0F50A96C@xmb-rcd-x04.cisco.com> <4E1F6AAD24975D4BA5B1680429673943668B026C@TK5EX14MBXC283.redmond.corp.microsoft.com> <FE2BC73F-41FA-4B5B-900C-117749CEEBAC@vigilsec.com> <003801cdc5bc$ce464e50$6ad2eaf0$@att.net> <50AB0E38.9050700@sbcglobal.net>
In-Reply-To: <50AB0E38.9050700@sbcglobal.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.215.254.27]
Content-Type: multipart/alternative; boundary="_000_3C4AAD4B5304AB44A6BA85173B4675CA3AFE5D17MSMRGH1UEA03cor_"
MIME-Version: 1.0
Subject: Re: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA, version 01
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 20 Nov 2012 17:37:10 -0000

--_000_3C4AAD4B5304AB44A6BA85173B4675CA3AFE5D17MSMRGH1UEA03cor_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

I'll agree with David's position, but for a slightly different reason.  A p=
acket with a bad MAC may mean
the decrypted PT is malicious.  Not decrypting CT with a bad MAC cryptograp=
hically enforces the policy
that questionable packets MUST NOT be released to the receiving user/proces=
ses.

Misuse of AES-CBC-HMAC-SHA (we really need a shorter name) by a well intent=
ioned application programmer
is, in my opinion, the larger risk.  By never even decrypting questionable =
CT there is no chance the programmers
will, with the best of intentions,   make a security critical mistake by ac=
ting upon malicious PT.

From: cfrg-bounces@irtf.org [mailto:cfrg-bounces@irtf.org] On Behalf Of Dav=
id Jacobson
Sent: Tuesday, November 20, 2012 12:00 AM
To: cfrg@irtf.org
Subject: Re: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA, ver=
sion 01

I think I'd argue the other way on continuing on on when the MAC fails.

One big advantage of encrypt-then-MAC is that the receiving end does MACver=
ify-then-decrypt.  If the message has been tampered with, the MAC fails to =
verify and we never even enter the decryption stuff, thus there is never ev=
en the possibility of padding oracles, timing attacks, etc.  If you go ahea=
d with the decryption, you risk revealing something.

   --David



On 11/18/2012 10:44 AM, Tolga Acar wrote:
Quick feedback on the draft


*         Page 5, item 3, padding string PS. Please \cite PKCS#5 so it is c=
lear this is not new, but a reuse of an existing padding scheme.

*         Section 2.2, step 3. When MAC verification fails, the draft recom=
mends halting the operation before CBC decryption. We have seen timing and =
error-code based attacks against TLS' MAC-then-Encrypt scheme. I realize th=
at the draft is prescribing E-t-M. Nonetheless, considering a potential fla=
w in HMAC-SHA2 series (I don't know of any, but ...), I'd suggest not halti=
ng the operation even after MAC check fails, but continuing on to CBC decry=
ption, and then returning an error that doesn't distinguish between a MAC a=
nd a decryption (pad check) error. Yes, this would consume more CPU cycles =
only to waste them *under an attack*, which is not necessarily bad.

*         Section 2.2, step 5. Unspecified error case of invalid padding (l=
ink to my comment above).

Best,

-          Tolga

From: cfrg-bounces@irtf.org<mailto:cfrg-bounces@irtf.org> [mailto:cfrg-boun=
ces@irtf.org] On Behalf Of Russ Housley
Sent: Sunday, November 18, 2012 4:45 AM
To: Mike Jones
Cc: IRTF CFRG; jose@ietf.org<mailto:jose@ietf.org>
Subject: Re: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA, ver=
sion 01

Have you looked at the algorithm in RFC 6476?  While the discussion is CMS-=
specific, the algorithm could be used with another syntax.

Russ


On Nov 12, 2012, at 1:55 PM, Mike Jones wrote:



As background, if there was a version of this spec that did not assume that=
 the parameters would be concatenated together in a specific way, but left =
them as independent inputs and outputs, as AES GCM and AES CTR do, it would=
 be a better match for JOSE's use case.

                                                            -- Mike

From: cfrg-bounces@irtf.org<mailto:cfrg-bounces@irtf.org> [mailto:cfrg-boun=
ces@irtf.org] On Behalf Of David McGrew (mcgrew)
Sent: Monday, November 12, 2012 10:21 AM
To: cfrg@irtf.org<mailto:cfrg@irtf.org>; jose@ietf.org<mailto:jose@ietf.org=
>
Subject: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA, version=
 01

Hi,

There is a new version of "Authenticated Encryption with AES-CBC and HMAC-S=
HA", and I would appreciate your review.   It is online at <https://datatra=
cker.ietf.org/doc/draft-mcgrew-aead-aes-cbc-hmac-sha2/?include_text=3D1><ht=
tps://datatracker.ietf.org/doc/draft-mcgrew-aead-aes-cbc-hmac-sha2/?include=
_text=3D1%3e>   The diff between the current and the previous version is av=
ailable at <http://www.ietf.org/rfcdiff?url2=3Ddraft-mcgrew-aead-aes-cbc-hm=
ac-sha2-01><http://www.ietf.org/rfcdiff?url2=3Ddraft-mcgrew-aead-aes-cbc-hm=
ac-sha2-01%3e>

This draft has been proposed for use in the JOSE WG <http://datatracker.iet=
f.org/wg/jose/><http://datatracker.ietf.org/wg/jose/%3e> , where its adopti=
on would allow the working group to omit "raw" unauthenticated encryption, =
e.g. AES-CBC, and only include authenticated encryption.   Thus I am asking=
 for your help in making

John Foley generated test cases that correspond to the current version of t=
he draft, but I didn't include these in the draft because I did not yet get=
 confirmation from a second independent implementation.   With hope, there =
will not be any need for any normative changes, and I will include these af=
ter I get confirmation.

Thanks,

David
_______________________________________________
Cfrg mailing list
Cfrg@irtf.org<mailto:Cfrg@irtf.org>
http://www.irtf.org/mailman/listinfo/cfrg





_______________________________________________

Cfrg mailing list

Cfrg@irtf.org<mailto:Cfrg@irtf.org>

http://www.irtf.org/mailman/listinfo/cfrg


--_000_3C4AAD4B5304AB44A6BA85173B4675CA3AFE5D17MSMRGH1UEA03cor_
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-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" 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=3D"Generator" content=3D"Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Helvetica;
	panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";
	color:black;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
pre
	{mso-style-priority:99;
	mso-style-link:"HTML Preformatted Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";
	color:black;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";
	color:black;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";
	color:black;}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
span.apple-style-span
	{mso-style-name:apple-style-span;}
span.apple-converted-space
	{mso-style-name:apple-converted-space;}
span.EmailStyle22
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.HTMLPreformattedChar
	{mso-style-name:"HTML Preformatted Char";
	mso-style-priority:99;
	mso-style-link:"HTML Preformatted";
	font-family:Consolas;
	color:black;}
span.EmailStyle25
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:609583004;
	mso-list-type:hybrid;
	mso-list-template-ids:1554964368 -574487082 67698691 67698693 67698689 676=
98691 67698693 67698689 67698691 67698693;}
@list l0:level1
	{mso-level-start-at:0;
	mso-level-number-format:bullet;
	mso-level-text:-;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Calibri","sans-serif";
	mso-fareast-font-family:Calibri;
	mso-bidi-font-family:"Times New Roman";}
@list l0:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l0:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level5
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l0:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level8
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l1
	{mso-list-id:1900314181;
	mso-list-type:hybrid;
	mso-list-template-ids:-1157354052 -248639884 67698691 67698693 67698689 67=
698691 67698693 67698689 67698691 67698693;}
@list l1:level1
	{mso-level-start-at:0;
	mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;
	mso-fareast-font-family:Calibri;
	mso-bidi-font-family:"Times New Roman";}
@list l1:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l1:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l1:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l1:level5
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l1:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l1:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l1:level8
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l1:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor=3D"white" lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">I&#8217;ll agree with Dav=
id&#8217;s position, but for a slightly different reason.&nbsp; A packet wi=
th a bad MAC may mean<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">the decrypted PT is malic=
ious.&nbsp; Not decrypting CT with a bad MAC cryptographically enforces the=
 policy<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">that questionable packets=
 MUST NOT be released to the receiving user/processes.&nbsp;
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Misuse of AES-CBC-HMAC-SH=
A (we really need a shorter name) by a well intentioned application program=
mer
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">is, in my opinion, the la=
rger risk. &nbsp;By never even decrypting questionable CT there is no chanc=
e the programmers
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">will, with the best of in=
tentions, &nbsp;&nbsp;make a security critical mistake by acting upon malic=
ious PT.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<div style=3D"border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt">
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext">From:</span></b><spa=
n style=3D"font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif=
&quot;;color:windowtext"> cfrg-bounces@irtf.org [mailto:cfrg-bounces@irtf.o=
rg]
<b>On Behalf Of </b>David Jacobson<br>
<b>Sent:</b> Tuesday, November 20, 2012 12:00 AM<br>
<b>To:</b> cfrg@irtf.org<br>
<b>Subject:</b> Re: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-S=
HA, version 01<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal">I think I'd argue the other way on continuing on on =
when the MAC fails.<br>
<br>
One big advantage of encrypt-then-MAC is that the receiving end does MACver=
ify-then-decrypt.&nbsp; If the message has been tampered with, the MAC fail=
s to verify and we never even enter the decryption stuff, thus there is nev=
er even the possibility of padding oracles,
 timing attacks, etc.&nbsp; If you go ahead with the decryption, you risk r=
evealing something.<br>
<br>
&nbsp;&nbsp; --David<br>
<br>
&nbsp;<br>
<br>
On 11/18/2012 10:44 AM, Tolga Acar wrote:<o:p></o:p></p>
</div>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Quick feedback on the dra=
ft</span><o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p><=
/p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l1 level=
1 lfo2"><![if !supportLists]><span style=3D"font-family:Symbol"><span style=
=3D"mso-list:Ignore">&middot;<span style=3D"font:7.0pt &quot;Times New Roma=
n&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style=3D"font-size:11.0pt;font-family:=
&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Page 5, item 3, p=
adding string PS. Please \cite PKCS#5 so it is clear this is not new, but a=
 reuse of an existing padding scheme.</span><o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l1 level=
1 lfo2"><![if !supportLists]><span style=3D"font-family:Symbol"><span style=
=3D"mso-list:Ignore">&middot;<span style=3D"font:7.0pt &quot;Times New Roma=
n&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style=3D"font-size:11.0pt;font-family:=
&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Section 2.2, step=
 3. When MAC verification fails, the draft recommends halting the operation=
 before CBC decryption. We have seen timing and error-code
 based attacks against TLS&#8217; MAC-then-Encrypt scheme. I realize that t=
he draft is prescribing E-t-M. Nonetheless, considering a potential flaw in=
 HMAC-SHA2 series (I don&#8217;t know of any, but &#8230;), I&#8217;d sugge=
st not halting the operation even after MAC check fails,
 but continuing on to CBC decryption, and then returning an error that does=
n&#8217;t distinguish between a MAC and a decryption (pad check) error. Yes=
, this would consume more CPU cycles only to waste them *<b>under an attack=
</b>*, which is not necessarily bad.</span><o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l1 level=
1 lfo2"><![if !supportLists]><span style=3D"font-family:Symbol"><span style=
=3D"mso-list:Ignore">&middot;<span style=3D"font:7.0pt &quot;Times New Roma=
n&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style=3D"font-size:11.0pt;font-family:=
&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Section 2.2, step=
 5. Unspecified error case of invalid padding (link to my comment above).</=
span><o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Best,</span><o:p></o:p></=
p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo4"><![if !supportLists]><span style=3D"font-family:&quot;Calibri&quot;=
,&quot;sans-serif&quot;"><span style=3D"mso-list:Ignore">-<span style=3D"fo=
nt:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style=3D"font-size:11.0pt;font-family:=
&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Tolga</span><o:p>=
</o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p><=
/p>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
<a href=3D"mailto:cfrg-bounces@irtf.org">cfrg-bounces@irtf.org</a> [<a href=
=3D"mailto:cfrg-bounces@irtf.org">mailto:cfrg-bounces@irtf.org</a>]
<b>On Behalf Of </b>Russ Housley<br>
<b>Sent:</b> Sunday, November 18, 2012 4:45 AM<br>
<b>To:</b> Mike Jones<br>
<b>Cc:</b> IRTF CFRG; <a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br=
>
<b>Subject:</b> Re: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-S=
HA, version 01</span><o:p></o:p></p>
</div>
</div>
<p class=3D"MsoNormal">&nbsp;<o:p></o:p></p>
<p class=3D"MsoNormal">Have you looked at the algorithm in RFC 6476? &nbsp;=
While the discussion is CMS-specific, the algorithm could be used with anot=
her syntax.<o:p></o:p></p>
<div>
<p class=3D"MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Russ<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp;<o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal">On Nov 12, 2012, at 1:55 PM, Mike Jones wrote:<o:p><=
/o:p></p>
</div>
<p class=3D"MsoNormal"><br>
<br>
<br>
<o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">As background, if there w=
as a version of this spec that did not assume that the parameters would be =
concatenated together in a specific way, but left them as
 independent inputs and outputs, as AES GCM and AES CTR do, it would be a b=
etter match for JOSE&#8217;s use case.</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p><=
/p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p><=
/p>
</div>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in;border-width:initial;border-color:initial">
<div>
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span class=3D"apple-=
converted-space"><span style=3D"font-size:10.0pt;font-family:&quot;Tahoma&q=
uot;,&quot;sans-serif&quot;">&nbsp;</span></span><span style=3D"font-size:1=
0.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"><a href=3D"mai=
lto:cfrg-bounces@irtf.org">cfrg-bounces@irtf.org</a><span class=3D"apple-co=
nverted-space">&nbsp;</span>[<a href=3D"mailto:cfrg-bounces@irtf.org">mailt=
o:cfrg-bounces@irtf.org</a>]<span class=3D"apple-converted-space">&nbsp;</s=
pan><b>On
 Behalf Of<span class=3D"apple-converted-space">&nbsp;</span></b>David McGr=
ew (mcgrew)<br>
<b>Sent:</b><span class=3D"apple-converted-space">&nbsp;</span>Monday, Nove=
mber 12, 2012 10:21 AM<br>
<b>To:</b><span class=3D"apple-converted-space">&nbsp;</span><a href=3D"mai=
lto:cfrg@irtf.org">cfrg@irtf.org</a>;<span class=3D"apple-converted-space">=
&nbsp;</span><a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
<b>Subject:</b><span class=3D"apple-converted-space">&nbsp;</span>[Cfrg] Au=
thenticated Encryption with AES-CBC and HMAC-SHA, version 01</span><o:p></o=
:p></p>
</div>
</div>
</div>
<div>
<p class=3D"MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">Hi,</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">There is a new version of &quot;</span>=
<span class=3D"apple-style-span"><span style=3D"font-size:13.5pt;font-famil=
y:&quot;Calibri&quot;,&quot;sans-serif&quot;">Authenticated Encryption with=
 AES-CBC and
 HMAC-SHA&quot;, and&nbsp;</span></span><span style=3D"font-size:10.5pt;fon=
t-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">I would appreciate you=
r review. &nbsp; It is online at &lt;<a href=3D"https://datatracker.ietf.or=
g/doc/draft-mcgrew-aead-aes-cbc-hmac-sha2/?include_text=3D1%3e">https://dat=
atracker.ietf.org/doc/draft-mcgrew-aead-aes-cbc-hmac-sha2/?include_text=3D1=
&gt;</a>&nbsp;
 &nbsp;The diff between the current and the previous version is available a=
t &lt;<a href=3D"http://www.ietf.org/rfcdiff?url2=3Ddraft-mcgrew-aead-aes-c=
bc-hmac-sha2-01%3e">http://www.ietf.org/rfcdiff?url2=3Ddraft-mcgrew-aead-ae=
s-cbc-hmac-sha2-01&gt;</a></span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">This draft has been proposed for use in=
 the JOSE WG &lt;<a href=3D"http://datatracker.ietf.org/wg/jose/%3e">http:/=
/datatracker.ietf.org/wg/jose/&gt;</a>&nbsp;, where its adoption would
 allow the working group to omit &quot;raw&quot; unauthenticated encryption=
, e.g. AES-CBC, and only include authenticated encryption. &nbsp; Thus I am=
 asking for your help in making&nbsp;</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">John Foley generated test cases that co=
rrespond to the current version of the draft, but I didn't include these in=
 the draft because I did not yet get confirmation from a
 second independent implementation. &nbsp; With hope, there will not be any=
 need for any normative changes, and I will include these after I get confi=
rmation. &nbsp;</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">Thanks,</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">David</span><o:p></o:p></p>
</div>
</div>
<p class=3D"MsoNormal"><span style=3D"font-size:13.5pt;font-family:&quot;He=
lvetica&quot;,&quot;sans-serif&quot;">_____________________________________=
__________<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">http://www.irtf.org/m=
ailman/listinfo/cfrg</a></span><o:p></o:p></p>
</div>
</div>
<p class=3D"MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<p class=3D"MsoNormal"><br>
<br>
<br>
<o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>Cfrg mailing list<o:p></o:p></pre>
<pre><a href=3D"mailto:Cfrg@irtf.org">Cfrg@irtf.org</a><o:p></o:p></pre>
<pre><a href=3D"http://www.irtf.org/mailman/listinfo/cfrg">http://www.irtf.=
org/mailman/listinfo/cfrg</a><o:p></o:p></pre>
</blockquote>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</body>
</html>

--_000_3C4AAD4B5304AB44A6BA85173B4675CA3AFE5D17MSMRGH1UEA03cor_--

From mcgrew@cisco.com  Tue Nov 20 12:53:24 2012
Return-Path: <mcgrew@cisco.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AD3B221F8817 for <cfrg@ietfa.amsl.com>; Tue, 20 Nov 2012 12:53:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -110.568
X-Spam-Level: 
X-Spam-Status: No, score=-110.568 tagged_above=-999 required=5 tests=[AWL=0.030, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iFUK+P1uvH6v for <cfrg@ietfa.amsl.com>; Tue, 20 Nov 2012 12:53:23 -0800 (PST)
Received: from rcdn-iport-5.cisco.com (rcdn-iport-5.cisco.com [173.37.86.76]) by ietfa.amsl.com (Postfix) with ESMTP id 2B88421F8810 for <cfrg@irtf.org>; Tue, 20 Nov 2012 12:53:23 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=32136; q=dns/txt; s=iport; t=1353444803; x=1354654403; h=from:to:cc:subject:date:message-id:in-reply-to: mime-version; bh=xFY7HmrGM7VFLRBFnrDY8hs6RD12q0Or9QD3bGRxB7A=; b=fZayJEVJy9WbsbSRRZGoM8eb1LaXM0TsBgF1Q9ngfdJ59vTfkM+hoHJd 7/cFbhIM83w+t/wGaAIRbimgGGfhNIvuo7oiL0+vgHSBXNMYooo8WTa9y cvdo/0mXfnr5aQ/K7hlfxVkl9HyKKtTZzsCLcsnAky7mmX7kW+h1lRyvT o=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AoQFAJLsq1CtJXG+/2dsb2JhbABEgkmtfokGAYkNFnOCHgEBAQQBAQEqQQsSAQgOAwMBAQELFgEGLgsUCQgCBAENBQgBh3IDDwuvD4ZdBYlcjDUag3phA5cajyWCb4FkFx4
X-IronPort-AV: E=McAfee;i="5400,1158,6902"; a="144547891"
Received: from rcdn-core2-3.cisco.com ([173.37.113.190]) by rcdn-iport-5.cisco.com with ESMTP; 20 Nov 2012 20:53:22 +0000
Received: from xhc-aln-x09.cisco.com (xhc-aln-x09.cisco.com [173.36.12.83]) by rcdn-core2-3.cisco.com (8.14.5/8.14.5) with ESMTP id qAKKrMKs011246 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Tue, 20 Nov 2012 20:53:22 GMT
Received: from xmb-rcd-x04.cisco.com ([169.254.8.108]) by xhc-aln-x09.cisco.com ([173.36.12.83]) with mapi id 14.02.0318.001; Tue, 20 Nov 2012 14:53:22 -0600
From: "David McGrew (mcgrew)" <mcgrew@cisco.com>
To: Tolga Acar <t.acar@att.net>, "'Russ Housley'" <housley@vigilsec.com>, "'Mike Jones'" <Michael.Jones@microsoft.com>
Thread-Topic: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA, version 01
Thread-Index: AQHNx2ETlyAzLxb67Eq9P0wOuMXhUQ==
Date: Tue, 20 Nov 2012 20:53:21 +0000
Message-ID: <747787E65E3FBD4E93F0EB2F14DB556B0F538AF7@xmb-rcd-x04.cisco.com>
In-Reply-To: <003801cdc5bc$ce464e50$6ad2eaf0$@att.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.2.1.120420
x-originating-ip: [10.117.10.227]
Content-Type: multipart/alternative; boundary="_000_747787E65E3FBD4E93F0EB2F14DB556B0F538AF7xmbrcdx04ciscoc_"
MIME-Version: 1.0
Cc: 'IRTF CFRG' <cfrg@irtf.org>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA, version 01
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 20 Nov 2012 20:53:24 -0000

--_000_747787E65E3FBD4E93F0EB2F14DB556B0F538AF7xmbrcdx04ciscoc_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

Hi Tolga,

Thanks for the comments, more inline:

From: Tolga Acar <t.acar@att.net<mailto:t.acar@att.net>>
Date: Sunday, November 18, 2012 1:44 PM
To: 'Russ Housley' <housley@vigilsec.com<mailto:housley@vigilsec.com>>, 'Mi=
ke Jones' <Michael.Jones@microsoft.com<mailto:Michael.Jones@microsoft.com>>
Cc: 'IRTF CFRG' <cfrg@irtf.org<mailto:cfrg@irtf.org>>, "jose@ietf.org<mailt=
o:jose@ietf.org>" <jose@ietf.org<mailto:jose@ietf.org>>
Subject: Re: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA, ver=
sion 01

Quick feedback on the draft


=B7         Page 5, item 3, padding string PS. Please \cite PKCS#5 so it is=
 clear this is not new, but a reuse of an existing padding scheme.

It makes sense to add a citation, but in Section 4 (Rationale), where PEM a=
nd PKCS padding are already mentioned.   The right citation seems to be to =
add these non-normative references:

   Privacy Enhancement for Internet Electronic Mail: Part III: Algorithms, =
Modes, and Identifiers  - RFC 1423
   PKCS #7: Cryptographic Message Syntax v1.5 =96 RFC 2315
   Cryptographic Message Syntax (CMS) - RFC 5652


=B7         Section 2.2, step 3. When MAC verification fails, the draft rec=
ommends halting the operation before CBC decryption. We have seen timing an=
d error-code based attacks against TLS=92 MAC-then-Encrypt scheme. I realiz=
e that the draft is prescribing E-t-M. Nonetheless, considering a potential=
 flaw in HMAC-SHA2 series (I don=92t know of any, but =85), I=92d suggest n=
ot halting the operation even after MAC check fails, but continuing on to C=
BC decryption, and then returning an error that doesn=92t distinguish betwe=
en a MAC and a decryption (pad check) error. Yes, this would consume more C=
PU cycles only to waste them *under an attack*, which is not necessarily ba=
d.

Your suggestion aims to hide from an attacker whether or not the authentica=
tion check passed or failed, by removing the (significant) timing differenc=
e in whether decryption is performed or not.  I don't see what security adv=
antage this provides.   In many scenarios an attacker could tell whether or=
 not a message was accepted anyway, by observing that the receiver acted on=
 that message.


=B7         Section 2.2, step 5. Unspecified error case of invalid padding =
(link to my comment above).

The draft does consider invalid padding, and takes a conservative in what y=
ou send, liberal in what you accept policy.   The sender is required to use=
 PKCS/PEM style padding, but the receiver is only told to consider the fina=
l octet of the padding (which is the only octet that matters).   The Step y=
ou mention says:

                                                                           =
If the final octet has
       a value outside that range, then all of the data used in the
       processing of the message is zeroized and discarded, and the AEAD
       decryption operation returns an indication that it failed, and
       the operation halts.

This could be amended by saying that "If the padding string does not have t=
he form described in Step 3, the message MAY be rejected".

I think that the liberal-in-what-you-accept policy is the best option here,=
 but I could be convinced otherwise.   The citations for padding schemes me=
ntioned earlier are silent on this issue.

David


Best,

-          Tolga

From: cfrg-bounces@irtf.org<mailto:cfrg-bounces@irtf.org> [mailto:cfrg-boun=
ces@irtf.org] On Behalf Of Russ Housley
Sent: Sunday, November 18, 2012 4:45 AM
To: Mike Jones
Cc: IRTF CFRG; jose@ietf.org<mailto:jose@ietf.org>
Subject: Re: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA, ver=
sion 01

Have you looked at the algorithm in RFC 6476?  While the discussion is CMS-=
specific, the algorithm could be used with another syntax.

Russ


On Nov 12, 2012, at 1:55 PM, Mike Jones wrote:


As background, if there was a version of this spec that did not assume that=
 the parameters would be concatenated together in a specific way, but left =
them as independent inputs and outputs, as AES GCM and AES CTR do, it would=
 be a better match for JOSE=92s use case.

                                                            -- Mike

From: cfrg-bounces@irtf.org<mailto:cfrg-bounces@irtf.org> [mailto:cfrg-boun=
ces@irtf.org] On Behalf Of David McGrew (mcgrew)
Sent: Monday, November 12, 2012 10:21 AM
To: cfrg@irtf.org<mailto:cfrg@irtf.org>; jose@ietf.org<mailto:jose@ietf.org=
>
Subject: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA, version=
 01

Hi,

There is a new version of "Authenticated Encryption with AES-CBC and HMAC-S=
HA", and I would appreciate your review.   It is online at <https://datatra=
cker.ietf.org/doc/draft-mcgrew-aead-aes-cbc-hmac-sha2/?include_text=3D1><ht=
tps://datatracker.ietf.org/doc/draft-mcgrew-aead-aes-cbc-hmac-sha2/?include=
_text=3D1%3e>   The diff between the current and the previous version is av=
ailable at <http://www.ietf.org/rfcdiff?url2=3Ddraft-mcgrew-aead-aes-cbc-hm=
ac-sha2-01><http://www.ietf.org/rfcdiff?url2=3Ddraft-mcgrew-aead-aes-cbc-hm=
ac-sha2-01%3e>

This draft has been proposed for use in the JOSE WG <http://datatracker.iet=
f.org/wg/jose/><http://datatracker.ietf.org/wg/jose/%3e> , where its adopti=
on would allow the working group to omit "raw" unauthenticated encryption, =
e.g. AES-CBC, and only include authenticated encryption.   Thus I am asking=
 for your help in making

John Foley generated test cases that correspond to the current version of t=
he draft, but I didn't include these in the draft because I did not yet get=
 confirmation from a second independent implementation.   With hope, there =
will not be any need for any normative changes, and I will include these af=
ter I get confirmation.

Thanks,

David
_______________________________________________
Cfrg mailing list
Cfrg@irtf.org<mailto:Cfrg@irtf.org>
http://www.irtf.org/mailman/listinfo/cfrg


--_000_747787E65E3FBD4E93F0EB2F14DB556B0F538AF7xmbrcdx04ciscoc_
Content-Type: text/html; charset="Windows-1252"
Content-ID: <DD55B12270735745ACB579F50281199C@cisco.com>
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1=
252">
</head>
<body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-lin=
e-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-fami=
ly: Calibri, sans-serif; ">
<div style=3D"color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-s=
ize: 14px; ">
Hi Tolga,</div>
<div style=3D"color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-s=
ize: 14px; ">
<br>
</div>
<div style=3D"color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-s=
ize: 14px; ">
Thanks for the comments, more inline:</div>
<div style=3D"color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-s=
ize: 14px; ">
<br>
</div>
<span id=3D"OLK_SRC_BODY_SECTION" style=3D"color: rgb(0, 0, 0); font-size: =
14px; font-family: Calibri, sans-serif; ">
<div style=3D"font-family:Calibri; font-size:11pt; text-align:left; color:b=
lack; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM:=
 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid;=
 BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style=3D"font-weight:bold">From: </span>Tolga Acar &lt;<a href=3D"mai=
lto:t.acar@att.net">t.acar@att.net</a>&gt;<br>
<span style=3D"font-weight:bold">Date: </span>Sunday, November 18, 2012 1:4=
4 PM<br>
<span style=3D"font-weight:bold">To: </span>'Russ Housley' &lt;<a href=3D"m=
ailto:housley@vigilsec.com">housley@vigilsec.com</a>&gt;, 'Mike Jones' &lt;=
<a href=3D"mailto:Michael.Jones@microsoft.com">Michael.Jones@microsoft.com<=
/a>&gt;<br>
<span style=3D"font-weight:bold">Cc: </span>'IRTF CFRG' &lt;<a href=3D"mail=
to:cfrg@irtf.org">cfrg@irtf.org</a>&gt;, &quot;<a href=3D"mailto:jose@ietf.=
org">jose@ietf.org</a>&quot; &lt;<a href=3D"mailto:jose@ietf.org">jose@ietf=
.org</a>&gt;<br>
<span style=3D"font-weight:bold">Subject: </span>Re: [Cfrg] Authenticated E=
ncryption with AES-CBC and HMAC-SHA, version 01<br>
</div>
<div><br>
</div>
<blockquote id=3D"MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style=3D"BORDER-LEFT:=
 #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;">
<div xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micro=
soft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" x=
mlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:/=
/www.w3.org/TR/REC-html40">
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Helvetica;
	panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
span.apple-style-span
	{mso-style-name:apple-style-span;}
span.apple-converted-space
	{mso-style-name:apple-converted-space;}
span.EmailStyle19
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:609583004;
	mso-list-type:hybrid;
	mso-list-template-ids:1554964368 -574487082 67698691 67698693 67698689 676=
98691 67698693 67698689 67698691 67698693;}
@list l0:level1
	{mso-level-start-at:0;
	mso-level-number-format:bullet;
	mso-level-text:-;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Calibri","sans-serif";
	mso-fareast-font-family:Calibri;
	mso-bidi-font-family:"Times New Roman";}
@list l0:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l0:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level5
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l0:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level8
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l1
	{mso-list-id:1900314181;
	mso-list-type:hybrid;
	mso-list-template-ids:-1157354052 -248639884 67698691 67698693 67698689 67=
698691 67698693 67698689 67698691 67698693;}
@list l1:level1
	{mso-level-start-at:0;
	mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;
	mso-fareast-font-family:Calibri;
	mso-bidi-font-family:"Times New Roman";}
@list l1:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l1:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l1:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l1:level5
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l1:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l1:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l1:level8
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l1:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size: 11pt; color: rgb(31, 73, 1=
25); font-family: Calibri, sans-serif; ">Quick feedback on the draft<o:p></=
o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size: 11pt; color: rgb(31, 73, 1=
25); font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l1 level=
1 lfo1"><!--[if !supportLists]--><span style=3D"font-size: 11pt; color: rgb=
(31, 73, 125); "><span style=3D"mso-list:Ignore">=B7<span style=3D"font:7.0=
pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;
</span></span></span><!--[endif]--><span style=3D"font-size: 11pt; color: r=
gb(31, 73, 125); font-family: Calibri, sans-serif; ">Page 5, item 3, paddin=
g string PS. Please \cite PKCS#5 so it is clear this is not new, but a reus=
e of an existing padding scheme.</span></p>
</div>
</div>
</div>
</blockquote>
</span>
<div style=3D"color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-s=
ize: 14px; ">
<br>
</div>
<div>It makes sense to add a citation, but in Section 4 (Rationale), where =
PEM and PKCS padding are already mentioned. &nbsp; The right citation seems=
 to be to add these non-normative references:</div>
<div><br>
</div>
<div>&nbsp; &nbsp;Privacy Enhancement for Internet Electronic Mail:&nbsp;Pa=
rt III: Algorithms, Modes, and Identifiers&nbsp;<font class=3D"Apple-style-=
span" face=3D"Calibri,sans-serif">&nbsp;- RFC 1423</font></div>
<div><span class=3D"Apple-style-span" style=3D"font-family: Calibri, sans-s=
erif; ">&nbsp; &nbsp;PKCS #7: Cryptographic Message Syntax v1.5 =96 RFC 231=
5</span></div>
<div>&nbsp; &nbsp;Cryptographic Message Syntax (CMS)&nbsp;<span class=3D"Ap=
ple-style-span" style=3D"font-family: Calibri, sans-serif; ">- RFC 5652</sp=
an></div>
<div><font class=3D"Apple-style-span" face=3D"Calibri,sans-serif"><br>
</font></div>
<span id=3D"OLK_SRC_BODY_SECTION" style=3D"color: rgb(0, 0, 0); font-size: =
14px; font-family: Calibri, sans-serif; ">
<blockquote id=3D"MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style=3D"BORDER-LEFT:=
 #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;">
<div xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micro=
soft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" x=
mlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:/=
/www.w3.org/TR/REC-html40">
<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l1 level=
1 lfo1"><span style=3D"font-size: 11pt; color: rgb(31, 73, 125); font-famil=
y: Calibri, sans-serif; "><o:p></o:p></span></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l1 level=
1 lfo1"><!--[if !supportLists]--><span style=3D"font-size: 11pt; color: rgb=
(31, 73, 125); "><span style=3D"mso-list:Ignore">=B7<span style=3D"font:7.0=
pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;
</span></span></span><!--[endif]--><span style=3D"font-size: 11pt; color: r=
gb(31, 73, 125); font-family: Calibri, sans-serif; ">Section 2.2, step 3. W=
hen MAC verification fails, the draft recommends halting the operation befo=
re CBC decryption. We have seen timing
 and error-code based attacks against TLS=92 MAC-then-Encrypt scheme. I rea=
lize that the draft is prescribing E-t-M. Nonetheless, considering a potent=
ial flaw in HMAC-SHA2 series (I don=92t know of any, but =85), I=92d sugges=
t not halting the operation even after MAC
 check fails, but continuing on to CBC decryption, and then returning an er=
ror that doesn=92t distinguish between a MAC and a decryption (pad check) e=
rror. Yes, this would consume more CPU cycles only to waste them *<b>under =
an attack</b>*, which is not necessarily
 bad.</span></p>
</div>
</div>
</div>
</blockquote>
</span>
<div><br>
</div>
<div>Your suggestion aims to hide from an attacker whether or not the authe=
ntication check passed or failed, by removing the (significant) timing diff=
erence in whether decryption is performed or not. &nbsp;I don't see what se=
curity advantage this provides. &nbsp; In
 many scenarios an attacker could tell whether or not a message was accepte=
d anyway, by observing that the receiver acted on that message. &nbsp;</div=
>
<div><br>
</div>
<span id=3D"OLK_SRC_BODY_SECTION" style=3D"color: rgb(0, 0, 0); font-size: =
14px; font-family: Calibri, sans-serif; ">
<blockquote id=3D"MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style=3D"BORDER-LEFT:=
 #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;">
<div xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micro=
soft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" x=
mlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:/=
/www.w3.org/TR/REC-html40">
<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l1 level=
1 lfo1"><span style=3D"font-size: 11pt; color: rgb(31, 73, 125); font-famil=
y: Calibri, sans-serif; "><o:p></o:p></span></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l1 level=
1 lfo1"><!--[if !supportLists]--><span style=3D"font-size: 11pt; color: rgb=
(31, 73, 125); "><span style=3D"mso-list:Ignore">=B7<span style=3D"font:7.0=
pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;
</span></span></span><!--[endif]--><span style=3D"font-size: 11pt; color: r=
gb(31, 73, 125); font-family: Calibri, sans-serif; ">Section 2.2, step 5. U=
nspecified error case of invalid padding (link to my comment above).<o:p></=
o:p></span></p>
</div>
</div>
</div>
</blockquote>
</span>
<div><br>
</div>
<div>The draft does consider invalid padding, and takes a conservative in w=
hat you send, liberal in what you accept policy. &nbsp; The sender is requi=
red to use PKCS/PEM style padding, but the receiver is only told to conside=
r the final octet of the padding (which
 is the only octet that matters). &nbsp; The Step you mention says:</div>
<div><br>
</div>
<div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp=
; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nb=
sp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;If the final octet has</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;a value outside that range, then all of the=
 data used in the</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;processing of the message is zeroized and d=
iscarded, and the AEAD</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;decryption operation returns an indication =
that it failed, and</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;the operation halts.</div>
</div>
<div><br>
</div>
<div>This could be amended by saying that &quot;If the padding string does =
not have the form described in Step 3, the message MAY be rejected&quot;.</=
div>
<div><br>
</div>
<div>I think that the liberal-in-what-you-accept policy is the best option =
here, but I could be convinced otherwise. &nbsp; The citations for padding =
schemes mentioned earlier are silent on this issue. &nbsp;</div>
<div><br>
</div>
<div>David</div>
<div><br>
</div>
<span id=3D"OLK_SRC_BODY_SECTION" style=3D"color: rgb(0, 0, 0); font-size: =
14px; font-family: Calibri, sans-serif; ">
<blockquote id=3D"MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style=3D"BORDER-LEFT:=
 #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;">
<div xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micro=
soft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" x=
mlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:/=
/www.w3.org/TR/REC-html40">
<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size: 11pt; color: rgb(31, 73, 1=
25); font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size: 11pt; color: rgb(31, 73, 1=
25); font-family: Calibri, sans-serif; ">Best,<o:p></o:p></span></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo2"><!--[if !supportLists]--><span style=3D"font-size:11.0pt;font-famil=
y:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><span style=3D"=
mso-list:Ignore">-<span style=3D"font:7.0pt &quot;Times New Roman&quot;">&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><!--[endif]--><span style=3D"font-size: 11pt; color: r=
gb(31, 73, 125); font-family: Calibri, sans-serif; ">Tolga<o:p></o:p></span=
></p>
<p class=3D"MsoNormal"><span style=3D"font-size: 11pt; color: rgb(31, 73, 1=
25); font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></span></p>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size: 10pt; font-family: Taho=
ma, sans-serif; ">From:</span></b><span style=3D"font-size: 10pt; font-fami=
ly: Tahoma, sans-serif; ">
<a href=3D"mailto:cfrg-bounces@irtf.org">cfrg-bounces@irtf.org</a> [<a href=
=3D"mailto:cfrg-bounces@irtf.org">mailto:cfrg-bounces@irtf.org</a>]
<b>On Behalf Of </b>Russ Housley<br>
<b>Sent:</b> Sunday, November 18, 2012 4:45 AM<br>
<b>To:</b> Mike Jones<br>
<b>Cc:</b> IRTF CFRG; <a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br=
>
<b>Subject:</b> Re: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-S=
HA, version 01<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Have you looked at the algorithm in RFC 6476? &nbsp;=
While the discussion is CMS-specific, the algorithm could be used with anot=
her syntax.<o:p></o:p></p>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Russ<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<p class=3D"MsoNormal">On Nov 12, 2012, at 1:55 PM, Mike Jones wrote:<o:p><=
/o:p></p>
</div>
<p class=3D"MsoNormal"><br>
<br>
<o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size: 11pt; color: rgb(31, 73, 1=
25); font-family: Calibri, sans-serif; ">As background, if there was a vers=
ion of this spec that did not assume that the parameters would be concatena=
ted together in a specific way, but
 left them as independent inputs and outputs, as AES GCM and AES CTR do, it=
 would be a better match for JOSE=92s use case.</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size: 11pt; color: rgb(31, 73, 1=
25); font-family: Calibri, sans-serif; ">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size: 11pt; color: rgb(31, 73, 1=
25); font-family: Calibri, sans-serif; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp; -- Mike</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size: 11pt; color: rgb(31, 73, 1=
25); font-family: Calibri, sans-serif; ">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in;border-width:initial;border-color:initial">
<div>
<p class=3D"MsoNormal"><b><span style=3D"font-size: 10pt; font-family: Taho=
ma, sans-serif; ">From:</span></b><span class=3D"apple-converted-space"><sp=
an style=3D"font-size: 10pt; font-family: Tahoma, sans-serif; ">&nbsp;</spa=
n></span><span style=3D"font-size: 10pt; font-family: Tahoma, sans-serif; "=
><a href=3D"mailto:cfrg-bounces@irtf.org">cfrg-bounces@irtf.org</a><span cl=
ass=3D"apple-converted-space">&nbsp;</span>[<a href=3D"mailto:cfrg-bounces@=
irtf.org">mailto:cfrg-bounces@irtf.org</a>]<span class=3D"apple-converted-s=
pace">&nbsp;</span><b>On
 Behalf Of<span class=3D"apple-converted-space">&nbsp;</span></b>David McGr=
ew (mcgrew)<br>
<b>Sent:</b><span class=3D"apple-converted-space">&nbsp;</span>Monday, Nove=
mber 12, 2012 10:21 AM<br>
<b>To:</b><span class=3D"apple-converted-space">&nbsp;</span><a href=3D"mai=
lto:cfrg@irtf.org">cfrg@irtf.org</a>;<span class=3D"apple-converted-space">=
&nbsp;</span><a href=3D"mailto:jose@ietf.org">jose@ietf.org</a><br>
<b>Subject:</b><span class=3D"apple-converted-space">&nbsp;</span>[Cfrg] Au=
thenticated Encryption with AES-CBC and HMAC-SHA, version 01</span><o:p></o=
:p></p>
</div>
</div>
</div>
<div>
<p class=3D"MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size: 10.5pt; color: black; font=
-family: Calibri, sans-serif; ">Hi,</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size: 10.5pt; color: black; font=
-family: Calibri, sans-serif; ">&nbsp;</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size: 10.5pt; color: black; font=
-family: Calibri, sans-serif; ">There is a new version of &quot;</span><spa=
n class=3D"apple-style-span"><span style=3D"font-size: 13.5pt; color: black=
; font-family: Calibri, sans-serif; ">Authenticated
 Encryption with AES-CBC and HMAC-SHA&quot;, and&nbsp;</span></span><span s=
tyle=3D"font-size: 10.5pt; color: black; font-family: Calibri, sans-serif; =
">I would appreciate your review. &nbsp; It is online at &lt;<a href=3D"htt=
ps://datatracker.ietf.org/doc/draft-mcgrew-aead-aes-cbc-hmac-sha2/?include_=
text=3D1%3e">https://datatracker.ietf.org/doc/draft-mcgrew-aead-aes-cbc-hma=
c-sha2/?include_text=3D1&gt;</a>&nbsp;
 &nbsp;The diff between the current and the previous version is available a=
t &lt;<a href=3D"http://www.ietf.org/rfcdiff?url2=3Ddraft-mcgrew-aead-aes-c=
bc-hmac-sha2-01%3e">http://www.ietf.org/rfcdiff?url2=3Ddraft-mcgrew-aead-ae=
s-cbc-hmac-sha2-01&gt;</a></span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size: 10.5pt; color: black; font=
-family: Calibri, sans-serif; ">&nbsp;</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size: 10.5pt; color: black; font=
-family: Calibri, sans-serif; ">This draft has been proposed for use in the=
 JOSE WG &lt;<a href=3D"http://datatracker.ietf.org/wg/jose/%3e">http://dat=
atracker.ietf.org/wg/jose/&gt;</a>&nbsp;, where its
 adoption would allow the working group to omit &quot;raw&quot; unauthentic=
ated encryption, e.g. AES-CBC, and only include authenticated encryption. &=
nbsp; Thus I am asking for your help in making&nbsp;</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size: 10.5pt; color: black; font=
-family: Calibri, sans-serif; ">&nbsp;</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size: 10.5pt; color: black; font=
-family: Calibri, sans-serif; ">John Foley generated test cases that corres=
pond to the current version of the draft, but I didn't include these in the=
 draft because I did not yet get confirmation
 from a second independent implementation. &nbsp; With hope, there will not=
 be any need for any normative changes, and I will include these after I ge=
t confirmation. &nbsp;</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size: 10.5pt; color: black; font=
-family: Calibri, sans-serif; ">&nbsp;</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size: 10.5pt; color: black; font=
-family: Calibri, sans-serif; ">Thanks,</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size: 10.5pt; color: black; font=
-family: Calibri, sans-serif; ">&nbsp;</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size: 10.5pt; color: black; font=
-family: Calibri, sans-serif; ">David</span><o:p></o:p></p>
</div>
</div>
<p class=3D"MsoNormal"><span style=3D"font-size: 13.5pt; font-family: Helve=
tica, sans-serif; ">_______________________________________________<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">http://www.irtf.org/m=
ailman/listinfo/cfrg</a><o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</div>
</div>
</blockquote>
</span>
</body>
</html>

--_000_747787E65E3FBD4E93F0EB2F14DB556B0F538AF7xmbrcdx04ciscoc_--

From James.H.Manger@team.telstra.com  Tue Nov 20 17:32:37 2012
Return-Path: <James.H.Manger@team.telstra.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AB7E821F873A for <cfrg@ietfa.amsl.com>; Tue, 20 Nov 2012 17:32:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.77
X-Spam-Level: 
X-Spam-Status: No, score=-0.77 tagged_above=-999 required=5 tests=[AWL=0.130,  BAYES_00=-2.599, HELO_EQ_AU=0.377, HOST_EQ_AU=0.327, HTML_MESSAGE=0.001, RELAY_IS_203=0.994]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id l8RN4qcjA3v6 for <cfrg@ietfa.amsl.com>; Tue, 20 Nov 2012 17:32:36 -0800 (PST)
Received: from ipxbno.tcif.telstra.com.au (ipxbno.tcif.telstra.com.au [203.35.82.204]) by ietfa.amsl.com (Postfix) with ESMTP id 1D04221F872E for <cfrg@irtf.org>; Tue, 20 Nov 2012 17:32:33 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.83,290,1352034000";  d="scan'208,217";a="102349744"
Received: from unknown (HELO ipcdni.tcif.telstra.com.au) ([10.97.216.212]) by ipobni.tcif.telstra.com.au with ESMTP; 21 Nov 2012 12:32:31 +1100
X-IronPort-AV: E=McAfee;i="5400,1158,6902"; a="94034603"
Received: from wsmsg3705.srv.dir.telstra.com ([172.49.40.203]) by ipcdni.tcif.telstra.com.au with ESMTP; 21 Nov 2012 12:32:31 +1100
Received: from WSMSG3153V.srv.dir.telstra.com ([172.49.40.159]) by WSMSG3705.srv.dir.telstra.com ([172.49.40.203]) with mapi; Wed, 21 Nov 2012 12:32:30 +1100
From: "Manger, James H" <James.H.Manger@team.telstra.com>
To: "David McGrew (mcgrew)" <mcgrew@cisco.com>, 'IRTF CFRG' <cfrg@irtf.org>, Tolga Acar <t.acar@att.net>
Date: Wed, 21 Nov 2012 12:32:22 +1100
Thread-Topic: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA, version 01
Thread-Index: AQHNx2ETlyAzLxb67Eq9P0wOuMXhUZfzWrow
Message-ID: <255B9BB34FB7D647A506DC292726F6E115009143A4@WSMSG3153V.srv.dir.telstra.com>
References: <003801cdc5bc$ce464e50$6ad2eaf0$@att.net> <747787E65E3FBD4E93F0EB2F14DB556B0F538AF7@xmb-rcd-x04.cisco.com>
In-Reply-To: <747787E65E3FBD4E93F0EB2F14DB556B0F538AF7@xmb-rcd-x04.cisco.com>
Accept-Language: en-US, en-AU
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US, en-AU
Content-Type: multipart/alternative; boundary="_000_255B9BB34FB7D647A506DC292726F6E115009143A4WSMSG3153Vsrv_"
MIME-Version: 1.0
Subject: Re: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA, version 01
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 21 Nov 2012 01:32:37 -0000

--_000_255B9BB34FB7D647A506DC292726F6E115009143A4WSMSG3153Vsrv_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64

VGhlcmUgYXJlIHR3byByaXNrczoNCg0KMS4gICAgICAgVGhlIENCQyBwYWRkaW5nIGlzIHByb2Nl
c3NlZCBiZWZvcmUgdGhlIE1BQyBpcyB2ZXJpZmllZA0KDQoyLiAgICAgICBUaGUgcGxhaW50ZXh0
IGlzIHVzZWQgYmVmb3JlIHRoZSBNQUMgaXMgdmVyaWZpZWQNCg0KVGhlIGRyYWZ0IGNvdWxkIG1h
a2UgdGhlIENCQyBwYWRkaW5nIHByb2Nlc3NpbmcgZXZlbiBzYWZlciBieSBiZWluZyBldmVuIG1v
cmUgbGVuaWVudDogb25seSBjb25zaWRlciB0aGUgbGVhc3Qgc2lnbmlmaWNhbnQgNCBiaXRzIG9m
IHRoZSBsYXN0IGJ5dGUgKGllIG1vZHVsbyB0aGUgYmxvY2sgbGVuZ3RoKS4gVGhhdCBpcyBndWFy
YW50ZWVkIHRvIGJlIGluIFswLDE1XSBzbyBpdCBhbHdheXMgZ2l2ZXMgYSB2YWxpZCBwYWRkaW5n
IGxlbmd0aCAoMCBtZWFucyAxNiBieXRlcyBvZiBwYWRkaW5nKS4gU3VjaCBwYWRkaW5nIHByb2Nl
c3NpbmcgY2FuIG5ldmVyIGZhaWwgc28gaXQgY2FuIG5ldmVyIGFjdCBhcyBhIHB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plOjEwLjVwdDtmb250LWZhbWlseToiQ2FsaWJyaSIs
InNhbnMtc2VyaWYiO2NvbG9yOmJsYWNrJz5EYXZpZDxvOnA+PC9vOnA+PC9zcGFuPjwvcD48L2Rp
dj48L2Rpdj48L2Rpdj48L2JvZHk+PC9odG1sPg==

--_000_255B9BB34FB7D647A506DC292726F6E115009143A4WSMSG3153Vsrv_--

From benl@google.com  Wed Nov 21 07:47:20 2012
Return-Path: <benl@google.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7EE2E21F873E for <cfrg@ietfa.amsl.com>; Wed, 21 Nov 2012 07:47:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.977
X-Spam-Level: 
X-Spam-Status: No, score=-102.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 83f5EQKfBp36 for <cfrg@ietfa.amsl.com>; Wed, 21 Nov 2012 07:47:19 -0800 (PST)
Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by ietfa.amsl.com (Postfix) with ESMTP id 3A67D21F8738 for <cfrg@irtf.org>; Wed, 21 Nov 2012 07:47:19 -0800 (PST)
Received: by mail-wg0-f50.google.com with SMTP id 12so3408922wgr.19 for <cfrg@irtf.org>; Wed, 21 Nov 2012 07:47:18 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=Bd2xQB13ZNaf9l3xJ7B2tAHolfn8Ebuqb/13sVNDvMc=; b=aiNv+ImEuNJZMmWTYMlAt2C+Vwh+ogdsaCqx5FY8FIWItyzTYwF5/QLRSOScwp1ceC xGEHhpPxAjDoWKRGBLoU3aNE+vEdneiL0vy/lyjb7kQcKUPkNYsXX8PXMmqprHD7f9n8 2p6qHaHq6Ogi71aVPY47cK1AnezrAFU5UKCVFoLGbGUJXciHQt0aWbU9xpqzbN5dwAUo WAZray0eomAh+nShMrIRkDzxMKnyjbn6KcpyIgnTUQ7RR8atZy/RPZlf8kWftM9PoGg2 DWQQzMkkl1V9a2uo/krqNBwQC+0w1JuRzQ71iMpGDQmicAbQRjzWpGTdYDvo8tEulv8N u90w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding:x-gm-message-state; bh=Bd2xQB13ZNaf9l3xJ7B2tAHolfn8Ebuqb/13sVNDvMc=; b=j+1RzrTDTYvqIRgMlo/UyQbORavntIQBV3+UOYAXzm8uiInQtCP+tggzrKl2596H0C ePsFhkFy8J+W1cIOPmJm541OITIJajTHwe+l/MFtKdrz3Rb+7zb8DSFuwRtaPqZJz5LI NG6FWtVS2x746jL42qcNNqNC1H402xJ0cUB75uRKlMzjossmbrmfZHsRHo0v734U/RVK Tc5nOs0aaKkT1b3NuqroDYXtvfTNiitzsIdaNkZPAC+MU5rWlSxZyKjeXCDztOfG/8xI apkwn6vFBMBv5CC32LHLzywCl0ehQeGlmknUWVmiETR7LUM2Qd2ufl6vdHnkMR9zeF5/ c4Tg==
MIME-Version: 1.0
Received: by 10.180.101.3 with SMTP id fc3mr3659007wib.16.1353512838263; Wed, 21 Nov 2012 07:47:18 -0800 (PST)
Received: by 10.194.56.138 with HTTP; Wed, 21 Nov 2012 07:47:18 -0800 (PST)
In-Reply-To: <BAY171-W133C34B6212813A7B59F439B76D0@phx.gbl>
References: <747787E65E3FBD4E93F0EB2F14DB556B0F50A96C@xmb-rcd-x04.cisco.com> <BAY171-W133C34B6212813A7B59F439B76D0@phx.gbl>
Date: Wed, 21 Nov 2012 15:47:18 +0000
Message-ID: <CABrd9SSEcTVHN6w6i5AvUAbvewgPPuoV=YkDL1CWEd+fd6rqfQ@mail.gmail.com>
From: Ben Laurie <benl@google.com>
To: Michael Jones <michael_b_jones@hotmail.com>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQkYQwF9AAbgJ8jj7hluaUvLs2ro8zM/qm/WRkwQHc1kuBlTgCL/lmHQ/b3rXBCIbI5KmOEMJatbEdJfb52BnhUoApmt2+zob6nNSJ31v14rsTHvZ0QHAy3fAbVAA+DTvEcO/SZmzEwoyYAf9/3uZ1UG9G5oydZAgh0gC9N3H7s3wjK4UK50PTGPihBvUxAHPux6wGJ7
Cc: mcgrew@cisco.com, cfrg@irtf.org, jose@ietf.org
Subject: Re: [Cfrg] [jose] Authenticated Encryption with AES-CBC and HMAC-SHA, version 01
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 21 Nov 2012 15:47:20 -0000

On 12 November 2012 20:25, Michael Jones <michael_b_jones@hotmail.com> wrot=
e:
>
> OK, I admit that the way I phrased my request may not be exactly in line
> with the way the =93AEAD=94 terminology is used.  I can correct that. Tha=
t=92s
> syntax.  I was using =93AEAD=94 as a shorthand for the working group=92s =
decision
> to use only authenticated encryption algorithms =96 not to mean the parti=
cular
> combined representation of those parameters apparently specified in the A=
EAD
> draft.  I will correct the terminology usage in the next revision of the
> JOSE specifications.
>
>
> The semantic point remains that it=92s cleaner and more flexible to have =
the
> Key, the Plaintext, IV, and =93additional authenticated data=94 parameter=
s all
> be separate inputs and the Ciphertext and =93authentication tag=94 all be
> separate outputs.  In JOSE=92s particular use case, that would be a
> significantly better match and easier for implementers to use.

Sorry for the drive-by comment, but this caught my eye...

The problem with this idea, though, is that authenticated encryption
does not require an "authentication tag" in general - it just requires
that decrypting a tampered or entirely invented ciphertext fails. So,
this seems like a short-sighted way to define it.

>
>
> JOSE already has a way of combining the inputs and outputs that=92s inher=
ent
> to its representation, and it doesn=92t match the one you=92ve specified.=
  GCM,
> CTR, and the current JOSE-specified algorithms are a great fit for this, =
as
> they can directly use that representation.  The AEAD pattern you cite
> requires disassembly of the components of the AEAD-specific representatio=
n
> to be able to use the combinations already present in the JOSE
> representations and then reassembly at decryption time.  That=92s just mo=
re
> work for implementers, and it=92s not semantically necessary work.
>
>
> Are you open to specifying versions of your algorithms that don=92t requi=
re a
> particular combination method for the parameters, but instead leave the
> combination up to the use case?  I=92m fine with you also specifying a
> specific combination method as an optional feature of the specification.
> But it shouldn=92t be part of the algorithm definition, just like it isn=
=92t for
> GCM.
>
>
>                                                             Best wishes,
>
>                                                             -- Mike
>
>
>
> From: David McGrew (mcgrew) [mailto:mcgrew@cisco.com]
> Sent: Monday, November 12, 2012 11:43 AM
> To: Mike Jones; cfrg@irtf.org; jose@ietf.org
> Subject: Re: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA,
> version 01
>
>
> Hi Mike,
>
>
> From: Mike Jones <Michael.Jones@microsoft.com>
> Date: Monday, November 12, 2012 1:55 PM
> To: Cisco Employee <mcgrew@cisco.com>, "cfrg@irtf.org" <cfrg@irtf.org>,
> "jose@ietf.org" <jose@ietf.org>
> Subject: RE: [Cfrg] Authenticated Encryption with AES-CBC and HMAC-SHA,
> version 01
>
>
> As background, if there was a version of this spec that did not assume th=
at
> the parameters would be concatenated together in a specific way, but left
> them as independent inputs and outputs, as AES GCM and AES CTR do, it wou=
ld
> be a better match for JOSE=92s use case.
>
>
>
> I believe that what you are referring to is the inclusion of the
> authentication tag in the authenticated ciphertext.   This is not just a
> property of draft-mcgrew-aead-aes-cbc-hmac-sha2; it is a feature of all 1=
9
> of the AEAD algorithms that have been defined so far.   For comparison,
> draft-mcgrew-aead-aes-cbc-hmac-sha2 says
>
>
>        The AEAD Ciphertext consists of the string S, with the string T
>
>        appended to it.  This Ciphertext is returned as the output of the
>
>        AEAD encryption operation.
>
>
>
> Where S is the ciphertext and T is the authentication tag.   RFC 5116 say=
s
>
>
>                                      "The AEAD_AES_128_GCM ciphertext is
> formed by
>
>    appending the authentication tag provided as an output to the GCM
>
>    encryption operation to the ciphertext that is output by that
>
>    operation."
>
>
> David
>
>
>                                                             -- Mike
>
>
> ________________________________
> From: mcgrew@cisco.com
> To: cfrg@irtf.org; jose@ietf.org
> Date: Mon, 12 Nov 2012 18:20:57 +0000
> CC: Kenny.Paterson@rhul.ac.uk
> Subject: [jose] Authenticated Encryption with AES-CBC and HMAC-SHA, versi=
on
> 01
>
>
> Hi,
> There is a new version of "Authenticated Encryption with AES-CBC and
> HMAC-SHA", and I would appreciate your review.   It is online at
> <https://datatracker.ietf.org/doc/draft-mcgrew-aead-aes-cbc-hmac-sha2/?in=
clude_text=3D1>
> The diff between the current and the previous version is available at
> <http://www.ietf.org/rfcdiff?url2=3Ddraft-mcgrew-aead-aes-cbc-hmac-sha2-0=
1>
> This draft has been proposed for use in the JOSE WG
> <http://datatracker.ietf.org/wg/jose/> , where its adoption would allow t=
he
> working group to omit "raw" unauthenticated encryption, e.g. AES-CBC, and
> only include authenticated encryption.   Thus I am asking for your help i=
n
> making
> John Foley generated test cases that correspond to the current version of
> the draft, but I didn't include these in the draft because I did not yet =
get
> confirmation from a second independent implementation.   With hope, there
> will not be any need for any normative changes, and I will include these
> after I get confirmation.
> Thanks,
> David
>
> _______________________________________________ jose mailing list
> jose@ietf.org https://www.ietf.org/mailman/listinfo/jose
>
> _______________________________________________
> Cfrg mailing list
> Cfrg@irtf.org
> http://www.irtf.org/mailman/listinfo/cfrg
>
