Home
last modified time | relevance | path

Searched refs:baseKeys (Results 1 – 4 of 4) sorted by relevance

/third_party/node/test/parallel/
Dtest-webcrypto-derivebits-hkdf.js161 const baseKeys = {};
176 (baseKey) => baseKeys[size] = baseKey,
215 baseKeys,
223 baseKeys, argument
237 baseKeys[size],
247 baseKeys, argument
261 subtle.deriveBits(algorithm, baseKeys[size], undefined), {
265 subtle.deriveBits(algorithm, baseKeys[size], 0), {
270 subtle.deriveBits(algorithm, baseKeys[size], null), {
275 subtle.deriveBits(algorithm, baseKeys[size], 15), {
[all …]
/third_party/node/test/pummel/
Dtest-webcrypto-derivebits-pbkdf2.js367 const baseKeys = {};
380 .then((key) => baseKeys[size] = key));
410 return { baseKeys, noBits, noKey, wrongKey };
414 baseKeys, argument
426 const bits = await subtle.deriveBits(algorithm, baseKeys[size], 256);
435 baseKeys, argument
449 subtle.deriveBits(algorithm, baseKeys[size], undefined), {
453 subtle.deriveBits(algorithm, baseKeys[size], 0), {
458 subtle.deriveBits(algorithm, baseKeys[size], null), {
463 subtle.deriveBits(algorithm, baseKeys[size], 15), {
[all …]
/third_party/node/test/fixtures/wpt/WebCryptoAPI/derive_bits_keys/
Dhkdf.js23 var baseKeys = allKeys.baseKeys;
40 return subtle.deriveBits(algorithm, baseKeys[derivedKeySize], 256)
50 return subtle.deriveBits(algorithm, baseKeys[derivedKeySize], 0)
69 …return subtle.deriveKey(algorithm, baseKeys[derivedKeySize], derivedKeyType.algorithm, true, deriv…
90 …return subtle.deriveKey(badAlgorithm, baseKeys[derivedKeySize], derivedKeyType.algorithm, true, de…
124 …ubtle.deriveBits({name: "HKDF", info: infos[infoSize], hash: hashName}, baseKeys[derivedKeySize], …
134 …ubtle.deriveBits({name: "HKDF", salt: salts[saltSize], hash: hashName}, baseKeys[derivedKeySize], …
144 return subtle.deriveBits(algorithm, baseKeys[derivedKeySize], null)
154 return subtle.deriveBits(algorithm, baseKeys[derivedKeySize], 44)
166 return subtle.deriveBits(badAlgorithm, baseKeys[derivedKeySize], 256)
[all …]
Dpbkdf2.js21 var baseKeys = allKeys.baseKeys;
37 …lt: salts[saltSize], hash: hashName, iterations: parseInt(iterations)}, baseKeys[passwordSize], 25…
56 …lt: salts[saltSize], hash: hashName, iterations: parseInt(iterations)}, baseKeys[passwordSize], de…
76 …alt: salts[saltSize], hash: badHash, iterations: parseInt(iterations)}, baseKeys[passwordSize], de…
109 …lt: salts[saltSize], hash: hashName, iterations: parseInt(iterations)}, baseKeys[passwordSize], nu…
119 …alt: salts[saltSize], hash: hashName, iterations: parseInt(iterations)}, baseKeys[passwordSize], 0)
129 …lt: salts[saltSize], hash: hashName, iterations: parseInt(iterations)}, baseKeys[passwordSize], 44)
140 …alt: salts[saltSize], hash: badHash, iterations: parseInt(iterations)}, baseKeys[passwordSize], 25…
171 …{name: "PBKDF2", salt: salts[saltSize], hash: hashName, iterations: 0}, baseKeys[passwordSize], 25…
187 …{name: "PBKDF2", salt: salts[saltSize], hash: hashName, iterations: 0}, baseKeys[passwordSize], de…
[all …]