| Index: content/child/webcrypto/algorithm_implementation.h
|
| diff --git a/content/child/webcrypto/algorithm_implementation.h b/content/child/webcrypto/algorithm_implementation.h
|
| index 9982ae88337156b0ac756b7e8a17709b952d7726..3d310767abeebd26e977ff1c8e36ef66d2278577 100644
|
| --- a/content/child/webcrypto/algorithm_implementation.h
|
| +++ b/content/child/webcrypto/algorithm_implementation.h
|
| @@ -44,19 +44,19 @@ class AlgorithmImplementation {
|
| virtual Status Encrypt(const blink::WebCryptoAlgorithm& algorithm,
|
| const blink::WebCryptoKey& key,
|
| const CryptoData& data,
|
| - std::vector<uint8>* buffer) const;
|
| + std::vector<uint8_t>* buffer) const;
|
|
|
| // This method corresponds to Web Crypto's crypto.subtle.decrypt().
|
| virtual Status Decrypt(const blink::WebCryptoAlgorithm& algorithm,
|
| const blink::WebCryptoKey& key,
|
| const CryptoData& data,
|
| - std::vector<uint8>* buffer) const;
|
| + std::vector<uint8_t>* buffer) const;
|
|
|
| // This method corresponds to Web Crypto's crypto.subtle.sign().
|
| virtual Status Sign(const blink::WebCryptoAlgorithm& algorithm,
|
| const blink::WebCryptoKey& key,
|
| const CryptoData& data,
|
| - std::vector<uint8>* buffer) const;
|
| + std::vector<uint8_t>* buffer) const;
|
|
|
| // This method corresponds to Web Crypto's crypto.subtle.verify().
|
| virtual Status Verify(const blink::WebCryptoAlgorithm& algorithm,
|
| @@ -68,7 +68,7 @@ class AlgorithmImplementation {
|
| // This method corresponds to Web Crypto's crypto.subtle.digest().
|
| virtual Status Digest(const blink::WebCryptoAlgorithm& algorithm,
|
| const CryptoData& data,
|
| - std::vector<uint8>* buffer) const;
|
| + std::vector<uint8_t>* buffer) const;
|
|
|
| // VerifyKeyUsagesBeforeGenerateKey() must be called prior to
|
| // GenerateSecretKey() to validate the requested key usages.
|
| @@ -154,16 +154,16 @@ class AlgorithmImplementation {
|
| // -----------------------------------------------
|
|
|
| virtual Status ExportKeyRaw(const blink::WebCryptoKey& key,
|
| - std::vector<uint8>* buffer) const;
|
| + std::vector<uint8_t>* buffer) const;
|
|
|
| virtual Status ExportKeyPkcs8(const blink::WebCryptoKey& key,
|
| - std::vector<uint8>* buffer) const;
|
| + std::vector<uint8_t>* buffer) const;
|
|
|
| virtual Status ExportKeySpki(const blink::WebCryptoKey& key,
|
| - std::vector<uint8>* buffer) const;
|
| + std::vector<uint8_t>* buffer) const;
|
|
|
| virtual Status ExportKeyJwk(const blink::WebCryptoKey& key,
|
| - std::vector<uint8>* buffer) const;
|
| + std::vector<uint8_t>* buffer) const;
|
| };
|
|
|
| } // namespace webcrypto
|
|
|