-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3252 from w3c/sync_4ab1a7932360568b06c982954e52b3…
…696e962d6c Merge pull request #3252 from sync_4ab1a7932360568b06c982954e52b3696e962d6c
- Loading branch information
Showing
45 changed files
with
675 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// <meta> timeout=long | ||
importScripts("/resources/testharness.js"); | ||
importScripts("../util/helpers.js"); | ||
importScripts("failures.js"); | ||
run_test(["AES-CBC"]); | ||
done(); |
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,6 @@ | ||
// <meta> timeout=long | ||
importScripts("/resources/testharness.js"); | ||
importScripts("../util/helpers.js"); | ||
importScripts("failures.js"); | ||
run_test(["AES-CTR"]); | ||
done(); |
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,6 @@ | ||
// <meta> timeout=long | ||
importScripts("/resources/testharness.js"); | ||
importScripts("../util/helpers.js"); | ||
importScripts("failures.js"); | ||
run_test(["AES-GCM"]); | ||
done(); |
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,6 @@ | ||
// <meta> timeout=long | ||
importScripts("/resources/testharness.js"); | ||
importScripts("../util/helpers.js"); | ||
importScripts("failures.js"); | ||
run_test(["AES-KW"]); | ||
done(); |
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,6 @@ | ||
// <meta> timeout=long | ||
importScripts("/resources/testharness.js"); | ||
importScripts("../util/helpers.js"); | ||
importScripts("failures.js"); | ||
run_test(["ECDH"]); | ||
done(); |
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,6 @@ | ||
// <meta> timeout=long | ||
importScripts("/resources/testharness.js"); | ||
importScripts("../util/helpers.js"); | ||
importScripts("failures.js"); | ||
run_test(["ECDSA"]); | ||
done(); |
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,6 @@ | ||
// <meta> timeout=long | ||
importScripts("/resources/testharness.js"); | ||
importScripts("../util/helpers.js"); | ||
importScripts("failures.js"); | ||
run_test(["HMAC"]); | ||
done(); |
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,6 @@ | ||
// <meta> timeout=long | ||
importScripts("/resources/testharness.js"); | ||
importScripts("../util/helpers.js"); | ||
importScripts("failures.js"); | ||
run_test(["RSA-OAEP"]); | ||
done(); |
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,6 @@ | ||
// <meta> timeout=long | ||
importScripts("/resources/testharness.js"); | ||
importScripts("../util/helpers.js"); | ||
importScripts("failures.js"); | ||
run_test(["RSA-PSS"]); | ||
done(); |
6 changes: 6 additions & 0 deletions
6
WebCryptoAPI/generateKey/failures_RSASSA-PKCS1-v1_5.worker.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,6 @@ | ||
// <meta> timeout=long | ||
importScripts("/resources/testharness.js"); | ||
importScripts("../util/helpers.js"); | ||
importScripts("failures.js"); | ||
run_test(["RSASSA-PKCS1-v1_5"]); | ||
done(); |
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,7 @@ | ||
// <meta> timeout=long | ||
importScripts("/resources/testharness.js"); | ||
importScripts("../util/helpers.js"); | ||
importScripts("successes.js"); | ||
|
||
run_test(["AES-CBC"]); | ||
done(); |
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,7 @@ | ||
// <meta> timeout=long | ||
importScripts("/resources/testharness.js"); | ||
importScripts("../util/helpers.js"); | ||
importScripts("successes.js"); | ||
|
||
run_test(["AES-CTR"]); | ||
done(); |
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,7 @@ | ||
// <meta> timeout=long | ||
importScripts("/resources/testharness.js"); | ||
importScripts("../util/helpers.js"); | ||
importScripts("successes.js"); | ||
|
||
run_test(["AES-GCM"]); | ||
done(); |
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,7 @@ | ||
// <meta> timeout=long | ||
importScripts("/resources/testharness.js"); | ||
importScripts("../util/helpers.js"); | ||
importScripts("successes.js"); | ||
|
||
run_test(["AES-KW"]); | ||
done(); |
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,7 @@ | ||
// <meta> timeout=long | ||
importScripts("/resources/testharness.js"); | ||
importScripts("../util/helpers.js"); | ||
importScripts("successes.js"); | ||
|
||
run_test(["ECDH"]); | ||
done(); |
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,7 @@ | ||
// <meta> timeout=long | ||
importScripts("/resources/testharness.js"); | ||
importScripts("../util/helpers.js"); | ||
importScripts("successes.js"); | ||
|
||
run_test(["ECDSA"]); | ||
done(); |
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,7 @@ | ||
// <meta> timeout=long | ||
importScripts("/resources/testharness.js"); | ||
importScripts("../util/helpers.js"); | ||
importScripts("successes.js"); | ||
|
||
run_test(["HMAC"]); | ||
done(); |
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,7 @@ | ||
// <meta> timeout=long | ||
importScripts("/resources/testharness.js"); | ||
importScripts("../util/helpers.js"); | ||
importScripts("successes.js"); | ||
|
||
run_test(["RSA-OAEP"]); | ||
done(); |
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,7 @@ | ||
// <meta> timeout=long | ||
importScripts("/resources/testharness.js"); | ||
importScripts("../util/helpers.js"); | ||
importScripts("successes.js"); | ||
|
||
run_test(["RSA-PSS"]); | ||
done(); |
7 changes: 7 additions & 0 deletions
7
WebCryptoAPI/generateKey/successes_RSASSA-PKCS1-v1_5.worker.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,7 @@ | ||
// <meta> timeout=long | ||
importScripts("/resources/testharness.js"); | ||
importScripts("../util/helpers.js"); | ||
importScripts("successes.js"); | ||
|
||
run_test(["RSASSA-PKCS1-v1_5"]); | ||
done(); |
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,23 @@ | ||
<!DOCTYPE html> | ||
<meta charset=utf-8> | ||
<meta name="timeout" content="long"> | ||
<title>WebCryptoAPI: generateKey() Successful Calls</title> | ||
<link rel="author" title="Charles Engelke" href="mailto:w3c@engelke.com"> | ||
<link rel="help" href="https://www.w3.org/TR/WebCryptoAPI/#dfn-SubtleCrypto-method-generateKey"> | ||
<script src="/resources/testharness.js"></script> | ||
<script src="/resources/testharnessreport.js"></script> | ||
|
||
<script src="/WebCryptoAPI/util/helpers.js"></script> | ||
<script src="successes.js"></script> | ||
|
||
<h1>generateKey Tests for Good Parameters</h1> | ||
<p> | ||
<strong>Warning!</strong> RSA key generation is intrinsically | ||
very slow, so the related tests can take up to | ||
several minutes to complete, depending on browser! | ||
</p> | ||
|
||
<div id="log"></div> | ||
<script> | ||
run_test("AES-CBC"); | ||
</script> |
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,23 @@ | ||
<!DOCTYPE html> | ||
<meta charset=utf-8> | ||
<meta name="timeout" content="long"> | ||
<title>WebCryptoAPI: generateKey() Successful Calls</title> | ||
<link rel="author" title="Charles Engelke" href="mailto:w3c@engelke.com"> | ||
<link rel="help" href="https://www.w3.org/TR/WebCryptoAPI/#dfn-SubtleCrypto-method-generateKey"> | ||
<script src="/resources/testharness.js"></script> | ||
<script src="/resources/testharnessreport.js"></script> | ||
|
||
<script src="/WebCryptoAPI/util/helpers.js"></script> | ||
<script src="successes.js"></script> | ||
|
||
<h1>generateKey Tests for Good Parameters</h1> | ||
<p> | ||
<strong>Warning!</strong> RSA key generation is intrinsically | ||
very slow, so the related tests can take up to | ||
several minutes to complete, depending on browser! | ||
</p> | ||
|
||
<div id="log"></div> | ||
<script> | ||
run_test("AES-CTR"); | ||
</script> |
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,18 @@ | ||
<!DOCTYPE html> | ||
<meta charset=utf-8> | ||
<meta name="timeout" content="long"> | ||
<title>WebCryptoAPI: generateKey() for Failures</title> | ||
<link rel="author" title="Charles Engelke" href="mailto:w3c@engelke.com"> | ||
<link rel="help" href="https://www.w3.org/TR/WebCryptoAPI/#dfn-SubtleCrypto-method-generateKey"> | ||
<script src="/resources/testharness.js"></script> | ||
<script src="/resources/testharnessreport.js"></script> | ||
|
||
<script src="/WebCryptoAPI/util/helpers.js"></script> | ||
<script src="failures.js"></script> | ||
|
||
<h1>generateKey Tests for Bad Parameters</h1> | ||
|
||
<div id="log"></div> | ||
<script> | ||
run_test(["AES-CBC"]); | ||
</script> |
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,18 @@ | ||
<!DOCTYPE html> | ||
<meta charset=utf-8> | ||
<meta name="timeout" content="long"> | ||
<title>WebCryptoAPI: generateKey() for Failures</title> | ||
<link rel="author" title="Charles Engelke" href="mailto:w3c@engelke.com"> | ||
<link rel="help" href="https://www.w3.org/TR/WebCryptoAPI/#dfn-SubtleCrypto-method-generateKey"> | ||
<script src="/resources/testharness.js"></script> | ||
<script src="/resources/testharnessreport.js"></script> | ||
|
||
<script src="/WebCryptoAPI/util/helpers.js"></script> | ||
<script src="failures.js"></script> | ||
|
||
<h1>generateKey Tests for Bad Parameters</h1> | ||
|
||
<div id="log"></div> | ||
<script> | ||
run_test(["AES-CTR"]); | ||
</script> |
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,18 @@ | ||
<!DOCTYPE html> | ||
<meta charset=utf-8> | ||
<meta name="timeout" content="long"> | ||
<title>WebCryptoAPI: generateKey() for Failures</title> | ||
<link rel="author" title="Charles Engelke" href="mailto:w3c@engelke.com"> | ||
<link rel="help" href="https://www.w3.org/TR/WebCryptoAPI/#dfn-SubtleCrypto-method-generateKey"> | ||
<script src="/resources/testharness.js"></script> | ||
<script src="/resources/testharnessreport.js"></script> | ||
|
||
<script src="/WebCryptoAPI/util/helpers.js"></script> | ||
<script src="failures.js"></script> | ||
|
||
<h1>generateKey Tests for Bad Parameters</h1> | ||
|
||
<div id="log"></div> | ||
<script> | ||
run_test(["AES-GCM"]); | ||
</script> |
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,18 @@ | ||
<!DOCTYPE html> | ||
<meta charset=utf-8> | ||
<meta name="timeout" content="long"> | ||
<title>WebCryptoAPI: generateKey() for Failures</title> | ||
<link rel="author" title="Charles Engelke" href="mailto:w3c@engelke.com"> | ||
<link rel="help" href="https://www.w3.org/TR/WebCryptoAPI/#dfn-SubtleCrypto-method-generateKey"> | ||
<script src="/resources/testharness.js"></script> | ||
<script src="/resources/testharnessreport.js"></script> | ||
|
||
<script src="/WebCryptoAPI/util/helpers.js"></script> | ||
<script src="failures.js"></script> | ||
|
||
<h1>generateKey Tests for Bad Parameters</h1> | ||
|
||
<div id="log"></div> | ||
<script> | ||
run_test(["AES-KW"]); | ||
</script> |
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,18 @@ | ||
<!DOCTYPE html> | ||
<meta charset=utf-8> | ||
<meta name="timeout" content="long"> | ||
<title>WebCryptoAPI: generateKey() for Failures</title> | ||
<link rel="author" title="Charles Engelke" href="mailto:w3c@engelke.com"> | ||
<link rel="help" href="https://www.w3.org/TR/WebCryptoAPI/#dfn-SubtleCrypto-method-generateKey"> | ||
<script src="/resources/testharness.js"></script> | ||
<script src="/resources/testharnessreport.js"></script> | ||
|
||
<script src="/WebCryptoAPI/util/helpers.js"></script> | ||
<script src="failures.js"></script> | ||
|
||
<h1>generateKey Tests for Bad Parameters</h1> | ||
|
||
<div id="log"></div> | ||
<script> | ||
run_test(["ECDH"]); | ||
</script> |
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,18 @@ | ||
<!DOCTYPE html> | ||
<meta charset=utf-8> | ||
<meta name="timeout" content="long"> | ||
<title>WebCryptoAPI: generateKey() for Failures</title> | ||
<link rel="author" title="Charles Engelke" href="mailto:w3c@engelke.com"> | ||
<link rel="help" href="https://www.w3.org/TR/WebCryptoAPI/#dfn-SubtleCrypto-method-generateKey"> | ||
<script src="/resources/testharness.js"></script> | ||
<script src="/resources/testharnessreport.js"></script> | ||
|
||
<script src="/WebCryptoAPI/util/helpers.js"></script> | ||
<script src="failures.js"></script> | ||
|
||
<h1>generateKey Tests for Bad Parameters</h1> | ||
|
||
<div id="log"></div> | ||
<script> | ||
run_test(["ECDSA"]); | ||
</script> |
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,18 @@ | ||
<!DOCTYPE html> | ||
<meta charset=utf-8> | ||
<meta name="timeout" content="long"> | ||
<title>WebCryptoAPI: generateKey() for Failures</title> | ||
<link rel="author" title="Charles Engelke" href="mailto:w3c@engelke.com"> | ||
<link rel="help" href="https://www.w3.org/TR/WebCryptoAPI/#dfn-SubtleCrypto-method-generateKey"> | ||
<script src="/resources/testharness.js"></script> | ||
<script src="/resources/testharnessreport.js"></script> | ||
|
||
<script src="/WebCryptoAPI/util/helpers.js"></script> | ||
<script src="failures.js"></script> | ||
|
||
<h1>generateKey Tests for Bad Parameters</h1> | ||
|
||
<div id="log"></div> | ||
<script> | ||
run_test(["HMAC"]); | ||
</script> |
Oops, something went wrong.