Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1428)

Side by Side Diff: net/quic/core/crypto/aead_base_encrypter.h

Issue 2193073003: Move shared files in net/quic/ into net/quic/core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: io_thread_unittest.cc Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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> 8 #include <stddef.h>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "net/quic/crypto/quic_encrypter.h" 12 #include "net/quic/core/crypto/quic_encrypter.h"
13 #include "net/quic/crypto/scoped_evp_aead_ctx.h" 13 #include "net/quic/core/crypto/scoped_evp_aead_ctx.h"
14 14
15 namespace net { 15 namespace net {
16 16
17 // AeadBaseEncrypter is the base class of AEAD QuicEncrypter subclasses. 17 // AeadBaseEncrypter is the base class of AEAD QuicEncrypter subclasses.
18 class NET_EXPORT_PRIVATE AeadBaseEncrypter : public QuicEncrypter { 18 class NET_EXPORT_PRIVATE AeadBaseEncrypter : public QuicEncrypter {
19 public: 19 public:
20 AeadBaseEncrypter(const EVP_AEAD* aead_alg, 20 AeadBaseEncrypter(const EVP_AEAD* aead_alg,
21 size_t key_size, 21 size_t key_size,
22 size_t auth_tag_size, 22 size_t auth_tag_size,
23 size_t nonce_prefix_size); 23 size_t nonce_prefix_size);
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 unsigned char nonce_prefix_[kMaxNoncePrefixSize]; 66 unsigned char nonce_prefix_[kMaxNoncePrefixSize];
67 67
68 ScopedEVPAEADCtx ctx_; 68 ScopedEVPAEADCtx ctx_;
69 69
70 DISALLOW_COPY_AND_ASSIGN(AeadBaseEncrypter); 70 DISALLOW_COPY_AND_ASSIGN(AeadBaseEncrypter);
71 }; 71 };
72 72
73 } // namespace net 73 } // namespace net
74 74
75 #endif // NET_QUIC_CRYPTO_AEAD_BASE_ENCRYPTER_H_ 75 #endif // NET_QUIC_CRYPTO_AEAD_BASE_ENCRYPTER_H_
OLDNEW
« no previous file with comments | « net/quic/core/crypto/aead_base_decrypter.cc ('k') | net/quic/core/crypto/aead_base_encrypter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698