| Index: LayoutTests/crypto/clone-aesKey-expected.txt
|
| diff --git a/LayoutTests/crypto/clone-aesKey-expected.txt b/LayoutTests/crypto/clone-aesKey-expected.txt
|
| index ec645735f47c3263cd8d15a364aa0509bb83d68c..0900977f64bb2cd0ea0b2d35399eadd4bb5fc67e 100644
|
| --- a/LayoutTests/crypto/clone-aesKey-expected.txt
|
| +++ b/LayoutTests/crypto/clone-aesKey-expected.txt
|
| @@ -26,24 +26,6 @@ PASS importedKey.type is "secret"
|
| PASS typeof importedKey.extractable is 'boolean'
|
| PASS importedKey.extractable is true
|
| PASS importedKey.algorithm.name is "AES-CBC"
|
| -PASS importedKey.algorithm.length is 192
|
| -PASS importedKey.usages.join(',') is ""
|
| -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 true
|
| -PASS clonedKey.algorithm.name is "AES-CBC"
|
| -PASS clonedKey.algorithm.length is 192
|
| -PASS clonedKey.usages.join(',') is ""
|
| -Serialized key bytes: 3f004b0101180118800102030405060708090a0b0c0d0e0f1011121314151617
|
| -PASS: Cloned key exported data should be [800102030405060708090a0b0c0d0e0f1011121314151617] and was
|
| -
|
| -PASS importedKey.extraProperty is "hi"
|
| -PASS importedKey.type is "secret"
|
| -PASS typeof importedKey.extractable is 'boolean'
|
| -PASS importedKey.extractable is true
|
| -PASS importedKey.algorithm.name is "AES-CBC"
|
| PASS importedKey.algorithm.length is 256
|
| PASS importedKey.usages.join(',') is ""
|
| PASS importedKey is not clonedKey
|
| @@ -80,24 +62,6 @@ PASS importedKey.type is "secret"
|
| PASS typeof importedKey.extractable is 'boolean'
|
| PASS importedKey.extractable is true
|
| PASS importedKey.algorithm.name is "AES-CBC"
|
| -PASS importedKey.algorithm.length is 192
|
| -PASS importedKey.usages.join(',') is "encrypt"
|
| -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 true
|
| -PASS clonedKey.algorithm.name is "AES-CBC"
|
| -PASS clonedKey.algorithm.length is 192
|
| -PASS clonedKey.usages.join(',') is "encrypt"
|
| -Serialized key bytes: 3f004b0101180318800102030405060708090a0b0c0d0e0f1011121314151617
|
| -PASS: Cloned key exported data should be [800102030405060708090a0b0c0d0e0f1011121314151617] and was
|
| -
|
| -PASS importedKey.extraProperty is "hi"
|
| -PASS importedKey.type is "secret"
|
| -PASS typeof importedKey.extractable is 'boolean'
|
| -PASS importedKey.extractable is true
|
| -PASS importedKey.algorithm.name is "AES-CBC"
|
| PASS importedKey.algorithm.length is 256
|
| PASS importedKey.usages.join(',') is "encrypt"
|
| PASS importedKey is not clonedKey
|
| @@ -134,24 +98,6 @@ PASS importedKey.type is "secret"
|
| PASS typeof importedKey.extractable is 'boolean'
|
| PASS importedKey.extractable is true
|
| PASS importedKey.algorithm.name is "AES-CBC"
|
| -PASS importedKey.algorithm.length is 192
|
| -PASS importedKey.usages.join(',') is "decrypt,wrapKey"
|
| -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 true
|
| -PASS clonedKey.algorithm.name is "AES-CBC"
|
| -PASS clonedKey.algorithm.length is 192
|
| -PASS clonedKey.usages.join(',') is "decrypt,wrapKey"
|
| -Serialized key bytes: 3f004b0101184518800102030405060708090a0b0c0d0e0f1011121314151617
|
| -PASS: Cloned key exported data should be [800102030405060708090a0b0c0d0e0f1011121314151617] and was
|
| -
|
| -PASS importedKey.extraProperty is "hi"
|
| -PASS importedKey.type is "secret"
|
| -PASS typeof importedKey.extractable is 'boolean'
|
| -PASS importedKey.extractable is true
|
| -PASS importedKey.algorithm.name is "AES-CBC"
|
| PASS importedKey.algorithm.length is 256
|
| PASS importedKey.usages.join(',') is "decrypt,wrapKey"
|
| PASS importedKey is not clonedKey
|
| @@ -188,24 +134,6 @@ PASS importedKey.type is "secret"
|
| PASS typeof importedKey.extractable is 'boolean'
|
| PASS importedKey.extractable is true
|
| PASS importedKey.algorithm.name is "AES-CBC"
|
| -PASS importedKey.algorithm.length is 192
|
| -PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
|
| -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 true
|
| -PASS clonedKey.algorithm.name is "AES-CBC"
|
| -PASS clonedKey.algorithm.length is 192
|
| -PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
|
| -Serialized key bytes: 3f004b010118c30118800102030405060708090a0b0c0d0e0f101112131415161700
|
| -PASS: Cloned key exported data should be [800102030405060708090a0b0c0d0e0f1011121314151617] and was
|
| -
|
| -PASS importedKey.extraProperty is "hi"
|
| -PASS importedKey.type is "secret"
|
| -PASS typeof importedKey.extractable is 'boolean'
|
| -PASS importedKey.extractable is true
|
| -PASS importedKey.algorithm.name is "AES-CBC"
|
| PASS importedKey.algorithm.length is 256
|
| PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
|
| PASS importedKey is not clonedKey
|
| @@ -241,23 +169,6 @@ PASS importedKey.type is "secret"
|
| PASS typeof importedKey.extractable is 'boolean'
|
| PASS importedKey.extractable is false
|
| PASS importedKey.algorithm.name is "AES-CBC"
|
| -PASS importedKey.algorithm.length is 192
|
| -PASS importedKey.usages.join(',') is ""
|
| -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 "AES-CBC"
|
| -PASS clonedKey.algorithm.length is 192
|
| -PASS clonedKey.usages.join(',') is ""
|
| -Serialized key bytes: 3f004b0101180018800102030405060708090a0b0c0d0e0f1011121314151617
|
| -
|
| -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 "AES-CBC"
|
| PASS importedKey.algorithm.length is 256
|
| PASS importedKey.usages.join(',') is ""
|
| PASS importedKey is not clonedKey
|
| @@ -292,23 +203,6 @@ PASS importedKey.type is "secret"
|
| PASS typeof importedKey.extractable is 'boolean'
|
| PASS importedKey.extractable is false
|
| PASS importedKey.algorithm.name is "AES-CBC"
|
| -PASS importedKey.algorithm.length is 192
|
| -PASS importedKey.usages.join(',') is "encrypt"
|
| -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 "AES-CBC"
|
| -PASS clonedKey.algorithm.length is 192
|
| -PASS clonedKey.usages.join(',') is "encrypt"
|
| -Serialized key bytes: 3f004b0101180218800102030405060708090a0b0c0d0e0f1011121314151617
|
| -
|
| -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 "AES-CBC"
|
| PASS importedKey.algorithm.length is 256
|
| PASS importedKey.usages.join(',') is "encrypt"
|
| PASS importedKey is not clonedKey
|
| @@ -343,23 +237,6 @@ PASS importedKey.type is "secret"
|
| PASS typeof importedKey.extractable is 'boolean'
|
| PASS importedKey.extractable is false
|
| PASS importedKey.algorithm.name is "AES-CBC"
|
| -PASS importedKey.algorithm.length is 192
|
| -PASS importedKey.usages.join(',') is "decrypt,wrapKey"
|
| -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 "AES-CBC"
|
| -PASS clonedKey.algorithm.length is 192
|
| -PASS clonedKey.usages.join(',') is "decrypt,wrapKey"
|
| -Serialized key bytes: 3f004b0101184418800102030405060708090a0b0c0d0e0f1011121314151617
|
| -
|
| -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 "AES-CBC"
|
| PASS importedKey.algorithm.length is 256
|
| PASS importedKey.usages.join(',') is "decrypt,wrapKey"
|
| PASS importedKey is not clonedKey
|
| @@ -394,23 +271,6 @@ PASS importedKey.type is "secret"
|
| PASS typeof importedKey.extractable is 'boolean'
|
| PASS importedKey.extractable is false
|
| PASS importedKey.algorithm.name is "AES-CBC"
|
| -PASS importedKey.algorithm.length is 192
|
| -PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
|
| -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 "AES-CBC"
|
| -PASS clonedKey.algorithm.length is 192
|
| -PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
|
| -Serialized key bytes: 3f004b010118c20118800102030405060708090a0b0c0d0e0f101112131415161700
|
| -
|
| -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 "AES-CBC"
|
| PASS importedKey.algorithm.length is 256
|
| PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
|
| PASS importedKey is not clonedKey
|
| @@ -446,24 +306,6 @@ PASS importedKey.type is "secret"
|
| PASS typeof importedKey.extractable is 'boolean'
|
| PASS importedKey.extractable is true
|
| PASS importedKey.algorithm.name is "AES-GCM"
|
| -PASS importedKey.algorithm.length is 192
|
| -PASS importedKey.usages.join(',') is ""
|
| -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 true
|
| -PASS clonedKey.algorithm.name is "AES-GCM"
|
| -PASS clonedKey.algorithm.length is 192
|
| -PASS clonedKey.usages.join(',') is ""
|
| -Serialized key bytes: 3f004b0109180118800102030405060708090a0b0c0d0e0f1011121314151617
|
| -PASS: Cloned key exported data should be [800102030405060708090a0b0c0d0e0f1011121314151617] and was
|
| -
|
| -PASS importedKey.extraProperty is "hi"
|
| -PASS importedKey.type is "secret"
|
| -PASS typeof importedKey.extractable is 'boolean'
|
| -PASS importedKey.extractable is true
|
| -PASS importedKey.algorithm.name is "AES-GCM"
|
| PASS importedKey.algorithm.length is 256
|
| PASS importedKey.usages.join(',') is ""
|
| PASS importedKey is not clonedKey
|
| @@ -500,24 +342,6 @@ PASS importedKey.type is "secret"
|
| PASS typeof importedKey.extractable is 'boolean'
|
| PASS importedKey.extractable is true
|
| PASS importedKey.algorithm.name is "AES-GCM"
|
| -PASS importedKey.algorithm.length is 192
|
| -PASS importedKey.usages.join(',') is "encrypt"
|
| -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 true
|
| -PASS clonedKey.algorithm.name is "AES-GCM"
|
| -PASS clonedKey.algorithm.length is 192
|
| -PASS clonedKey.usages.join(',') is "encrypt"
|
| -Serialized key bytes: 3f004b0109180318800102030405060708090a0b0c0d0e0f1011121314151617
|
| -PASS: Cloned key exported data should be [800102030405060708090a0b0c0d0e0f1011121314151617] and was
|
| -
|
| -PASS importedKey.extraProperty is "hi"
|
| -PASS importedKey.type is "secret"
|
| -PASS typeof importedKey.extractable is 'boolean'
|
| -PASS importedKey.extractable is true
|
| -PASS importedKey.algorithm.name is "AES-GCM"
|
| PASS importedKey.algorithm.length is 256
|
| PASS importedKey.usages.join(',') is "encrypt"
|
| PASS importedKey is not clonedKey
|
| @@ -554,24 +378,6 @@ PASS importedKey.type is "secret"
|
| PASS typeof importedKey.extractable is 'boolean'
|
| PASS importedKey.extractable is true
|
| PASS importedKey.algorithm.name is "AES-GCM"
|
| -PASS importedKey.algorithm.length is 192
|
| -PASS importedKey.usages.join(',') is "decrypt,wrapKey"
|
| -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 true
|
| -PASS clonedKey.algorithm.name is "AES-GCM"
|
| -PASS clonedKey.algorithm.length is 192
|
| -PASS clonedKey.usages.join(',') is "decrypt,wrapKey"
|
| -Serialized key bytes: 3f004b0109184518800102030405060708090a0b0c0d0e0f1011121314151617
|
| -PASS: Cloned key exported data should be [800102030405060708090a0b0c0d0e0f1011121314151617] and was
|
| -
|
| -PASS importedKey.extraProperty is "hi"
|
| -PASS importedKey.type is "secret"
|
| -PASS typeof importedKey.extractable is 'boolean'
|
| -PASS importedKey.extractable is true
|
| -PASS importedKey.algorithm.name is "AES-GCM"
|
| PASS importedKey.algorithm.length is 256
|
| PASS importedKey.usages.join(',') is "decrypt,wrapKey"
|
| PASS importedKey is not clonedKey
|
| @@ -608,24 +414,6 @@ PASS importedKey.type is "secret"
|
| PASS typeof importedKey.extractable is 'boolean'
|
| PASS importedKey.extractable is true
|
| PASS importedKey.algorithm.name is "AES-GCM"
|
| -PASS importedKey.algorithm.length is 192
|
| -PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
|
| -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 true
|
| -PASS clonedKey.algorithm.name is "AES-GCM"
|
| -PASS clonedKey.algorithm.length is 192
|
| -PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
|
| -Serialized key bytes: 3f004b010918c30118800102030405060708090a0b0c0d0e0f101112131415161700
|
| -PASS: Cloned key exported data should be [800102030405060708090a0b0c0d0e0f1011121314151617] and was
|
| -
|
| -PASS importedKey.extraProperty is "hi"
|
| -PASS importedKey.type is "secret"
|
| -PASS typeof importedKey.extractable is 'boolean'
|
| -PASS importedKey.extractable is true
|
| -PASS importedKey.algorithm.name is "AES-GCM"
|
| PASS importedKey.algorithm.length is 256
|
| PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
|
| PASS importedKey is not clonedKey
|
| @@ -661,23 +449,6 @@ PASS importedKey.type is "secret"
|
| PASS typeof importedKey.extractable is 'boolean'
|
| PASS importedKey.extractable is false
|
| PASS importedKey.algorithm.name is "AES-GCM"
|
| -PASS importedKey.algorithm.length is 192
|
| -PASS importedKey.usages.join(',') is ""
|
| -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 "AES-GCM"
|
| -PASS clonedKey.algorithm.length is 192
|
| -PASS clonedKey.usages.join(',') is ""
|
| -Serialized key bytes: 3f004b0109180018800102030405060708090a0b0c0d0e0f1011121314151617
|
| -
|
| -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 "AES-GCM"
|
| PASS importedKey.algorithm.length is 256
|
| PASS importedKey.usages.join(',') is ""
|
| PASS importedKey is not clonedKey
|
| @@ -712,23 +483,6 @@ PASS importedKey.type is "secret"
|
| PASS typeof importedKey.extractable is 'boolean'
|
| PASS importedKey.extractable is false
|
| PASS importedKey.algorithm.name is "AES-GCM"
|
| -PASS importedKey.algorithm.length is 192
|
| -PASS importedKey.usages.join(',') is "encrypt"
|
| -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 "AES-GCM"
|
| -PASS clonedKey.algorithm.length is 192
|
| -PASS clonedKey.usages.join(',') is "encrypt"
|
| -Serialized key bytes: 3f004b0109180218800102030405060708090a0b0c0d0e0f1011121314151617
|
| -
|
| -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 "AES-GCM"
|
| PASS importedKey.algorithm.length is 256
|
| PASS importedKey.usages.join(',') is "encrypt"
|
| PASS importedKey is not clonedKey
|
| @@ -763,23 +517,6 @@ PASS importedKey.type is "secret"
|
| PASS typeof importedKey.extractable is 'boolean'
|
| PASS importedKey.extractable is false
|
| PASS importedKey.algorithm.name is "AES-GCM"
|
| -PASS importedKey.algorithm.length is 192
|
| -PASS importedKey.usages.join(',') is "decrypt,wrapKey"
|
| -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 "AES-GCM"
|
| -PASS clonedKey.algorithm.length is 192
|
| -PASS clonedKey.usages.join(',') is "decrypt,wrapKey"
|
| -Serialized key bytes: 3f004b0109184418800102030405060708090a0b0c0d0e0f1011121314151617
|
| -
|
| -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 "AES-GCM"
|
| PASS importedKey.algorithm.length is 256
|
| PASS importedKey.usages.join(',') is "decrypt,wrapKey"
|
| PASS importedKey is not clonedKey
|
| @@ -814,23 +551,6 @@ PASS importedKey.type is "secret"
|
| PASS typeof importedKey.extractable is 'boolean'
|
| PASS importedKey.extractable is false
|
| PASS importedKey.algorithm.name is "AES-GCM"
|
| -PASS importedKey.algorithm.length is 192
|
| -PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
|
| -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 "AES-GCM"
|
| -PASS clonedKey.algorithm.length is 192
|
| -PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
|
| -Serialized key bytes: 3f004b010918c20118800102030405060708090a0b0c0d0e0f101112131415161700
|
| -
|
| -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 "AES-GCM"
|
| PASS importedKey.algorithm.length is 256
|
| PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey"
|
| PASS importedKey is not clonedKey
|
|
|