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

Side by Side Diff: content/child/webcrypto/platform_crypto.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_PLATFORM_CRYPTO_H_ 5 #ifndef CONTENT_CHILD_WEBCRYPTO_PLATFORM_CRYPTO_H_
6 #define CONTENT_CHILD_WEBCRYPTO_PLATFORM_CRYPTO_H_ 6 #define CONTENT_CHILD_WEBCRYPTO_PLATFORM_CRYPTO_H_
7 7
8 #include <stdint.h>
8 #include <vector> 9 #include <vector>
9 10
10 #include "base/basictypes.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "content/common/content_export.h"
13 #include "third_party/WebKit/public/platform/WebCrypto.h" 12 #include "third_party/WebKit/public/platform/WebCrypto.h"
14 13
15 // The definitions for these methods lives in either nss/ or openssl/ 14 // The definitions for these methods lives in either nss/ or openssl/
16 namespace content { 15 namespace content {
17 16
18 namespace webcrypto { 17 namespace webcrypto {
19 18
20 class AlgorithmImplementation; 19 class AlgorithmImplementation;
21 20
22 void PlatformInit(); 21 void PlatformInit();
23 22
24 scoped_ptr<blink::WebCryptoDigestor> CreatePlatformDigestor( 23 scoped_ptr<blink::WebCryptoDigestor> CreatePlatformDigestor(
25 blink::WebCryptoAlgorithmId algorithm); 24 blink::WebCryptoAlgorithmId algorithm);
26 25
27 AlgorithmImplementation* CreatePlatformShaImplementation(); 26 AlgorithmImplementation* CreatePlatformShaImplementation();
28 AlgorithmImplementation* CreatePlatformAesCbcImplementation(); 27 AlgorithmImplementation* CreatePlatformAesCbcImplementation();
29 AlgorithmImplementation* CreatePlatformAesGcmImplementation(); 28 AlgorithmImplementation* CreatePlatformAesGcmImplementation();
30 AlgorithmImplementation* CreatePlatformAesKwImplementation(); 29 AlgorithmImplementation* CreatePlatformAesKwImplementation();
31 AlgorithmImplementation* CreatePlatformHmacImplementation(); 30 AlgorithmImplementation* CreatePlatformHmacImplementation();
32 AlgorithmImplementation* CreatePlatformRsaOaepImplementation(); 31 AlgorithmImplementation* CreatePlatformRsaOaepImplementation();
33 AlgorithmImplementation* CreatePlatformRsaSsaImplementation(); 32 AlgorithmImplementation* CreatePlatformRsaSsaImplementation();
34 33
35 bool PlatformSerializeKeyForClone(const blink::WebCryptoKey& key, 34 bool PlatformSerializeKeyForClone(const blink::WebCryptoKey& key,
36 blink::WebVector<uint8>* key_data); 35 blink::WebVector<uint8_t>* key_data);
37 36
38 } // namespace webcrypto 37 } // namespace webcrypto
39 38
40 } // namespace content 39 } // namespace content
41 40
42 #endif // CONTENT_CHILD_WEBCRYPTO_PLATFORM_CRYPTO_H_ 41 #endif // CONTENT_CHILD_WEBCRYPTO_PLATFORM_CRYPTO_H_
OLDNEW
« no previous file with comments | « content/child/webcrypto/openssl/sha_openssl.cc ('k') | content/child/webcrypto/shared_crypto_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698