/external/boringssl/src/ssl/ |
D | t1_enc.cc | 259 auto label = MakeConstSpan(kExtendedMasterSecretLabel, in tls1_generate_master_secret() 265 MakeConstSpan(digests, digests_len), {})) { in tls1_generate_master_secret() 270 MakeConstSpan(kMasterSecretLabel, sizeof(kMasterSecretLabel) - 1); in tls1_generate_master_secret() 299 MakeConstSpan(session->master_key, session->master_key_length); in SSL_generate_key_block() 301 auto label = MakeConstSpan(kLabel, sizeof(kLabel) - 1); in SSL_generate_key_block() 328 MakeConstSpan(ssl->s3->exporter_secret, ssl->s3->exporter_secret_len), in SSL_export_keying_material() 329 MakeConstSpan(label, label_len), MakeConstSpan(context, context_len)); in SSL_export_keying_material() 359 MakeConstSpan(session->master_key, session->master_key_length), in SSL_export_keying_material() 360 MakeConstSpan(label, label_len), seed, {}); in SSL_export_keying_material() 382 MakeConstSpan(ssl->s3->early_exporter_secret, in SSL_export_early_keying_material() [all …]
|
D | ssl_transcript.cc | 202 !Update(MakeConstSpan(old_hash, hash_len))) { in UpdateForHelloRetryRequest() 244 ? MakeConstSpan(kServerLabel, sizeof(kServerLabel) - 1) in GetFinishedMAC() 245 : MakeConstSpan(kClientLabel, sizeof(kClientLabel) - 1); in GetFinishedMAC() 255 MakeConstSpan(session->master_key, session->master_key_length), in GetFinishedMAC() 256 label, MakeConstSpan(digest, digest_len), {})) { in GetFinishedMAC()
|
D | span_test.cc | 70 TEST(SpanTest, MakeConstSpan) { in TEST() argument 72 TestConstCtor(MakeConstSpan(v), v.data(), v.size()); in TEST() 73 TestConstCtor(MakeConstSpan(v.data(), v.size()), v.data(), v.size()); in TEST()
|
D | ssl_privkey.cc | 490 return ctx->cert->sigalgs.CopyFrom(MakeConstSpan(prefs, num_prefs)); in SSL_CTX_set_signing_algorithm_prefs() 498 return ssl->config->cert->sigalgs.CopyFrom(MakeConstSpan(prefs, num_prefs)); in SSL_set_signing_algorithm_prefs() 816 return ctx->verify_sigalgs.CopyFrom(MakeConstSpan(prefs, num_prefs)); in SSL_CTX_set_verify_algorithm_prefs()
|
D | ssl_aead_ctx.cc | 87 enc_key = MakeConstSpan(merged_key, in Create() 238 return MakeConstSpan(storage, len); in GetAdditionalData()
|
D | ssl_session.cc | 661 MakeConstSpan(sess->session_id, sess->session_id_length); in ssl_lookup_session() 728 MakeConstSpan(client_hello->session_id, in ssl_get_prev_session() 744 MakeConstSpan(client_hello->session_id, client_hello->session_id_len)); in ssl_get_prev_session() 1021 return session->ticket.CopyFrom(MakeConstSpan(ticket, ticket_len)); in SSL_SESSION_set_ticket()
|
D | ssl_lib.cc | 546 MakeConstSpan(sess->session_id, sess->session_id_length)); in ssl_session_hash() 872 return tls_append_handshake_data(ssl, MakeConstSpan(data, len)); in SSL_provide_quic_data() 1251 MakeConstSpan(params, params_len)); in SSL_set_quic_transport_params() 1866 MakeConstSpan(curves, curves_len)); in SSL_CTX_set1_curves() 1874 MakeConstSpan(curves, curves_len)); in SSL_set1_curves() 2147 return ctx->alpn_client_proto_list.CopyFrom(MakeConstSpan(protos, protos_len)) in SSL_CTX_set_alpn_protos() 2158 MakeConstSpan(protos, protos_len)) in SSL_set_alpn_protos() 2295 return ssl->config->token_binding_params.CopyFrom(MakeConstSpan(params, len)); in SSL_set_token_binding_params()
|
D | tls13_enc.cc | 177 MakeConstSpan(key, key_len), Span<const uint8_t>(), in tls13_set_traffic_key() 178 MakeConstSpan(iv, iv_len)); in tls13_set_traffic_key()
|
D | dtls_record.cc | 337 Span<const uint8_t> header = MakeConstSpan(out, DTLS1_RT_HEADER_LENGTH); in dtls_seal_record()
|
D | tls13_server.cc | 435 MakeConstSpan(ssl->s3->alpn_selected) == session->early_alpn) { in do_select_session() 768 MakeConstSpan(hs->expected_client_finished, hs->hash_len)) || in do_send_server_finished()
|
D | ssl_key_share.cc | 315 return MakeConstSpan(kNamedGroups, OPENSSL_ARRAY_SIZE(kNamedGroups)); in NamedGroups()
|
D | ssl_cipher.cc | 467 return MakeConstSpan(kCiphers, OPENSSL_ARRAY_SIZE(kCiphers)); in AllCiphers() 1267 MakeConstSpan(in_group_flags).subspan(0, num_in_group_flags))) { in ssl_create_cipher_list()
|
D | t1_lib.cc | 1232 MakeConstSpan(selected, selected_len))) { in ext_npn_parse_serverhello() 1463 MakeConstSpan(hs->config->alpn_client_proto_list), in ssl_is_alpn_protocol_allowed() 1529 MakeConstSpan(selected, selected_len))) { in ssl_negotiate_alpn() 2222 MakeConstSpan(CBB_data(&kse_bytes), CBB_len(&kse_bytes)))) { in ext_key_share_add_clienthello() 3671 sigalgs = MakeConstSpan(&dc->expected_cert_verify_algorithm, 1); in tls1_choose_signature_algorithm()
|
D | s3_both.cc | 249 MakeConstSpan(reinterpret_cast<const uint8_t *>(pending_hs_data->data), in tls_flush_pending_hs_data()
|
D | tls13_client.cc | 441 MakeConstSpan(hs->early_session->early_alpn) != in do_read_encrypted_extensions()
|
D | handshake_client.cc | 619 MakeConstSpan(ssl->s3->server_random, sizeof(ssl->s3->server_random)) in do_read_server_hello()
|
D | internal.h | 595 return MakeConstSpan(reinterpret_cast<const uint8_t *>(buffer_->data),
|
D | ssl_test.cc | 4850 MakeConstSpan(data, len)); in AddHandshakeDataCallback() 5097 MakeConstSpan(data, len)); in TEST_F()
|
/external/boringssl/src/include/openssl/ |
D | span.h | 184 Span<const T> MakeConstSpan(T *ptr, size_t size) { in MakeConstSpan() function 189 auto MakeConstSpan(const C &c) -> decltype(MakeConstSpan(c.data(), c.size())) { 190 return MakeConstSpan(c.data(), c.size());
|
D | bytestring.h | 48 return bssl::MakeConstSpan(data, len);
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | hlo_evaluator_typed_visitor.h | 1481 absl::MakeConstSpan(dynamic_slice->operands()).subspan(1), in HandleDynamicSlice() 1489 absl::MakeConstSpan(dynamic_slice->operands()).subspan(1), in HandleDynamicSlice() 1497 absl::MakeConstSpan(dynamic_slice->operands()).subspan(1), in HandleDynamicSlice() 1505 absl::MakeConstSpan(dynamic_slice->operands()).subspan(1), in HandleDynamicSlice() 1546 absl::MakeConstSpan(dynamic_update_slice->operands()) in HandleDynamicUpdateSlice() 1554 absl::MakeConstSpan(dynamic_update_slice->operands()) in HandleDynamicUpdateSlice() 1562 absl::MakeConstSpan(dynamic_update_slice->operands()) in HandleDynamicUpdateSlice() 1570 absl::MakeConstSpan(dynamic_update_slice->operands()) in HandleDynamicUpdateSlice()
|