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_ENCRYPTOR_H_ | 5 #ifndef CRYPTO_ENCRYPTOR_H_ |
6 #define CRYPTO_ENCRYPTOR_H_ | 6 #define CRYPTO_ENCRYPTOR_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/string_piece.h" | 12 #include "base/strings/string_piece.h" |
13 #include "build/build_config.h" | 13 #include "build/build_config.h" |
14 #include "crypto/crypto_export.h" | 14 #include "crypto/crypto_export.h" |
15 | 15 |
16 #if defined(USE_NSS) || defined(OS_WIN) || defined(OS_MACOSX) | 16 #if defined(USE_NSS) || defined(OS_WIN) || defined(OS_MACOSX) |
17 #include "crypto/scoped_nss_types.h" | 17 #include "crypto/scoped_nss_types.h" |
18 #endif | 18 #endif |
19 | 19 |
20 namespace crypto { | 20 namespace crypto { |
21 | 21 |
22 class SymmetricKey; | 22 class SymmetricKey; |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 bool CryptCTR(PK11Context* context, | 125 bool CryptCTR(PK11Context* context, |
126 const base::StringPiece& input, | 126 const base::StringPiece& input, |
127 std::string* output); | 127 std::string* output); |
128 ScopedSECItem param_; | 128 ScopedSECItem param_; |
129 #endif | 129 #endif |
130 }; | 130 }; |
131 | 131 |
132 } // namespace crypto | 132 } // namespace crypto |
133 | 133 |
134 #endif // CRYPTO_ENCRYPTOR_H_ | 134 #endif // CRYPTO_ENCRYPTOR_H_ |
OLD | NEW |