Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(487)

Side by Side Diff: content/child/webcrypto/openssl/aes_key_openssl.h

Issue 404733005: Replace uses of uint8 with uint8_t. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase onto master Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_CHILD_WEBCRYPTO_OPENSSL_AES_OPENSSL_H_ 5 #ifndef CONTENT_CHILD_WEBCRYPTO_OPENSSL_AES_OPENSSL_H_
6 #define CONTENT_CHILD_WEBCRYPTO_OPENSSL_AES_OPENSSL_H_ 6 #define CONTENT_CHILD_WEBCRYPTO_OPENSSL_AES_OPENSSL_H_
7 7
8 #include "content/child/webcrypto/algorithm_implementation.h" 8 #include "content/child/webcrypto/algorithm_implementation.h"
9 9
10 namespace content { 10 namespace content {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 blink::WebCryptoKeyUsageMask usage_mask, 46 blink::WebCryptoKeyUsageMask usage_mask,
47 blink::WebCryptoKey* key) const OVERRIDE; 47 blink::WebCryptoKey* key) const OVERRIDE;
48 48
49 virtual Status ImportKeyJwk(const CryptoData& key_data, 49 virtual Status ImportKeyJwk(const CryptoData& key_data,
50 const blink::WebCryptoAlgorithm& algorithm, 50 const blink::WebCryptoAlgorithm& algorithm,
51 bool extractable, 51 bool extractable,
52 blink::WebCryptoKeyUsageMask usage_mask, 52 blink::WebCryptoKeyUsageMask usage_mask,
53 blink::WebCryptoKey* key) const OVERRIDE; 53 blink::WebCryptoKey* key) const OVERRIDE;
54 54
55 virtual Status ExportKeyRaw(const blink::WebCryptoKey& key, 55 virtual Status ExportKeyRaw(const blink::WebCryptoKey& key,
56 std::vector<uint8>* buffer) const OVERRIDE; 56 std::vector<uint8_t>* buffer) const OVERRIDE;
57 57
58 virtual Status ExportKeyJwk(const blink::WebCryptoKey& key, 58 virtual Status ExportKeyJwk(const blink::WebCryptoKey& key,
59 std::vector<uint8>* buffer) const OVERRIDE; 59 std::vector<uint8_t>* buffer) const OVERRIDE;
60 60
61 private: 61 private:
62 const blink::WebCryptoKeyUsageMask all_key_usages_; 62 const blink::WebCryptoKeyUsageMask all_key_usages_;
63 const std::string jwk_suffix_; 63 const std::string jwk_suffix_;
64 }; 64 };
65 65
66 } // namespace webcrypto 66 } // namespace webcrypto
67 67
68 } // namespace content 68 } // namespace content
69 69
70 #endif // CONTENT_CHILD_WEBCRYPTO_OPENSSL_AES_OPENSSL_H_ 70 #endif // CONTENT_CHILD_WEBCRYPTO_OPENSSL_AES_OPENSSL_H_
OLDNEW
« no previous file with comments | « content/child/webcrypto/openssl/aes_gcm_openssl.cc ('k') | content/child/webcrypto/openssl/aes_key_openssl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698