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

Side by Side Diff: components/webcrypto/algorithms/util.h

Issue 1549993003: Switch to standard integer types in components/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
« no previous file with comments | « components/webcrypto/algorithms/test_helpers.cc ('k') | components/webcrypto/crypto_data.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 COMPONENTS_WEBCRYPTO_ALGORITHMS_UTIL_H_ 5 #ifndef COMPONENTS_WEBCRYPTO_ALGORITHMS_UTIL_H_
6 #define COMPONENTS_WEBCRYPTO_ALGORITHMS_UTIL_H_ 6 #define COMPONENTS_WEBCRYPTO_ALGORITHMS_UTIL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include <openssl/base.h> 11 #include <openssl/base.h>
12 #include <stddef.h>
13 #include <stdint.h>
12 14
13 #include "third_party/WebKit/public/platform/WebCryptoAlgorithm.h" 15 #include "third_party/WebKit/public/platform/WebCryptoAlgorithm.h"
14 #include "third_party/WebKit/public/platform/WebCryptoKey.h" 16 #include "third_party/WebKit/public/platform/WebCryptoKey.h"
15 17
16 // This file contains miscellaneous helpers that don't belong in any of the 18 // This file contains miscellaneous helpers that don't belong in any of the
17 // other *_util.h 19 // other *_util.h
18 20
19 namespace webcrypto { 21 namespace webcrypto {
20 22
21 class CryptoData; 23 class CryptoData;
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 const CryptoData& data, 89 const CryptoData& data,
88 unsigned int tag_length_bytes, 90 unsigned int tag_length_bytes,
89 const CryptoData& iv, 91 const CryptoData& iv,
90 const CryptoData& additional_data, 92 const CryptoData& additional_data,
91 const EVP_AEAD* aead_alg, 93 const EVP_AEAD* aead_alg,
92 std::vector<uint8_t>* buffer); 94 std::vector<uint8_t>* buffer);
93 95
94 } // namespace webcrypto 96 } // namespace webcrypto
95 97
96 #endif // COMPONENTS_WEBCRYPTO_ALGORITHMS_UTIL_H_ 98 #endif // COMPONENTS_WEBCRYPTO_ALGORITHMS_UTIL_H_
OLDNEW
« no previous file with comments | « components/webcrypto/algorithms/test_helpers.cc ('k') | components/webcrypto/crypto_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698