Home
last modified time | relevance | path

Searched refs:equalBuffers (Results 1 – 18 of 18) sorted by relevance

/third_party/node/test/fixtures/wpt/WebCryptoAPI/digest/
Ddigest.https.any.js56 …assert_true(equalBuffers(result, digestedData[alg][size]), "digest() yielded expected result for "…
67 …assert_true(equalBuffers(result, digestedData[alg][size]), "digest() yielded expected result for "…
78 …assert_true(equalBuffers(result, digestedData[alg][size]), "digest() yielded expected result for "…
90 …assert_true(equalBuffers(result, digestedData[alg][size]), "digest() yielded expected result for "…
137 function equalBuffers(a, b) { function
/third_party/node/test/fixtures/wpt/WebCryptoAPI/derive_bits_keys/
Decdh_bits.js42 … assert_true(equalBuffers(derivation, derivations[namedCurve]), "Derived correct bits");
52 … assert_true(equalBuffers(derivation, derivations[namedCurve]), "Derived correct bits");
62 … assert_true(equalBuffers(derivation, derivations[namedCurve]), "Derived correct bits");
72 …assert_true(equalBuffers(derivation, derivations[namedCurve], 8 * sizes[namedCurve] - 32), "Derive…
82 …assert_true(equalBuffers(derivation, derivations[namedCurve], 8 * sizes[namedCurve] - 11), "Derive…
247 function equalBuffers(a, b, bitCount) { function
Dcfrg_curves_bits.js46 … assert_true(equalBuffers(derivation, derivations[algorithmName]), "Derived correct bits");
56 … assert_true(equalBuffers(derivation, derivations[algorithmName]), "Derived correct bits");
66 … assert_true(equalBuffers(derivation, derivations[algorithmName]), "Derived correct bits");
76 …assert_true(equalBuffers(derivation, derivations[algorithmName], 8 * sizes[algorithmName] - 32), "…
86 …assert_true(equalBuffers(derivation, derivations[algorithmName], 8 * sizes[algorithmName] - 11), "…
231 function equalBuffers(a, b, bitCount) { function
Decdh_keys.js43 …assert_true(equalBuffers(exportedKey, derivations[namedCurve], 8 * exportedKey.length), "Derived c…
54 …assert_true(equalBuffers(exportedKey, derivations[namedCurve], 8 * exportedKey.length), "Derived c…
216 function equalBuffers(a, b, bitCount) { function
Dcfrg_curves_keys.js63 …assert_true(equalBuffers(exportedKey, derivations[algorithmName], 8 * exportedKey.length), "Derive…
74 …assert_true(equalBuffers(exportedKey, derivations[algorithmName], 8 * exportedKey.length), "Derive…
215 function equalBuffers(a, b, bitCount) { function
Dhkdf.js42 …assert_true(equalBuffers(derivation, derivations[derivedKeySize][saltSize][hashName][infoSize]), "…
74 …assert_true(equalBuffers(buffer, derivations[derivedKeySize][saltSize][hashName][infoSize].slice(0…
288 function equalBuffers(a, b) { function
Dpbkdf2.js39 …assert_true(equalBuffers(derivation, derivations[passwordSize][saltSize][hashName][iterations]), "…
61 …assert_true(equalBuffers(buffer, derivations[passwordSize][saltSize][hashName][iterations].slice(0…
285 function equalBuffers(a, b) { function
/third_party/node/test/fixtures/wpt/WebCryptoAPI/encrypt_decrypt/
Drsa.js26 assert_true(equalBuffers(plaintext, vector.plaintext, "Decryption works"));
56 assert_true(equalBuffers(plaintext, vector.plaintext, "Decryption works"));
140 … assert_true(equalBuffers(result, vector.plaintext), "Round trip returns original plaintext");
150 … assert_false(equalBuffers(priorCiphertext, ciphertext), "Two encrypts give different results")
185 … assert_true(equalBuffers(result, vector.plaintext), "Round trip returns original plaintext");
195 … assert_false(equalBuffers(priorCiphertext, ciphertext), "Two encrypts give different results")
360 function equalBuffers(a, b) { function
Daes.js22 … assert_true(equalBuffers(result, vector.result), "Should return expected result");
46 … assert_true(equalBuffers(result, vector.result), "Should return expected result");
71 … assert_true(equalBuffers(result, vector.plaintext), "Should return expected result");
95 … assert_true(equalBuffers(result, vector.plaintext), "Should return expected result");
307 function equalBuffers(a, b) { function
/third_party/node/test/fixtures/wpt/WebCryptoAPI/sign_verify/
Drsa.js167 …assert_true(equalBuffers(signature, vector.signature), "Signing did not give the expected output");
183 …assert_true(equalBuffers(priorSignature, signature), "Two signings with empty salt give same signa…
185 …assert_false(equalBuffers(priorSignature, signature), "Two signings with a salt give different sig…
420 function equalBuffers(a, b) { function
Dhmac.js332 function equalBuffers(a, b) { function
Deddsa.js416 function equalBuffers(a, b) { function
Decdsa.js491 function equalBuffers(a, b) { function
/third_party/node/test/fixtures/wpt/WebCryptoAPI/import_export/
Dsymmetric_importKey.https.any.js81 assert_true(equalBuffers(keyData, result), "Round trip works");
113 function equalBuffers(a, b) { function
Dokp_importKey.https.any.js116 assert_true(equalBuffers(keyData[format], result), "Round trip works");
134 function equalBuffers(a, b) { function
Drsa_importKey.https.any.js125 assert_true(equalBuffers(keyData[format], result), "Round trip works");
157 function equalBuffers(a, b) { function
Dec_importKey.https.any.js122 assert_true(equalBuffers(data[format], result), "Round trip works");
159 function equalBuffers(a, b) { function
/third_party/node/test/fixtures/wpt/WebCryptoAPI/wrapKey_unwrapKey/
DwrapKey_unwrapKey.https.any.js271 return equalBuffers(originalExport, roundTripExport);
278 function equalBuffers(a, b) { function