Searched refs:vrange (Results 1 – 12 of 12) sorted by relevance
/external/chromium_org/net/third_party/nss/ssl/ |
D | sslsock.c | 205 ss->vrange = os->vrange; in ssl_DupSocket() 511 ssl_EnableTLS(SSLVersionRange *vrange, PRBool on) in ssl_EnableTLS() argument 513 if (SSL3_ALL_VERSIONS_DISABLED(vrange)) { in ssl_EnableTLS() 515 vrange->min = SSL_LIBRARY_VERSION_TLS_1_0; in ssl_EnableTLS() 516 vrange->max = SSL_LIBRARY_VERSION_TLS_1_0; in ssl_EnableTLS() 523 vrange->min = PR_MIN(vrange->min, SSL_LIBRARY_VERSION_TLS_1_0); in ssl_EnableTLS() 524 vrange->max = PR_MAX(vrange->max, SSL_LIBRARY_VERSION_TLS_1_0); in ssl_EnableTLS() 527 if (vrange->min == SSL_LIBRARY_VERSION_3_0) { in ssl_EnableTLS() 528 vrange->max = SSL_LIBRARY_VERSION_3_0; in ssl_EnableTLS() 531 vrange->min = SSL_LIBRARY_VERSION_NONE; in ssl_EnableTLS() [all …]
|
D | ssl.h | 366 SSLProtocolVariant protocolVariant, SSLVersionRange *vrange); 372 SSLProtocolVariant protocolVariant, SSLVersionRange *vrange); 378 SSLProtocolVariant protocolVariant, const SSLVersionRange *vrange); 382 SSLVersionRange *vrange); 386 const SSLVersionRange *vrange);
|
D | sslcon.c | 246 ss->vrange.min = SSL_LIBRARY_VERSION_NONE; in ssl2_CheckConfigSanity() 247 ss->vrange.max = SSL_LIBRARY_VERSION_NONE; in ssl2_CheckConfigSanity() 250 if (!ss->opt.enableSSL2 && SSL3_ALL_VERSIONS_DISABLED(&ss->vrange)) { in ssl2_CheckConfigSanity() 1659 if (!SSL3_ALL_VERSIONS_DISABLED(&ss->vrange)) { in ssl2_ServerSetupSessionCypher() 2120 if (!SSL3_ALL_VERSIONS_DISABLED(&ss->vrange)) { in ssl2_ClientSetupSessionCypher() 3029 (!SSL3_ALL_VERSIONS_DISABLED(&ss->vrange) && in ssl2_BeginClientHandshake() 3030 sid->version >= ss->vrange.min && in ssl2_BeginClientHandshake() 3031 sid->version <= ss->vrange.max) || in ssl2_BeginClientHandshake() 3089 !SSL3_ALL_VERSIONS_DISABLED(&ss->vrange)) { in ssl2_BeginClientHandshake() 3139 ss->clientHelloVersion = SSL3_ALL_VERSIONS_DISABLED(&ss->vrange) ? in ssl2_BeginClientHandshake() [all …]
|
D | ssl3con.c | 653 const SSLVersionRange *vrange) in ssl3_CipherSuiteAllowedForVersionRange() argument 670 return vrange->min <= SSL_LIBRARY_VERSION_TLS_1_0; in ssl3_CipherSuiteAllowedForVersionRange() 684 return vrange->max >= SSL_LIBRARY_VERSION_TLS_1_2; in ssl3_CipherSuiteAllowedForVersionRange() 749 if (SSL3_ALL_VERSIONS_DISABLED(&ss->vrange)) { in ssl3_config_match_init() 837 const SSLVersionRange *vrange) in config_match() argument 847 suite->cipher_suite, vrange)); in config_match() 858 if (SSL3_ALL_VERSIONS_DISABLED(&ss->vrange)) { in count_cipher_suites() 862 if (config_match(&ss->cipherSuites[i], policy, enabled, &ss->vrange)) in count_cipher_suites() 905 if (SSL3_ALL_VERSIONS_DISABLED(&ss->vrange)) { in ssl3_NegotiateVersion() 910 if (peerVersion < ss->vrange.min || in ssl3_NegotiateVersion() [all …]
|
D | sslgathr.c | 111 if (!SSL3_ALL_VERSIONS_DISABLED(&ss->vrange) && !ss->firstHsDone) { in ssl2_GatherData()
|
D | sslimpl.h | 1227 SSLVersionRange vrange; member 1618 #define SSL3_ALL_VERSIONS_DISABLED(vrange) \ argument 1619 ((vrange)->min == SSL_LIBRARY_VERSION_NONE)
|
/external/chromium_org/net/third_party/nss/patches/ |
D | tls12chromium.patch | 78 SSL_VersionRangeSet(PRFileDesc *fd, const SSLVersionRange *vrange) 83 ss->vrange = *vrange; 86 + if (ss->vrange.max >= SSL_LIBRARY_VERSION_TLS_1_2 && 90 + if (ss->vrange.min >= SSL_LIBRARY_VERSION_TLS_1_2) { 96 + ss->vrange.max = SSL_LIBRARY_VERSION_TLS_1_1;
|
D | fallbackscsv.patch | 62 if (config_match(suite, ss->ssl3.policy, PR_TRUE, &ss->vrange)) { 69 + if (ss->vrange.max > ss->clientHelloVersion) {
|
D | chacha20poly1305.patch | 63 return vrange->min <= SSL_LIBRARY_VERSION_TLS_1_0;
|
D | nssrwlock.patch | 110 if (config_match(suite, ss->ssl3.policy, PR_TRUE, &ss->vrange)) {
|
/external/chromium_org/third_party/webrtc/base/ |
D | nssstreamadapter.cc | 499 SSLVersionRange vrange; in BeginSSL() local 500 vrange.min = (ssl_mode_ == SSL_MODE_DTLS) ? in BeginSSL() 503 vrange.max = SSL_LIBRARY_VERSION_TLS_1_1; in BeginSSL() 505 rv = SSL_VersionRangeSet(ssl_fd_, &vrange); in BeginSSL()
|
/external/eigen/bench/btl/data/ |
D | gnuplot_common_settings.hh | 68 set vrange [ * : * ] noreverse nowriteback # (currently [-5:5] )
|