OLD | NEW |
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 #pragma once | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 | 9 |
11 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
12 #include "crypto/crypto_export.h" | 11 #include "crypto/crypto_export.h" |
13 | 12 |
14 #if defined(NACL_WIN64) | 13 #if defined(NACL_WIN64) |
15 // See comments for crypto_nacl_win64 in crypto.gyp. | 14 // See comments for crypto_nacl_win64 in crypto.gyp. |
16 // Must test for NACL_WIN64 before OS_WIN since former is a subset of latter. | 15 // Must test for NACL_WIN64 before OS_WIN since former is a subset of latter. |
17 #include "crypto/scoped_capi_types.h" | 16 #include "crypto/scoped_capi_types.h" |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 explicit SymmetricKey(PK11SymKey* key); | 96 explicit SymmetricKey(PK11SymKey* key); |
98 ScopedPK11SymKey key_; | 97 ScopedPK11SymKey key_; |
99 #endif | 98 #endif |
100 | 99 |
101 DISALLOW_COPY_AND_ASSIGN(SymmetricKey); | 100 DISALLOW_COPY_AND_ASSIGN(SymmetricKey); |
102 }; | 101 }; |
103 | 102 |
104 } // namespace crypto | 103 } // namespace crypto |
105 | 104 |
106 #endif // CRYPTO_SYMMETRIC_KEY_H_ | 105 #endif // CRYPTO_SYMMETRIC_KEY_H_ |
OLD | NEW |