Bug 22546: Make AesCtrParams.counter take an ArrayBufferView, rather than ArrayBuffer
--- 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;