/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()
|
D | ssl_transcript.cc | 203 !Update(MakeConstSpan(old_hash, hash_len))) { in UpdateForHelloRetryRequest() 257 ? MakeConstSpan(kServerLabel, sizeof(kServerLabel) - 1) in GetFinishedMAC() 258 : MakeConstSpan(kClientLabel, sizeof(kClientLabel) - 1); in GetFinishedMAC() 268 MakeConstSpan(session->master_key, session->master_key_length), in GetFinishedMAC() 269 label, MakeConstSpan(digest, digest_len), {})) { in GetFinishedMAC()
|
D | tls13_enc.cc | 77 return MakeConstSpan(label, strlen(label)); in label_to_span() 116 MakeConstSpan(derive_context, derive_context_len)) && in tls13_advance_key_schedule() 133 MakeConstSpan(context_hash, context_hash_len)); in derive_secret() 317 MakeConstSpan(ssl->s3->exporter_secret, in tls13_derive_application_secrets() 393 MakeConstSpan(context_hash, context_hash_len))) { in tls13_finished_mac() 435 auto hash = MakeConstSpan(hash_buf, hash_len); in tls13_export_keying_material() 436 auto export_context = MakeConstSpan(export_context_buf, export_context_len); in tls13_export_keying_material() 466 MakeConstSpan(early_secret, early_secret_len), in tls13_psk_binder() 468 MakeConstSpan(binder_context, binder_context_len)) || in tls13_psk_binder() 513 MakeConstSpan(ssl->session->master_key, in tls13_write_psk_binder() [all …]
|
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 | tls13_client.cc | 369 hs, MakeConstSpan(hs->new_session->master_key, in do_read_server_hello() 373 } else if (!tls13_init_key_schedule(hs, MakeConstSpan(kZeroes, hash_len))) { in do_read_server_hello() 444 MakeConstSpan(hs->early_session->early_alpn) != in do_read_encrypted_extensions() 621 hs, MakeConstSpan(kZeroes, hs->transcript.DigestLen())) || in do_read_server_finished()
|
D | ssl_privkey.cc | 497 return ctx->cert->sigalgs.CopyFrom(MakeConstSpan(prefs, num_prefs)); in SSL_CTX_set_signing_algorithm_prefs() 505 return ssl->config->cert->sigalgs.CopyFrom(MakeConstSpan(prefs, num_prefs)); in SSL_set_signing_algorithm_prefs() 823 return ctx->verify_sigalgs.CopyFrom(MakeConstSpan(prefs, num_prefs)); in SSL_CTX_set_verify_algorithm_prefs()
|
D | tls13_server.cc | 385 } else if (MakeConstSpan(ssl->s3->alpn_selected) != session->early_alpn) { in do_select_session() 435 hs, MakeConstSpan(hs->new_session->master_key, in do_select_session() 439 } else if (!tls13_init_key_schedule(hs, MakeConstSpan(kZeroes, hash_len))) { in do_select_session() 732 hs, MakeConstSpan(kZeroes, hs->transcript.DigestLen())) || in do_send_server_finished()
|
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() 873 return tls_append_handshake_data(ssl, MakeConstSpan(data, len)); in SSL_provide_quic_data() 1252 MakeConstSpan(params, params_len)); in SSL_set_quic_transport_params() 1928 MakeConstSpan(curves, curves_len)); in SSL_CTX_set1_curves() 1936 MakeConstSpan(curves, curves_len)); in SSL_set1_curves() 2209 return ctx->alpn_client_proto_list.CopyFrom(MakeConstSpan(protos, protos_len)) in SSL_CTX_set_alpn_protos() 2220 MakeConstSpan(protos, protos_len)) in SSL_set_alpn_protos() 2338 return ssl->config->token_binding_params.CopyFrom(MakeConstSpan(params, len)); in SSL_set_token_binding_params()
|
D | dtls_record.cc | 337 Span<const uint8_t> header = MakeConstSpan(out, DTLS1_RT_HEADER_LENGTH); in dtls_seal_record()
|
D | ssl_key_share.cc | 314 return MakeConstSpan(kNamedGroups, OPENSSL_ARRAY_SIZE(kNamedGroups)); in NamedGroups()
|
/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/lite/delegates/gpu/gl/kernels/ |
D | converter_test.cc | 54 ConvertFromPHWC4(absl::MakeConstSpan(input.data(), input.size()), shape, in RunFromTensorTest() 63 absl::MakeConstSpan(input.data(), input.size()), &input_buffer)); in RunFromTensorTest() 111 ConvertToPHWC4(absl::MakeConstSpan(input.data(), input.size()), shape, in RunToTensorTest() 120 absl::MakeConstSpan(input.data(), input.size()), &input_buffer)); in RunToTensorTest()
|
D | converter.cc | 326 absl::MakeConstSpan(static_cast<const uint8_t*>(cpu_input->data), in Convert()
|
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/ |
D | buffer_test.cc | 38 absl::MakeConstSpan(data.data(), data.size()))); in TEST_F() 50 absl::MakeConstSpan(data.data(), data.size()))); in TEST_F()
|
D | texture2d_test.cc | 38 absl::MakeConstSpan(data.data(), data.size()))); in TEST_F() 51 absl::MakeConstSpan(data.data(), data.size()))); in TEST_F()
|
D | tensor.cc | 274 return WriteDataBHWDC(absl::MakeConstSpan(src.data), queue); in WriteData() 279 return WriteDataBHWDC(absl::MakeConstSpan(src.data), queue); in WriteData() 316 DataToBHWDC(absl::MakeConstSpan(data_f.data(), data_f.size()), out); in ReadDataBHWDC() 318 DataToBHWDC(absl::MakeConstSpan(data_h.data(), data_h.size()), out); in ReadDataBHWDC()
|
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/converters/ |
D | bhwc_to_phwc4_test.cc | 49 ConvertToPHWC4(absl::MakeConstSpan(input.data(), input.size()), shape, in RunTest() 58 absl::MakeConstSpan(input.data(), input.size()), &input_buffer)); in RunTest()
|
D | phwc4_to_bhwc_test.cc | 50 ConvertFromPHWC4(absl::MakeConstSpan(input.data(), input.size()), shape, in RunTest() 59 absl::MakeConstSpan(input.data(), input.size()), &input_buffer)); in RunTest()
|
/external/tensorflow/tensorflow/lite/delegates/gpu/metal/kernels/ |
D | test_util.mm | 103 ConvertToPHWC4(absl::MakeConstSpan(input.data), input.shape, absl::MakeSpan(src_gpu))); 143 RETURN_IF_ERROR(ConvertFromPHWC4(absl::MakeConstSpan(output_pointer, elements_count), 205 ConvertToPHWC4(absl::MakeConstSpan(src.data), src.shape, absl::MakeSpan(src_gpu))); 250 RETURN_IF_ERROR(ConvertFromPHWC4(absl::MakeConstSpan(outputPointer, elementsCount), dst.shape,
|
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/ |
D | object_manager.cc | 45 return ConvertFromPHWC4(absl::MakeConstSpan(data), tensor->shape, in CopyFromPHWC4Buffer()
|
D | runtime.cc | 90 .data = absl::MakeConstSpan( in MakeGlTexture() 103 .data = absl::MakeConstSpan( in MakeGlTexture() 141 return CreateReadOnlyShaderStorageBuffer(absl::MakeConstSpan(data), in MakeGlBuffer()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | hlo_evaluator_typed_visitor.h | 1510 absl::MakeConstSpan(dynamic_slice->operands()).subspan(1), 1518 absl::MakeConstSpan(dynamic_slice->operands()).subspan(1), 1526 absl::MakeConstSpan(dynamic_slice->operands()).subspan(1), 1534 absl::MakeConstSpan(dynamic_slice->operands()).subspan(1), 1575 absl::MakeConstSpan(dynamic_update_slice->operands()) 1583 absl::MakeConstSpan(dynamic_update_slice->operands()) 1591 absl::MakeConstSpan(dynamic_update_slice->operands()) 1599 absl::MakeConstSpan(dynamic_update_slice->operands())
|