| Index: LayoutTests/crypto/subtle/pbkdf2/cloneKey-expected.txt
|
| diff --git a/LayoutTests/crypto/subtle/clone-pbkdf2Key-expected.txt b/LayoutTests/crypto/subtle/pbkdf2/cloneKey-expected.txt
|
| similarity index 60%
|
| rename from LayoutTests/crypto/subtle/clone-pbkdf2Key-expected.txt
|
| rename to LayoutTests/crypto/subtle/pbkdf2/cloneKey-expected.txt
|
| index d5b65df6a9583c999fc31e889df7cc64a665e544..5c8460bb08639838d1a505102ee6f319750e8b33 100644
|
| --- a/LayoutTests/crypto/subtle/clone-pbkdf2Key-expected.txt
|
| +++ b/LayoutTests/crypto/subtle/pbkdf2/cloneKey-expected.txt
|
| @@ -16,6 +16,21 @@ PASS typeof clonedKey.extractable is 'boolean'
|
| PASS clonedKey.extractable is false
|
| PASS clonedKey.algorithm.name is "PBKDF2"
|
| PASS clonedKey.usages.join(',') is "deriveBits"
|
| +Serialized key bytes: 3f004b0611800200
|
| +
|
| +PASS importedKey.extraProperty is "hi"
|
| +PASS importedKey.type is "secret"
|
| +PASS typeof importedKey.extractable is 'boolean'
|
| +PASS importedKey.extractable is false
|
| +PASS importedKey.algorithm.name is "PBKDF2"
|
| +PASS importedKey.usages.join(',') is "deriveBits"
|
| +PASS importedKey is not clonedKey
|
| +PASS clonedKey.extraProperty is undefined.
|
| +PASS clonedKey.type is "secret"
|
| +PASS typeof clonedKey.extractable is 'boolean'
|
| +PASS clonedKey.extractable is false
|
| +PASS clonedKey.algorithm.name is "PBKDF2"
|
| +PASS clonedKey.usages.join(',') is "deriveBits"
|
| Serialized key bytes: 3f004b06118002013000
|
|
|
| PASS importedKey.extraProperty is "hi"
|
| @@ -53,6 +68,36 @@ PASS importedKey.type is "secret"
|
| PASS typeof importedKey.extractable is 'boolean'
|
| PASS importedKey.extractable is false
|
| PASS importedKey.algorithm.name is "PBKDF2"
|
| +PASS importedKey.usages.join(',') is "deriveBits"
|
| +PASS importedKey is not clonedKey
|
| +PASS clonedKey.extraProperty is undefined.
|
| +PASS clonedKey.type is "secret"
|
| +PASS typeof clonedKey.extractable is 'boolean'
|
| +PASS clonedKey.extractable is false
|
| +PASS clonedKey.algorithm.name is "PBKDF2"
|
| +PASS clonedKey.usages.join(',') is "deriveBits"
|
| +Serialized key bytes: 3f004b061180021030112233445566778899aabbccddeeff
|
| +
|
| +PASS importedKey.extraProperty is "hi"
|
| +PASS importedKey.type is "secret"
|
| +PASS typeof importedKey.extractable is 'boolean'
|
| +PASS importedKey.extractable is false
|
| +PASS importedKey.algorithm.name is "PBKDF2"
|
| +PASS importedKey.usages.join(',') is "deriveKey"
|
| +PASS importedKey is not clonedKey
|
| +PASS clonedKey.extraProperty is undefined.
|
| +PASS clonedKey.type is "secret"
|
| +PASS typeof clonedKey.extractable is 'boolean'
|
| +PASS clonedKey.extractable is false
|
| +PASS clonedKey.algorithm.name is "PBKDF2"
|
| +PASS clonedKey.usages.join(',') is "deriveKey"
|
| +Serialized key bytes: 3f004b0611200000
|
| +
|
| +PASS importedKey.extraProperty is "hi"
|
| +PASS importedKey.type is "secret"
|
| +PASS typeof importedKey.extractable is 'boolean'
|
| +PASS importedKey.extractable is false
|
| +PASS importedKey.algorithm.name is "PBKDF2"
|
| PASS importedKey.usages.join(',') is "deriveKey"
|
| PASS importedKey is not clonedKey
|
| PASS clonedKey.extraProperty is undefined.
|
| @@ -98,6 +143,36 @@ PASS importedKey.type is "secret"
|
| PASS typeof importedKey.extractable is 'boolean'
|
| PASS importedKey.extractable is false
|
| PASS importedKey.algorithm.name is "PBKDF2"
|
| +PASS importedKey.usages.join(',') is "deriveKey"
|
| +PASS importedKey is not clonedKey
|
| +PASS clonedKey.extraProperty is undefined.
|
| +PASS clonedKey.type is "secret"
|
| +PASS typeof clonedKey.extractable is 'boolean'
|
| +PASS clonedKey.extractable is false
|
| +PASS clonedKey.algorithm.name is "PBKDF2"
|
| +PASS clonedKey.usages.join(',') is "deriveKey"
|
| +Serialized key bytes: 3f004b0611201030112233445566778899aabbccddeeff00
|
| +
|
| +PASS importedKey.extraProperty is "hi"
|
| +PASS importedKey.type is "secret"
|
| +PASS typeof importedKey.extractable is 'boolean'
|
| +PASS importedKey.extractable is false
|
| +PASS importedKey.algorithm.name is "PBKDF2"
|
| +PASS importedKey.usages.join(',') is "deriveKey,deriveBits"
|
| +PASS importedKey is not clonedKey
|
| +PASS clonedKey.extraProperty is undefined.
|
| +PASS clonedKey.type is "secret"
|
| +PASS typeof clonedKey.extractable is 'boolean'
|
| +PASS clonedKey.extractable is false
|
| +PASS clonedKey.algorithm.name is "PBKDF2"
|
| +PASS clonedKey.usages.join(',') is "deriveKey,deriveBits"
|
| +Serialized key bytes: 3f004b0611a00200
|
| +
|
| +PASS importedKey.extraProperty is "hi"
|
| +PASS importedKey.type is "secret"
|
| +PASS typeof importedKey.extractable is 'boolean'
|
| +PASS importedKey.extractable is false
|
| +PASS importedKey.algorithm.name is "PBKDF2"
|
| PASS importedKey.usages.join(',') is "deriveKey,deriveBits"
|
| PASS importedKey is not clonedKey
|
| PASS clonedKey.extraProperty is undefined.
|
| @@ -143,6 +218,36 @@ PASS importedKey.type is "secret"
|
| PASS typeof importedKey.extractable is 'boolean'
|
| PASS importedKey.extractable is false
|
| PASS importedKey.algorithm.name is "PBKDF2"
|
| +PASS importedKey.usages.join(',') is "deriveKey,deriveBits"
|
| +PASS importedKey is not clonedKey
|
| +PASS clonedKey.extraProperty is undefined.
|
| +PASS clonedKey.type is "secret"
|
| +PASS typeof clonedKey.extractable is 'boolean'
|
| +PASS clonedKey.extractable is false
|
| +PASS clonedKey.algorithm.name is "PBKDF2"
|
| +PASS clonedKey.usages.join(',') is "deriveKey,deriveBits"
|
| +Serialized key bytes: 3f004b0611a0021030112233445566778899aabbccddeeff
|
| +
|
| +PASS importedKey.extraProperty is "hi"
|
| +PASS importedKey.type is "secret"
|
| +PASS typeof importedKey.extractable is 'boolean'
|
| +PASS importedKey.extractable is false
|
| +PASS importedKey.algorithm.name is "PBKDF2"
|
| +PASS importedKey.usages.join(',') is "deriveBits"
|
| +PASS importedKey is not clonedKey
|
| +PASS clonedKey.extraProperty is undefined.
|
| +PASS clonedKey.type is "secret"
|
| +PASS typeof clonedKey.extractable is 'boolean'
|
| +PASS clonedKey.extractable is false
|
| +PASS clonedKey.algorithm.name is "PBKDF2"
|
| +PASS clonedKey.usages.join(',') is "deriveBits"
|
| +Serialized key bytes: 3f004b0611800200
|
| +
|
| +PASS importedKey.extraProperty is "hi"
|
| +PASS importedKey.type is "secret"
|
| +PASS typeof importedKey.extractable is 'boolean'
|
| +PASS importedKey.extractable is false
|
| +PASS importedKey.algorithm.name is "PBKDF2"
|
| PASS importedKey.usages.join(',') is "deriveBits"
|
| PASS importedKey is not clonedKey
|
| PASS clonedKey.extraProperty is undefined.
|
| @@ -188,6 +293,36 @@ PASS importedKey.type is "secret"
|
| PASS typeof importedKey.extractable is 'boolean'
|
| PASS importedKey.extractable is false
|
| PASS importedKey.algorithm.name is "PBKDF2"
|
| +PASS importedKey.usages.join(',') is "deriveBits"
|
| +PASS importedKey is not clonedKey
|
| +PASS clonedKey.extraProperty is undefined.
|
| +PASS clonedKey.type is "secret"
|
| +PASS typeof clonedKey.extractable is 'boolean'
|
| +PASS clonedKey.extractable is false
|
| +PASS clonedKey.algorithm.name is "PBKDF2"
|
| +PASS clonedKey.usages.join(',') is "deriveBits"
|
| +Serialized key bytes: 3f004b061180021030112233445566778899aabbccddeeff
|
| +
|
| +PASS importedKey.extraProperty is "hi"
|
| +PASS importedKey.type is "secret"
|
| +PASS typeof importedKey.extractable is 'boolean'
|
| +PASS importedKey.extractable is false
|
| +PASS importedKey.algorithm.name is "PBKDF2"
|
| +PASS importedKey.usages.join(',') is "deriveKey"
|
| +PASS importedKey is not clonedKey
|
| +PASS clonedKey.extraProperty is undefined.
|
| +PASS clonedKey.type is "secret"
|
| +PASS typeof clonedKey.extractable is 'boolean'
|
| +PASS clonedKey.extractable is false
|
| +PASS clonedKey.algorithm.name is "PBKDF2"
|
| +PASS clonedKey.usages.join(',') is "deriveKey"
|
| +Serialized key bytes: 3f004b0611200000
|
| +
|
| +PASS importedKey.extraProperty is "hi"
|
| +PASS importedKey.type is "secret"
|
| +PASS typeof importedKey.extractable is 'boolean'
|
| +PASS importedKey.extractable is false
|
| +PASS importedKey.algorithm.name is "PBKDF2"
|
| PASS importedKey.usages.join(',') is "deriveKey"
|
| PASS importedKey is not clonedKey
|
| PASS clonedKey.extraProperty is undefined.
|
| @@ -233,6 +368,36 @@ PASS importedKey.type is "secret"
|
| PASS typeof importedKey.extractable is 'boolean'
|
| PASS importedKey.extractable is false
|
| PASS importedKey.algorithm.name is "PBKDF2"
|
| +PASS importedKey.usages.join(',') is "deriveKey"
|
| +PASS importedKey is not clonedKey
|
| +PASS clonedKey.extraProperty is undefined.
|
| +PASS clonedKey.type is "secret"
|
| +PASS typeof clonedKey.extractable is 'boolean'
|
| +PASS clonedKey.extractable is false
|
| +PASS clonedKey.algorithm.name is "PBKDF2"
|
| +PASS clonedKey.usages.join(',') is "deriveKey"
|
| +Serialized key bytes: 3f004b0611201030112233445566778899aabbccddeeff00
|
| +
|
| +PASS importedKey.extraProperty is "hi"
|
| +PASS importedKey.type is "secret"
|
| +PASS typeof importedKey.extractable is 'boolean'
|
| +PASS importedKey.extractable is false
|
| +PASS importedKey.algorithm.name is "PBKDF2"
|
| +PASS importedKey.usages.join(',') is "deriveKey,deriveBits"
|
| +PASS importedKey is not clonedKey
|
| +PASS clonedKey.extraProperty is undefined.
|
| +PASS clonedKey.type is "secret"
|
| +PASS typeof clonedKey.extractable is 'boolean'
|
| +PASS clonedKey.extractable is false
|
| +PASS clonedKey.algorithm.name is "PBKDF2"
|
| +PASS clonedKey.usages.join(',') is "deriveKey,deriveBits"
|
| +Serialized key bytes: 3f004b0611a00200
|
| +
|
| +PASS importedKey.extraProperty is "hi"
|
| +PASS importedKey.type is "secret"
|
| +PASS typeof importedKey.extractable is 'boolean'
|
| +PASS importedKey.extractable is false
|
| +PASS importedKey.algorithm.name is "PBKDF2"
|
| PASS importedKey.usages.join(',') is "deriveKey,deriveBits"
|
| PASS importedKey is not clonedKey
|
| PASS clonedKey.extraProperty is undefined.
|
| @@ -278,6 +443,36 @@ PASS importedKey.type is "secret"
|
| PASS typeof importedKey.extractable is 'boolean'
|
| PASS importedKey.extractable is false
|
| PASS importedKey.algorithm.name is "PBKDF2"
|
| +PASS importedKey.usages.join(',') is "deriveKey,deriveBits"
|
| +PASS importedKey is not clonedKey
|
| +PASS clonedKey.extraProperty is undefined.
|
| +PASS clonedKey.type is "secret"
|
| +PASS typeof clonedKey.extractable is 'boolean'
|
| +PASS clonedKey.extractable is false
|
| +PASS clonedKey.algorithm.name is "PBKDF2"
|
| +PASS clonedKey.usages.join(',') is "deriveKey,deriveBits"
|
| +Serialized key bytes: 3f004b0611a0021030112233445566778899aabbccddeeff
|
| +
|
| +PASS importedKey.extraProperty is "hi"
|
| +PASS importedKey.type is "secret"
|
| +PASS typeof importedKey.extractable is 'boolean'
|
| +PASS importedKey.extractable is false
|
| +PASS importedKey.algorithm.name is "PBKDF2"
|
| +PASS importedKey.usages.join(',') is "deriveBits"
|
| +PASS importedKey is not clonedKey
|
| +PASS clonedKey.extraProperty is undefined.
|
| +PASS clonedKey.type is "secret"
|
| +PASS typeof clonedKey.extractable is 'boolean'
|
| +PASS clonedKey.extractable is false
|
| +PASS clonedKey.algorithm.name is "PBKDF2"
|
| +PASS clonedKey.usages.join(',') is "deriveBits"
|
| +Serialized key bytes: 3f004b0611800200
|
| +
|
| +PASS importedKey.extraProperty is "hi"
|
| +PASS importedKey.type is "secret"
|
| +PASS typeof importedKey.extractable is 'boolean'
|
| +PASS importedKey.extractable is false
|
| +PASS importedKey.algorithm.name is "PBKDF2"
|
| PASS importedKey.usages.join(',') is "deriveBits"
|
| PASS importedKey is not clonedKey
|
| PASS clonedKey.extraProperty is undefined.
|
| @@ -323,6 +518,36 @@ PASS importedKey.type is "secret"
|
| PASS typeof importedKey.extractable is 'boolean'
|
| PASS importedKey.extractable is false
|
| PASS importedKey.algorithm.name is "PBKDF2"
|
| +PASS importedKey.usages.join(',') is "deriveBits"
|
| +PASS importedKey is not clonedKey
|
| +PASS clonedKey.extraProperty is undefined.
|
| +PASS clonedKey.type is "secret"
|
| +PASS typeof clonedKey.extractable is 'boolean'
|
| +PASS clonedKey.extractable is false
|
| +PASS clonedKey.algorithm.name is "PBKDF2"
|
| +PASS clonedKey.usages.join(',') is "deriveBits"
|
| +Serialized key bytes: 3f004b061180021030112233445566778899aabbccddeeff
|
| +
|
| +PASS importedKey.extraProperty is "hi"
|
| +PASS importedKey.type is "secret"
|
| +PASS typeof importedKey.extractable is 'boolean'
|
| +PASS importedKey.extractable is false
|
| +PASS importedKey.algorithm.name is "PBKDF2"
|
| +PASS importedKey.usages.join(',') is "deriveKey"
|
| +PASS importedKey is not clonedKey
|
| +PASS clonedKey.extraProperty is undefined.
|
| +PASS clonedKey.type is "secret"
|
| +PASS typeof clonedKey.extractable is 'boolean'
|
| +PASS clonedKey.extractable is false
|
| +PASS clonedKey.algorithm.name is "PBKDF2"
|
| +PASS clonedKey.usages.join(',') is "deriveKey"
|
| +Serialized key bytes: 3f004b0611200000
|
| +
|
| +PASS importedKey.extraProperty is "hi"
|
| +PASS importedKey.type is "secret"
|
| +PASS typeof importedKey.extractable is 'boolean'
|
| +PASS importedKey.extractable is false
|
| +PASS importedKey.algorithm.name is "PBKDF2"
|
| PASS importedKey.usages.join(',') is "deriveKey"
|
| PASS importedKey is not clonedKey
|
| PASS clonedKey.extraProperty is undefined.
|
| @@ -368,6 +593,36 @@ PASS importedKey.type is "secret"
|
| PASS typeof importedKey.extractable is 'boolean'
|
| PASS importedKey.extractable is false
|
| PASS importedKey.algorithm.name is "PBKDF2"
|
| +PASS importedKey.usages.join(',') is "deriveKey"
|
| +PASS importedKey is not clonedKey
|
| +PASS clonedKey.extraProperty is undefined.
|
| +PASS clonedKey.type is "secret"
|
| +PASS typeof clonedKey.extractable is 'boolean'
|
| +PASS clonedKey.extractable is false
|
| +PASS clonedKey.algorithm.name is "PBKDF2"
|
| +PASS clonedKey.usages.join(',') is "deriveKey"
|
| +Serialized key bytes: 3f004b0611201030112233445566778899aabbccddeeff00
|
| +
|
| +PASS importedKey.extraProperty is "hi"
|
| +PASS importedKey.type is "secret"
|
| +PASS typeof importedKey.extractable is 'boolean'
|
| +PASS importedKey.extractable is false
|
| +PASS importedKey.algorithm.name is "PBKDF2"
|
| +PASS importedKey.usages.join(',') is "deriveKey,deriveBits"
|
| +PASS importedKey is not clonedKey
|
| +PASS clonedKey.extraProperty is undefined.
|
| +PASS clonedKey.type is "secret"
|
| +PASS typeof clonedKey.extractable is 'boolean'
|
| +PASS clonedKey.extractable is false
|
| +PASS clonedKey.algorithm.name is "PBKDF2"
|
| +PASS clonedKey.usages.join(',') is "deriveKey,deriveBits"
|
| +Serialized key bytes: 3f004b0611a00200
|
| +
|
| +PASS importedKey.extraProperty is "hi"
|
| +PASS importedKey.type is "secret"
|
| +PASS typeof importedKey.extractable is 'boolean'
|
| +PASS importedKey.extractable is false
|
| +PASS importedKey.algorithm.name is "PBKDF2"
|
| PASS importedKey.usages.join(',') is "deriveKey,deriveBits"
|
| PASS importedKey is not clonedKey
|
| PASS clonedKey.extraProperty is undefined.
|
| @@ -408,6 +663,21 @@ PASS clonedKey.algorithm.name is "PBKDF2"
|
| PASS clonedKey.usages.join(',') is "deriveKey,deriveBits"
|
| Serialized key bytes: 3f004b0611a0020b00112233445546778899aa00
|
|
|
| +PASS importedKey.extraProperty is "hi"
|
| +PASS importedKey.type is "secret"
|
| +PASS typeof importedKey.extractable is 'boolean'
|
| +PASS importedKey.extractable is false
|
| +PASS importedKey.algorithm.name is "PBKDF2"
|
| +PASS importedKey.usages.join(',') is "deriveKey,deriveBits"
|
| +PASS importedKey is not clonedKey
|
| +PASS clonedKey.extraProperty is undefined.
|
| +PASS clonedKey.type is "secret"
|
| +PASS typeof clonedKey.extractable is 'boolean'
|
| +PASS clonedKey.extractable is false
|
| +PASS clonedKey.algorithm.name is "PBKDF2"
|
| +PASS clonedKey.usages.join(',') is "deriveKey,deriveBits"
|
| +Serialized key bytes: 3f004b0611a0021030112233445566778899aabbccddeeff
|
| +
|
| PASS successfullyParsed is true
|
|
|
| TEST COMPLETE
|
|
|