Home
last modified time | relevance | path

Searched refs:handshake (Results 1 – 25 of 321) sorted by relevance

12345678910>>...13

/external/mbedtls/library/
Dssl_tls12_client.c141 if( ssl->handshake->psa_pake_ctx_is_ok != 1 ) in ssl_write_ecjpake_kkpp_ext()
144 if( mbedtls_ecjpake_check( &ssl->handshake->ecjpake_ctx ) != 0 ) in ssl_write_ecjpake_kkpp_ext()
161 if( ssl->handshake->ecjpake_cache == NULL || in ssl_write_ecjpake_kkpp_ext()
162 ssl->handshake->ecjpake_cache_len == 0 ) in ssl_write_ecjpake_kkpp_ext()
167 ret = mbedtls_psa_ecjpake_write_round(&ssl->handshake->psa_pake_ctx, in ssl_write_ecjpake_kkpp_ext()
172 psa_destroy_key( ssl->handshake->psa_pake_password ); in ssl_write_ecjpake_kkpp_ext()
173 psa_pake_abort( &ssl->handshake->psa_pake_ctx ); in ssl_write_ecjpake_kkpp_ext()
178 ret = mbedtls_ecjpake_write_round_one( &ssl->handshake->ecjpake_ctx, in ssl_write_ecjpake_kkpp_ext()
189 ssl->handshake->ecjpake_cache = mbedtls_calloc( 1, kkpp_len ); in ssl_write_ecjpake_kkpp_ext()
190 if( ssl->handshake->ecjpake_cache == NULL ) in ssl_write_ecjpake_kkpp_ext()
[all …]
Dssl_tls12_server.c202 if( ssl->handshake->curves != NULL ) in ssl_parse_supported_groups_ext()
223 ssl->handshake->curves = curves; in ssl_parse_supported_groups_ext()
268 ssl->handshake->ecdh_ctx.point_format = p[0]; in ssl_parse_supported_point_formats()
273 mbedtls_ecjpake_set_point_format( &ssl->handshake->ecjpake_ctx, in ssl_parse_supported_point_formats()
298 if( ssl->handshake->psa_pake_ctx_is_ok != 1 ) in ssl_parse_ecjpake_kkpp()
300 if( mbedtls_ecjpake_check( &ssl->handshake->ecjpake_ctx ) != 0 ) in ssl_parse_ecjpake_kkpp()
309 &ssl->handshake->psa_pake_ctx, buf, len, in ssl_parse_ecjpake_kkpp()
312 psa_destroy_key( ssl->handshake->psa_pake_password ); in ssl_parse_ecjpake_kkpp()
313 psa_pake_abort( &ssl->handshake->psa_pake_ctx ); in ssl_parse_ecjpake_kkpp()
324 if( ( ret = mbedtls_ecjpake_read_round_one( &ssl->handshake->ecjpake_ctx, in ssl_parse_ecjpake_kkpp()
[all …]
Dssl_tls13_keys.c635 mbedtls_ssl_handshake_params *handshake = ssl->handshake; in mbedtls_ssl_tls13_key_schedule_stage_application() local
637 handshake->ciphersuite_info->mac ); in mbedtls_ssl_tls13_key_schedule_stage_application()
643 handshake->tls13_master_secrets.handshake, in mbedtls_ssl_tls13_key_schedule_stage_application()
645 handshake->tls13_master_secrets.app ); in mbedtls_ssl_tls13_key_schedule_stage_application()
653 handshake->tls13_master_secrets.app, PSA_HASH_LENGTH( hash_alg ) ); in mbedtls_ssl_tls13_key_schedule_stage_application()
744 &ssl->handshake->tls13_hs_secrets; in mbedtls_ssl_tls13_calculate_verify_data()
746 mbedtls_md_type_t const md_type = ssl->handshake->ciphersuite_info->mac; in mbedtls_ssl_tls13_calculate_verify_data()
749 ssl->handshake->ciphersuite_info->mac ); in mbedtls_ssl_tls13_calculate_verify_data()
1116 mbedtls_ssl_handshake_params *handshake = ssl->handshake; in ssl_tls13_generate_early_key() local
1117 const mbedtls_ssl_ciphersuite_t *ciphersuite_info = handshake->ciphersuite_info; in ssl_tls13_generate_early_key()
[all …]
Dssl_tls.c770 ssl->handshake->update_checksum = ssl_update_checksum_sha384; in mbedtls_ssl_optimize_checksum()
775 ssl->handshake->update_checksum = ssl_update_checksum_sha256; in mbedtls_ssl_optimize_checksum()
796 ssl->handshake->update_checksum( ssl, hs_hdr, sizeof( hs_hdr ) ); in mbedtls_ssl_add_hs_hdr_to_checksum()
805 ssl->handshake->update_checksum( ssl, msg, msg_len ); in mbedtls_ssl_add_hs_msg_to_checksum()
813 psa_hash_abort( &ssl->handshake->fin_sha256_psa ); in mbedtls_ssl_reset_checksum()
814 psa_hash_setup( &ssl->handshake->fin_sha256_psa, PSA_ALG_SHA_256 ); in mbedtls_ssl_reset_checksum()
816 mbedtls_sha256_starts( &ssl->handshake->fin_sha256, 0 ); in mbedtls_ssl_reset_checksum()
821 psa_hash_abort( &ssl->handshake->fin_sha384_psa ); in mbedtls_ssl_reset_checksum()
822 psa_hash_setup( &ssl->handshake->fin_sha384_psa, PSA_ALG_SHA_384 ); in mbedtls_ssl_reset_checksum()
824 mbedtls_sha512_starts( &ssl->handshake->fin_sha384, 1 ); in mbedtls_ssl_reset_checksum()
[all …]
Dssl_tls13_client.c53 unsigned char versions_len = ( ssl->handshake->min_tls_version <= in ssl_tls13_write_supported_versions_ext()
84 if( ssl->handshake->min_tls_version <= MBEDTLS_SSL_VERSION_TLS1_2 ) in ssl_tls13_write_supported_versions_ext()
181 uint16_t group_id = ssl->handshake->offered_group_id; in ssl_tls13_reset_key_share()
193 status = psa_destroy_key( ssl->handshake->ecdh_psa_privkey ); in ssl_tls13_reset_key_share()
201 ssl->handshake->ecdh_psa_privkey = MBEDTLS_SVC_KEY_ID_INIT; in ssl_tls13_reset_key_share()
293 group_id = ssl->handshake->offered_group_id; in ssl_tls13_write_key_share_ext()
359 ssl->handshake->offered_group_id = group_id; in ssl_tls13_write_key_share_ext()
431 if( found == 0 || selected_group == ssl->handshake->offered_group_id ) in ssl_tls13_parse_hrr_key_share_ext()
441 ssl->handshake->offered_group_id = selected_group; in ssl_tls13_parse_hrr_key_share_ext()
482 offered_group = ssl->handshake->offered_group_id; in ssl_tls13_parse_key_share_ext()
[all …]
Dssl_tls13_generic.c313 ssl->handshake->ciphersuite_info->mac, in mbedtls_ssl_tls13_process_certificate_verify()
401 mbedtls_ssl_handshake_params *handshake = ssl->handshake; in mbedtls_ssl_tls13_parse_certificate() local
511 handshake->received_extensions = MBEDTLS_SSL_EXT_MASK_NONE; in mbedtls_ssl_tls13_parse_certificate()
550 handshake->received_extensions ); in mbedtls_ssl_tls13_parse_certificate()
602 if( ssl->handshake->sni_authmode != MBEDTLS_SSL_VERIFY_UNSET ) in ssl_tls13_validate_certificate()
603 authmode = ssl->handshake->sni_authmode; in ssl_tls13_validate_certificate()
651 if( ssl->handshake->sni_ca_chain != NULL ) in ssl_tls13_validate_certificate()
653 ca_chain = ssl->handshake->sni_ca_chain; in ssl_tls13_validate_certificate()
654 ca_crl = ssl->handshake->sni_ca_crl; in ssl_tls13_validate_certificate()
837 ssl->handshake->certificate_request_context; in ssl_tls13_write_certificate_body()
[all …]
Dssl_tls13_server.c112 ssl->handshake->tls13_kex_modes = ke_modes; in ssl_tls13_parse_key_exchange_modes_ext()
260 ssl->handshake->resume = 0; in ssl_tls13_offered_psks_check_identity_match()
267 ssl->handshake->resume = 1; in ssl_tls13_offered_psks_check_identity_match()
521 ssl->handshake->update_checksum( ssl, pre_shared_key_ext, in ssl_tls13_parse_pre_shared_key_ext()
619 ssl->handshake->ciphersuite_info = ciphersuite_info; in ssl_tls13_parse_pre_shared_key_ext()
644 ssl->handshake->update_checksum( ssl, in ssl_tls13_parse_pre_shared_key_ext()
653 ssl->handshake->selected_identity = (uint16_t)matched_identity; in ssl_tls13_parse_pre_shared_key_ext()
679 not_using_psk = ( mbedtls_svc_key_id_is_null( ssl->handshake->psk_opaque ) ); in ssl_tls13_write_server_pre_shared_key_ext()
681 not_using_psk = ( ssl->handshake->psk == NULL ); in ssl_tls13_write_server_pre_shared_key_ext()
696 MBEDTLS_PUT_UINT16_BE( ssl->handshake->selected_identity, p, 4 ); in ssl_tls13_write_server_pre_shared_key_ext()
[all …]
Dssl_client.c357 ssl->handshake->min_tls_version, in ssl_write_client_hello_cipher_suites()
442 mbedtls_ssl_handshake_params *handshake = ssl->handshake; in ssl_write_client_hello_body() local
454 ( handshake->min_tls_version <= MBEDTLS_SSL_VERSION_TLS1_2 ) in ssl_write_client_hello_body()
460 ( handshake->min_tls_version <= MBEDTLS_SSL_VERSION_TLS1_3 ) in ssl_write_client_hello_body()
484 memcpy( p, handshake->randbytes, MBEDTLS_CLIENT_HELLO_RANDOM_LEN ); in ssl_write_client_hello_body()
523 if( handshake->cookie != NULL ) in ssl_write_client_hello_body()
526 handshake->cookie, in ssl_write_client_hello_body()
527 handshake->verify_cookie_len ); in ssl_write_client_hello_body()
528 cookie_len = handshake->verify_cookie_len; in ssl_write_client_hello_body()
535 memcpy( p, handshake->cookie, cookie_len ); in ssl_write_client_hello_body()
[all …]
Dssl_msg.c256 if( ssl->handshake->retransmit_timeout >= ssl->conf->hs_timeout_max ) in ssl_double_retransmit_timeout()
265 if( ssl->handshake->retransmit_timeout != ssl->conf->hs_timeout_min ) in ssl_double_retransmit_timeout()
267 ssl->handshake->mtu = 508; in ssl_double_retransmit_timeout()
268 MBEDTLS_SSL_DEBUG_MSG( 2, ( "mtu autoreduction to %d bytes", ssl->handshake->mtu ) ); in ssl_double_retransmit_timeout()
271 new_timeout = 2 * ssl->handshake->retransmit_timeout; in ssl_double_retransmit_timeout()
274 if( new_timeout < ssl->handshake->retransmit_timeout || in ssl_double_retransmit_timeout()
280 ssl->handshake->retransmit_timeout = new_timeout; in ssl_double_retransmit_timeout()
282 (unsigned long) ssl->handshake->retransmit_timeout ) ); in ssl_double_retransmit_timeout()
289 ssl->handshake->retransmit_timeout = ssl->conf->hs_timeout_min; in ssl_reset_retransmit_timeout()
291 (unsigned long) ssl->handshake->retransmit_timeout ) ); in ssl_reset_retransmit_timeout()
[all …]
/external/openthread/third_party/mbedtls/repo/library/
Dssl_cli.c419 if( mbedtls_ecjpake_check( &ssl->handshake->ecjpake_ctx ) != 0 ) in ssl_write_ecjpake_kkpp_ext()
435 if( ssl->handshake->ecjpake_cache == NULL || in ssl_write_ecjpake_kkpp_ext()
436 ssl->handshake->ecjpake_cache_len == 0 ) in ssl_write_ecjpake_kkpp_ext()
440 ret = mbedtls_ecjpake_write_round_one( &ssl->handshake->ecjpake_ctx, in ssl_write_ecjpake_kkpp_ext()
450 ssl->handshake->ecjpake_cache = mbedtls_calloc( 1, kkpp_len ); in ssl_write_ecjpake_kkpp_ext()
451 if( ssl->handshake->ecjpake_cache == NULL ) in ssl_write_ecjpake_kkpp_ext()
457 memcpy( ssl->handshake->ecjpake_cache, p + 2, kkpp_len ); in ssl_write_ecjpake_kkpp_ext()
458 ssl->handshake->ecjpake_cache_len = kkpp_len; in ssl_write_ecjpake_kkpp_ext()
464 kkpp_len = ssl->handshake->ecjpake_cache_len; in ssl_write_ecjpake_kkpp_ext()
467 memcpy( p + 2, ssl->handshake->ecjpake_cache, kkpp_len ); in ssl_write_ecjpake_kkpp_ext()
[all …]
Dssl_tls.c834 if( ! mbedtls_svc_key_id_is_null( ssl->handshake->psk_opaque ) ) in ssl_use_opaque_psk()
1041 if( ssl->handshake->cid_in_use == MBEDTLS_SSL_CID_ENABLED ) in ssl_populate_transform()
1050 transform->out_cid_len = ssl->handshake->peer_cid_len; in ssl_populate_transform()
1051 memcpy( transform->out_cid, ssl->handshake->peer_cid, in ssl_populate_transform()
1052 ssl->handshake->peer_cid_len ); in ssl_populate_transform()
1514 static int ssl_set_handshake_prfs( mbedtls_ssl_handshake_params *handshake, in ssl_set_handshake_prfs() argument
1526 handshake->tls_prf = ssl3_prf; in ssl_set_handshake_prfs()
1527 handshake->calc_verify = ssl_calc_verify_ssl; in ssl_set_handshake_prfs()
1528 handshake->calc_finished = ssl_calc_finished_ssl; in ssl_set_handshake_prfs()
1535 handshake->tls_prf = tls1_prf; in ssl_set_handshake_prfs()
[all …]
Dssl_srv.c177 if( ! mbedtls_svc_key_id_is_null( ssl->handshake->psk_opaque ) ) in ssl_use_opaque_psk()
301 mbedtls_ssl_sig_hash_set_add( &ssl->handshake->hash_algs, sig_cur, md_cur ); in ssl_parse_signature_algorithms_ext()
345 if( ssl->handshake->curves != NULL ) in ssl_parse_supported_elliptic_curves()
366 ssl->handshake->curves = curves; in ssl_parse_supported_elliptic_curves()
409 ssl->handshake->ecdh_ctx.point_format = p[0]; in ssl_parse_supported_point_formats()
412 ssl->handshake->ecjpake_ctx.point_format = p[0]; in ssl_parse_supported_point_formats()
434 if( mbedtls_ecjpake_check( &ssl->handshake->ecjpake_ctx ) != 0 ) in ssl_parse_ecjpake_kkpp()
440 if( ( ret = mbedtls_ecjpake_read_round_one( &ssl->handshake->ecjpake_ctx, in ssl_parse_ecjpake_kkpp()
450 ssl->handshake->cli_exts |= MBEDTLS_TLS_EXT_ECJPAKE_KKPP_OK; in ssl_parse_ecjpake_kkpp()
536 ssl->handshake->cid_in_use = MBEDTLS_SSL_CID_ENABLED; in ssl_parse_cid_ext()
[all …]
Dssl_msg.c261 if( ssl->handshake->retransmit_timeout >= ssl->conf->hs_timeout_max ) in ssl_double_retransmit_timeout()
270 if( ssl->handshake->retransmit_timeout != ssl->conf->hs_timeout_min ) in ssl_double_retransmit_timeout()
272 ssl->handshake->mtu = 508; in ssl_double_retransmit_timeout()
273 MBEDTLS_SSL_DEBUG_MSG( 2, ( "mtu autoreduction to %d bytes", ssl->handshake->mtu ) ); in ssl_double_retransmit_timeout()
276 new_timeout = 2 * ssl->handshake->retransmit_timeout; in ssl_double_retransmit_timeout()
279 if( new_timeout < ssl->handshake->retransmit_timeout || in ssl_double_retransmit_timeout()
285 ssl->handshake->retransmit_timeout = new_timeout; in ssl_double_retransmit_timeout()
287 (unsigned long) ssl->handshake->retransmit_timeout ) ); in ssl_double_retransmit_timeout()
294 ssl->handshake->retransmit_timeout = ssl->conf->hs_timeout_min; in ssl_reset_retransmit_timeout()
296 (unsigned long) ssl->handshake->retransmit_timeout ) ); in ssl_reset_retransmit_timeout()
[all …]
/external/okhttp/repackaged/okhttp-urlconnection/src/main/java/com/android/okhttp/internal/huc/
DDelegatingHttpsURLConnection.java49 protected abstract Handshake handshake(); in handshake() method in DelegatingHttpsURLConnection
60 Handshake handshake = handshake(); in getCipherSuite() local
61 return handshake != null ? handshake.cipherSuite() : null; in getCipherSuite()
65 Handshake handshake = handshake(); in getLocalCertificates() local
66 if (handshake == null) return null; in getLocalCertificates()
67 List<Certificate> result = handshake.localCertificates(); in getLocalCertificates()
72 Handshake handshake = handshake(); in getServerCertificates() local
73 if (handshake == null) return null; in getServerCertificates()
74 List<Certificate> result = handshake.peerCertificates(); in getServerCertificates()
79 Handshake handshake = handshake(); in getPeerPrincipal() local
[all …]
/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/
DDelegatingHttpsURLConnection.java48 protected abstract Handshake handshake(); in handshake() method in DelegatingHttpsURLConnection
59 Handshake handshake = handshake(); in getCipherSuite() local
60 return handshake != null ? handshake.cipherSuite() : null; in getCipherSuite()
64 Handshake handshake = handshake(); in getLocalCertificates() local
65 if (handshake == null) return null; in getLocalCertificates()
66 List<Certificate> result = handshake.localCertificates(); in getLocalCertificates()
71 Handshake handshake = handshake(); in getServerCertificates() local
72 if (handshake == null) return null; in getServerCertificates()
73 List<Certificate> result = handshake.peerCertificates(); in getServerCertificates()
78 Handshake handshake = handshake(); in getPeerPrincipal() local
[all …]
/external/openthread/tests/scripts/thread-cert/
DCert_8_1_02_Commissioning.py88 …_cpkts2.range(_cpkts.index).filter(lambda p: p.dtls.handshake.type == [HANDSHAKE_CLIENT_HELLO]).mu…
92 …_cpkts2.index).filter(lambda p: p.dtls.handshake.type == [HANDSHAKE_HELLO_VERIFY_REQUEST]).must_ne…
93 _pkt.must_verify(lambda p: p.dtls.handshake.cookie is not None)
97 …_cpkts2.filter(lambda p: p.dtls.handshake.type == [HANDSHAKE_CLIENT_HELLO]).must_next().must_verif…
98 lambda p: p.dtls.handshake.cookie == _pkt.dtls.handshake.cookie)
102 lambda p: p.dtls.handshake.type ==
106 …_cpkts2.filter(lambda p: p.dtls.handshake.type == [HANDSHAKE_CLIENT_KEY_EXCHANGE]).must_next().mus…
107 lambda p: p.dtls.handshake.type == [HANDSHAKE_CLIENT_KEY_EXCHANGE] and set(
DCert_8_1_06_Commissioning.py142 p.dtls.handshake.type == [HANDSHAKE_CLIENT_HELLO] and\
151 filter(lambda p: p.dtls.handshake.type == [HANDSHAKE_HELLO_VERIFY_REQUEST]).\
153 _pkt.must_verify(lambda p: p.dtls.handshake.cookie is not None)
162 p.dtls.handshake.type == [HANDSHAKE_CLIENT_HELLO] and\
163 p.dtls.handshake.cookie == _pkt.dtls.handshake.cookie
172 p.dtls.handshake.type == [HANDSHAKE_SERVER_HELLO,
185 p.dtls.handshake.type == [HANDSHAKE_CLIENT_KEY_EXCHANGE] and\
DCert_8_1_01_Commissioning.py174 p.dtls.handshake.type == [HANDSHAKE_CLIENT_HELLO] and\
183 filter(lambda p: p.dtls.handshake.type == [HANDSHAKE_HELLO_VERIFY_REQUEST]).\
185 _pkt.must_verify(lambda p: p.dtls.handshake.cookie is not None)
194 p.dtls.handshake.type == [HANDSHAKE_CLIENT_HELLO] and\
195 p.dtls.handshake.cookie == _pkt.dtls.handshake.cookie
204 p.dtls.handshake.type == [HANDSHAKE_SERVER_HELLO,
217 p.dtls.handshake.type == [HANDSHAKE_CLIENT_KEY_EXCHANGE] and\
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DResponse.java41 private final Handshake handshake; field in Response
55 this.handshake = builder.handshake; in Response()
108 public Handshake handshake() { in handshake() method in Response
109 return handshake; in handshake()
226 private Handshake handshake; field in Response.Builder
242 this.handshake = response.handshake; in Builder()
270 public Builder handshake(Handshake handshake) { in handshake() argument
271 this.handshake = handshake; in handshake()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DResponse.java46 private final Handshake handshake; field in Response
62 this.handshake = builder.handshake; in Response()
115 public Handshake handshake() { in handshake() method in Response
116 return handshake; in handshake()
236 private Handshake handshake; field in Response.Builder
252 this.handshake = response.handshake; in Builder()
280 public Builder handshake(Handshake handshake) { in handshake() argument
281 this.handshake = handshake; in handshake()
/external/cronet/net/websockets/
Dwebsocket_handshake_stream_create_helper_test.cc234 std::unique_ptr<WebSocketHandshakeStreamBase> handshake = in CreateAndInitializeStream() local
241 static_cast<WebSocketBasicHandshakeStream*>(handshake.get()) in CreateAndInitializeStream()
244 handshake->RegisterRequest(&request_info); in CreateAndInitializeStream()
245 int rv = handshake->InitializeStream(true, DEFAULT_PRIORITY, net_log, in CreateAndInitializeStream()
251 rv = handshake->SendRequest(headers, &response, in CreateAndInitializeStream()
256 rv = handshake->ReadResponseHeaders(response_callback.callback()); in CreateAndInitializeStream()
261 return handshake->Upgrade(); in CreateAndInitializeStream()
298 std::unique_ptr<WebSocketHandshakeStreamBase> handshake = in CreateAndInitializeStream() local
301 handshake->RegisterRequest(&request_info); in CreateAndInitializeStream()
302 int rv = handshake->InitializeStream(true, DEFAULT_PRIORITY, in CreateAndInitializeStream()
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DRecordedResponse.java89 Handshake handshake = response.handshake(); in assertHandshake() local
90 assertNotNull(handshake.cipherSuite()); in assertHandshake()
91 assertNotNull(handshake.peerPrincipal()); in assertHandshake()
92 assertEquals(1, handshake.peerCertificates().size()); in assertHandshake()
93 assertNull(handshake.localPrincipal()); in assertHandshake()
94 assertEquals(0, handshake.localCertificates().size()); in assertHandshake()
/external/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/internal/huc/
DJavaApiConverter.java127 Handshake handshake = Handshake.get( in createOkResponseForCachePut() local
130 okResponseBuilder.handshake(handshake); in createOkResponseForCachePut()
252 Handshake handshake = Handshake.get( in createOkResponseForCacheGet() local
254 okResponseBuilder.handshake(handshake); in createOkResponseForCacheGet()
293 final Handshake handshake = response.handshake(); in createJavaCacheResponse() local
297 return handshake != null ? handshake.cipherSuite() : null; in createJavaCacheResponse()
302 if (handshake == null) return null; in createJavaCacheResponse()
304 List<Certificate> certificates = handshake.localCertificates(); in createJavaCacheResponse()
310 if (handshake == null) return null; in createJavaCacheResponse()
312 List<Certificate> certificates = handshake.peerCertificates(); in createJavaCacheResponse()
[all …]
/external/okhttp/repackaged/okhttp-android-support/src/main/java/com/android/okhttp/internal/huc/
DJavaApiConverter.java129 Handshake handshake = Handshake.get( in createOkResponseForCachePut() local
132 okResponseBuilder.handshake(handshake); in createOkResponseForCachePut()
254 Handshake handshake = Handshake.get( in createOkResponseForCacheGet() local
256 okResponseBuilder.handshake(handshake); in createOkResponseForCacheGet()
295 final Handshake handshake = response.handshake(); in createJavaCacheResponse() local
299 return handshake != null ? handshake.cipherSuite() : null; in createJavaCacheResponse()
304 if (handshake == null) return null; in createJavaCacheResponse()
306 List<Certificate> certificates = handshake.localCertificates(); in createJavaCacheResponse()
312 if (handshake == null) return null; in createJavaCacheResponse()
314 List<Certificate> certificates = handshake.peerCertificates(); in createJavaCacheResponse()
[all …]
/external/bcc/tools/
Dsslsniff_example.txt106 Use -l or --latency option to show function latency, and show handshake latency
107 by using both -l and --handshake. This is useful for SSL/TLS performance
110 # ./sslsniff.py -l --handshake
119 handshake before secure connection is ready for initial SSL_read or SSL_write.
121 # ./sslsniff.py -l --handshake
138 # ./sslsniff.py -l --handshake
148 # ./sslsniff.py -l --handshake
174 [--handshake] [--extra-lib EXTRA_LIB]
193 --handshake show SSL handshake latency, enabled only if latency
212 ./sslsniff -l --handshake # show SSL handshake latency

12345678910>>...13