Bug 22546: Make AesCtrParams.counter take an ArrayBufferView, rather than ArrayBuffer
authorRyan Sleevi <sleevi@google.com>
Wed, 03 Jul 2013 16:18:10 -0700
changeset 58 0551d57b7b6b
parent 57 0fd27a9abdd5
child 59 862b9cf85e80
Bug 22546: Make AesCtrParams.counter take an ArrayBufferView, rather than ArrayBuffer
spec/Overview-WebCryptoAPI.xml
spec/Overview.html
--- a/spec/Overview-WebCryptoAPI.xml	Wed Jul 03 16:18:09 2013 -0700
+++ b/spec/Overview-WebCryptoAPI.xml	Wed Jul 03 16:18:10 2013 -0700
@@ -3014,7 +3014,7 @@
   // incrementing function specified in NIST SP 800-38A Appendix B.1:
   // the counter bits are interpreted as a big-endian integer and
   // incremented by one.</span>
-  ArrayBuffer counter;
+  ArrayBufferView counter;
   <span class="comment">// The length, in bits, of the rightmost part of the counter block
   // that is incremented.</span>
   [EnforceRange] octet length;
--- a/spec/Overview.html	Wed Jul 03 16:18:09 2013 -0700
+++ b/spec/Overview.html	Wed Jul 03 16:18:10 2013 -0700
@@ -3023,7 +3023,7 @@
   // incrementing function specified in NIST SP 800-38A Appendix B.1:
   // the counter bits are interpreted as a big-endian integer and
   // incremented by one.</span>
-  ArrayBuffer counter;
+  ArrayBufferView counter;
   <span class="comment">// The length, in bits, of the rightmost part of the counter block
   // that is incremented.</span>
   [EnforceRange] octet length;