Lines Matching defs:length
19 // Required arguments.length
202 subtle.generateKey({ name: 'AES-CBC', length: 128 }, false, ['encrypt']).then((key) => {
207 generateKeySync('aes', { length: 128 }),
389 { name: 'HMAC', hash: { name: 'SHA-1' }, length: 20 },
391 { name: 'HMAC', hash: 'SHA-1', length: 20 },
408 const good = { name: 'AES-CBC', length: 128 };
411 assert.throws(() => converter({ ...good, length: undefined }, opts), {
414 message: `${prefix}: ${context} can not be converted to '${name}' because 'length' is required in '${name}'.`,
484 const good = { name: 'AES-CTR', counter: Buffer.alloc(0), length: 20 };
487 for (const required of ['counter', 'length']) {