Bug 1216109 - Enable SHA-2 test for the WebCrypto API's PBKDF2 implementation r=mt

This commit is contained in:
Tim Taubert 2015-11-17 11:50:24 +01:00
parent e3dd99b2b3
commit 53556f0797

View File

@ -151,7 +151,7 @@ TestArray.addTest(
);
// -----------------------------------------------------------------------------
/*TestArray.addTest(
TestArray.addTest(
"Import raw PBKDF2 key and derive bits using HMAC-SHA-256",
function() {
var that = this;
@ -173,11 +173,11 @@ TestArray.addTest(
}
function fail(x) { console.log("failing"); error(that)(x); }
crypto.subtle.importKey("raw", key, alg, false, ["deriveKey"])
crypto.subtle.importKey("raw", key, alg, false, ["deriveBits"])
.then( doDerive, fail )
.then( memcmp_complete(that, tv.pbkdf2_sha256.derived), fail );
}
);*/
);
/*]]>*/</script>
</head>