Home
last modified time | relevance | path

Searched refs:MakeConstSpan (Results 1 – 25 of 36) sorted by relevance

12

/external/boringssl/src/ssl/
Dt1_enc.cc259 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()
Dssl_transcript.cc203 !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()
Dtls13_enc.cc77 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 …]
Dspan_test.cc70 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()
Dtls13_client.cc369 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()
Dssl_privkey.cc497 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()
Dtls13_server.cc385 } 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()
Dssl_aead_ctx.cc87 enc_key = MakeConstSpan(merged_key, in Create()
238 return MakeConstSpan(storage, len); in GetAdditionalData()
Dssl_session.cc661 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()
Dssl_lib.cc546 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()
Ddtls_record.cc337 Span<const uint8_t> header = MakeConstSpan(out, DTLS1_RT_HEADER_LENGTH); in dtls_seal_record()
Dssl_key_share.cc314 return MakeConstSpan(kNamedGroups, OPENSSL_ARRAY_SIZE(kNamedGroups)); in NamedGroups()
/external/boringssl/src/include/openssl/
Dspan.h184 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());
Dbytestring.h48 return bssl::MakeConstSpan(data, len);
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/kernels/
Dconverter_test.cc54 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()
Dconverter.cc326 absl::MakeConstSpan(static_cast<const uint8_t*>(cpu_input->data), in Convert()
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Dbuffer_test.cc38 absl::MakeConstSpan(data.data(), data.size()))); in TEST_F()
50 absl::MakeConstSpan(data.data(), data.size()))); in TEST_F()
Dtexture2d_test.cc38 absl::MakeConstSpan(data.data(), data.size()))); in TEST_F()
51 absl::MakeConstSpan(data.data(), data.size()))); in TEST_F()
Dtensor.cc274 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/
Dbhwc_to_phwc4_test.cc49 ConvertToPHWC4(absl::MakeConstSpan(input.data(), input.size()), shape, in RunTest()
58 absl::MakeConstSpan(input.data(), input.size()), &input_buffer)); in RunTest()
Dphwc4_to_bhwc_test.cc50 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/
Dtest_util.mm103 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/
Dobject_manager.cc45 return ConvertFromPHWC4(absl::MakeConstSpan(data), tensor->shape, in CopyFromPHWC4Buffer()
Druntime.cc90 .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/
Dhlo_evaluator_typed_visitor.h1510 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())

12