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

Side by Side Diff: net/quic/crypto/null_encrypter.h

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef Created 5 years 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
« no previous file with comments | « net/quic/crypto/null_decrypter.cc ('k') | net/quic/crypto/p256_key_exchange.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 NET_QUIC_CRYPTO_NULL_ENCRYPTER_H_ 5 #ifndef NET_QUIC_CRYPTO_NULL_ENCRYPTER_H_
6 #define NET_QUIC_CRYPTO_NULL_ENCRYPTER_H_ 6 #define NET_QUIC_CRYPTO_NULL_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/base/net_export.h" 12 #include "net/base/net_export.h"
10 #include "net/quic/crypto/quic_encrypter.h" 13 #include "net/quic/crypto/quic_encrypter.h"
11 14
12 namespace net { 15 namespace net {
13 16
14 // A NullEncrypter is a QuicEncrypter used before a crypto negotiation 17 // A NullEncrypter is a QuicEncrypter used before a crypto negotiation
15 // has occurred. It does not actually encrypt the payload, but does 18 // has occurred. It does not actually encrypt the payload, but does
16 // generate a MAC (fnv128) over both the payload and associated data. 19 // generate a MAC (fnv128) over both the payload and associated data.
17 class NET_EXPORT_PRIVATE NullEncrypter : public QuicEncrypter { 20 class NET_EXPORT_PRIVATE NullEncrypter : public QuicEncrypter {
18 public: 21 public:
(...skipping 18 matching lines...) Expand all
37 40
38 private: 41 private:
39 size_t GetHashLength() const; 42 size_t GetHashLength() const;
40 43
41 DISALLOW_COPY_AND_ASSIGN(NullEncrypter); 44 DISALLOW_COPY_AND_ASSIGN(NullEncrypter);
42 }; 45 };
43 46
44 } // namespace net 47 } // namespace net
45 48
46 #endif // NET_QUIC_CRYPTO_NULL_ENCRYPTER_H_ 49 #endif // NET_QUIC_CRYPTO_NULL_ENCRYPTER_H_
OLDNEW
« no previous file with comments | « net/quic/crypto/null_decrypter.cc ('k') | net/quic/crypto/p256_key_exchange.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698