1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-25 15:29:32 -05:00

chore(ext/crypto): remove old todos (#13887)

This commit is contained in:
Divy Srivastava 2022-03-09 18:13:11 +05:30 committed by GitHub
parent 85cb6f2563
commit a5957f46ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 4 deletions

View file

@ -26,7 +26,6 @@ Deno.test(async function testImportArrayBufferKey() {
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() {
const subtle = window.crypto.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() {
const subtle = window.crypto.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() {
const namedCurve = "P-256";
const keyPair = await crypto.subtle.generateKey(

View file

@ -1003,7 +1003,6 @@
case "AES-KW": {
return exportKeyAES(format, key, innerKey);
}
// TODO(@littledivy): ECDSA
default:
throw new DOMException("Not implemented", "NotSupportedError");
}