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_DECRYPTER_H_ | 5 #ifndef NET_QUIC_CRYPTO_AEAD_BASE_DECRYPTER_H_ |
6 #define NET_QUIC_CRYPTO_AEAD_BASE_DECRYPTER_H_ | 6 #define NET_QUIC_CRYPTO_AEAD_BASE_DECRYPTER_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_decrypter.h" | 12 #include "net/quic/crypto/quic_decrypter.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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 #if defined(USE_OPENSSL) | 87 #if defined(USE_OPENSSL) |
85 ScopedEVPAEADCtx ctx_; | 88 ScopedEVPAEADCtx ctx_; |
86 #endif | 89 #endif |
87 | 90 |
88 DISALLOW_COPY_AND_ASSIGN(AeadBaseDecrypter); | 91 DISALLOW_COPY_AND_ASSIGN(AeadBaseDecrypter); |
89 }; | 92 }; |
90 | 93 |
91 } // namespace net | 94 } // namespace net |
92 | 95 |
93 #endif // NET_QUIC_CRYPTO_AEAD_BASE_DECRYPTER_H_ | 96 #endif // NET_QUIC_CRYPTO_AEAD_BASE_DECRYPTER_H_ |
OLD | NEW |