Bug 22544: Align the hashAlg parameter in HkdfCtrParams to the rest of the
authorRyan Sleevi <sleevi@google.com>
Wed, 03 Jul 2013 16:18:13 -0700
changeset 60 131a3b429b09
parent 59 862b9cf85e80
child 61 7dd0e1a29b45
Bug 22544: Align the hashAlg parameter in HkdfCtrParams to the rest of the
dictionaries by renaming it 'hash'.

Bug 22543: Fix a typographical error in the comment
spec/Overview-WebCryptoAPI.xml
spec/Overview.html
--- a/spec/Overview-WebCryptoAPI.xml	Wed Jul 03 16:18:12 2013 -0700
+++ b/spec/Overview-WebCryptoAPI.xml	Wed Jul 03 16:18:13 2013 -0700
@@ -3566,8 +3566,8 @@
             <h4>HkdfCtrParams dictionary</h4>
             <x:codeblock language="idl">
 dictionary <dfn id="dfn-HkdfCtrParams">HkdfCtrParams</dfn> : <a href="#dfn-Algorithm">Algorithm</a> {
-  <span class="comment">// The algorithm to use with HMAC (eg: <a href="#sha-256">SHA-256</a></span>
-  AlgorithmIdentifier hashAlg;
+  <span class="comment">// The algorithm to use with HMAC (eg: <a href="#sha-256">SHA-256</a>)</span>
+  AlgorithmIdentifier hash;
   <span class="comment">// A bit string that corresponds to the label that identifies the purpose for the derived keying material.</span>
   ArrayBufferView label;
   <span class="comment">// A bit string that corresponds to the context of the key derivation, as described in Section 5 of NIST SP 800-108 [<a href="#SP800-108">SP800-108</a>]</span>
--- a/spec/Overview.html	Wed Jul 03 16:18:12 2013 -0700
+++ b/spec/Overview.html	Wed Jul 03 16:18:13 2013 -0700
@@ -3576,7 +3576,7 @@
             <div class="block"><div class="blockTitleDiv"><span class="blockTitle">IDL</span></div><div class="blockContent"><pre class="code"><code class="idl-code">
 dictionary <dfn id="dfn-HkdfCtrParams">HkdfCtrParams</dfn> : <a href="#dfn-Algorithm">Algorithm</a> {
   <span class="comment">// The algorithm to use with HMAC (eg: <a href="#sha-256">SHA-256</a></span>
-  AlgorithmIdentifier hashAlg;
+  AlgorithmIdentifier hash;
   <span class="comment">// A bit string that corresponds to the label that identifies the purpose for the derived keying material.</span>
   ArrayBufferView label;
   <span class="comment">// A bit string that corresponds to the context of the key derivation, as described in Section 5 of NIST SP 800-108 [<a href="#SP800-108">SP800-108</a>]</span>