Searched refs:MakeConstSpan (Results 1 – 11 of 11) sorted by relevance
/external/boringssl/src/ssl/ |
D | t1_enc.cc | 309 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 …]
|
D | ssl_transcript.cc | 226 !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()
|
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_enc.cc | 175 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()
|
D | t1_lib.cc | 297 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()
|
D | tls13_server.cc | 399 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()
|
D | ssl_aead_ctx.cc | 88 enc_key = MakeConstSpan(merged_key, in Create()
|
D | tls13_client.cc | 432 MakeConstSpan(hs->early_session->early_alpn, in do_read_encrypted_extensions()
|
D | internal.h | 539 return MakeConstSpan(reinterpret_cast<const uint8_t *>(buffer_->data),
|
/external/boringssl/src/include/openssl/ |
D | span.h | 176 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());
|
D | bytestring.h | 48 return bssl::MakeConstSpan(data, len);
|