Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /WebCryptoAPI/derive_bits_keys/derive_key_and_encrypt.https.any.html - WPT Dashboard Interop Dashboard
- /WebCryptoAPI/derive_bits_keys/derive_key_and_encrypt.https.any.worker.html - WPT Dashboard Interop Dashboard
// META: title=WebCryptoAPI: deriveKey() Using HKDF and PBKDF2 from an ECDH key
// META: script=derive_key_and_encrypt.js
// META: script=../util/helpers.js
// Test imported from WebKit's source, defined to check the impact of the
// 'Get Key Length' behavior of HKDF and PBKDF2, which should return 'null'
// in both cases, in the 'deriveKey' operation.
promise_test(define_tests, 'setup - define tests');