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

Side by Side Diff: LayoutTests/crypto/encrypt-decrypt-expected.txt

Issue 194323002: [webcrypto] Change the order of usages in Key.usages. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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 | « LayoutTests/crypto/encrypt-decrypt.html ('k') | Source/modules/crypto/Key.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 CONSOLE ERROR: Algorithm: AES-CBC: AesCbcParams: iv: Not an ArrayBufferView 1 CONSOLE ERROR: Algorithm: AES-CBC: AesCbcParams: iv: Not an ArrayBufferView
2 CONSOLE ERROR: Algorithm: AES-CBC: AesCbcParams: iv: Missing required property 2 CONSOLE ERROR: Algorithm: AES-CBC: AesCbcParams: iv: Missing required property
3 CONSOLE ERROR: Algorithm: AES-CBC: AesCbcParams: iv: Not an ArrayBufferView 3 CONSOLE ERROR: Algorithm: AES-CBC: AesCbcParams: iv: Not an ArrayBufferView
4 CONSOLE ERROR: Algorithm: AES-CBC: AesCbcParams: iv: Must be 16 bytes 4 CONSOLE ERROR: Algorithm: AES-CBC: AesCbcParams: iv: Must be 16 bytes
5 CONSOLE ERROR: Algorithm: AES-CTR: AesCtrParams: counter: Not an ArrayBufferView 5 CONSOLE ERROR: Algorithm: AES-CTR: AesCtrParams: counter: Not an ArrayBufferView
6 CONSOLE ERROR: Algorithm: AES-CTR: AesCtrParams: counter: Missing required prope rty 6 CONSOLE ERROR: Algorithm: AES-CTR: AesCtrParams: counter: Missing required prope rty
7 CONSOLE ERROR: Algorithm: AES-CTR: AesCtrParams: length: Missing required proper ty 7 CONSOLE ERROR: Algorithm: AES-CTR: AesCtrParams: length: Missing required proper ty
8 CONSOLE ERROR: key.algorithm does not match that of operation 8 CONSOLE ERROR: key.algorithm does not match that of operation
9 CONSOLE ERROR: key.algorithm does not match that of operation 9 CONSOLE ERROR: key.algorithm does not match that of operation
10 CONSOLE ERROR: Algorithm: AES-CTR: AesCtrParams: length: Outside of numeric rang e 10 CONSOLE ERROR: Algorithm: AES-CTR: AesCtrParams: length: Outside of numeric rang e
(...skipping 19 matching lines...) Expand all
30 PASS: Failed to import key of length 17 bytes 30 PASS: Failed to import key of length 17 bytes
31 PASS: Failed to import key of length 31 bytes 31 PASS: Failed to import key of length 31 bytes
32 PASS: Failed to import key of length 33 bytes 32 PASS: Failed to import key of length 33 bytes
33 PASS: Failed to import key of length 23 bytes 33 PASS: Failed to import key of length 23 bytes
34 PASS: Failed to import key of length 25 bytes 34 PASS: Failed to import key of length 25 bytes
35 PASS: Failed to import key of length 64 bytes 35 PASS: Failed to import key of length 64 bytes
36 PASS tmpKey.type is 'secret' 36 PASS tmpKey.type is 'secret'
37 PASS tmpKey.extractable is false 37 PASS tmpKey.extractable is false
38 PASS tmpKey.algorithm.name is 'AES-CBC' 38 PASS tmpKey.algorithm.name is 'AES-CBC'
39 PASS tmpKey.algorithm.length is 128 39 PASS tmpKey.algorithm.length is 128
40 PASS tmpKey.usages.join(',') is 'decrypt,encrypt' 40 PASS tmpKey.usages.join(',') is 'encrypt,decrypt'
41 PASS tmpKey.type is 'secret' 41 PASS tmpKey.type is 'secret'
42 PASS tmpKey.extractable is false 42 PASS tmpKey.extractable is false
43 PASS tmpKey.algorithm.name is 'AES-CBC' 43 PASS tmpKey.algorithm.name is 'AES-CBC'
44 PASS tmpKey.algorithm.length is 192 44 PASS tmpKey.algorithm.length is 192
45 PASS tmpKey.usages.join(',') is 'decrypt,encrypt' 45 PASS tmpKey.usages.join(',') is 'encrypt,decrypt'
46 PASS tmpKey.type is 'secret' 46 PASS tmpKey.type is 'secret'
47 PASS tmpKey.extractable is false 47 PASS tmpKey.extractable is false
48 PASS tmpKey.algorithm.name is 'AES-CBC' 48 PASS tmpKey.algorithm.name is 'AES-CBC'
49 PASS tmpKey.algorithm.length is 256 49 PASS tmpKey.algorithm.length is 256
50 PASS tmpKey.usages.join(',') is 'decrypt,encrypt' 50 PASS tmpKey.usages.join(',') is 'encrypt,decrypt'
51 PASS tmpKey.type is 'secret' 51 PASS tmpKey.type is 'secret'
52 PASS tmpKey.extractable is false 52 PASS tmpKey.extractable is false
53 PASS tmpKey.algorithm.name is 'AES-CBC' 53 PASS tmpKey.algorithm.name is 'AES-CBC'
54 PASS tmpKey.algorithm.length is 128 54 PASS tmpKey.algorithm.length is 128
55 PASS tmpKey.usages.join(',') is 'decrypt,encrypt' 55 PASS tmpKey.usages.join(',') is 'encrypt,decrypt'
56 PASS tmpKey.type is 'secret' 56 PASS tmpKey.type is 'secret'
57 PASS tmpKey.extractable is false 57 PASS tmpKey.extractable is false
58 PASS tmpKey.algorithm.name is 'AES-GCM' 58 PASS tmpKey.algorithm.name is 'AES-GCM'
59 PASS tmpKey.usages.join(',') is 'decrypt,encrypt' 59 PASS tmpKey.usages.join(',') is 'encrypt,decrypt'
60 PASS tmpKey.type is 'secret' 60 PASS tmpKey.type is 'secret'
61 PASS tmpKey.extractable is false 61 PASS tmpKey.extractable is false
62 PASS tmpKey.algorithm.name is 'AES-GCM' 62 PASS tmpKey.algorithm.name is 'AES-GCM'
63 PASS tmpKey.usages.join(',') is 'decrypt,encrypt' 63 PASS tmpKey.usages.join(',') is 'encrypt,decrypt'
64 PASS tmpKey.type is 'secret' 64 PASS tmpKey.type is 'secret'
65 PASS tmpKey.extractable is false 65 PASS tmpKey.extractable is false
66 PASS tmpKey.algorithm.name is 'AES-GCM' 66 PASS tmpKey.algorithm.name is 'AES-GCM'
67 PASS tmpKey.usages.join(',') is 'decrypt,encrypt' 67 PASS tmpKey.usages.join(',') is 'encrypt,decrypt'
68 PASS tmpKey.type is 'secret' 68 PASS tmpKey.type is 'secret'
69 PASS tmpKey.extractable is false 69 PASS tmpKey.extractable is false
70 PASS tmpKey.algorithm.name is 'AES-GCM' 70 PASS tmpKey.algorithm.name is 'AES-GCM'
71 PASS tmpKey.usages.join(',') is 'decrypt,encrypt' 71 PASS tmpKey.usages.join(',') is 'encrypt,decrypt'
72 PASS: Encryption should be [7649abac8119b246cee98e9b12e9197d5086cb9b507219ee95db 113a917678b273bed6b8e3c1743b7116e69e222295163ff1caa1681fac09120eca307586e1a78cb8 2807230e1321d3fae00d18cc2012] and was 72 PASS: Encryption should be [7649abac8119b246cee98e9b12e9197d5086cb9b507219ee95db 113a917678b273bed6b8e3c1743b7116e69e222295163ff1caa1681fac09120eca307586e1a78cb8 2807230e1321d3fae00d18cc2012] and was
73 PASS: Encryption should be [4f021db243bc633d7178183a9fa071e8b4d9ada9ad7dedf4e5e7 38763f69145a571b242012fb7ae07fa9baac3df102e0288c6f9ec554652e50ab55e121f099ae] an d was 73 PASS: Encryption should be [4f021db243bc633d7178183a9fa071e8b4d9ada9ad7dedf4e5e7 38763f69145a571b242012fb7ae07fa9baac3df102e0288c6f9ec554652e50ab55e121f099ae] an d was
74 PASS: Encryption should be [f58c4c04d6e5f1ba779eabfb5f7bfbd69cfc4e967edb808d679f 777bc6702c7d39f23369a9d9bacfa530e26304231461c9aaf02a6a54e9e242ccbf48c59daca6] an d was 74 PASS: Encryption should be [f58c4c04d6e5f1ba779eabfb5f7bfbd69cfc4e967edb808d679f 777bc6702c7d39f23369a9d9bacfa530e26304231461c9aaf02a6a54e9e242ccbf48c59daca6] an d was
75 PASS: Encryption should be [8518b8878d34e7185e300d0fcc426396] and was 75 PASS: Encryption should be [8518b8878d34e7185e300d0fcc426396] and was
76 PASS: Encryption should be [72ac8493e3a5228b5d130a69d2510e42] and was 76 PASS: Encryption should be [72ac8493e3a5228b5d130a69d2510e42] and was
77 PASS: Encryption should be [751f3098d59cf4ea1d2fb0853bde1c] and was 77 PASS: Encryption should be [751f3098d59cf4ea1d2fb0853bde1c] and was
78 PASS: Encryption should be [bdd2ed6c66fa087dce617d7fd1ff6d93ba82e49c55a22ed02ca6 7da4ec6f] and was 78 PASS: Encryption should be [bdd2ed6c66fa087dce617d7fd1ff6d93ba82e49c55a22ed02ca6 7da4ec6f] and was
79 PASS: Encryption should be [c4489fa64a6edf80e7e6a3b8855bc37c772ee7de0f91a981c36c 93a35c88] and was 79 PASS: Encryption should be [c4489fa64a6edf80e7e6a3b8855bc37c772ee7de0f91a981c36c 93a35c88] and was
80 PASS: Decryption succeeded 80 PASS: Decryption succeeded
81 PASS: decrypting failed. ciphertext length: 0 81 PASS: decrypting failed. ciphertext length: 0
(...skipping 30 matching lines...) Expand all
112 PASS: 'crypto.subtle.encrypt({name: 'AES-gcm', iv: new Uint8Array(16), additiona lData: '5'}, keys.aesGcm, data)' rejected with null 112 PASS: 'crypto.subtle.encrypt({name: 'AES-gcm', iv: new Uint8Array(16), additiona lData: '5'}, keys.aesGcm, data)' rejected with null
113 PASS: 'crypto.subtle.encrypt({name: 'AES-gcm', iv: new Uint8Array(16), additiona lData: new Uint8Array(1), tagLength: 'foo'}, keys.aesGcm, data)' rejected with n ull 113 PASS: 'crypto.subtle.encrypt({name: 'AES-gcm', iv: new Uint8Array(16), additiona lData: new Uint8Array(1), tagLength: 'foo'}, keys.aesGcm, data)' rejected with n ull
114 PASS: 'crypto.subtle.encrypt({name: 'AES-gcm', iv: new Uint8Array(16), additiona lData: new Uint8Array(1), tagLength: -1}, keys.aesGcm, data)' rejected with null 114 PASS: 'crypto.subtle.encrypt({name: 'AES-gcm', iv: new Uint8Array(16), additiona lData: new Uint8Array(1), tagLength: -1}, keys.aesGcm, data)' rejected with null
115 PASS: 'crypto.subtle.encrypt({name: 'AES-gcm', iv: new Uint8Array(16), additiona lData: new Uint8Array(1), tagLength: 8000}, keys.aesGcm, data)' rejected with nu ll 115 PASS: 'crypto.subtle.encrypt({name: 'AES-gcm', iv: new Uint8Array(16), additiona lData: new Uint8Array(1), tagLength: 8000}, keys.aesGcm, data)' rejected with nu ll
116 PASS: 'crypto.subtle.encrypt(aesCbc, keys.hmacSha1, data)' rejected with null 116 PASS: 'crypto.subtle.encrypt(aesCbc, keys.hmacSha1, data)' rejected with null
117 PASS: 'crypto.subtle.encrypt(aesCbc, keys.aesCbcJustDecrypt, data)' rejected wit h null 117 PASS: 'crypto.subtle.encrypt(aesCbc, keys.aesCbcJustDecrypt, data)' rejected wit h null
118 PASS successfullyParsed is true 118 PASS successfullyParsed is true
119 119
120 TEST COMPLETE 120 TEST COMPLETE
121 121
OLDNEW
« no previous file with comments | « LayoutTests/crypto/encrypt-decrypt.html ('k') | Source/modules/crypto/Key.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698