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

Side by Side Diff: components/test/data/webcrypto/aes_kw.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 // AES-KW test vectors from http://www.ietf.org/rfc/rfc3394.txt 2 // AES-KW test vectors from http://www.ietf.org/rfc/rfc3394.txt
3 // 4.1 Wrap 128 bits of Key Data with a 128-bit KEK 3 // 4.1 Wrap 128 bits of Key Data with a 128-bit KEK
4 { 4 {
5 "kek": "000102030405060708090A0B0C0D0E0F", 5 "kek": "000102030405060708090A0B0C0D0E0F",
6 "key": "00112233445566778899AABBCCDDEEFF", 6 "key": "00112233445566778899AABBCCDDEEFF",
7 "ciphertext": "1FA68B0A8112B447AEF34BD8FB5A7B829D3E862371D2CFE5" 7 "ciphertext": "1FA68B0A8112B447AEF34BD8FB5A7B829D3E862371D2CFE5"
8 }, 8 },
9 // 4.3 Wrap 128 bits of Key Data with a 256-bit KEK 9 // 4.3 Wrap 128 bits of Key Data with a 256-bit KEK
10 { 10 {
11 "kek": "000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F", 11 "kek": "000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F",
12 "key": "00112233445566778899AABBCCDDEEFF", 12 "key": "00112233445566778899AABBCCDDEEFF",
13 "ciphertext": "64E8C3F9CE0F5BA263E9777905818A2A93C8191E7D6E8AE7" 13 "ciphertext": "64E8C3F9CE0F5BA263E9777905818A2A93C8191E7D6E8AE7"
14 }, 14 },
15 // 4.5 Wrap 192 bits of Key Data with a 256-bit KEK 15 // 4.5 Wrap 192 bits of Key Data with a 256-bit KEK
16 { 16 {
17 "kek": "000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F", 17 "kek": "000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F",
18 "key": "00112233445566778899AABBCCDDEEFF0001020304050607", 18 "key": "00112233445566778899AABBCCDDEEFF0001020304050607",
19 "ciphertext": "A8F9BC1612C68B3FF6E6F4FBE30E71E4769C8B80A32CB8958CD5D17D6B254 DA1" 19 "ciphertext": "A8F9BC1612C68B3FF6E6F4FBE30E71E4769C8B80A32CB8958CD5D17D6B254 DA1"
20 }, 20 },
21 // 4.6 Wrap 256 bits of Key Data with a 256-bit KEK 21 // 4.6 Wrap 256 bits of Key Data with a 256-bit KEK
22 { 22 {
23 "kek": "000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F", 23 "kek": "000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F",
24 "key": "00112233445566778899AABBCCDDEEFF000102030405060708090A0B0C0D0E0F", 24 "key": "00112233445566778899AABBCCDDEEFF000102030405060708090A0B0C0D0E0F",
25 "ciphertext": "28C9F404C4B810F4CBCCB35CFB87F8263F5786E2D80ED326CBC7F0E71A99F 43BFB988B9B7A02DD21" 25 "ciphertext": "28C9F404C4B810F4CBCCB35CFB87F8263F5786E2D80ED326CBC7F0E71A99F 43BFB988B9B7A02DD21"
26 } 26 }
27 ] 27 ]
OLDNEW
« no previous file with comments | « components/test/data/webcrypto/aes_gcm.json ('k') | components/test/data/webcrypto/bad_ec_keys.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698