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

Unified Diff: content/child/webcrypto/algorithm_implementation.cc

Issue 749183004: WebCrypto: Implement crypto.subtle.deriveKey (chromium-side). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ecdh
Patch Set: Created 6 years 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
Index: content/child/webcrypto/algorithm_implementation.cc
diff --git a/content/child/webcrypto/algorithm_implementation.cc b/content/child/webcrypto/algorithm_implementation.cc
index 52937a5422f051e9dc40545e84c871b95a46dea3..4b07b84d7b30353c6699e7c1abb53c0c61ac7cd9 100644
--- a/content/child/webcrypto/algorithm_implementation.cc
+++ b/content/child/webcrypto/algorithm_implementation.cc
@@ -63,7 +63,8 @@ Status AlgorithmImplementation::GenerateKey(
Status AlgorithmImplementation::DeriveBits(
const blink::WebCryptoAlgorithm& algorithm,
const blink::WebCryptoKey& base_key,
- unsigned int length_bits,
+ bool has_optional_length_bits,
+ unsigned int optional_length_bits,
std::vector<uint8_t>* derived_bytes) const {
return Status::ErrorUnsupported();
}

Powered by Google App Engine
This is Rietveld 408576698