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

Side by Side Diff: content/test/data/webcrypto/aes_gcm.json

Issue 147613002: [refactor] Move webcrypto test data to separate files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/test/data/webcrypto/aes_cbc.json ('k') | content/test/data/webcrypto/digest.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // These tests come from the NIST GCM test vectors:
2 // http://csrc.nist.gov/groups/STM/cavp/documents/mac/gcmtestvectors.zip
3 //
4 // Both encryption and decryption are expected to work.
5 [
6 // [Keylen = 128]
7 // [IVlen = 96]
8 // [PTlen = 0]
9 // [AADlen = 0]
10 // [Taglen = 128]
11 {
12 "key": "cf063a34d4a9a76c2c86787d3f96db71",
13 "iv": "113b9785971864c83b01c787",
14 "plain_text": "",
15 "cipher_text": "",
16 "additional_data": "",
17 "authentication_tag": "72ac8493e3a5228b5d130a69d2510e42"
18 },
19
20 // [Keylen = 128]
21 // [IVlen = 96]
22 // [PTlen = 0]
23 // [AADlen = 128]
24 // [Taglen = 120]
25 {
26 "key": "6dfa1a07c14f978020ace450ad663d18",
27 "iv": "34edfa462a14c6969a680ec1",
28 "plain_text": "",
29 "cipher_text": "",
30 "additional_data": "2a35c7f5f8578e919a581c60500c04f6",
31 "authentication_tag": "751f3098d59cf4ea1d2fb0853bde1c"
32 },
33
34 // [Keylen = 128]
35 // [IVlen = 96]
36 // [PTlen = 128]
37 // [AADlen = 128]
38 // [Taglen = 112]
39 {
40 "key": "ed6cd876ceba555706674445c229c12d",
41 "iv": "92ecbf74b765bc486383ca2e",
42 "plain_text": "bfaaaea3880d72d4378561e2597a9b35",
43 "cipher_text": "bdd2ed6c66fa087dce617d7fd1ff6d93",
44 "additional_data": "95bd10d77dbe0e87fb34217f1a2e5efe",
45 "authentication_tag": "ba82e49c55a22ed02ca67da4ec6f"
46 },
47
48 // [Keylen = 192]
49 // [IVlen = 96]
50 // [PTlen = 128]
51 // [AADlen = 384]
52 // [Taglen = 112]
53 {
54 "key": "ae7972c025d7f2ca3dd37dcc3d41c506671765087c6b61b8",
55 "iv": "984c1379e6ba961c828d792d",
56 "plain_text": "d30b02c343487105219d6fa080acc743",
57 "cipher_text": "c4489fa64a6edf80e7e6a3b8855bc37c",
58 "additional_data": "edd8f630f9bbc31b0acf122998f15589d6e6e3e1a3ec89e0c6a6ece7 51610ebbf57fdfb9d82028ff1d9faebe37a268c1",
59 "authentication_tag": "772ee7de0f91a981c36c93a35c88"
60 }
61 ]
OLDNEW
« no previous file with comments | « content/test/data/webcrypto/aes_cbc.json ('k') | content/test/data/webcrypto/digest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698