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

Side by Side Diff: crypto/symmetric_key.h

Issue 1539353003: Switch to standard integer types in crypto/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 years 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 | « crypto/signature_verifier_unittest.cc ('k') | crypto/symmetric_key_nss.cc » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CRYPTO_SYMMETRIC_KEY_H_ 5 #ifndef CRYPTO_SYMMETRIC_KEY_H_
6 #define CRYPTO_SYMMETRIC_KEY_H_ 6 #define CRYPTO_SYMMETRIC_KEY_H_
7 7
8 #include <stddef.h>
9
8 #include <string> 10 #include <string>
9 11
10 #include "base/basictypes.h" 12 #include "base/macros.h"
13 #include "build/build_config.h"
11 #include "crypto/crypto_export.h" 14 #include "crypto/crypto_export.h"
12 15
13 #if defined(NACL_WIN64) 16 #if defined(NACL_WIN64)
14 // See comments for crypto_nacl_win64 in crypto.gyp. 17 // See comments for crypto_nacl_win64 in crypto.gyp.
15 // Must test for NACL_WIN64 before OS_WIN since former is a subset of latter. 18 // Must test for NACL_WIN64 before OS_WIN since former is a subset of latter.
16 #include "crypto/scoped_capi_types.h" 19 #include "crypto/scoped_capi_types.h"
17 #elif defined(USE_NSS_CERTS) || \ 20 #elif defined(USE_NSS_CERTS) || \
18 (!defined(USE_OPENSSL) && (defined(OS_WIN) || defined(OS_MACOSX))) 21 (!defined(USE_OPENSSL) && (defined(OS_WIN) || defined(OS_MACOSX)))
19 #include "crypto/scoped_nss_types.h" 22 #include "crypto/scoped_nss_types.h"
20 #endif 23 #endif
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 explicit SymmetricKey(PK11SymKey* key); 95 explicit SymmetricKey(PK11SymKey* key);
93 ScopedPK11SymKey key_; 96 ScopedPK11SymKey key_;
94 #endif 97 #endif
95 98
96 DISALLOW_COPY_AND_ASSIGN(SymmetricKey); 99 DISALLOW_COPY_AND_ASSIGN(SymmetricKey);
97 }; 100 };
98 101
99 } // namespace crypto 102 } // namespace crypto
100 103
101 #endif // CRYPTO_SYMMETRIC_KEY_H_ 104 #endif // CRYPTO_SYMMETRIC_KEY_H_
OLDNEW
« no previous file with comments | « crypto/signature_verifier_unittest.cc ('k') | crypto/symmetric_key_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698