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

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: 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
OLDNEW
1 CONSOLE ERROR: Algorithm: AES-CBC: AesCbcParams: iv: Missing or not a ArrayBuffe rView 1 CONSOLE ERROR: Algorithm: AES-CBC: AesCbcParams: iv: Missing or not a ArrayBuffe rView
2 CONSOLE ERROR: Algorithm: AES-CBC: AesCbcParams: iv: Missing or not a ArrayBuffe rView 2 CONSOLE ERROR: Algorithm: AES-CBC: AesCbcParams: iv: Missing or not a ArrayBuffe rView
3 CONSOLE ERROR: Algorithm: AES-CBC: AesCbcParams: iv: Missing or not a ArrayBuffe rView 3 CONSOLE ERROR: Algorithm: AES-CBC: AesCbcParams: iv: Missing or not a ArrayBuffe rView
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: Missing or not a Uint8 Array 5 CONSOLE ERROR: Algorithm: AES-CTR: AesCtrParams: counter: Missing or not a Uint8 Array
6 CONSOLE ERROR: Algorithm: AES-CTR: AesCtrParams: counter: Missing or not a Uint8 Array 6 CONSOLE ERROR: Algorithm: AES-CTR: AesCtrParams: counter: Missing or not a Uint8 Array
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 11 matching lines...) Expand all
22 PASS: Failed to import key of length 15 bytes 22 PASS: Failed to import key of length 15 bytes
23 PASS: Failed to import key of length 17 bytes 23 PASS: Failed to import key of length 17 bytes
24 PASS: Failed to import key of length 31 bytes 24 PASS: Failed to import key of length 31 bytes
25 PASS: Failed to import key of length 33 bytes 25 PASS: Failed to import key of length 33 bytes
26 PASS: Failed to import key of length 23 bytes 26 PASS: Failed to import key of length 23 bytes
27 PASS: Failed to import key of length 25 bytes 27 PASS: Failed to import key of length 25 bytes
28 PASS: Failed to import key of length 64 bytes 28 PASS: Failed to import key of length 64 bytes
29 PASS tmpKey.type is 'secret' 29 PASS tmpKey.type is 'secret'
30 PASS tmpKey.extractable is false 30 PASS tmpKey.extractable is false
31 PASS tmpKey.algorithm.name is 'AES-CBC' 31 PASS tmpKey.algorithm.name is 'AES-CBC'
32 PASS tmpKey.algorithm.length is 128
32 PASS tmpKey.usages.join(',') is 'decrypt,encrypt' 33 PASS tmpKey.usages.join(',') is 'decrypt,encrypt'
33 PASS tmpKey.type is 'secret' 34 PASS tmpKey.type is 'secret'
34 PASS tmpKey.extractable is false 35 PASS tmpKey.extractable is false
35 PASS tmpKey.algorithm.name is 'AES-CBC' 36 PASS tmpKey.algorithm.name is 'AES-CBC'
37 PASS tmpKey.algorithm.length is 192
36 PASS tmpKey.usages.join(',') is 'decrypt,encrypt' 38 PASS tmpKey.usages.join(',') is 'decrypt,encrypt'
37 PASS tmpKey.type is 'secret' 39 PASS tmpKey.type is 'secret'
38 PASS tmpKey.extractable is false 40 PASS tmpKey.extractable is false
39 PASS tmpKey.algorithm.name is 'AES-CBC' 41 PASS tmpKey.algorithm.name is 'AES-CBC'
42 PASS tmpKey.algorithm.length is 256
40 PASS tmpKey.usages.join(',') is 'decrypt,encrypt' 43 PASS tmpKey.usages.join(',') is 'decrypt,encrypt'
41 PASS tmpKey.type is 'secret' 44 PASS tmpKey.type is 'secret'
42 PASS tmpKey.extractable is false 45 PASS tmpKey.extractable is false
43 PASS tmpKey.algorithm.name is 'AES-CBC' 46 PASS tmpKey.algorithm.name is 'AES-CBC'
47 PASS tmpKey.algorithm.length is 128
44 PASS tmpKey.usages.join(',') is 'decrypt,encrypt' 48 PASS tmpKey.usages.join(',') is 'decrypt,encrypt'
45 PASS: Encryption should be [7649abac8119b246cee98e9b12e9197d5086cb9b507219ee95db 113a917678b273bed6b8e3c1743b7116e69e222295163ff1caa1681fac09120eca307586e1a78cb8 2807230e1321d3fae00d18cc2012] and was 49 PASS: Encryption should be [7649abac8119b246cee98e9b12e9197d5086cb9b507219ee95db 113a917678b273bed6b8e3c1743b7116e69e222295163ff1caa1681fac09120eca307586e1a78cb8 2807230e1321d3fae00d18cc2012] and was
46 PASS: Encryption should be [4f021db243bc633d7178183a9fa071e8b4d9ada9ad7dedf4e5e7 38763f69145a571b242012fb7ae07fa9baac3df102e0288c6f9ec554652e50ab55e121f099ae] an d was 50 PASS: Encryption should be [4f021db243bc633d7178183a9fa071e8b4d9ada9ad7dedf4e5e7 38763f69145a571b242012fb7ae07fa9baac3df102e0288c6f9ec554652e50ab55e121f099ae] an d was
47 PASS: Encryption should be [f58c4c04d6e5f1ba779eabfb5f7bfbd69cfc4e967edb808d679f 777bc6702c7d39f23369a9d9bacfa530e26304231461c9aaf02a6a54e9e242ccbf48c59daca6] an d was 51 PASS: Encryption should be [f58c4c04d6e5f1ba779eabfb5f7bfbd69cfc4e967edb808d679f 777bc6702c7d39f23369a9d9bacfa530e26304231461c9aaf02a6a54e9e242ccbf48c59daca6] an d was
48 PASS: Encryption should be [8518b8878d34e7185e300d0fcc426396] and was 52 PASS: Encryption should be [8518b8878d34e7185e300d0fcc426396] and was
49 PASS: Decryption succeeded 53 PASS: Decryption succeeded
50 PASS: decrypting failed. ciphertext length: 0 54 PASS: decrypting failed. ciphertext length: 0
51 PASS: decrypting failed. ciphertext length: 79 55 PASS: decrypting failed. ciphertext length: 79
52 PASS: decrypting failed. ciphertext length: 64 56 PASS: decrypting failed. ciphertext length: 64
53 PASS: decrypting failed. ciphertext length: 1 57 PASS: decrypting failed. ciphertext length: 1
(...skipping 16 matching lines...) Expand all
70 PASS: 'crypto.subtle.encrypt({name: 'AES-CTR', counter: new Uint8Array(16), leng th: 18}, keys.aesCtr, data)' rejected with null 74 PASS: 'crypto.subtle.encrypt({name: 'AES-CTR', counter: new Uint8Array(16), leng th: 18}, keys.aesCtr, data)' rejected with null
71 PASS: 'crypto.subtle.encrypt({name: 'AES-CTR', counter: new Uint8Array(16), leng th: 256}, keys.aesCtr, data)' rejected with null 75 PASS: 'crypto.subtle.encrypt({name: 'AES-CTR', counter: new Uint8Array(16), leng th: 256}, keys.aesCtr, data)' rejected with null
72 PASS: 'crypto.subtle.encrypt({name: 'AES-CTR', counter: new Uint8Array(16), leng th: -3}, keys.aesCtr, data)' rejected with null 76 PASS: 'crypto.subtle.encrypt({name: 'AES-CTR', counter: new Uint8Array(16), leng th: -3}, keys.aesCtr, data)' rejected with null
73 PASS: 'crypto.subtle.encrypt({name: 'AES-CTR', counter: new Uint8Array(16), leng th: Infinity}, keys.aesCtr, data)' rejected with null 77 PASS: 'crypto.subtle.encrypt({name: 'AES-CTR', counter: new Uint8Array(16), leng th: Infinity}, keys.aesCtr, data)' rejected with null
74 PASS: 'crypto.subtle.encrypt(aesCbc, keys.hmacSha1, data)' rejected with null 78 PASS: 'crypto.subtle.encrypt(aesCbc, keys.hmacSha1, data)' rejected with null
75 PASS: 'crypto.subtle.encrypt(aesCbc, keys.aesCbcJustDecrypt, data)' rejected wit h null 79 PASS: 'crypto.subtle.encrypt(aesCbc, keys.aesCbcJustDecrypt, data)' rejected wit h null
76 PASS successfullyParsed is true 80 PASS successfullyParsed is true
77 81
78 TEST COMPLETE 82 TEST COMPLETE
79 83
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698