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

Side by Side Diff: components/webcrypto/algorithms/secret_key_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
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_SECRET_KEY_UTIL_ 5 #ifndef COMPONENTS_WEBCRYPTO_ALGORITHMS_SECRET_KEY_UTIL_
6 #define COMPONENTS_WEBCRYPTO_ALGORITHMS_SECRET_KEY_UTIL_ 6 #define COMPONENTS_WEBCRYPTO_ALGORITHMS_SECRET_KEY_UTIL_
7 7
8 #include <stdint.h>
9
8 #include <string> 10 #include <string>
9 #include <vector> 11 #include <vector>
10 12
11 #include "third_party/WebKit/public/platform/WebCryptoAlgorithm.h" 13 #include "third_party/WebKit/public/platform/WebCryptoAlgorithm.h"
12 #include "third_party/WebKit/public/platform/WebCryptoKey.h" 14 #include "third_party/WebKit/public/platform/WebCryptoKey.h"
13 15
14 // This file contains functions shared by multiple symmetric key algorithms. 16 // This file contains functions shared by multiple symmetric key algorithms.
15 17
16 namespace webcrypto { 18 namespace webcrypto {
17 19
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 Status ReadSecretKeyNoExpectedAlgJwk( 66 Status ReadSecretKeyNoExpectedAlgJwk(
65 const CryptoData& key_data, 67 const CryptoData& key_data,
66 bool expected_extractable, 68 bool expected_extractable,
67 blink::WebCryptoKeyUsageMask expected_usages, 69 blink::WebCryptoKeyUsageMask expected_usages,
68 std::vector<uint8_t>* raw_key_data, 70 std::vector<uint8_t>* raw_key_data,
69 JwkReader* jwk); 71 JwkReader* jwk);
70 72
71 } // namespace webcrypto 73 } // namespace webcrypto
72 74
73 #endif // COMPONENTS_WEBCRYPTO_ALGORITHMS_SECRET_KEY_UTIL_ 75 #endif // COMPONENTS_WEBCRYPTO_ALGORITHMS_SECRET_KEY_UTIL_
OLDNEW
« no previous file with comments | « components/webcrypto/algorithms/rsa_ssa_unittest.cc ('k') | components/webcrypto/algorithms/sha.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698