Home
last modified time | relevance | path

Searched refs:vrange (Results 1 – 13 of 13) sorted by relevance

/external/chromium_org/net/third_party/nss/patches/
Dciphersuiteversion.patch13 + const SSLVersionRange *vrange)
22 + return vrange->min <= SSL_LIBRARY_VERSION_TLS_1_0;
33 + return vrange->max >= SSL_LIBRARY_VERSION_TLS_1_2;
53 + const SSLVersionRange *vrange)
64 + suite->cipher_suite, vrange));
78 + if (config_match(&ss->cipherSuites[i], policy, enabled, &ss->vrange))
87 + if (config_match(suite, ss->ssl3.policy, PR_TRUE, &ss->vrange)) {
96 + SSLVersionRange vrange = {ss->version, ss->version};
97 + if (!config_match(suite, ss->ssl3.policy, PR_TRUE, &vrange)) {
101 + if (!ssl3_CipherSuiteAllowedForVersionRange(temp, &vrange)) {
[all …]
Dtls12chromium.patch78 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;
Dsslsock_903565.patch8 ss->vrange = *VERSIONS_DEFAULTS(protocolVariant);
Drenegoscsv.patch11 - if (!ss->firstHsDone && ss->vrange.min == SSL_LIBRARY_VERSION_3_0) {
Dfallbackscsv.patch81 if (config_match(suite, ss->ssl3.policy, PR_TRUE, &ss->vrange)) {
88 + if (ss->vrange.max > ss->clientHelloVersion) {
/external/chromium_org/net/third_party/nss/ssl/
Dsslsock.c291 ss->vrange = os->vrange; in ssl_DupSocket()
597 ssl_EnableTLS(SSLVersionRange *vrange, PRBool on) in ssl_EnableTLS() argument
599 if (SSL3_ALL_VERSIONS_DISABLED(vrange)) { in ssl_EnableTLS()
601 vrange->min = SSL_LIBRARY_VERSION_TLS_1_0; in ssl_EnableTLS()
602 vrange->max = SSL_LIBRARY_VERSION_TLS_1_0; in ssl_EnableTLS()
609 vrange->min = PR_MIN(vrange->min, SSL_LIBRARY_VERSION_TLS_1_0); in ssl_EnableTLS()
610 vrange->max = PR_MAX(vrange->max, SSL_LIBRARY_VERSION_TLS_1_0); in ssl_EnableTLS()
613 if (vrange->min == SSL_LIBRARY_VERSION_3_0) { in ssl_EnableTLS()
614 vrange->max = SSL_LIBRARY_VERSION_3_0; in ssl_EnableTLS()
617 vrange->min = SSL_LIBRARY_VERSION_NONE; in ssl_EnableTLS()
[all …]
Dssl.h346 SSLProtocolVariant protocolVariant, SSLVersionRange *vrange);
352 SSLProtocolVariant protocolVariant, SSLVersionRange *vrange);
358 SSLProtocolVariant protocolVariant, const SSLVersionRange *vrange);
362 SSLVersionRange *vrange);
366 const SSLVersionRange *vrange);
Dsslcon.c247 ss->vrange.min = SSL_LIBRARY_VERSION_NONE; in ssl2_CheckConfigSanity()
248 ss->vrange.max = SSL_LIBRARY_VERSION_NONE; in ssl2_CheckConfigSanity()
251 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 …]
Dssl3con.c636 const SSLVersionRange *vrange) in ssl3_CipherSuiteAllowedForVersionRange() argument
653 return vrange->min <= SSL_LIBRARY_VERSION_TLS_1_0; in ssl3_CipherSuiteAllowedForVersionRange()
667 return vrange->max >= SSL_LIBRARY_VERSION_TLS_1_2; in ssl3_CipherSuiteAllowedForVersionRange()
732 if (SSL3_ALL_VERSIONS_DISABLED(&ss->vrange)) { in ssl3_config_match_init()
820 const SSLVersionRange *vrange) in config_match() argument
830 suite->cipher_suite, vrange)); in config_match()
841 if (SSL3_ALL_VERSIONS_DISABLED(&ss->vrange)) { in count_cipher_suites()
845 if (config_match(&ss->cipherSuites[i], policy, enabled, &ss->vrange)) in count_cipher_suites()
888 if (SSL3_ALL_VERSIONS_DISABLED(&ss->vrange)) { in ssl3_NegotiateVersion()
893 if (peerVersion < ss->vrange.min || in ssl3_NegotiateVersion()
[all …]
Dsslgathr.c111 if (!SSL3_ALL_VERSIONS_DISABLED(&ss->vrange) && !ss->firstHsDone) { in ssl2_GatherData()
Dsslimpl.h1195 SSLVersionRange vrange; member
1586 #define SSL3_ALL_VERSIONS_DISABLED(vrange) \ argument
1587 ((vrange)->min == SSL_LIBRARY_VERSION_NONE)
/external/chromium_org/third_party/libjingle/source/talk/base/
Dnssstreamadapter.cc513 SSLVersionRange vrange; in BeginSSL() local
514 vrange.min = (ssl_mode_ == SSL_MODE_DTLS) ? in BeginSSL()
517 vrange.max = SSL_LIBRARY_VERSION_TLS_1_1; in BeginSSL()
519 rv = SSL_VersionRangeSet(ssl_fd_, &vrange); in BeginSSL()
/external/eigen/bench/btl/data/
Dgnuplot_common_settings.hh68 set vrange [ * : * ] noreverse nowriteback # (currently [-5:5] )