| 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 30b1aeb76771d2ea63fbed0efc077984771777ae..985b8c2ec92b886de2fdb006d4a111c618fe3a08 100644
|
| --- a/content/child/webcrypto/platform_crypto_openssl.cc
|
| +++ b/content/child/webcrypto/platform_crypto_openssl.cc
|
| @@ -303,7 +303,6 @@ Status GenerateRsaKeyPair(const blink::WebCryptoAlgorithm& algorithm,
|
| blink::WebCryptoKeyUsageMask usage_mask,
|
| unsigned int modulus_length_bits,
|
| const CryptoData& public_exponent,
|
| - const blink::WebCryptoAlgorithm& hash,
|
| blink::WebCryptoKey* public_key,
|
| blink::WebCryptoKey* private_key) {
|
| // TODO(padolph): Placeholder for OpenSSL implementation.
|
| @@ -408,21 +407,6 @@ Status EncryptDecryptAesGcm(EncryptOrDecrypt mode,
|
| return Status::ErrorUnsupported();
|
| }
|
|
|
| -// Guaranteed that key is valid.
|
| -Status EncryptRsaEsPkcs1v1_5(PublicKey* key,
|
| - const CryptoData& data,
|
| - std::vector<uint8>* buffer) {
|
| - // TODO(eroman): http://crbug.com/267888
|
| - return Status::ErrorUnsupported();
|
| -}
|
| -
|
| -Status DecryptRsaEsPkcs1v1_5(PrivateKey* key,
|
| - const CryptoData& data,
|
| - std::vector<uint8>* buffer) {
|
| - // TODO(eroman): http://crbug.com/267888
|
| - return Status::ErrorUnsupported();
|
| -}
|
| -
|
| Status EncryptRsaOaep(PublicKey* key,
|
| const blink::WebCryptoAlgorithm& hash,
|
| const CryptoData& label,
|
| @@ -533,23 +517,6 @@ Status DecryptAesKw(SymKey* key,
|
| return Status::ErrorUnsupported();
|
| }
|
|
|
| -Status WrapSymKeyRsaEs(SymKey* key,
|
| - PublicKey* wrapping_key,
|
| - std::vector<uint8>* buffer) {
|
| - // TODO(eroman): http://crbug.com/267888
|
| - return Status::ErrorUnsupported();
|
| -}
|
| -
|
| -Status UnwrapSymKeyRsaEs(const CryptoData& wrapped_key_data,
|
| - PrivateKey* wrapping_key,
|
| - const blink::WebCryptoAlgorithm& algorithm,
|
| - bool extractable,
|
| - blink::WebCryptoKeyUsageMask usage_mask,
|
| - blink::WebCryptoKey* key) {
|
| - // TODO(eroman): http://crbug.com/267888
|
| - return Status::ErrorUnsupported();
|
| -}
|
| -
|
| bool ThreadSafeDeserializeKeyForClone(
|
| const blink::WebCryptoKeyAlgorithm& algorithm,
|
| blink::WebCryptoKeyType type,
|
|
|