Remove SHA-224 support
authorRyan Sleevi <sleevi@google.com>
Mon, 10 Mar 2014 17:53:17 -0700
changeset 169 3f7df730b2c7
parent 168 08a556becddf
child 170 11c6c0c638ff
Remove SHA-224 support
spec/Overview-WebCryptoAPI.xml
spec/Overview.html
--- a/spec/Overview-WebCryptoAPI.xml	Thu Mar 06 00:00:00 2014 -0800
+++ b/spec/Overview-WebCryptoAPI.xml	Mon Mar 10 17:53:17 2014 -0700
@@ -2655,21 +2655,6 @@
                 <td />
               </tr>
               <tr>
-                <td><a href="#sha">SHA-224</a></td>
-                <td />
-                <td />
-                <td />
-                <td />
-                <td>&#10004;</td>
-                <td />
-                <td />
-                <td />
-                <td />
-                <td />
-                <td />
-                <td />
-              </tr>
-              <tr>
                 <td><a href="#sha">SHA-256</a></td>
                 <td />
                 <td />
@@ -14055,18 +14040,6 @@
                                     <dt>
                                       If the <a href="#dfn-KeyAlgorithm-name">name</a> attribute of
                                       <var>hash</var> is
-                                      <code>"SHA-224"</code>:
-                                    </dt>
-                                    <dd>
-                                      If the <code>"alg"</code> field of <var>jwk</var> is present
-                                      and is not <code>"HS224"</code>,
-                                      
-                              then <a href="#concept-return-an-error">return an error</a> named
-                              <a href="#dfn-DataError"><code>DataError</code></a>.
-                                    </dd>
-                                    <dt>
-                                      If the <a href="#dfn-KeyAlgorithm-name">name</a> attribute of
-                                      <var>hash</var> is
                                       <code>"SHA-256"</code>:
                                     </dt>
                                     <dd>
@@ -14132,14 +14105,6 @@
                                     </dd>
                                     <dt>
                                       If the <code>"alg"</code> field of <var>jwk</var> is
-                                      <code>"HS224"</code>:
-                                    </dt>
-                                    <dd>
-                                      Set the <a href="#dfn-KeyAlgorithm-name">name</a> attribute of
-                                      <var>hash</var> to <code>"SHA-224"</code>.
-                                    </dd>
-                                    <dt>
-                                      If the <code>"alg"</code> field of <var>jwk</var> is
                                       to <code>"HS256"</code>:
                                     </dt>
                                     <dd>
@@ -14312,10 +14277,6 @@
                               <dd>Set the <code>alg</code> property of <var>jwk</var> to
                               the string <code>"HS1"</code>.</dd>
                               <dt>If the <a href="#dfn-KeyAlgorithm-name">name</a> attribute of
-                              <var>hash</var> is <code>"SHA-224"</code>:</dt>
-                              <dd>Set the <code>alg</code> property of <var>jwk</var> to
-                              the string <code>"HS224"</code>.</dd>
-                              <dt>If the <a href="#dfn-KeyAlgorithm-name">name</a> attribute of
                               <var>hash</var> is <code>"SHA-256"</code>:</dt>
                               <dd>Set the <code>alg</code> property of <var>jwk</var> to
                               the string <code>"HS256"</code>.</dd>
@@ -15379,8 +15340,6 @@
             <dl>
               <dt id="alg-sha-1"><code>"SHA-1"</code></dt>
               <dd>The SHA-1 algorithm as specified in Section 6.1</dd>
-              <dt id="alg-sha-224"><code>"SHA-224"</code></dt>
-              <dd>The SHA-224 algorithm as specified in Section 6.3</dd>
               <dt id="alg-sha-256"><code>"SHA-256"</code></dt>
               <dd>The SHA-256 algorithm as specified in Section 6.2</dd>
               <dt id="alg-sha-384"><code>"SHA-384"</code></dt>
@@ -15433,16 +15392,6 @@
                       <dt>
                         If the <a href="#dfn-Algorithm-name">name</a> member of
                         <var>normalizedAlgorithm</var> is a cases-sensitve string match for
-                        <code>"SHA-224"</code>:
-                      </dt>
-                      <dd>
-                        Let <var>result</var> be the result of performing the SHA-224 hash function
-                        defined in Section 6.3 of [<a href="#FIPS180-4">FIPS PUB 180-4</a>] using
-                        <var>message</var> as the input message, <var>M</var>.
-                      </dd>
-                      <dt>
-                        If the <a href="#dfn-Algorithm-name">name</a> member of
-                        <var>normalizedAlgorithm</var> is a cases-sensitve string match for
                         <code>"SHA-256"</code>:
                       </dt>
                       <dd>
@@ -16547,14 +16496,6 @@
             <li>Change Controller: W3C Web Cryptography Working Group</li>
             <li>Specification Document(s): [[ This Document ]]</li>
           </ul>
-          <ul>
-            <li>Algorithm Name: "HS224"</li>
-            <li>Algorithm Description: HMAC using SHA-224</li>
-            <li>Algorithm Usage Location(s): "JWK"</li>
-            <li>JOSE Implementation Requirements: Prohibited</li>
-            <li>Change Controller: W3C Web Cryptography Working Group</li>
-            <li>Specification Document(s): [[ This Document ]]</li>
-          </ul>
         </div>
         <div id="iana-section-jwk" class="section">
           <h3>JSON Web Key Parameters Registry</h3>
@@ -17265,21 +17206,6 @@
                 <td>
 <x:codeblock language="es">
 { kty: "oct",
-  alg: "HS224" }
-</x:codeblock>
-                </td>
-                <td>
-<x:codeblock language="es">
-{ name: "HMAC",
-  hash: { name: "SHA-224" }
-}
-</x:codeblock>
-                </td>
-              </tr>
-              <tr>
-                <td>
-<x:codeblock language="es">
-{ kty: "oct",
   alg: "HS256" }
 </x:codeblock>
                 </td>
--- a/spec/Overview.html	Thu Mar 06 00:00:00 2014 -0800
+++ b/spec/Overview.html	Mon Mar 10 17:53:17 2014 -0700
@@ -28,7 +28,7 @@
   <link rel="stylesheet" href="//www.w3.org/StyleSheets/TR/W3C-ED" type="text/css" /></head>
 
   <body>
-    <div class="head"><div><a href="http://www.w3.org/"><img src="//www.w3.org/Icons/w3c_home" width="72" height="48" alt="W3C" /></a></div><h1>Web Cryptography API</h1><h2>W3C Editor’s Draft <em>7 March 2014</em></h2><dl><dt>Latest Editor’s Draft:</dt><dd><a href="http://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html">http://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html</a></dd><dt>Latest Published Version:</dt><dd><a href="http://www.w3.org/TR/WebCryptoAPI/">http://www.w3.org/TR/WebCryptoAPI/</a></dd><dt>Previous Version(s):</dt><dd><a href="https://dvcs.w3.org/hg/webcrypto-api/raw-file/0fe9b34c13fb/spec/Overview.html">https://dvcs.w3.org/hg/webcrypto-api/raw-file/0fe9b34c13fb/spec/Overview.html</a></dd><dt>Editors:</dt><dd><a href="http://www.google.com/">Ryan Sleevi</a>, Google, Inc. &lt;[email protected]&gt;</dd><dd><a href="http://www.netflix.com/">Mark Watson</a>, Netflix &lt;[email protected]&gt;</dd><dt>Participate:</dt><dd><p>Send feedback to <a href="mailto:[email protected]?subject=%5BWebCryptoAPI%5D">[email protected]</a> (<a href="http://lists.w3.org/Archives/Public/public-webcrypto/">archives</a>), or <a href="https://www.w3.org/Bugs/Public/enter_bug.cgi?product=Web%20Cryptography&amp;component=Web%20Cryptography%20API%20Document">file a bug</a> 
+    <div class="head"><div><a href="http://www.w3.org/"><img src="//www.w3.org/Icons/w3c_home" width="72" height="48" alt="W3C" /></a></div><h1>Web Cryptography API</h1><h2>W3C Editor’s Draft <em>10 March 2014</em></h2><dl><dt>Latest Editor’s Draft:</dt><dd><a href="http://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html">http://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html</a></dd><dt>Latest Published Version:</dt><dd><a href="http://www.w3.org/TR/WebCryptoAPI/">http://www.w3.org/TR/WebCryptoAPI/</a></dd><dt>Previous Version(s):</dt><dd><a href="https://dvcs.w3.org/hg/webcrypto-api/raw-file/0fe9b34c13fb/spec/Overview.html">https://dvcs.w3.org/hg/webcrypto-api/raw-file/0fe9b34c13fb/spec/Overview.html</a></dd><dt>Editors:</dt><dd><a href="http://www.google.com/">Ryan Sleevi</a>, Google, Inc. &lt;[email protected]&gt;</dd><dd><a href="http://www.netflix.com/">Mark Watson</a>, Netflix &lt;[email protected]&gt;</dd><dt>Participate:</dt><dd><p>Send feedback to <a href="mailto:[email protected]?subject=%5BWebCryptoAPI%5D">[email protected]</a> (<a href="http://lists.w3.org/Archives/Public/public-webcrypto/">archives</a>), or <a href="https://www.w3.org/Bugs/Public/enter_bug.cgi?product=Web%20Cryptography&amp;component=Web%20Cryptography%20API%20Document">file a bug</a> 
     (see <a href="https://www.w3.org/Bugs/Public/buglist.cgi?product=Web%20Cryptography&amp;component=Web%20Cryptography%20API%20Document&amp;resolution=---">existing bugs</a>).</p></dd></dl><p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> &copy; view <a href="http://www.w3.org/"><abbr title="World Wide Web Consortium">W3C</abbr></a><sup>&reg;</sup> (<a href="http://www.csail.mit.edu/"><abbr title="Massachusetts Institute of Technology">MIT</abbr></a>, <a href="http://www.ercim.org/"><abbr title="European Research Consortium for Informatics and Mathematics">ERCIM</abbr></a>, <a href="http://www.keio.ac.jp/">Keio</a>), All Rights Reserved. W3C <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>, <a href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a> and <a href="http://www.w3.org/Consortium/Legal/copyright-documents">document use</a> rules apply.</p></div><hr />
 
     <div class="section">
@@ -56,7 +56,7 @@
         report can be found in the <a href="http://www.w3.org/TR/">W3C technical
           reports index</a> at http://www.w3.org/TR/.
       </em></p><p>
-        This document is the 7 March 2014 <b>Editor’s Draft</b> of the
+        This document is the 10 March 2014 <b>Editor’s Draft</b> of the
         <cite>Web Cryptography API</cite> specification.
       
       Please send comments about this document to
@@ -2662,21 +2662,6 @@
                 <td></td>
               </tr>
               <tr>
-                <td><a href="#sha">SHA-224</a></td>
-                <td></td>
-                <td></td>
-                <td></td>
-                <td></td>
-                <td>✔</td>
-                <td></td>
-                <td></td>
-                <td></td>
-                <td></td>
-                <td></td>
-                <td></td>
-                <td></td>
-              </tr>
-              <tr>
                 <td><a href="#sha">SHA-256</a></td>
                 <td></td>
                 <td></td>
@@ -13885,18 +13870,6 @@
                                     <dt>
                                       If the <a href="#dfn-KeyAlgorithm-name">name</a> attribute of
                                       <var>hash</var> is
-                                      <code>"SHA-224"</code>:
-                                    </dt>
-                                    <dd>
-                                      If the <code>"alg"</code> field of <var>jwk</var> is present
-                                      and is not <code>"HS224"</code>,
-                                      
-                              then <a href="#concept-return-an-error">return an error</a> named
-                              <a href="#dfn-DataError"><code>DataError</code></a>.
-                                    </dd>
-                                    <dt>
-                                      If the <a href="#dfn-KeyAlgorithm-name">name</a> attribute of
-                                      <var>hash</var> is
                                       <code>"SHA-256"</code>:
                                     </dt>
                                     <dd>
@@ -13962,14 +13935,6 @@
                                     </dd>
                                     <dt>
                                       If the <code>"alg"</code> field of <var>jwk</var> is
-                                      <code>"HS224"</code>:
-                                    </dt>
-                                    <dd>
-                                      Set the <a href="#dfn-KeyAlgorithm-name">name</a> attribute of
-                                      <var>hash</var> to <code>"SHA-224"</code>.
-                                    </dd>
-                                    <dt>
-                                      If the <code>"alg"</code> field of <var>jwk</var> is
                                       to <code>"HS256"</code>:
                                     </dt>
                                     <dd>
@@ -14142,10 +14107,6 @@
                               <dd>Set the <code>alg</code> property of <var>jwk</var> to
                               the string <code>"HS1"</code>.</dd>
                               <dt>If the <a href="#dfn-KeyAlgorithm-name">name</a> attribute of
-                              <var>hash</var> is <code>"SHA-224"</code>:</dt>
-                              <dd>Set the <code>alg</code> property of <var>jwk</var> to
-                              the string <code>"HS224"</code>.</dd>
-                              <dt>If the <a href="#dfn-KeyAlgorithm-name">name</a> attribute of
                               <var>hash</var> is <code>"SHA-256"</code>:</dt>
                               <dd>Set the <code>alg</code> property of <var>jwk</var> to
                               the string <code>"HS256"</code>.</dd>
@@ -15190,8 +15151,6 @@
             <dl>
               <dt id="alg-sha-1"><code>"SHA-1"</code></dt>
               <dd>The SHA-1 algorithm as specified in Section 6.1</dd>
-              <dt id="alg-sha-224"><code>"SHA-224"</code></dt>
-              <dd>The SHA-224 algorithm as specified in Section 6.3</dd>
               <dt id="alg-sha-256"><code>"SHA-256"</code></dt>
               <dd>The SHA-256 algorithm as specified in Section 6.2</dd>
               <dt id="alg-sha-384"><code>"SHA-384"</code></dt>
@@ -15244,16 +15203,6 @@
                       <dt>
                         If the <a href="#dfn-Algorithm-name">name</a> member of
                         <var>normalizedAlgorithm</var> is a cases-sensitve string match for
-                        <code>"SHA-224"</code>:
-                      </dt>
-                      <dd>
-                        Let <var>result</var> be the result of performing the SHA-224 hash function
-                        defined in Section 6.3 of [<a href="#FIPS180-4">FIPS PUB 180-4</a>] using
-                        <var>message</var> as the input message, <var>M</var>.
-                      </dd>
-                      <dt>
-                        If the <a href="#dfn-Algorithm-name">name</a> member of
-                        <var>normalizedAlgorithm</var> is a cases-sensitve string match for
                         <code>"SHA-256"</code>:
                       </dt>
                       <dd>
@@ -16358,14 +16307,6 @@
             <li>Change Controller: W3C Web Cryptography Working Group</li>
             <li>Specification Document(s): [[ This Document ]]</li>
           </ul>
-          <ul>
-            <li>Algorithm Name: "HS224"</li>
-            <li>Algorithm Description: HMAC using SHA-224</li>
-            <li>Algorithm Usage Location(s): "JWK"</li>
-            <li>JOSE Implementation Requirements: Prohibited</li>
-            <li>Change Controller: W3C Web Cryptography Working Group</li>
-            <li>Specification Document(s): [[ This Document ]]</li>
-          </ul>
         </div>
         <div id="iana-section-jwk" class="section">
           <h3>21.2. JSON Web Key Parameters Registry</h3>
@@ -17075,21 +17016,6 @@
                 <td>
 <div class="block"><div class="blockTitleDiv"><span class="blockTitle">ECMAScript</span></div><div class="blockContent"><pre class="code"><code class="es-code">
 { kty: "oct",
-  alg: "HS224" }
-</code></pre></div></div>
-                </td>
-                <td>
-<div class="block"><div class="blockTitleDiv"><span class="blockTitle">ECMAScript</span></div><div class="blockContent"><pre class="code"><code class="es-code">
-{ name: "HMAC",
-  hash: { name: "SHA-224" }
-}
-</code></pre></div></div>
-                </td>
-              </tr>
-              <tr>
-                <td>
-<div class="block"><div class="blockTitleDiv"><span class="blockTitle">ECMAScript</span></div><div class="blockContent"><pre class="code"><code class="es-code">
-{ kty: "oct",
   alg: "HS256" }
 </code></pre></div></div>
                 </td>