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

Side by Side Diff: LayoutTests/crypto/generateKey-expected.txt

Issue 184453005: [webcrypto] Change HMAC key generation length from bytes to bits. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add rebased tests 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/generateKey.html ('k') | Source/modules/crypto/NormalizeAlgorithm.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: Invalid keyUsages argument 1 CONSOLE ERROR: Invalid keyUsages argument
2 CONSOLE ERROR: Algorithm: AES-CBC: AesKeyGenParams: length: Missing required pro perty 2 CONSOLE ERROR: Algorithm: AES-CBC: AesKeyGenParams: length: Missing required pro perty
3 CONSOLE ERROR: Algorithm: AES-CBC: AesKeyGenParams: length: Outside of numeric r ange 3 CONSOLE ERROR: Algorithm: AES-CBC: AesKeyGenParams: length: Outside of numeric r ange
4 CONSOLE ERROR: Algorithm: AES-CBC: AesKeyGenParams: length: Outside of numeric r ange 4 CONSOLE ERROR: Algorithm: AES-CBC: AesKeyGenParams: length: Outside of numeric r ange
5 CONSOLE ERROR: Algorithm: AES-CBC: AesKeyGenParams: length: Outside of numeric r ange 5 CONSOLE ERROR: Algorithm: AES-CBC: AesKeyGenParams: length: Outside of numeric r ange
6 CONSOLE ERROR: Algorithm: AES-CTR: AesKeyGenParams: length: Missing required pro perty 6 CONSOLE ERROR: Algorithm: AES-CTR: AesKeyGenParams: length: Missing required pro perty
7 CONSOLE ERROR: Algorithm: AES-CTR: AesKeyGenParams: length: Outside of numeric r ange 7 CONSOLE ERROR: Algorithm: AES-CTR: AesKeyGenParams: length: Outside of numeric r ange
8 CONSOLE ERROR: Algorithm: AES-CTR: AesKeyGenParams: length: Outside of numeric r ange 8 CONSOLE ERROR: Algorithm: AES-CTR: AesKeyGenParams: length: Outside of numeric r ange
9 CONSOLE ERROR: Algorithm: AES-CTR: AesKeyGenParams: length: Outside of numeric r ange 9 CONSOLE ERROR: Algorithm: AES-CTR: AesKeyGenParams: length: Outside of numeric r ange
10 CONSOLE ERROR: Algorithm: AES-KW: AesKeyGenParams: length: Missing required prop erty 10 CONSOLE ERROR: Algorithm: AES-KW: AesKeyGenParams: length: Missing required prop erty
11 CONSOLE ERROR: Algorithm: AES-KW: AesKeyGenParams: length: Outside of numeric ra nge 11 CONSOLE ERROR: Algorithm: AES-KW: AesKeyGenParams: length: Outside of numeric ra nge
12 CONSOLE ERROR: Algorithm: AES-KW: AesKeyGenParams: length: Outside of numeric ra nge 12 CONSOLE ERROR: Algorithm: AES-KW: AesKeyGenParams: length: Outside of numeric ra nge
13 CONSOLE ERROR: Algorithm: AES-KW: AesKeyGenParams: length: Outside of numeric ra nge 13 CONSOLE ERROR: Algorithm: AES-KW: AesKeyGenParams: length: Outside of numeric ra nge
14 CONSOLE ERROR: Algorithm: HMAC: HmacKeyGenParams: length: Outside of numeric ran ge 14 CONSOLE ERROR: Algorithm: HMAC: HmacKeyGenParams: length: Outside of numeric ran ge
15 CONSOLE ERROR: Algorithm: HMAC: HmacKeyGenParams: hash: Algorithm: Unrecognized algorithm name 15 CONSOLE ERROR: Algorithm: HMAC: HmacKeyGenParams: hash: Algorithm: Unrecognized algorithm name
16 CONSOLE ERROR: Algorithm: HMAC: HmacKeyGenParams: length: Outside of numeric ran ge 16 CONSOLE ERROR: Algorithm: HMAC: HmacKeyGenParams: length: Outside of numeric ran ge
17 CONSOLE ERROR: Algorithm: HMAC: HmacKeyGenParams: length: Is not a number 17 CONSOLE ERROR: Algorithm: HMAC: HmacKeyGenParams: length: Is not a number
18 CONSOLE ERROR: Algorithm: HMAC: HmacKeyGenParams: length: Outside of numeric ran ge 18 CONSOLE ERROR: Algorithm: HMAC: HmacKeyGenParams: length: Outside of numeric ran ge
19 CONSOLE ERROR: Algorithm: HMAC: HmacKeyGenParams: length: Outside of numeric ran ge 19 CONSOLE ERROR: Algorithm: HMAC: HmacKeyGenParams: length: Outside of numeric ran ge
20 CONSOLE ERROR: Algorithm: HMAC: HmacKeyGenParams: length: Is not a number 20 CONSOLE ERROR: Algorithm: HMAC: HmacKeyGenParams: length: Is not a number
21 CONSOLE ERROR: Algorithm: HMAC: HmacKeyGenParams: length: Is not a number 21 CONSOLE ERROR: Algorithm: HMAC: HmacKeyGenParams: length: Is not a number
22 CONSOLE ERROR: Invalid key length: it is either zero or not a multiple of 8 bits 22 CONSOLE ERROR: Invalid key length: it is either zero or not a multiple of 8 bits
23 CONSOLE ERROR: Invalid key length: it is either zero or not a multiple of 8 bits
23 CONSOLE ERROR: Algorithm: RSASSA-PKCS1-v1_5: RsaHashedKeyGenParams: modulusLengt h: Outside of numeric range 24 CONSOLE ERROR: Algorithm: RSASSA-PKCS1-v1_5: RsaHashedKeyGenParams: modulusLengt h: Outside of numeric range
24 CONSOLE ERROR: Algorithm: RSASSA-PKCS1-v1_5: RsaHashedKeyGenParams: modulusLengt h: Is not a number 25 CONSOLE ERROR: Algorithm: RSASSA-PKCS1-v1_5: RsaHashedKeyGenParams: modulusLengt h: Is not a number
25 CONSOLE ERROR: Algorithm: RSASSA-PKCS1-v1_5: RsaHashedKeyGenParams: modulusLengt h: Missing required property 26 CONSOLE ERROR: Algorithm: RSASSA-PKCS1-v1_5: RsaHashedKeyGenParams: modulusLengt h: Missing required property
26 CONSOLE ERROR: Algorithm: RSASSA-PKCS1-v1_5: RsaHashedKeyGenParams: publicExpone nt: Missing or not a Uint8Array 27 CONSOLE ERROR: Algorithm: RSASSA-PKCS1-v1_5: RsaHashedKeyGenParams: publicExpone nt: Missing or not a Uint8Array
27 CONSOLE ERROR: Algorithm: RSASSA-PKCS1-v1_5: RsaHashedKeyGenParams: publicExpone nt: Missing or not a Uint8Array 28 CONSOLE ERROR: Algorithm: RSASSA-PKCS1-v1_5: RsaHashedKeyGenParams: publicExpone nt: Missing or not a Uint8Array
28 CONSOLE ERROR: Algorithm: RSASSA-PKCS1-v1_5: RsaHashedKeyGenParams: publicExpone nt: Missing or not a Uint8Array 29 CONSOLE ERROR: Algorithm: RSASSA-PKCS1-v1_5: RsaHashedKeyGenParams: publicExpone nt: Missing or not a Uint8Array
29 CONSOLE ERROR: Algorithm: RSAES-PKCS1-v1_5: RsaKeyGenParams: modulusLength: Outs ide of numeric range 30 CONSOLE ERROR: Algorithm: RSAES-PKCS1-v1_5: RsaKeyGenParams: modulusLength: Outs ide of numeric range
30 CONSOLE ERROR: Algorithm: RSAES-PKCS1-v1_5: RsaKeyGenParams: modulusLength: Is n ot a number 31 CONSOLE ERROR: Algorithm: RSAES-PKCS1-v1_5: RsaKeyGenParams: modulusLength: Is n ot a number
31 CONSOLE ERROR: Algorithm: RSAES-PKCS1-v1_5: RsaKeyGenParams: modulusLength: Miss ing required property 32 CONSOLE ERROR: Algorithm: RSAES-PKCS1-v1_5: RsaKeyGenParams: modulusLength: Miss ing required property
32 CONSOLE ERROR: Algorithm: RSAES-PKCS1-v1_5: RsaKeyGenParams: publicExponent: Mis sing or not a Uint8Array 33 CONSOLE ERROR: Algorithm: RSAES-PKCS1-v1_5: RsaKeyGenParams: publicExponent: Mis sing or not a Uint8Array
(...skipping 21 matching lines...) Expand all
54 PASS: 'crypto.subtle.generateKey({ name: 'aes-kw', length: -Infinity }, extracta ble, keyUsages)' rejected with null 55 PASS: 'crypto.subtle.generateKey({ name: 'aes-kw', length: -Infinity }, extracta ble, keyUsages)' rejected with null
55 PASS: 'crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length: -3}, extractable , keyUsages)' rejected with null 56 PASS: 'crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length: -3}, extractable , keyUsages)' rejected with null
56 PASS: 'crypto.subtle.generateKey({name: 'hmac', hash: {name: ''}, length: 48}, e xtractable , keyUsages)' rejected with null 57 PASS: 'crypto.subtle.generateKey({name: 'hmac', hash: {name: ''}, length: 48}, e xtractable , keyUsages)' rejected with null
57 PASS: 'crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length: 5000000000}, extractable , keyUsages)' rejected with null 58 PASS: 'crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length: 5000000000}, extractable , keyUsages)' rejected with null
58 PASS: 'crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length: NaN}, extractable , keyUsages)' rejected with null 59 PASS: 'crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length: NaN}, extractable , keyUsages)' rejected with null
59 PASS: 'crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length: Infinity}, extractable , keyUsages)' rejected with null 60 PASS: 'crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length: Infinity}, extractable , keyUsages)' rejected with null
60 PASS: 'crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length: -Infinity}, extractable , keyUsages)' rejected with null 61 PASS: 'crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length: -Infinity}, extractable , keyUsages)' rejected with null
61 PASS: 'crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length: crypto}, extractable , keyUsages)' rejected with null 62 PASS: 'crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length: crypto}, extractable , keyUsages)' rejected with null
62 PASS: 'crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length: undefined}, extractable , keyUsages)' rejected with null 63 PASS: 'crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length: undefined}, extractable , keyUsages)' rejected with null
63 PASS: 'crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length: null}, extractable , keyUsages)' rejected with null 64 PASS: 'crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length: null}, extractable , keyUsages)' rejected with null
65 PASS: 'crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length: true}, extractable , keyUsages)' rejected with null
64 PASS: 'crypto.subtle.generateKey({name: 'RSASSA-PKCS1-v1_5', modulusLength: -30} , extractable , keyUsages)' rejected with null 66 PASS: 'crypto.subtle.generateKey({name: 'RSASSA-PKCS1-v1_5', modulusLength: -30} , extractable , keyUsages)' rejected with null
65 PASS: 'crypto.subtle.generateKey({name: 'RSASSA-PKCS1-v1_5', modulusLength: NaN} , extractable , keyUsages)' rejected with null 67 PASS: 'crypto.subtle.generateKey({name: 'RSASSA-PKCS1-v1_5', modulusLength: NaN} , extractable , keyUsages)' rejected with null
66 PASS: 'crypto.subtle.generateKey({name: 'RSASSA-PKCS1-v1_5'}, extractable , keyU sages)' rejected with null 68 PASS: 'crypto.subtle.generateKey({name: 'RSASSA-PKCS1-v1_5'}, extractable , keyU sages)' rejected with null
67 PASS: 'crypto.subtle.generateKey({name: 'RSASSA-PKCS1-v1_5', modulusLength: 10}, extractable , keyUsages)' rejected with null 69 PASS: 'crypto.subtle.generateKey({name: 'RSASSA-PKCS1-v1_5', modulusLength: 10}, extractable , keyUsages)' rejected with null
68 PASS: 'crypto.subtle.generateKey({name: 'RSASSA-PKCS1-v1_5', modulusLength: 10, publicExponent: 10}, extractable , keyUsages)' rejected with null 70 PASS: 'crypto.subtle.generateKey({name: 'RSASSA-PKCS1-v1_5', modulusLength: 10, publicExponent: 10}, extractable , keyUsages)' rejected with null
69 PASS: 'crypto.subtle.generateKey({name: 'RSASSA-PKCS1-v1_5', modulusLength: 10, publicExponent: null}, extractable , keyUsages)' rejected with null 71 PASS: 'crypto.subtle.generateKey({name: 'RSASSA-PKCS1-v1_5', modulusLength: 10, publicExponent: null}, extractable , keyUsages)' rejected with null
70 PASS: 'crypto.subtle.generateKey({name: 'RSAES-PKCS1-v1_5', modulusLength: -30}, extractable , keyUsages)' rejected with null 72 PASS: 'crypto.subtle.generateKey({name: 'RSAES-PKCS1-v1_5', modulusLength: -30}, extractable , keyUsages)' rejected with null
71 PASS: 'crypto.subtle.generateKey({name: 'RSAES-PKCS1-v1_5', modulusLength: NaN}, extractable , keyUsages)' rejected with null 73 PASS: 'crypto.subtle.generateKey({name: 'RSAES-PKCS1-v1_5', modulusLength: NaN}, extractable , keyUsages)' rejected with null
72 PASS: 'crypto.subtle.generateKey({name: 'RSAES-PKCS1-v1_5'}, extractable , keyUs ages)' rejected with null 74 PASS: 'crypto.subtle.generateKey({name: 'RSAES-PKCS1-v1_5'}, extractable , keyUs ages)' rejected with null
73 PASS: 'crypto.subtle.generateKey({name: 'RSAES-PKCS1-v1_5', modulusLength: 10}, extractable , keyUsages)' rejected with null 75 PASS: 'crypto.subtle.generateKey({name: 'RSAES-PKCS1-v1_5', modulusLength: 10}, extractable , keyUsages)' rejected with null
74 PASS: 'crypto.subtle.generateKey({name: 'RSAES-PKCS1-v1_5', modulusLength: 10, p ublicExponent: 10}, extractable , keyUsages)' rejected with null 76 PASS: 'crypto.subtle.generateKey({name: 'RSAES-PKCS1-v1_5', modulusLength: 10, p ublicExponent: 10}, extractable , keyUsages)' rejected with null
75 PASS: 'crypto.subtle.generateKey({name: 'RSAES-PKCS1-v1_5', modulusLength: 10, p ublicExponent: null}, extractable , keyUsages)' rejected with null 77 PASS: 'crypto.subtle.generateKey({name: 'RSAES-PKCS1-v1_5', modulusLength: 10, p ublicExponent: null}, extractable , keyUsages)' rejected with null
76 PASS: 'crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length: '48'}, extractable , keyUsages)' accepted with [object Key] 78 PASS: 'crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length: '48'}, extractable , keyUsages)' accepted with [object Key]
77 PASS: 'crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length: true}, extractable , keyUsages)' accepted with [object Key]
78 PASS successfullyParsed is true 79 PASS successfullyParsed is true
79 80
80 TEST COMPLETE 81 TEST COMPLETE
81 82
OLDNEW
« no previous file with comments | « LayoutTests/crypto/generateKey.html ('k') | Source/modules/crypto/NormalizeAlgorithm.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698