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

Side by Side Diff: components/test/data/webcrypto/aes_ctr.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
OLDNEW
1 [ 1 [
2 // From https://www.rfc-editor.org/rfc/rfc3686.txt 2 // From https://www.rfc-editor.org/rfc/rfc3686.txt
3 // Test Vector #3: Encrypting 36 octets using AES-CTR with 128-bit key 3 // Test Vector #3: Encrypting 36 octets using AES-CTR with 128-bit key
4 { 4 {
5 "key": "7691BE035E5020A8AC6E618529F9A0DC", 5 "key": "7691BE035E5020A8AC6E618529F9A0DC",
6 "plain_text": "000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1 E1F20212223", 6 "plain_text": "000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1 E1F20212223",
7 "counter": "00E0017B27777F3F4A1786F000000001", 7 "counter": "00E0017B27777F3F4A1786F000000001",
8 "length": 32, 8 "length": 32,
9 "cipher_text": "C1CF48A89F2FFDD9CF4652E9EFDB72D74540A42BDE6D7836D59A5CEAAEF3 105325B2072F" 9 "cipher_text": "C1CF48A89F2FFDD9CF4652E9EFDB72D74540A42BDE6D7836D59A5CEAAEF3 105325B2072F"
10 }, 10 },
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 73
74 // 128-bit counter wrap-around (manually constructed). 74 // 128-bit counter wrap-around (manually constructed).
75 { 75 {
76 "key": "7691BE035E5020A8AC6E618529F9A0DC", 76 "key": "7691BE035E5020A8AC6E618529F9A0DC",
77 "plain_text": "C05E231B3894612C49EE000B804EB2A6B8306B508F839D6A5530831D9344A F1C1415161718191A1B1C1D1E1F20212223", 77 "plain_text": "C05E231B3894612C49EE000B804EB2A6B8306B508F839D6A5530831D9344A F1C1415161718191A1B1C1D1E1F20212223",
78 "counter": "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE", 78 "counter": "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE",
79 "length": 128, 79 "length": 128,
80 "cipher_text": "D2C49B275BC73814DC90ECE98959041C9A3481F2247E08B0AF5D8DE3F521 C9DAF535B0A8156DF9D2370EE7328103C8AD" 80 "cipher_text": "D2C49B275BC73814DC90ECE98959041C9A3481F2247E08B0AF5D8DE3F521 C9DAF535B0A8156DF9D2370EE7328103C8AD"
81 } 81 }
82 ] 82 ]
OLDNEW
« no previous file with comments | « components/test/data/webcrypto/aes_cbc.json ('k') | components/test/data/webcrypto/aes_gcm.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698