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

Side by Side Diff: net/quic/crypto/aead_base_encrypter.cc

Issue 1916463002: Rename _openssl files in net/quic/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge in headers. Created 4 years, 8 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 #include <openssl/err.h> 5 #include <openssl/err.h>
6 #include <openssl/evp.h> 6 #include <openssl/evp.h>
7 #include <string.h> 7 #include <string.h>
8 8
9 #include <memory> 9 #include <memory>
10 10
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 155
156 StringPiece AeadBaseEncrypter::GetNoncePrefix() const { 156 StringPiece AeadBaseEncrypter::GetNoncePrefix() const {
157 if (nonce_prefix_size_ == 0) { 157 if (nonce_prefix_size_ == 0) {
158 return StringPiece(); 158 return StringPiece();
159 } 159 }
160 return StringPiece(reinterpret_cast<const char*>(nonce_prefix_), 160 return StringPiece(reinterpret_cast<const char*>(nonce_prefix_),
161 nonce_prefix_size_); 161 nonce_prefix_size_);
162 } 162 }
163 163
164 } // namespace net 164 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/crypto/aead_base_decrypter_openssl.cc ('k') | net/quic/crypto/aead_base_encrypter_openssl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698