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

Side by Side Diff: net/ssl/ssl_cipher_suite_names.h

Issue 1056153002: Reland 'Require ECDHE for False Start.' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « net/socket/ssl_client_socket_unittest.cc ('k') | net/ssl/ssl_cipher_suite_names.cc » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_SSL_SSL_CIPHER_SUITE_NAMES_H_ 5 #ifndef NET_SSL_SSL_CIPHER_SUITE_NAMES_H_
6 #define NET_SSL_SSL_CIPHER_SUITE_NAMES_H_ 6 #define NET_SSL_SSL_CIPHER_SUITE_NAMES_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 // cipher suite is arbitrarily determined here. The intent is to indicate what 50 // cipher suite is arbitrarily determined here. The intent is to indicate what
51 // cipher suites meet modern security standards when backwards compatibility can 51 // cipher suites meet modern security standards when backwards compatibility can
52 // be ignored. Notably, HTTP/2 requires/encourages this sort of validation of 52 // be ignored. Notably, HTTP/2 requires/encourages this sort of validation of
53 // cipher suites: https://http2.github.io/http2-spec/#TLSUsage. 53 // cipher suites: https://http2.github.io/http2-spec/#TLSUsage.
54 // 54 //
55 // Currently, this function follows these criteria: 55 // Currently, this function follows these criteria:
56 // 1) Only uses forward secure key exchanges 56 // 1) Only uses forward secure key exchanges
57 // 2) Only uses AEADs 57 // 2) Only uses AEADs
58 NET_EXPORT bool IsSecureTLSCipherSuite(uint16 cipher_suite); 58 NET_EXPORT bool IsSecureTLSCipherSuite(uint16 cipher_suite);
59 59
60 // Returns true if |cipher_suite| is suitable for use with False Start.
61 NET_EXPORT bool IsFalseStartableTLSCipherSuite(uint16 cipher_suite);
62
60 } // namespace net 63 } // namespace net
61 64
62 #endif // NET_SSL_SSL_CIPHER_SUITE_NAMES_H_ 65 #endif // NET_SSL_SSL_CIPHER_SUITE_NAMES_H_
OLDNEW
« no previous file with comments | « net/socket/ssl_client_socket_unittest.cc ('k') | net/ssl/ssl_cipher_suite_names.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698