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

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

Issue 508643003: Rename digest.json --> sha.json (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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
« no previous file with comments | « content/child/webcrypto/test/sha_unittest.cc ('k') | content/test/data/webcrypto/sha.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/data/webcrypto/digest.json
diff --git a/content/test/data/webcrypto/digest.json b/content/test/data/webcrypto/digest.json
deleted file mode 100644
index 35679a0037319cb0576962856c6fda3c20a736a1..0000000000000000000000000000000000000000
--- a/content/test/data/webcrypto/digest.json
+++ /dev/null
@@ -1,72 +0,0 @@
-// The results are stored here in hex format for readability.
-//
-// TODO(bryaneyler): Eventually, all these sample test sets should be replaced
-// with the sets here: http://csrc.nist.gov/groups/STM/cavp/index.html#03
-//
-// Results were generated using the command sha{1,256,384,512}sum.
-[
- { "algorithm": "sha-1",
- "input": "",
- "output": "da39a3ee5e6b4b0d3255bfef95601890afd80709"
- },
- { "algorithm": "sha-256",
- "input": "",
- "output": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
- },
- { "algorithm": "sha-384",
- "input": "",
- "output": "38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76f65fbd51ad2f14898b95b"
- },
- { "algorithm": "sha-512",
- "input": "",
- "output": "cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e"
- },
- { "algorithm": "sha-1",
- "input": "00",
- "output": "5ba93c9db0cff93f52b521d7420e43f6eda2784f"
- },
- { "algorithm": "sha-256",
- "input": "00",
- "output": "6e340b9cffb37a989ca544e6bb780a2c78901d3fb33738768511a30617afa01d"
- },
- { "algorithm": "sha-384",
- "input": "00",
- "output": "bec021b4f368e3069134e012c2b4307083d3a9bdd206e24e5f0d86e13d6636655933ec2b413465966817a9c208a11717"
- },
- { "algorithm": "sha-512",
- "input": "00",
- "output": "b8244d028981d693af7b456af8efa4cad63d282e19ff14942c246e50d9351d22704a802a71c3580b6370de4ceb293c324a8423342557d4e5c38438f0e36910ee"
- },
- { "algorithm": "sha-1",
- "input": "000102030405",
- "output": "868460d98d09d8bbb93d7b6cdd15cc7fbec676b9"
- },
- { "algorithm": "sha-256",
- "input": "000102030405",
- "output": "17e88db187afd62c16e5debf3e6527cd006bc012bc90b51a810cd80c2d511f43"
- },
- { "algorithm": "sha-384",
- "input": "000102030405",
- "output": "79f4738706fce9650ac60266675c3cd07298b09923850d525604d040e6e448adc7dc22780d7e1b95bfeaa86a678e4552"
- },
- { "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"
- }
-]
« no previous file with comments | « content/child/webcrypto/test/sha_unittest.cc ('k') | content/test/data/webcrypto/sha.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698