Home
last modified time | relevance | path

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

/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()
382 MakeConstSpan(ssl->s3->early_exporter_secret, in SSL_export_early_keying_material()
[all …]
Dssl_transcript.cc202 !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()
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()
Dssl_privkey.cc490 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()
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()
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()
Dtls13_enc.cc177 MakeConstSpan(key, key_len), Span<const uint8_t>(), in tls13_set_traffic_key()
178 MakeConstSpan(iv, iv_len)); in tls13_set_traffic_key()
Ddtls_record.cc337 Span<const uint8_t> header = MakeConstSpan(out, DTLS1_RT_HEADER_LENGTH); in dtls_seal_record()
Dtls13_server.cc435 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()
Dssl_key_share.cc315 return MakeConstSpan(kNamedGroups, OPENSSL_ARRAY_SIZE(kNamedGroups)); in NamedGroups()
Dssl_cipher.cc467 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()
Dt1_lib.cc1232 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()
Ds3_both.cc249 MakeConstSpan(reinterpret_cast<const uint8_t *>(pending_hs_data->data), in tls_flush_pending_hs_data()
Dtls13_client.cc441 MakeConstSpan(hs->early_session->early_alpn) != in do_read_encrypted_extensions()
Dhandshake_client.cc619 MakeConstSpan(ssl->s3->server_random, sizeof(ssl->s3->server_random)) in do_read_server_hello()
Dinternal.h595 return MakeConstSpan(reinterpret_cast<const uint8_t *>(buffer_->data),
Dssl_test.cc4850 MakeConstSpan(data, len)); in AddHandshakeDataCallback()
5097 MakeConstSpan(data, len)); in TEST_F()
/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/compiler/xla/service/
Dhlo_evaluator_typed_visitor.h1481 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()