Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5306)

Unified Diff: chrome/test/data/third_party/kraken/tests/kraken-1.1/stanford-crypto-pbkdf2.js

Issue 11348021: Automate Kraken benchmark with Chrome Remote Control. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/third_party/kraken/tests/kraken-1.1/stanford-crypto-pbkdf2.js
diff --git a/chrome/test/data/third_party/kraken/tests/kraken-1.1/stanford-crypto-pbkdf2.js b/chrome/test/data/third_party/kraken/tests/kraken-1.1/stanford-crypto-pbkdf2.js
deleted file mode 100644
index 931f1e7f6de850975d6431bf6a83aa7764a412e3..0000000000000000000000000000000000000000
--- a/chrome/test/data/third_party/kraken/tests/kraken-1.1/stanford-crypto-pbkdf2.js
+++ /dev/null
@@ -1,20 +0,0 @@
-/* From http://www.cryptosys.net/manapi/api_PBE_Kdf2.html */
-
-new sjcl.test.TestCase("PBKDF2", function (cb) {
- if (!sjcl.misc.pbkdf2 || !sjcl.misc.hmac || !sjcl.hash.sha256) {
- this.unimplemented();
- cb && cb();
- return;
- }
-
- //XXX use 8 inputs, not 8 iterations
- for (var index = 0; index < 8; index++) {
- var h = sjcl.codec.hex, password = "password", salt = "78 57 8E 5A 5D 63 CB 06", count = 2048, output,
- goodOutput = "97b5a91d35af542324881315c4f849e327c4707d1bc9d322";
- output = sjcl.misc.pbkdf2(password, h.toBits(salt), count);
- output = h.fromBits(output);
- this.require(output.substr(0,goodOutput.length) == goodOutput);
- cb && cb();
- }
-});
-sjcl.test.run();

Powered by Google App Engine
This is Rietveld 408576698