Lines Matching refs:hash
302 async function testImportSpki({ name, publicUsages }, size, hash, extractable) {
306 { name, hash },
317 assert.strictEqual(key.algorithm.hash.name, hash);
335 hash,
340 { name, hash },
351 assert.strictEqual(key.algorithm.hash.name, hash);
369 { name, hash },
378 hash,
393 alg: `PS${hash.substring(4)}`
395 { name, hash },
400 { ...jwk, alg: `PS${hash.substring(4)}` },
401 { name, hash },
463 { name, hash },
471 { name, hash },
481 if (hash === 'SHA-1')
485 if (hash === 'SHA-256')
494 { name, hash },
502 { name, hash },
512 { name, hash },
540 hashes.forEach((hash) => {
543 variations.push(testImportSpki(vector, size, hash, extractable));
544 variations.push(testImportPkcs8(vector, size, hash, extractable));
545 variations.push(testImportJwk(vector, size, hash, extractable));
567 { name, hash: 'SHA-256' },
572 { name, hash: 'SHA-256' },