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

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

Issue 179353002: [webcrypto] Add the KeyAlgorithm interface. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase yet again (another conflict) Created 6 years, 10 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') | LayoutTests/crypto/exportKey.html » ('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 18 matching lines...) Expand all
29 PASS: Failed to import key of length 15 bytes 29 PASS: Failed to import key of length 15 bytes
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.usages.join(',') is 'decrypt,encrypt' 40 PASS tmpKey.usages.join(',') is 'decrypt,encrypt'
40 PASS tmpKey.type is 'secret' 41 PASS tmpKey.type is 'secret'
41 PASS tmpKey.extractable is false 42 PASS tmpKey.extractable is false
42 PASS tmpKey.algorithm.name is 'AES-CBC' 43 PASS tmpKey.algorithm.name is 'AES-CBC'
44 PASS tmpKey.algorithm.length is 192
43 PASS tmpKey.usages.join(',') is 'decrypt,encrypt' 45 PASS tmpKey.usages.join(',') is 'decrypt,encrypt'
44 PASS tmpKey.type is 'secret' 46 PASS tmpKey.type is 'secret'
45 PASS tmpKey.extractable is false 47 PASS tmpKey.extractable is false
46 PASS tmpKey.algorithm.name is 'AES-CBC' 48 PASS tmpKey.algorithm.name is 'AES-CBC'
49 PASS tmpKey.algorithm.length is 256
47 PASS tmpKey.usages.join(',') is 'decrypt,encrypt' 50 PASS tmpKey.usages.join(',') is 'decrypt,encrypt'
48 PASS tmpKey.type is 'secret' 51 PASS tmpKey.type is 'secret'
49 PASS tmpKey.extractable is false 52 PASS tmpKey.extractable is false
50 PASS tmpKey.algorithm.name is 'AES-CBC' 53 PASS tmpKey.algorithm.name is 'AES-CBC'
54 PASS tmpKey.algorithm.length is 128
51 PASS tmpKey.usages.join(',') is 'decrypt,encrypt' 55 PASS tmpKey.usages.join(',') is 'decrypt,encrypt'
52 PASS tmpKey.type is 'secret' 56 PASS tmpKey.type is 'secret'
53 PASS tmpKey.extractable is false 57 PASS tmpKey.extractable is false
54 PASS tmpKey.algorithm.name is 'AES-GCM' 58 PASS tmpKey.algorithm.name is 'AES-GCM'
55 PASS tmpKey.usages.join(',') is 'decrypt,encrypt' 59 PASS tmpKey.usages.join(',') is 'decrypt,encrypt'
56 PASS tmpKey.type is 'secret' 60 PASS tmpKey.type is 'secret'
57 PASS tmpKey.extractable is false 61 PASS tmpKey.extractable is false
58 PASS tmpKey.algorithm.name is 'AES-GCM' 62 PASS tmpKey.algorithm.name is 'AES-GCM'
59 PASS tmpKey.usages.join(',') is 'decrypt,encrypt' 63 PASS tmpKey.usages.join(',') is 'decrypt,encrypt'
60 PASS tmpKey.type is 'secret' 64 PASS tmpKey.type is 'secret'
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 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
109 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
110 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
111 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
112 PASS: 'crypto.subtle.encrypt(aesCbc, keys.hmacSha1, data)' rejected with null 116 PASS: 'crypto.subtle.encrypt(aesCbc, keys.hmacSha1, data)' rejected with null
113 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
114 PASS successfullyParsed is true 118 PASS successfullyParsed is true
115 119
116 TEST COMPLETE 120 TEST COMPLETE
117 121
OLDNEW
« no previous file with comments | « LayoutTests/crypto/encrypt-decrypt.html ('k') | LayoutTests/crypto/exportKey.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698