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

Unified Diff: LayoutTests/crypto/subtle/hkdf/cloneKey-expected.txt

Issue 958353003: [WebCrypto] Move cloneKey test to respective algorithm directory (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/crypto/subtle/hkdf/cloneKey.html ('k') | LayoutTests/crypto/subtle/hmac/cloneKey.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/crypto/subtle/hkdf/cloneKey-expected.txt
diff --git a/LayoutTests/crypto/subtle/hkdf/cloneKey-expected.txt b/LayoutTests/crypto/subtle/hkdf/cloneKey-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3fc3e7889c8f47d408a5bc2f10260c1a528104b5
--- /dev/null
+++ b/LayoutTests/crypto/subtle/hkdf/cloneKey-expected.txt
@@ -0,0 +1,684 @@
+Tests structured cloning of HKDF keys
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+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 "HKDF"
+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 "HKDF"
+PASS clonedKey.usages.join(',') is "deriveBits"
+Serialized key bytes: 3f004b0610800200
+
+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 "HKDF"
+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 "HKDF"
+PASS clonedKey.usages.join(',') is "deriveBits"
+Serialized key bytes: 3f004b06108002013000
+
+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 "HKDF"
+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 "HKDF"
+PASS clonedKey.usages.join(',') is "deriveBits"
+Serialized key bytes: 3f004b06108002080011223344554677
+
+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 "HKDF"
+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 "HKDF"
+PASS clonedKey.usages.join(',') is "deriveBits"
+Serialized key bytes: 3f004b061080020b00112233445546778899aa00
+
+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 "HKDF"
+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 "HKDF"
+PASS clonedKey.usages.join(',') is "deriveBits"
+Serialized key bytes: 3f004b061080021030112233445566778899aabbccddeeff
+
+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 "HKDF"
+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 "HKDF"
+PASS clonedKey.usages.join(',') is "deriveKey"
+Serialized key bytes: 3f004b0610200000
+
+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 "HKDF"
+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 "HKDF"
+PASS clonedKey.usages.join(',') is "deriveKey"
+Serialized key bytes: 3f004b0610200130
+
+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 "HKDF"
+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 "HKDF"
+PASS clonedKey.usages.join(',') is "deriveKey"
+Serialized key bytes: 3f004b06102008001122334455467700
+
+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 "HKDF"
+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 "HKDF"
+PASS clonedKey.usages.join(',') is "deriveKey"
+Serialized key bytes: 3f004b0610200b00112233445546778899aa
+
+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 "HKDF"
+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 "HKDF"
+PASS clonedKey.usages.join(',') is "deriveKey"
+Serialized key bytes: 3f004b0610201030112233445566778899aabbccddeeff00
+
+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 "HKDF"
+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 "HKDF"
+PASS clonedKey.usages.join(',') is "deriveKey,deriveBits"
+Serialized key bytes: 3f004b0610a00200
+
+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 "HKDF"
+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 "HKDF"
+PASS clonedKey.usages.join(',') is "deriveKey,deriveBits"
+Serialized key bytes: 3f004b0610a002013000
+
+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 "HKDF"
+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 "HKDF"
+PASS clonedKey.usages.join(',') is "deriveKey,deriveBits"
+Serialized key bytes: 3f004b0610a002080011223344554677
+
+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 "HKDF"
+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 "HKDF"
+PASS clonedKey.usages.join(',') is "deriveKey,deriveBits"
+Serialized key bytes: 3f004b0610a0020b00112233445546778899aa00
+
+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 "HKDF"
+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 "HKDF"
+PASS clonedKey.usages.join(',') is "deriveKey,deriveBits"
+Serialized key bytes: 3f004b0610a0021030112233445566778899aabbccddeeff
+
+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 "HKDF"
+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 "HKDF"
+PASS clonedKey.usages.join(',') is "deriveBits"
+Serialized key bytes: 3f004b0610800200
+
+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 "HKDF"
+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 "HKDF"
+PASS clonedKey.usages.join(',') is "deriveBits"
+Serialized key bytes: 3f004b06108002013000
+
+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 "HKDF"
+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 "HKDF"
+PASS clonedKey.usages.join(',') is "deriveBits"
+Serialized key bytes: 3f004b06108002080011223344554677
+
+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 "HKDF"
+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 "HKDF"
+PASS clonedKey.usages.join(',') is "deriveBits"
+Serialized key bytes: 3f004b061080020b00112233445546778899aa00
+
+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 "HKDF"
+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 "HKDF"
+PASS clonedKey.usages.join(',') is "deriveBits"
+Serialized key bytes: 3f004b061080021030112233445566778899aabbccddeeff
+
+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 "HKDF"
+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 "HKDF"
+PASS clonedKey.usages.join(',') is "deriveKey"
+Serialized key bytes: 3f004b0610200000
+
+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 "HKDF"
+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 "HKDF"
+PASS clonedKey.usages.join(',') is "deriveKey"
+Serialized key bytes: 3f004b0610200130
+
+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 "HKDF"
+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 "HKDF"
+PASS clonedKey.usages.join(',') is "deriveKey"
+Serialized key bytes: 3f004b06102008001122334455467700
+
+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 "HKDF"
+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 "HKDF"
+PASS clonedKey.usages.join(',') is "deriveKey"
+Serialized key bytes: 3f004b0610200b00112233445546778899aa
+
+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 "HKDF"
+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 "HKDF"
+PASS clonedKey.usages.join(',') is "deriveKey"
+Serialized key bytes: 3f004b0610201030112233445566778899aabbccddeeff00
+
+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 "HKDF"
+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 "HKDF"
+PASS clonedKey.usages.join(',') is "deriveKey,deriveBits"
+Serialized key bytes: 3f004b0610a00200
+
+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 "HKDF"
+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 "HKDF"
+PASS clonedKey.usages.join(',') is "deriveKey,deriveBits"
+Serialized key bytes: 3f004b0610a002013000
+
+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 "HKDF"
+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 "HKDF"
+PASS clonedKey.usages.join(',') is "deriveKey,deriveBits"
+Serialized key bytes: 3f004b0610a002080011223344554677
+
+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 "HKDF"
+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 "HKDF"
+PASS clonedKey.usages.join(',') is "deriveKey,deriveBits"
+Serialized key bytes: 3f004b0610a0020b00112233445546778899aa00
+
+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 "HKDF"
+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 "HKDF"
+PASS clonedKey.usages.join(',') is "deriveKey,deriveBits"
+Serialized key bytes: 3f004b0610a0021030112233445566778899aabbccddeeff
+
+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 "HKDF"
+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 "HKDF"
+PASS clonedKey.usages.join(',') is "deriveBits"
+Serialized key bytes: 3f004b0610800200
+
+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 "HKDF"
+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 "HKDF"
+PASS clonedKey.usages.join(',') is "deriveBits"
+Serialized key bytes: 3f004b06108002013000
+
+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 "HKDF"
+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 "HKDF"
+PASS clonedKey.usages.join(',') is "deriveBits"
+Serialized key bytes: 3f004b06108002080011223344554677
+
+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 "HKDF"
+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 "HKDF"
+PASS clonedKey.usages.join(',') is "deriveBits"
+Serialized key bytes: 3f004b061080020b00112233445546778899aa00
+
+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 "HKDF"
+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 "HKDF"
+PASS clonedKey.usages.join(',') is "deriveBits"
+Serialized key bytes: 3f004b061080021030112233445566778899aabbccddeeff
+
+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 "HKDF"
+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 "HKDF"
+PASS clonedKey.usages.join(',') is "deriveKey"
+Serialized key bytes: 3f004b0610200000
+
+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 "HKDF"
+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 "HKDF"
+PASS clonedKey.usages.join(',') is "deriveKey"
+Serialized key bytes: 3f004b0610200130
+
+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 "HKDF"
+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 "HKDF"
+PASS clonedKey.usages.join(',') is "deriveKey"
+Serialized key bytes: 3f004b06102008001122334455467700
+
+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 "HKDF"
+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 "HKDF"
+PASS clonedKey.usages.join(',') is "deriveKey"
+Serialized key bytes: 3f004b0610200b00112233445546778899aa
+
+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 "HKDF"
+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 "HKDF"
+PASS clonedKey.usages.join(',') is "deriveKey"
+Serialized key bytes: 3f004b0610201030112233445566778899aabbccddeeff00
+
+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 "HKDF"
+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 "HKDF"
+PASS clonedKey.usages.join(',') is "deriveKey,deriveBits"
+Serialized key bytes: 3f004b0610a00200
+
+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 "HKDF"
+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 "HKDF"
+PASS clonedKey.usages.join(',') is "deriveKey,deriveBits"
+Serialized key bytes: 3f004b0610a002013000
+
+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 "HKDF"
+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 "HKDF"
+PASS clonedKey.usages.join(',') is "deriveKey,deriveBits"
+Serialized key bytes: 3f004b0610a002080011223344554677
+
+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 "HKDF"
+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 "HKDF"
+PASS clonedKey.usages.join(',') is "deriveKey,deriveBits"
+Serialized key bytes: 3f004b0610a0020b00112233445546778899aa00
+
+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 "HKDF"
+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 "HKDF"
+PASS clonedKey.usages.join(',') is "deriveKey,deriveBits"
+Serialized key bytes: 3f004b0610a0021030112233445566778899aabbccddeeff
+
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/crypto/subtle/hkdf/cloneKey.html ('k') | LayoutTests/crypto/subtle/hmac/cloneKey.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698