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

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

Issue 1077273002: html_viewer: Move webcrypto to a place where html_viewer can use it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to ToT Created 5 years, 8 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
« no previous file with comments | « components/test/data/webcrypto/aes_ctr.json ('k') | components/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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 // [Taglen = 32] 52 // [Taglen = 32]
53 { 53 {
54 "key": "e03548984a7ec8eaf0870637df0ac6bc17f7159315d0ae26a764fd224e483810", 54 "key": "e03548984a7ec8eaf0870637df0ac6bc17f7159315d0ae26a764fd224e483810",
55 "iv": "f4feb26b846be4cd224dbc5133a5ae13814ebe19d3032acdd3a006463fdb71e83a9d5 d96679f26cc1719dd6b4feb3bab5b4b7993d0c0681f36d105ad3002fb66b201538e2b7479838ab83 402b0d816cd6e0fe5857e6f4adf92de8ee72b122ba1ac81795024943b7d0151bbf84ce87c8911f51 2c397d14112296da7ecdd0da52a", 55 "iv": "f4feb26b846be4cd224dbc5133a5ae13814ebe19d3032acdd3a006463fdb71e83a9d5 d96679f26cc1719dd6b4feb3bab5b4b7993d0c0681f36d105ad3002fb66b201538e2b7479838ab83 402b0d816cd6e0fe5857e6f4adf92de8ee72b122ba1ac81795024943b7d0151bbf84ce87c8911f51 2c397d14112296da7ecdd0da52a",
56 "cipher_text": "fda718aa1ec163487e21afc34f5a3a34795a9ee71dd3e7ee9a18fdb24181 dc982b29c6ec723294a130ca2234952bb0ef68c0f3", 56 "cipher_text": "fda718aa1ec163487e21afc34f5a3a34795a9ee71dd3e7ee9a18fdb24181 dc982b29c6ec723294a130ca2234952bb0ef68c0f3",
57 "additional_data": "aab26eb3e7acd09a034a9e2651636ab3868e51281590ecc948355e45 7da42b7ad1391c7be0d9e82895e506173a81857c3226829fbd6dfb3f9657a71a2934445d7c05fa94 01cddd5109016ba32c3856afaadc48de80b8a01b57cb", 57 "additional_data": "aab26eb3e7acd09a034a9e2651636ab3868e51281590ecc948355e45 7da42b7ad1391c7be0d9e82895e506173a81857c3226829fbd6dfb3f9657a71a2934445d7c05fa94 01cddd5109016ba32c3856afaadc48de80b8a01b57cb",
58 "authentication_tag": "4795fbe0", 58 "authentication_tag": "4795fbe0",
59 "plain_text": "69fd0c9da10b56ec6786333f8d76d4b74f8a434195f2f241f088b2520fb5f a29455df9893164fb1638abe6617915d9497a8fe2" 59 "plain_text": "69fd0c9da10b56ec6786333f8d76d4b74f8a434195f2f241f088b2520fb5f a29455df9893164fb1638abe6617915d9497a8fe2"
60 } 60 }
61 ] 61 ]
OLDNEW
« no previous file with comments | « components/test/data/webcrypto/aes_ctr.json ('k') | components/test/data/webcrypto/aes_kw.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698