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

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

Issue 328903003: [webcrypto] Remove support for AES 192-bit keys (2 of 2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase onto master Created 6 years, 6 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/child/webcrypto/status.cc ('k') | content/test/data/webcrypto/aes_kw.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // These tests come from the NIST GCM test vectors: 1 // These tests come from the NIST GCM test vectors:
2 // http://csrc.nist.gov/groups/STM/cavp/documents/mac/gcmtestvectors.zip 2 // http://csrc.nist.gov/groups/STM/cavp/documents/mac/gcmtestvectors.zip
3 // 3 //
4 // Both encryption and decryption are expected to work. 4 // Both encryption and decryption are expected to work.
5 [ 5 [
6 // [Keylen = 128] 6 // [Keylen = 128]
7 // [IVlen = 96] 7 // [IVlen = 96]
8 // [PTlen = 0] 8 // [PTlen = 0]
9 // [AADlen = 0] 9 // [AADlen = 0]
10 // [Taglen = 128] 10 // [Taglen = 128]
(...skipping 27 matching lines...) Expand all
38 // [Taglen = 112] 38 // [Taglen = 112]
39 { 39 {
40 "key": "ed6cd876ceba555706674445c229c12d", 40 "key": "ed6cd876ceba555706674445c229c12d",
41 "iv": "92ecbf74b765bc486383ca2e", 41 "iv": "92ecbf74b765bc486383ca2e",
42 "plain_text": "bfaaaea3880d72d4378561e2597a9b35", 42 "plain_text": "bfaaaea3880d72d4378561e2597a9b35",
43 "cipher_text": "bdd2ed6c66fa087dce617d7fd1ff6d93", 43 "cipher_text": "bdd2ed6c66fa087dce617d7fd1ff6d93",
44 "additional_data": "95bd10d77dbe0e87fb34217f1a2e5efe", 44 "additional_data": "95bd10d77dbe0e87fb34217f1a2e5efe",
45 "authentication_tag": "ba82e49c55a22ed02ca67da4ec6f" 45 "authentication_tag": "ba82e49c55a22ed02ca67da4ec6f"
46 }, 46 },
47 47
48 // [Keylen = 192] 48 // [Keylen = 256]
49 // [IVlen = 96] 49 // [IVlen = 1024]
50 // [PTlen = 128] 50 // [PTlen = 408]
51 // [AADlen = 384] 51 // [AADlen = 720]
52 // [Taglen = 112] 52 // [Taglen = 32]
53 { 53 {
54 "key": "ae7972c025d7f2ca3dd37dcc3d41c506671765087c6b61b8", 54 "key": "e03548984a7ec8eaf0870637df0ac6bc17f7159315d0ae26a764fd224e483810",
55 "iv": "984c1379e6ba961c828d792d", 55 "iv": "f4feb26b846be4cd224dbc5133a5ae13814ebe19d3032acdd3a006463fdb71e83a9d5 d96679f26cc1719dd6b4feb3bab5b4b7993d0c0681f36d105ad3002fb66b201538e2b7479838ab83 402b0d816cd6e0fe5857e6f4adf92de8ee72b122ba1ac81795024943b7d0151bbf84ce87c8911f51 2c397d14112296da7ecdd0da52a",
56 "plain_text": "d30b02c343487105219d6fa080acc743", 56 "cipher_text": "fda718aa1ec163487e21afc34f5a3a34795a9ee71dd3e7ee9a18fdb24181 dc982b29c6ec723294a130ca2234952bb0ef68c0f3",
57 "cipher_text": "c4489fa64a6edf80e7e6a3b8855bc37c", 57 "additional_data": "aab26eb3e7acd09a034a9e2651636ab3868e51281590ecc948355e45 7da42b7ad1391c7be0d9e82895e506173a81857c3226829fbd6dfb3f9657a71a2934445d7c05fa94 01cddd5109016ba32c3856afaadc48de80b8a01b57cb",
58 "additional_data": "edd8f630f9bbc31b0acf122998f15589d6e6e3e1a3ec89e0c6a6ece7 51610ebbf57fdfb9d82028ff1d9faebe37a268c1", 58 "authentication_tag": "4795fbe0",
59 "authentication_tag": "772ee7de0f91a981c36c93a35c88" 59 "plain_text": "69fd0c9da10b56ec6786333f8d76d4b74f8a434195f2f241f088b2520fb5f a29455df9893164fb1638abe6617915d9497a8fe2"
60 } 60 }
61 ] 61 ]
OLDNEW
« no previous file with comments | « content/child/webcrypto/status.cc ('k') | content/test/data/webcrypto/aes_kw.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698