(buf, name, target)
| 40 | } = require('internal/webidl'); |
| 41 | |
| 42 | function validateByteLength(buf, name, target) { |
| 43 | if (buf.byteLength !== target) { |
| 44 | throw lazyDOMException( |
| 45 | `${name} must contain exactly ${target} bytes`, |
| 46 | 'OperationError'); |
| 47 | } |
| 48 | } |
| 49 | |
| 50 | function AESLengthValidator(V, dict) { |
| 51 | if (V !== 128 && V !== 192 && V !== 256) |
no test coverage detected
searching dependent graphs…