Home
last modified time | relevance | path

Searched refs:is_dtls (Results 1 – 10 of 10) sorted by relevance

/external/boringssl/src/ssl/
Dssl_aead_ctx.cc51 UniquePtr<SSLAEADContext> SSLAEADContext::CreateNullCipher(bool is_dtls) { in CreateNullCipher() argument
52 return MakeUnique<SSLAEADContext>(0 /* version */, is_dtls, in CreateNullCipher()
57 enum evp_aead_direction_t direction, uint16_t version, bool is_dtls, in Create() argument
66 is_dtls) || in Create()
92 MakeUnique<SSLAEADContext>(version, is_dtls, cipher); in Create()
Dssl_versions.cc68 return method->is_dtls ? Span<const uint16_t>(kDTLSVersions) in get_method_versions()
142 *out = method->is_dtls ? DTLS1_VERSION : TLS1_VERSION; in set_min_version()
153 *out = method->is_dtls ? DTLS1_2_VERSION : TLS1_2_VERSION; in set_max_version()
Dhandoff.cc185 if (ssl->method->is_dtls) { in SSL_apply_handoff()
226 if (!ssl->server || ssl->method->is_dtls) { in SSL_serialize_handback()
322 ssl->method->is_dtls) { in SSL_apply_handback()
Dssl_cipher.cc563 uint16_t version, bool is_dtls) { in ssl_cipher_get_evp_aead() argument
568 const bool is_tls12 = version == TLS1_2_VERSION && !is_dtls; in ssl_cipher_get_evp_aead()
569 const bool is_tls13 = version == TLS1_3_VERSION && !is_dtls; in ssl_cipher_get_evp_aead()
Dinternal.h619 uint16_t version, bool is_dtls);
749 SSLAEADContext(uint16_t version, bool is_dtls, const SSL_CIPHER *cipher);
757 static UniquePtr<SSLAEADContext> CreateNullCipher(bool is_dtls);
764 uint16_t version, bool is_dtls,
2088 bool is_dtls;
Dssl_test.cc73 enum { is_tls, is_dtls } ssl_method; enumerator
84 {DTLS1_VERSION, VersionParam::is_dtls, "DTLS1"},
85 {DTLS1_2_VERSION, VersionParam::is_dtls, "DTLS1_2"},
1687 const SSL_METHOD *method = is_dtls() ? DTLS_method() : TLS_method(); in CreateContext()
1720 bool is_dtls() const { in is_dtls() function in __anonab1f01db0111::SSLVersionTest
1721 return GetParam().ssl_method == VersionParam::is_dtls; in is_dtls()
1749 if (is_dtls()) { in TEST_P()
1778 if (is_dtls()) { in TEST_P()
2931 if (is_dtls()) { in TEST_P()
3058 if (is_dtls()) { in TEST_P()
[all …]
Dssl_lib.cc2500 if (ctx->method->is_dtls) { in SSL_CTX_set_quic_method()
2508 if (ssl->method->is_dtls) { in SSL_set_quic_method()
2720 int SSL_is_dtls(const SSL *ssl) { return ssl->method->is_dtls; } in SSL_is_dtls()
/external/boringssl/src/ssl/test/
Dbssl_shim.cc717 if (config->is_dtls) { in DoConnection()
728 config->is_dtls ? AsyncBioCreateDatagram() : AsyncBioCreate(); in DoConnection()
933 if (config->is_dtls) { in DoExchange()
981 size_t read_size = config->is_dtls ? 16384 : 512; in DoExchange()
Dtest_config.h29 bool is_dtls = false; member
Dtest_config.cc55 {"-dtls", &TestConfig::is_dtls},
452 (config->is_dtls ? DTLS1_RT_HEADER_LENGTH : SSL3_RT_HEADER_LENGTH)) { in MessageCallback()
478 (config->is_dtls && in MessageCallback()
1136 SSL_CTX_new(is_dtls ? DTLS_method() : TLS_method())); in SetupCtx()
1145 if (!is_dtls && in SetupCtx()