Index: content/child/webcrypto/platform_crypto_openssl.cc |
diff --git a/content/child/webcrypto/platform_crypto_openssl.cc b/content/child/webcrypto/platform_crypto_openssl.cc |
index 8fd25f764eb377dda7e7d6b2b3ef3e52e44125ec..1235e51f2cc9d0bb57529f9133409f4293a78e98 100644 |
--- a/content/child/webcrypto/platform_crypto_openssl.cc |
+++ b/content/child/webcrypto/platform_crypto_openssl.cc |
@@ -494,26 +494,10 @@ Status ExportRsaPrivateKey(PrivateKey* key, |
return Status::ErrorUnsupported(); |
} |
-Status WrapSymKeyAesKw(SymKey* key, |
- SymKey* wrapping_key, |
- std::vector<uint8>* buffer) { |
- // TODO(eroman): http://crbug.com/267888 |
- return Status::ErrorUnsupported(); |
-} |
- |
-Status UnwrapSymKeyAesKw(const CryptoData& wrapped_key_data, |
- SymKey* wrapping_key, |
- const blink::WebCryptoAlgorithm& algorithm, |
- bool extractable, |
- blink::WebCryptoKeyUsageMask usage_mask, |
- blink::WebCryptoKey* key) { |
- // TODO(eroman): http://crbug.com/267888 |
- return Status::ErrorUnsupported(); |
-} |
- |
-Status DecryptAesKw(SymKey* key, |
- const CryptoData& data, |
- std::vector<uint8>* buffer) { |
+Status EncryptDecryptAesKw(EncryptOrDecrypt mode, |
+ SymKey* key, |
+ const CryptoData& data, |
+ std::vector<uint8>* buffer) { |
// TODO(eroman): http://crbug.com/267888 |
return Status::ErrorUnsupported(); |
} |