OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 NET_QUIC_CRYPTO_AEAD_BASE_ENCRYPTER_H_ | 5 #ifndef NET_QUIC_CRYPTO_AEAD_BASE_ENCRYPTER_H_ |
6 #define NET_QUIC_CRYPTO_AEAD_BASE_ENCRYPTER_H_ | 6 #define NET_QUIC_CRYPTO_AEAD_BASE_ENCRYPTER_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" |
9 #include "net/quic/crypto/quic_encrypter.h" | 12 #include "net/quic/crypto/quic_encrypter.h" |
10 | 13 |
11 #if defined(USE_OPENSSL) | 14 #if defined(USE_OPENSSL) |
12 #include "net/quic/crypto/scoped_evp_aead_ctx.h" | 15 #include "net/quic/crypto/scoped_evp_aead_ctx.h" |
13 #else | 16 #else |
14 #include <pkcs11t.h> | 17 #include <pkcs11t.h> |
15 #endif | 18 #endif |
16 | 19 |
17 namespace net { | 20 namespace net { |
18 | 21 |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 #if defined(USE_OPENSSL) | 98 #if defined(USE_OPENSSL) |
96 ScopedEVPAEADCtx ctx_; | 99 ScopedEVPAEADCtx ctx_; |
97 #endif | 100 #endif |
98 | 101 |
99 DISALLOW_COPY_AND_ASSIGN(AeadBaseEncrypter); | 102 DISALLOW_COPY_AND_ASSIGN(AeadBaseEncrypter); |
100 }; | 103 }; |
101 | 104 |
102 } // namespace net | 105 } // namespace net |
103 | 106 |
104 #endif // NET_QUIC_CRYPTO_AEAD_BASE_ENCRYPTER_H_ | 107 #endif // NET_QUIC_CRYPTO_AEAD_BASE_ENCRYPTER_H_ |
OLD | NEW |