mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 15:06:54 -05:00
chore(ext/crypto): remove old todos (#13887)
This commit is contained in:
parent
85cb6f2563
commit
a5957f46ee
2 changed files with 0 additions and 4 deletions
|
@ -26,7 +26,6 @@ Deno.test(async function testImportArrayBufferKey() {
|
||||||
await subtle.sign({ name: "HMAC" }, cryptoKey, new Uint8Array(8));
|
await subtle.sign({ name: "HMAC" }, cryptoKey, new Uint8Array(8));
|
||||||
});
|
});
|
||||||
|
|
||||||
// TODO(@littledivy): Remove this when we enable WPT for sign_verify
|
|
||||||
Deno.test(async function testSignVerify() {
|
Deno.test(async function testSignVerify() {
|
||||||
const subtle = window.crypto.subtle;
|
const subtle = window.crypto.subtle;
|
||||||
assert(subtle);
|
assert(subtle);
|
||||||
|
@ -99,7 +98,6 @@ const hashPlainTextVector = [
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
// TODO(@littledivy): Remove this when we enable WPT for encrypt_decrypt
|
|
||||||
Deno.test(async function testEncryptDecrypt() {
|
Deno.test(async function testEncryptDecrypt() {
|
||||||
const subtle = window.crypto.subtle;
|
const subtle = window.crypto.subtle;
|
||||||
assert(subtle);
|
assert(subtle);
|
||||||
|
@ -717,7 +715,6 @@ Deno.test(async function testAesCtrEncryptDecrypt() {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// TODO(@littledivy): Enable WPT when we have importKey support
|
|
||||||
Deno.test(async function testECDH() {
|
Deno.test(async function testECDH() {
|
||||||
const namedCurve = "P-256";
|
const namedCurve = "P-256";
|
||||||
const keyPair = await crypto.subtle.generateKey(
|
const keyPair = await crypto.subtle.generateKey(
|
||||||
|
|
|
@ -1003,7 +1003,6 @@
|
||||||
case "AES-KW": {
|
case "AES-KW": {
|
||||||
return exportKeyAES(format, key, innerKey);
|
return exportKeyAES(format, key, innerKey);
|
||||||
}
|
}
|
||||||
// TODO(@littledivy): ECDSA
|
|
||||||
default:
|
default:
|
||||||
throw new DOMException("Not implemented", "NotSupportedError");
|
throw new DOMException("Not implemented", "NotSupportedError");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue