| Index: content/child/webcrypto/webcrypto_util.h
|
| diff --git a/content/child/webcrypto/webcrypto_util.h b/content/child/webcrypto/webcrypto_util.h
|
| index f3d302eec9353d42c616b557e657d0e848412c26..60f0dbdfa7ed001907f2ca61bc0fea02a782e4d7 100644
|
| --- a/content/child/webcrypto/webcrypto_util.h
|
| +++ b/content/child/webcrypto/webcrypto_util.h
|
| @@ -12,7 +12,6 @@
|
| #include "base/values.h"
|
| #include "content/common/content_export.h"
|
| #include "third_party/WebKit/public/platform/WebArrayBuffer.h"
|
| -#include "third_party/WebKit/public/platform/WebCrypto.h" // TODO(eroman): delete
|
| #include "third_party/WebKit/public/platform/WebCryptoAlgorithm.h"
|
| #include "third_party/WebKit/public/platform/WebCryptoKey.h"
|
|
|
| @@ -36,7 +35,6 @@ void ShrinkBuffer(blink::WebArrayBuffer* buffer, unsigned int new_size);
|
| blink::WebArrayBuffer CreateArrayBuffer(const uint8* data,
|
| unsigned int data_size);
|
|
|
| -// TODO(eroman): Move this to JWK file.
|
| // This function decodes unpadded 'base64url' encoded data, as described in
|
| // RFC4648 (http://www.ietf.org/rfc/rfc4648.txt) Section 5.
|
| // In Web Crypto, this type of encoding is only used inside JWK.
|
| @@ -80,21 +78,6 @@ CONTENT_EXPORT blink::WebCryptoAlgorithm CreateRsaHashedImportAlgorithm(
|
| blink::WebCryptoAlgorithmId id,
|
| blink::WebCryptoAlgorithmId hash_id);
|
|
|
| -// TODO(eroman): Move these to jwk.cc
|
| -// Creates an RSASSA-PKCS1-v1_5 algorithm. It is an error to call this with a
|
| -// hash_id that is not a SHA*.
|
| -blink::WebCryptoAlgorithm CreateRsaSsaImportAlgorithm(
|
| - blink::WebCryptoAlgorithmId hash_id);
|
| -
|
| -// Creates an RSA-OAEP algorithm. It is an error to call this with a hash_id
|
| -// that is not a SHA*.
|
| -blink::WebCryptoAlgorithm CreateRsaOaepImportAlgorithm(
|
| - blink::WebCryptoAlgorithmId hash_id);
|
| -
|
| -// TODO(eroman): Move to shared_crypto.cc
|
| -// Returns the internal block size for SHA-*
|
| -unsigned int ShaBlockSizeBytes(blink::WebCryptoAlgorithmId hash_id);
|
| -
|
| bool CreateSecretKeyAlgorithm(const blink::WebCryptoAlgorithm& algorithm,
|
| unsigned int keylen_bytes,
|
| blink::WebCryptoKeyAlgorithm* key_algorithm);
|
|
|