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

Side by Side Diff: components/test/data/webcrypto/aes_cbc.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/components_tests.gyp ('k') | components/test/data/webcrypto/aes_ctr.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 [ 1 [
2 // F.2.1 (CBC-AES128.Encrypt) 2 // F.2.1 (CBC-AES128.Encrypt)
3 // http://csrc.nist.gov/publications/nistpubs/800-38a/sp800-38a.pdf 3 // http://csrc.nist.gov/publications/nistpubs/800-38a/sp800-38a.pdf
4 { 4 {
5 "key_format": "raw", 5 "key_format": "raw",
6 "key": "2b7e151628aed2a6abf7158809cf4f3c", 6 "key": "2b7e151628aed2a6abf7158809cf4f3c",
7 "iv": "000102030405060708090a0b0c0d0e0f", 7 "iv": "000102030405060708090a0b0c0d0e0f",
8 "plain_text": "6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8 e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710", 8 "plain_text": "6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8 e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710",
9 // Added a padding block: encryption of {0x10, 0x10, ... 0x10}) (not given b y the 9 // Added a padding block: encryption of {0x10, 0x10, ... 0x10}) (not given b y the
10 // NIST test vector) 10 // NIST test vector)
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 { 319 {
320 "key_format": "jwk", 320 "key_format": "jwk",
321 "key": { 321 "key": {
322 "kty": "oct", 322 "kty": "oct",
323 "alg": "A192CBC", 323 "alg": "A192CBC",
324 "k": "YWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFh" 324 "k": "YWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFh"
325 }, 325 },
326 "import_error": "OperationError: 192-bit AES keys are not supported" 326 "import_error": "OperationError: 192-bit AES keys are not supported"
327 } 327 }
328 ] 328 ]
OLDNEW
« no previous file with comments | « components/components_tests.gyp ('k') | components/test/data/webcrypto/aes_ctr.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698