Index: content/child/webcrypto/algorithm_implementation.cc |
diff --git a/content/child/webcrypto/algorithm_implementation.cc b/content/child/webcrypto/algorithm_implementation.cc |
index d362fc9afc1fb1b55656d03a7ac39d3a34f7298f..e54f2921ba5114c1a275743f29fd3ddfa0a7bd99 100644 |
--- a/content/child/webcrypto/algorithm_implementation.cc |
+++ b/content/child/webcrypto/algorithm_implementation.cc |
@@ -52,34 +52,11 @@ Status AlgorithmImplementation::Digest( |
return Status::ErrorUnsupported(); |
} |
-Status AlgorithmImplementation::VerifyKeyUsagesBeforeGenerateKey( |
- blink::WebCryptoKeyUsageMask usage_mask) const { |
- return Status::ErrorUnsupported(); |
-} |
- |
-Status AlgorithmImplementation::VerifyKeyUsagesBeforeGenerateKeyPair( |
- blink::WebCryptoKeyUsageMask usage_mask, |
- blink::WebCryptoKeyUsageMask* public_usage_mask, |
- blink::WebCryptoKeyUsageMask* private_usage_mask) const { |
- *public_usage_mask = *private_usage_mask = 0; |
- return Status::ErrorUnsupported(); |
-} |
- |
-Status AlgorithmImplementation::GenerateSecretKey( |
+Status AlgorithmImplementation::GenerateKey( |
const blink::WebCryptoAlgorithm& algorithm, |
bool extractable, |
blink::WebCryptoKeyUsageMask usage_mask, |
- blink::WebCryptoKey* key) const { |
- return Status::ErrorUnsupported(); |
-} |
- |
-Status AlgorithmImplementation::GenerateKeyPair( |
- const blink::WebCryptoAlgorithm& algorithm, |
- bool extractable, |
- blink::WebCryptoKeyUsageMask public_usage_mask, |
- blink::WebCryptoKeyUsageMask private_usage_mask, |
- blink::WebCryptoKey* public_key, |
- blink::WebCryptoKey* private_key) const { |
+ GenerateKeyResult* result) const { |
return Status::ErrorUnsupported(); |
} |