| Index: content/child/webcrypto/platform_crypto.h
|
| diff --git a/content/child/webcrypto/platform_crypto.h b/content/child/webcrypto/platform_crypto.h
|
| index b9f429c1cefeeb05e53bb674d67f8bdb346a86c6..abe9b2385529ad7129a884b48bad35aff4a55905 100644
|
| --- a/content/child/webcrypto/platform_crypto.h
|
| +++ b/content/child/webcrypto/platform_crypto.h
|
| @@ -110,6 +110,26 @@ Status DecryptRsaEsPkcs1v1_5(PrivateKey* key,
|
| std::vector<uint8>* buffer);
|
|
|
| // Preconditions:
|
| +// * |key| is non-null
|
| +// * |hash| is a digest algorithm
|
| +// * |label| MAY be empty (e.g. 0 bytes long).
|
| +Status EncryptRsaOaep(PublicKey* key,
|
| + const blink::WebCryptoAlgorithm& hash,
|
| + const CryptoData& label,
|
| + const CryptoData& data,
|
| + std::vector<uint8>* buffer);
|
| +
|
| +// Preconditions:
|
| +// * |key| is non-null
|
| +// * |hash| is a digest algorithm
|
| +// * |label| MAY be empty (e.g. 0 bytes long).
|
| +Status DecryptRsaOaep(PrivateKey* key,
|
| + const blink::WebCryptoAlgorithm& hash,
|
| + const CryptoData& label,
|
| + const CryptoData& data,
|
| + std::vector<uint8>* buffer);
|
| +
|
| +// Preconditions:
|
| // * |key| is a non-null HMAC key.
|
| // * |hash| is a digest algorithm.
|
| Status SignHmac(SymKey* key,
|
|
|