-
Notifications
You must be signed in to change notification settings - Fork 29.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
crypto: implement webcrypto.randomUUID
- Loading branch information
Showing
75 changed files
with
7,547 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
spec: https://w3c.github.io/webcrypto/ | ||
suggested_reviewers: | ||
- twiss |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Directory for Crypto API tests |
9 changes: 9 additions & 0 deletions
9
test/fixtures/wpt/WebCryptoAPI/derive_bits_keys/ecdh_bits.https.any.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// META: title=WebCryptoAPI: deriveBits() Using ECDH | ||
// META: script=ecdh_bits.js | ||
|
||
// Define subtests from a `promise_test` to ensure the harness does not | ||
// complete before the subtests are available. `explicit_done` cannot be used | ||
// for this purpose because the global `done` function is automatically invoked | ||
// by the WPT infrastructure in dedicated worker tests defined using the | ||
// "multi-global" pattern. | ||
promise_test(define_tests, 'setup - define tests'); |
268 changes: 268 additions & 0 deletions
268
test/fixtures/wpt/WebCryptoAPI/derive_bits_keys/ecdh_bits.js
Large diffs are not rendered by default.
Oops, something went wrong.
9 changes: 9 additions & 0 deletions
9
test/fixtures/wpt/WebCryptoAPI/derive_bits_keys/ecdh_keys.https.any.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// META: title=WebCryptoAPI: deriveKey() Using ECDH | ||
// META: script=ecdh_keys.js | ||
|
||
// Define subtests from a `promise_test` to ensure the harness does not | ||
// complete before the subtests are available. `explicit_done` cannot be used | ||
// for this purpose because the global `done` function is automatically invoked | ||
// by the WPT infrastructure in dedicated worker tests defined using the | ||
// "multi-global" pattern. | ||
promise_test(define_tests, 'setup - define tests'); |
237 changes: 237 additions & 0 deletions
237
test/fixtures/wpt/WebCryptoAPI/derive_bits_keys/ecdh_keys.js
Large diffs are not rendered by default.
Oops, something went wrong.
15 changes: 15 additions & 0 deletions
15
test/fixtures/wpt/WebCryptoAPI/derive_bits_keys/hkdf.https.any.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// META: title=WebCryptoAPI: deriveBits() and deriveKey() Using HKDF | ||
// META: variant=?1-1000 | ||
// META: variant=?1001-2000 | ||
// META: variant=?2001-3000 | ||
// META: variant=?3001-last | ||
// META: script=/common/subset-tests.js | ||
// META: script=hkdf_vectors.js | ||
// META: script=hkdf.js | ||
|
||
// Define subtests from a `promise_test` to ensure the harness does not | ||
// complete before the subtests are available. `explicit_done` cannot be used | ||
// for this purpose because the global `done` function is automatically invoked | ||
// by the WPT infrastructure in dedicated worker tests defined using the | ||
// "multi-global" pattern. | ||
promise_test(define_tests, 'setup - define tests'); |
Oops, something went wrong.