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

Unified Diff: content/test/data/webcrypto/digest.json

Issue 200763005: Support for the new WebCrypto digest by chunks API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated return param of FinishWithWebArrayAndStatus Created 6 years, 9 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: content/test/data/webcrypto/digest.json
diff --git a/content/test/data/webcrypto/digest.json b/content/test/data/webcrypto/digest.json
index 354c9e05b6994196c5ce105785ef7c7f1406d802..35679a0037319cb0576962856c6fda3c20a736a1 100644
--- a/content/test/data/webcrypto/digest.json
+++ b/content/test/data/webcrypto/digest.json
@@ -52,5 +52,21 @@
{ "algorithm": "sha-512",
"input": "000102030405",
"output": "2f3831bccc94cf061bcfa5f8c23c1429d26e3bc6b76edad93d9025cb91c903af6cf9c935dc37193c04c2c66e7d9de17c358284418218afea2160147aaa912f4c"
+ },
+ { "algorithm": "sha-1",
+ "input": "000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405",
+ "output": "e38fdf41b8041b07c24499afa61081766c8d0869"
+ },
+ { "algorithm": "sha-256",
+ "input": "000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405",
+ "output": "73c5a698c25f1d72920d895d8dc2461cac9b73ec39ddbd1eda3ac74ffb530fd8"
+ },
+ { "algorithm": "sha-384",
+ "input": "000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405",
+ "output": "92276ce0d63a013305d8d4a1b0fa99900fbff5d5f16d74b2340ac5ec996fc41cec765d3abcd7d4bb0b7fd9354ab27c08"
+ },
+ { "algorithm": "sha-512",
+ "input": "000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405000102030405",
+ "output": "3c898c2d185e74802bae5d9a5d562b079086e3bf5f982a2eea65a544b7d265e96a6909575a2218b5de3e7089ea9b9147386f88755299b4d407ee65de9ce0c85c"
}
]
« content/child/webcrypto/webcrypto_impl.h ('K') | « content/child/webcrypto/webcrypto_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698