Home
last modified time | relevance | path

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

/external/boringssl/src/ssl/
Dt1_enc.cc309 auto label = MakeConstSpan(kExtendedMasterSecretLabel, in tls1_generate_master_secret()
315 MakeConstSpan(digests, digests_len), {})) { in tls1_generate_master_secret()
320 MakeConstSpan(kMasterSecretLabel, sizeof(kMasterSecretLabel) - 1); in tls1_generate_master_secret()
356 MakeConstSpan(session->master_key, session->master_key_length); in SSL_generate_key_block()
358 auto label = MakeConstSpan(kLabel, sizeof(kLabel) - 1); in SSL_generate_key_block()
395 MakeConstSpan(ssl->s3->exporter_secret, ssl->s3->exporter_secret_len), in SSL_export_keying_material()
396 MakeConstSpan(label, label_len), MakeConstSpan(context, context_len)); in SSL_export_keying_material()
426 MakeConstSpan(session->master_key, session->master_key_length), in SSL_export_keying_material()
427 MakeConstSpan(label, label_len), seed, {}); in SSL_export_keying_material()
449 MakeConstSpan(ssl->s3->early_exporter_secret, in SSL_export_early_keying_material()
[all …]
Dssl_transcript.cc226 !Update(MakeConstSpan(old_hash, hash_len))) { in UpdateForHelloRetryRequest()
378 ? MakeConstSpan(kServerLabel, sizeof(kServerLabel) - 1) in GetFinishedMAC()
379 : MakeConstSpan(kClientLabel, sizeof(kClientLabel) - 1); in GetFinishedMAC()
389 MakeConstSpan(session->master_key, session->master_key_length), in GetFinishedMAC()
390 label, MakeConstSpan(digests, digests_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()
Dtls13_enc.cc175 session->cipher, MakeConstSpan(key, key_len), in tls13_set_traffic_key()
176 Span<const uint8_t>(), MakeConstSpan(iv, iv_len)); in tls13_set_traffic_key()
Dt1_lib.cc297 return MakeConstSpan(ssl->supported_group_list, in tls1_get_grouplist()
471 sigalgs = MakeConstSpan(ssl->ctx->verify_sigalgs, in tls12_add_verify_sigalgs()
1170 MakeConstSpan(selected, selected_len))) { in ext_npn_parse_serverhello()
1463 MakeConstSpan(selected, selected_len))) { in ssl_negotiate_alpn()
2008 ssl, MakeConstSpan(ssl->session->early_alpn, in ext_early_data_add_clienthello()
2141 MakeConstSpan(CBB_data(&kse_bytes), CBB_len(&kse_bytes)))) { in ext_key_share_add_clienthello()
3472 sigalgs = MakeConstSpan(cert->sigalgs, cert->num_sigalgs); in tls1_choose_signature_algorithm()
Dtls13_server.cc399 MakeConstSpan(session->early_alpn, session->early_alpn_len)) { in do_select_session()
724 MakeConstSpan(hs->expected_client_finished, hs->hash_len)) || in do_send_server_finished()
Dssl_aead_ctx.cc88 enc_key = MakeConstSpan(merged_key, in Create()
Dtls13_client.cc432 MakeConstSpan(hs->early_session->early_alpn, in do_read_encrypted_extensions()
Dinternal.h539 return MakeConstSpan(reinterpret_cast<const uint8_t *>(buffer_->data),
/external/boringssl/src/include/openssl/
Dspan.h176 Span<const T> MakeConstSpan(T *ptr, size_t size) { in MakeConstSpan() function
181 auto MakeConstSpan(const C &c) -> decltype(MakeConstSpan(c.data(), c.size())) {
182 return MakeConstSpan(c.data(), c.size());
Dbytestring.h48 return bssl::MakeConstSpan(data, len);