| 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 "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "net/quic/crypto/quic_decrypter.h" | 9 #include "net/quic/crypto/quic_decrypter.h" |
| 10 | 10 |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 const size_t nonce_prefix_size_; | 91 const size_t nonce_prefix_size_; |
| 92 | 92 |
| 93 // The key. | 93 // The key. |
| 94 unsigned char key_[kMaxKeySize]; | 94 unsigned char key_[kMaxKeySize]; |
| 95 // The nonce prefix. | 95 // The nonce prefix. |
| 96 unsigned char nonce_prefix_[kMaxNoncePrefixSize]; | 96 unsigned char nonce_prefix_[kMaxNoncePrefixSize]; |
| 97 | 97 |
| 98 #if defined(USE_OPENSSL) | 98 #if defined(USE_OPENSSL) |
| 99 ScopedEVPAEADCtx ctx_; | 99 ScopedEVPAEADCtx ctx_; |
| 100 #endif | 100 #endif |
| 101 |
| 102 DISALLOW_COPY_AND_ASSIGN(AeadBaseDecrypter); |
| 101 }; | 103 }; |
| 102 | 104 |
| 103 } // namespace net | 105 } // namespace net |
| 104 | 106 |
| 105 #endif // NET_QUIC_CRYPTO_AEAD_BASE_DECRYPTER_H_ | 107 #endif // NET_QUIC_CRYPTO_AEAD_BASE_DECRYPTER_H_ |
| OLD | NEW |