Return-Path: <michael_b_jones@hotmail.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix)
 with ESMTP id 2D51B21F87CF for <jose@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 GzGhY1q5ORx3 for
 <jose@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 533BF21F8788 for
 <jose@ietf.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]
Cc: "Paterson, Kenny" <Kenny.Paterson@rhul.ac.uk>
Subject: Re: [jose] Authenticated Encryption with AES-CBC and HMAC-SHA,
 version 01
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>,
 <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/jose>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>,
 <mailto:jose-request@ietf.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_--
