Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1])
 by ietfa.amsl.com (Postfix) with ESMTP id A55A61A87A0;
 Tue, 14 Oct 2014 05:42:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5
 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001,
 SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44])
 by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id ihcuShRHo8TF; Tue, 14 Oct 2014 05:41:59 -0700 (PDT)
Received: from na01-by2-obe.outbound.protection.outlook.com
 (mail-by2on0130.outbound.protection.outlook.com [207.46.100.130])
 (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by ietfa.amsl.com (Postfix) with ESMTPS id 803991A879F;
 Tue, 14 Oct 2014 05:41:59 -0700 (PDT)
Received: from BY2PR03CA064.namprd03.prod.outlook.com (10.141.249.37) by
 BN3PR0301MB1204.namprd03.prod.outlook.com (25.161.207.16) with Microsoft SMTP
 Server (TLS) id 15.0.1049.19; Tue, 14 Oct 2014 12:41:57 +0000
Received: from BN1BFFO11FD036.protection.gbl (2a01:111:f400:7c10::1:153) by
 BY2PR03CA064.outlook.office365.com (2a01:111:e400:2c5d::37) with Microsoft
 SMTP Server (TLS) id 15.0.1049.19 via Frontend Transport; Tue, 14 Oct 2014
 12:41:56 +0000
Received: from mail.microsoft.com (131.107.125.37) by
 BN1BFFO11FD036.mail.protection.outlook.com (10.58.144.99) with Microsoft SMTP
 Server (TLS) id 15.0.1039.16 via Frontend Transport; Tue, 14 Oct 2014
 12:41:55 +0000
Received: from TK5EX14MBXC286.redmond.corp.microsoft.com ([169.254.1.93]) by
 TK5EX14HUBC103.redmond.corp.microsoft.com ([157.54.86.9]) with mapi id
 14.03.0210.003; Tue, 14 Oct 2014 12:41:11 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Alissa Cooper <alissa@cooperw.in>
Thread-Topic: Alissa Cooper's No Objection on
 draft-ietf-jose-json-web-algorithms-33: (with COMMENT)
Thread-Index: Ac/nrB2bBPmZ0y+CT/+DVOE1mgAY2Q==
Date: Tue, 14 Oct 2014 12:41:11 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739439BB0D126@TK5EX14MBXC286.redmond.corp.microsoft.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_4E1F6AAD24975D4BA5B16804296739439BB0D126TK5EX14MBXC286r_"
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:CAL; IPV:NLI;
 IPV:NLI; EFV:NLI; SFV:NSPM;
 SFS:(10019020)(438002)(43784003)(377454003)(199003)(164054003)(189002)(24454002)(51444003)(13464003)(52044002)(97736003)(71186001)(66066001)(64706001)(20776003)(92566001)(86362001)(86612001)(92726001)(84676001)(16236675004)(69596002)(15975445006)(68736004)(512954002)(81156004)(107046002)(106466001)(54356999)(95666004)(99396003)(80022003)(15843345004)(46102003)(15202345003)(50986999)(19300405004)(19580405001)(19580395003)(6806004)(44976005)(21056001)(77096002)(120916001)(19625215002)(85852003)(31966008)(230783001)(26826002)(76482002)(4396001)(19617315012)(85306004)(110136001)(104016003)(2656002)(87936001)(55846006)(84326002)(85806002)(33656002);
 DIR:OUT; SFP:1102; SCL:1; SRVR:BN3PR0301MB1204; H:mail.microsoft.com; FPR:;
 MLV:ovrnspm; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; 
X-Microsoft-Antispam: UriScan:;
X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:BN3PR0301MB1204;
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges
 (Engineering ONLY)
X-Forefront-PRVS: 03648EFF89
Received-SPF: Pass (protection.outlook.com: domain of microsoft.com designates
 131.107.125.37 as permitted sender)
 receiver=protection.outlook.com; 
 client-ip=131.107.125.37; helo=mail.microsoft.com;
Authentication-Results: spf=pass (sender IP is 131.107.125.37)
 smtp.mailfrom=Michael.Jones@microsoft.com; 
X-OriginatorOrg: microsoft.onmicrosoft.com
Archived-At: http://mailarchive.ietf.org/arch/msg/jose/u39ooXypD-ztO2ceXyUnpBtaOzE
Cc: "draft-ietf-jose-json-web-algorithms@tools.ietf.org"
 <draft-ietf-jose-json-web-algorithms@tools.ietf.org>,
 Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>,
 "jose-chairs@tools.ietf.org" <jose-chairs@tools.ietf.org>,
 IESG <iesg@ietf.org>, "jose@ietf.org" <jose@ietf.org>
Subject: Re: [jose] Alissa Cooper's No Objection on
 draft-ietf-jose-json-web-algorithms-33: (with COMMENT)
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.15
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, 14 Oct 2014 12:42:04 -0000

--_000_4E1F6AAD24975D4BA5B16804296739439BB0D126TK5EX14MBXC286r_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

All these comments have been addressed in the -34 drafts, including changin=
g from iesg@iesg.org<mailto:iesg@iesg.org> to iesg@ietf.org<mailto:iesg@iet=
f.org>.

                                                            Thanks again,
                                                            -- Mike

From: Alissa Cooper [mailto:alissa@cooperw.in]
Sent: Wednesday, October 01, 2014 11:10 AM
To: Mike Jones
Cc: Kathleen Moriarty; IESG; jose-chairs@tools.ietf.org; jose@ietf.org; dra=
ft-ietf-jose-json-web-algorithms@tools.ietf.org
Subject: Re: Alissa Cooper's No Objection on draft-ietf-jose-json-web-algor=
ithms-33: (with COMMENT)

I think the suggested change below would be helpful.
Thanks,
Alissa

On Sep 30, 2014, at 3:20 PM, Mike Jones <Michael.Jones@microsoft.com<mailto=
:Michael.Jones@microsoft.com>> wrote:


A possible wording addition to remove any potential ambiguity is proposed i=
nline below...

From: Mike Jones [mailto:Michael.Jones@microsoft.com]
Sent: Tuesday, September 30, 2014 11:45 AM
To: Kathleen Moriarty
Cc: Alissa Cooper; The IESG; jose-chairs@tools.ietf.org<mailto:jose-chairs@=
tools.ietf.org>; jose@ietf.org<mailto:jose@ietf.org>; draft-ietf-jose-json-=
web-algorithms@tools.ietf.org<mailto:draft-ietf-jose-json-web-algorithms@to=
ols.ietf.org>
Subject: RE: Alissa Cooper's No Objection on draft-ietf-jose-json-web-algor=
ithms-33: (with COMMENT)

Replies to your questions are inline below, Kathleen.

From: Kathleen Moriarty [mailto:kathleen.moriarty.ietf@gmail.com]
Sent: Monday, September 29, 2014 7:42 PM
To: Mike Jones
Cc: Alissa Cooper; The IESG; jose-chairs@tools.ietf.org<mailto:jose-chairs@=
tools.ietf.org>; jose@ietf.org<mailto:jose@ietf.org>; draft-ietf-jose-json-=
web-algorithms@tools.ietf.org<mailto:draft-ietf-jose-json-web-algorithms@to=
ols.ietf.org>
Subject: Re: Alissa Cooper's No Objection on draft-ietf-jose-json-web-algor=
ithms-33: (with COMMENT)



Sent from my iPhone

On Sep 29, 2014, at 6:42 PM, Mike Jones <Michael.Jones@microsoft.com<mailto=
:Michael.Jones@microsoft.com>> wrote:
Thanks for your review, Alissa.  I've added the working group to this threa=
d so they're aware of your comments.  Replies are inline below...

-----Original Message-----
From: Alissa Cooper [mailto:alissa@cooperw.in]
Sent: Sunday, September 28, 2014 2:30 PM
To: The IESG
Cc: jose-chairs@tools.ietf.org<mailto:jose-chairs@tools.ietf.org>; draft-ie=
tf-jose-json-web-algorithms@tools.ietf.org<mailto:draft-ietf-jose-json-web-=
algorithms@tools.ietf.org>
Subject: Alissa Cooper's No Objection on draft-ietf-jose-json-web-algorithm=
s-33: (with COMMENT)

Alissa Cooper has entered the following ballot position for
draft-ietf-jose-json-web-algorithms-33: No Objection

When responding, please keep the subject line intact and reply to all email=
 addresses included in the To and CC lines. (Feel free to cut this introduc=
tory paragraph, however.)


Please refer to http://www.ietf.org/iesg/statement/discuss-criteria.html
for more information about IESG DISCUSS and COMMENT positions.


The document, along with other ballot positions, can be found here:
http://datatracker.ietf.org/doc/draft-ietf-jose-json-web-algorithms/



----------------------------------------------------------------------
COMMENT:
----------------------------------------------------------------------

=3D=3D Section 3.4 =3D=3D
"Signing and validation with the ECDSA P-384 SHA-384 and ECDSA P-521
  SHA-512 algorithms is performed identically to the procedure for
  ECDSA P-256 SHA-256 -- just using the corresponding hash algorithms
  with correspondingly larger result values.  For ECDSA P-384 SHA-384,
  R and S will be 384 bits each, resulting in a 96 octet sequence.  For
  ECDSA P-521 SHA-512, R and S will be 521 bits each, resulting in a
  132 octet sequence."

For the ECDSA P-521 SHA-512 case, how does the result amount to 132 octets?=
 Is there padding inserted into R and S?

The P-521 curve uses 521-bit R and S values.  It takes 66 octets to represe=
nt 521 bits.  There are two 66-octet values, hence 132 octets.

Mike,

I may be missing something too... It looks like there is a little padding a=
s the info in the draft gets to 65.1 as opposed to 66.  I think that's what=
 Alissa was getting at.  How is that handled?

You're right that there is 7 bits of zero-valued padding in the highest-ord=
er bits of the octet sequence representations of both values when using 521=
-bit integers.  This allows each to be represented in separate octet sequen=
ces that represent big-endian integers.  This padding is specified in [SEC1=
].  Step two of this section includes this text about the integer-to-octet =
string conversion:

       The values R
       and S are represented as octet sequences using the Integer-to-
       OctetString Conversion defined in Section 2.3.7<https://tools.ietf.o=
rg/html/draft-ietf-jose-json-web-algorithms-33#section-2.3.7> of SEC1 [SEC1=
<https://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-33#ref-SEC=
1>]
       (in big endian octet order).

Thinking about it some more, we could add the following parenthetical remar=
k after the sentence "For ECDSA P-521 SHA-512, R and S will be 521 bits eac=
h, resulting in a 132 octet sequence" to remove any possible ambiguity:

(Note that the Integer-to-OctetString Conversion defined in Section 2.3.7 o=
f SEC1 [SEC1] used to represent R and S as octet sequences adds zero-valued=
 high-order padding bits when needed to round the size up to a multiple of =
8 bits; thus, each 521-bit integer is represented using 528 bits in 66 octe=
ts.)

Would that work for people?  It may be overkill, given the reference to SEC=
1 two paragraphs earlier, but it should be 100% clear.

Also, is there space allocated for the "." Separators or is that not necess=
ary?

The base64url encoded signature value contains no "." character.  The binar=
y signature value consists of the concatenation of the two octet sequences =
representing R and S, which are of a known fixed length for each particular=
 curve.

Thanks,
Kathleen
=3D=3D Section 7 =3D=3D

Do we use iesg@iesg.org<mailto:iesg@iesg.org>? I usually use iesg@ietf.org<=
mailto:iesg@ietf.org>.

=3D=3D Section 8.4 =3D=3D
"An Initialization Vector value MUST never be used multiple times with
   the same AES GCM key."

I think what was intended here was s/MUST never/MUST NOT/

Agreed.  To keep the same level of emphasis, I propose to change "MUST neve=
r" to "MUST NOT ever".

                                                            -- Mike



--_000_4E1F6AAD24975D4BA5B16804296739439BB0D126TK5EX14MBXC286r_
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.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
span.apple-converted-space
	{mso-style-name:apple-converted-space;}
span.EmailStyle20
	{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">All these comments have b=
een addressed in the -34 drafts, including changing from
<a href=3D"mailto:iesg@iesg.org">iesg@iesg.org</a> to <a href=3D"mailto:ies=
g@ietf.org">
iesg@ietf.org</a>.<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; Thanks again,<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">&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;"> Alissa C=
ooper [mailto:alissa@cooperw.in]
<br>
<b>Sent:</b> Wednesday, October 01, 2014 11:10 AM<br>
<b>To:</b> Mike Jones<br>
<b>Cc:</b> Kathleen Moriarty; IESG; jose-chairs@tools.ietf.org; jose@ietf.o=
rg; draft-ietf-jose-json-web-algorithms@tools.ietf.org<br>
<b>Subject:</b> Re: Alissa Cooper's No Objection on draft-ietf-jose-json-we=
b-algorithms-33: (with COMMENT)<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 the suggested change below would be helpful.=
<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Thanks,<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Alissa<o:p></o:p></p>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<p class=3D"MsoNormal">On Sep 30, 2014, at 3:20 PM, Mike Jones &lt;<a href=
=3D"mailto:Michael.Jones@microsoft.com">Michael.Jones@microsoft.com</a>&gt;=
 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:#C00000">A possible wording additi=
on to remove any potential ambiguity is proposed inline below&#8230;</span>=
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;"><o:p></o:p></span></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><span style=
=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
"><o:p></o:p></span></p>
</div>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<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;">Mike
 Jones [</span><a href=3D"mailto:Michael.Jones@microsoft.com"><span style=
=3D"font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;=
color:purple">mailto:Michael.Jones@microsoft.com</span></a><span style=3D"f=
ont-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">]<sp=
an class=3D"apple-converted-space">&nbsp;</span><br>
<b>Sent:</b><span class=3D"apple-converted-space">&nbsp;</span>Tuesday, Sep=
tember 30, 2014 11:45 AM<br>
<b>To:</b><span class=3D"apple-converted-space">&nbsp;</span>Kathleen Moria=
rty<br>
<b>Cc:</b><span class=3D"apple-converted-space">&nbsp;</span>Alissa Cooper;=
 The IESG;<span class=3D"apple-converted-space">&nbsp;</span></span><a href=
=3D"mailto:jose-chairs@tools.ietf.org"><span style=3D"font-size:10.0pt;font=
-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:purple">jose-chairs=
@tools.ietf.org</span></a><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">;<span class=3D"apple-converted-space=
">&nbsp;</span></span><a href=3D"mailto:jose@ietf.org"><span style=3D"font-=
size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:pur=
ple">jose@ietf.org</span></a><span style=3D"font-size:10.0pt;font-family:&q=
uot;Tahoma&quot;,&quot;sans-serif&quot;">;<span class=3D"apple-converted-sp=
ace">&nbsp;</span></span><a href=3D"mailto:draft-ietf-jose-json-web-algorit=
hms@tools.ietf.org"><span style=3D"font-size:10.0pt;font-family:&quot;Tahom=
a&quot;,&quot;sans-serif&quot;;color:purple">draft-ietf-jose-json-web-algor=
ithms@tools.ietf.org</span></a><span style=3D"font-size:10.0pt;font-family:=
&quot;Tahoma&quot;,&quot;sans-serif&quot;"><br>
<b>Subject:</b><span class=3D"apple-converted-space">&nbsp;</span>RE: Aliss=
a Cooper's No Objection on draft-ietf-jose-json-web-algorithms-33: (with CO=
MMENT)</span><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot=
;,&quot;sans-serif&quot;"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></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:#00B050">Replies to your questions=
 are inline below, Kathleen.</span><span style=3D"font-size:11.0pt;font-fam=
ily:&quot;Calibri&quot;,&quot;sans-serif&quot;"><o:p></o:p></span></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:#00B050">&nbsp;</span><span style=
=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
"><o:p></o:p></span></p>
</div>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<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;">Kathleen
 Moriarty [</span><a href=3D"mailto:kathleen.moriarty.ietf@gmail.com"><span=
 style=3D"font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&=
quot;;color:purple">mailto:kathleen.moriarty.ietf@gmail.com</span></a><span=
 style=3D"font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&=
quot;">]<span class=3D"apple-converted-space">&nbsp;</span><br>
<b>Sent:</b><span class=3D"apple-converted-space">&nbsp;</span>Monday, Sept=
ember 29, 2014 7:42 PM<br>
<b>To:</b><span class=3D"apple-converted-space">&nbsp;</span>Mike Jones<br>
<b>Cc:</b><span class=3D"apple-converted-space">&nbsp;</span>Alissa Cooper;=
 The IESG;<span class=3D"apple-converted-space">&nbsp;</span></span><a href=
=3D"mailto:jose-chairs@tools.ietf.org"><span style=3D"font-size:10.0pt;font=
-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:purple">jose-chairs=
@tools.ietf.org</span></a><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">;<span class=3D"apple-converted-space=
">&nbsp;</span></span><a href=3D"mailto:jose@ietf.org"><span style=3D"font-=
size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:pur=
ple">jose@ietf.org</span></a><span style=3D"font-size:10.0pt;font-family:&q=
uot;Tahoma&quot;,&quot;sans-serif&quot;">;<span class=3D"apple-converted-sp=
ace">&nbsp;</span></span><a href=3D"mailto:draft-ietf-jose-json-web-algorit=
hms@tools.ietf.org"><span style=3D"font-size:10.0pt;font-family:&quot;Tahom=
a&quot;,&quot;sans-serif&quot;;color:purple">draft-ietf-jose-json-web-algor=
ithms@tools.ietf.org</span></a><span style=3D"font-size:10.0pt;font-family:=
&quot;Tahoma&quot;,&quot;sans-serif&quot;"><br>
<b>Subject:</b><span class=3D"apple-converted-space">&nbsp;</span>Re: Aliss=
a Cooper's No Objection on draft-ietf-jose-json-web-algorithms-33: (with CO=
MMENT)</span><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot=
;,&quot;sans-serif&quot;"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;"><br>
<br>
Sent from my iPhone<o:p></o:p></span></p>
</div>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><span style=3D"font-s=
ize:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"><br>
On Sep 29, 2014, at 6:42 PM, Mike Jones &lt;</span><a href=3D"mailto:Michae=
l.Jones@microsoft.com"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:purple">Michael.Jones@microsoft.co=
m</span></a><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;=
,&quot;sans-serif&quot;">&gt;
 wrote:<o:p></o:p></span></p>
</div>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#0070C0">Thanks for your review, A=
lissa.&nbsp; I&#8217;ve added the working group to this thread so they're a=
ware of your comments.&nbsp; Replies are inline below&#8230;</span><span st=
yle=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&qu=
ot;"><o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">-----Original Message-----<br>
From: Alissa Cooper [</span><a href=3D"mailto:alissa@cooperw.in"><span styl=
e=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot=
;;color:purple">mailto:alissa@cooperw.in</span></a><span style=3D"font-size=
:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">]<span clas=
s=3D"apple-converted-space">&nbsp;</span><br>
Sent: Sunday, September 28, 2014 2:30 PM<br>
To: The IESG<br>
Cc:<span class=3D"apple-converted-space">&nbsp;</span></span><a href=3D"mai=
lto:jose-chairs@tools.ietf.org"><span style=3D"font-size:11.0pt;font-family=
:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:purple">jose-chairs@tools=
.ietf.org</span></a><span style=3D"font-size:11.0pt;font-family:&quot;Calib=
ri&quot;,&quot;sans-serif&quot;">;<span class=3D"apple-converted-space">&nb=
sp;</span></span><a href=3D"mailto:draft-ietf-jose-json-web-algorithms@tool=
s.ietf.org"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;=
,&quot;sans-serif&quot;;color:purple">draft-ietf-jose-json-web-algorithms@t=
ools.ietf.org</span></a><span style=3D"font-size:11.0pt;font-family:&quot;C=
alibri&quot;,&quot;sans-serif&quot;"><br>
Subject: Alissa Cooper's No Objection on draft-ietf-jose-json-web-algorithm=
s-33: (with COMMENT)<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">Alissa Cooper has entered the following=
 ballot position for<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">draft-ietf-jose-json-web-algorithms-33:=
 No Objection<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">When responding, please keep the subjec=
t line intact and reply to all email addresses included in the To and CC li=
nes. (Feel free to cut this introductory paragraph, however.)<o:p></o:p></s=
pan></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">Please refer to<span class=3D"apple-con=
verted-space">&nbsp;</span></span><a href=3D"http://www.ietf.org/iesg/state=
ment/discuss-criteria.html"><span style=3D"font-size:11.0pt;font-family:&qu=
ot;Calibri&quot;,&quot;sans-serif&quot;;color:windowtext;text-decoration:no=
ne">http://www.ietf.org/iesg/statement/discuss-criteria.html</span></a><spa=
n style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-seri=
f&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">for more information about IESG DISCUSS=
 and COMMENT positions.<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">The document, along with other ballot p=
ositions, can be found here:<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><a href=3D"http://datatracker.ietf.org/doc/draft-iet=
f-jose-json-web-algorithms/"><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:windowtext;text-decoration:n=
one">http://datatracker.ietf.org/doc/draft-ietf-jose-json-web-algorithms/</=
span></a><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">---------------------------------------=
-------------------------------<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">COMMENT:<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">---------------------------------------=
-------------------------------<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">=3D=3D Section 3.4 =3D=3D<o:p></o:p></s=
pan></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&quot;Signing and validation with the E=
CDSA P-384 SHA-384 and ECDSA P-521<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp; SHA-512 algorithms is performed =
identically to the procedure for<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp; ECDSA P-256 SHA-256 -- just usin=
g the corresponding hash algorithms<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp; with correspondingly larger resu=
lt values.&nbsp; For ECDSA P-384 SHA-384,<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp; R and S will be 384 bits each, r=
esulting in a 96 octet sequence.&nbsp; For<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp; ECDSA P-521 SHA-512, R and S wil=
l be 521 bits each, resulting in a<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp; 132 octet sequence.&quot;<o:p></=
o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">For the ECDSA P-521 SHA-512 case, how d=
oes the result amount to 132 octets? Is there padding inserted into R and S=
?<o:p></o:p></span></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:#0070C0">&nbsp;</span><span style=
=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
"><o:p></o:p></span></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:#0070C0">The P-521 curve uses 521-=
bit R and S values.&nbsp; It takes 66 octets to represent 521 bits.&nbsp; T=
here are two 66-octet values, hence 132 octets.</span><span style=3D"font-s=
ize:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"><o:p></o=
:p></span></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:#0070C0">&nbsp;</span><span style=
=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
"><o:p></o:p></span></p>
</div>
</blockquote>
<div>
<p class=3D"MsoNormal">Mike,<span style=3D"font-size:11.0pt;font-family:&qu=
ot;Calibri&quot;,&quot;sans-serif&quot;"><o:p></o:p></span></p>
</div>
<div>
<div>
<p class=3D"MsoNormal">&nbsp;<span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;"><o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal">I may be missing something too... It looks like ther=
e is a little padding as the info in the draft gets to 65.1 as opposed to 6=
6. &nbsp;I think that's what Alissa was getting at. &nbsp;How is that handl=
ed?<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sa=
ns-serif&quot;"><o:p></o:p></span></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:#00B050">&nbsp;</span><span style=
=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
"><o:p></o:p></span></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:#00B050">You&#8217;re right that t=
here is 7 bits of zero-valued padding in the highest-order bits of the octe=
t sequence representations of both values when using 521-bit integers.&nbsp=
;
 This allows each to be represented in separate octet sequences that repres=
ent big-endian integers.&nbsp; This padding is specified in [SEC1].&nbsp; S=
tep two of this section includes this text about the integer-to-octet strin=
g conversion:</span><span style=3D"font-size:11.0pt;font-family:&quot;Calib=
ri&quot;,&quot;sans-serif&quot;"><o:p></o:p></span></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:#00B050">&nbsp;</span><span style=
=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
"><o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"page-break-before:always"><span lang=3D"EN"=
 style=3D"font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp; The values R</span><span style=3D"font-size:11.0pt;font-family:&qu=
ot;Calibri&quot;,&quot;sans-serif&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"page-break-before:always"><span lang=3D"EN"=
 style=3D"font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp; and S are represented as octet sequences using the Integer-to-</sp=
an><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sa=
ns-serif&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"page-break-before:always"><span lang=3D"EN"=
 style=3D"font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp; OctetString Conversion defined in<span class=3D"apple-converted-sp=
ace">&nbsp;</span></span><a href=3D"https://tools.ietf.org/html/draft-ietf-=
jose-json-web-algorithms-33#section-2.3.7"><span lang=3D"EN" style=3D"font-=
family:&quot;Courier New&quot;;color:purple">Section
 2.3.7</span></a><span class=3D"apple-converted-space"><span lang=3D"EN" st=
yle=3D"font-family:&quot;Courier New&quot;">&nbsp;</span></span><span lang=
=3D"EN" style=3D"font-family:&quot;Courier New&quot;">of SEC1 [</span><a hr=
ef=3D"https://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-33#re=
f-SEC1" title=3D"&quot;SEC 1: Elliptic Curve Cryptography&quot;"><span lang=
=3D"EN" style=3D"font-family:&quot;Courier New&quot;;color:purple">SEC1</sp=
an></a><span lang=3D"EN" style=3D"font-family:&quot;Courier New&quot;">]</s=
pan><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;s=
ans-serif&quot;"><o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"page-break-before:always"><span lang=3D"EN"=
 style=3D"font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp; (in big endian octet order).</span><span style=3D"font-size:11.0pt=
;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"><o:p></o:p></span>=
</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><span style=
=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
"><o:p></o:p></span></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:#C00000">Thinking about it some mo=
re, we could add the following parenthetical remark after the sentence &#82=
20;</span><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&=
quot;sans-serif&quot;">For
 ECDSA P-521 SHA-512, R and S will be 521 bits each, resulting in a 132 oct=
et sequence<span style=3D"color:#C00000">&#8221; to remove any possible amb=
iguity:</span><o:p></o:p></span></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:#C00000">&nbsp;</span><span style=
=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
"><o:p></o:p></span></p>
</div>
<div style=3D"margin-left:.5in">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#C00000">(Note that the Integer-to=
-OctetString Conversion defined in Section 2.3.7 of SEC1 [SEC1] used to rep=
resent R and S as octet sequences adds zero-valued high-order
 padding bits when needed to round the size up to a multiple of 8 bits; thu=
s, each 521-bit integer is represented using 528 bits in 66 octets.)</span>=
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;"><o:p></o:p></span></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:#C00000">&nbsp;</span><span style=
=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
"><o:p></o:p></span></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:#C00000">Would that work for peopl=
e?&nbsp; It may be overkill, given the reference to SEC1 two paragraphs ear=
lier, but it should be 100% clear.</span><span style=3D"font-size:11.0pt;fo=
nt-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"><o:p></o:p></span></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:#00B050">&nbsp;</span><span style=
=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
"><o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal">Also, is there space allocated for the &quot;.&quot;=
 Separators or is that not necessary? &nbsp;<span style=3D"font-size:11.0pt=
;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"><o:p></o:p></span>=
</p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#00B050">&nbsp;</span><span sty=
le=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quo=
t;"><o:p></o:p></span></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:#00B050">The base64url encoded sig=
nature value contains no &#8220;.&#8221; character.&nbsp; The binary signat=
ure value consists of the concatenation of the two octet sequences represen=
ting
 R and S, which are of a known fixed length for each particular curve.</spa=
n><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;san=
s-serif&quot;"><o:p></o:p></span></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:#00B050">&nbsp;</span><span style=
=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
"><o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal">Thanks,<span style=3D"font-size:11.0pt;font-family:&=
quot;Calibri&quot;,&quot;sans-serif&quot;"><o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal">Kathleen&nbsp;<span style=3D"font-size:11.0pt;font-f=
amily:&quot;Calibri&quot;,&quot;sans-serif&quot;"><o:p></o:p></span></p>
</div>
</div>
<div>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">=3D=3D Section 7 =3D=3D<o:p></o:p></spa=
n></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">Do we use<span class=3D"apple-converted=
-space">&nbsp;</span></span><a href=3D"mailto:iesg@iesg.org"><span style=3D=
"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;co=
lor:windowtext;text-decoration:none">iesg@iesg.org</span></a><span style=3D=
"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">?
 I usually use<span class=3D"apple-converted-space">&nbsp;</span></span><a =
href=3D"mailto:iesg@ietf.org"><span style=3D"font-size:11.0pt;font-family:&=
quot;Calibri&quot;,&quot;sans-serif&quot;;color:windowtext;text-decoration:=
none">iesg@ietf.org</span></a><span style=3D"font-size:11.0pt;font-family:&=
quot;Calibri&quot;,&quot;sans-serif&quot;">.<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">=3D=3D Section 8.4 =3D=3D<o:p></o:p></s=
pan></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&quot;An Initialization Vector value MU=
ST never be used multiple times with<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;&nbsp; the same AES GCM key.&quot=
;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;">I think what was intended here was s/MU=
ST never/MUST NOT/<o:p></o:p></span></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:#0070C0">&nbsp;</span><span style=
=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
"><o:p></o:p></span></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:#0070C0">Agreed.&nbsp; To keep the=
 same level of emphasis, I propose to change &#8220;MUST never&#8221; to &#=
8220;MUST NOT ever&#8221;.</span><span style=3D"font-size:11.0pt;font-famil=
y:&quot;Calibri&quot;,&quot;sans-serif&quot;"><o:p></o:p></span></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:#0070C0">&nbsp;</span><span style=
=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
"><o:p></o:p></span></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:#0070C0">&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><span style=3D"font-size:11.0pt=
;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"><o:p></o:p></span>=
</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:#0070C0">&nbsp;</span><span style=
=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
"><o:p></o:p></span></p>
</div>
</blockquote>
</div>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_4E1F6AAD24975D4BA5B16804296739439BB0D126TK5EX14MBXC286r_--

