Home
last modified time | relevance | path

Searched refs:MakeSpan (Results 1 – 9 of 9) sorted by relevance

/external/boringssl/src/ssl/
Dspan_test.cc62 TEST(SpanTest, MakeSpan) { in TEST() argument
64 TestCtor(MakeSpan(v), v.data(), v.size()); in TEST()
65 TestCtor(MakeSpan(v.data(), v.size()), v.data(), v.size()); in TEST()
66 TestConstCtor(MakeSpan(v.data(), v.size()), v.data(), v.size()); in TEST()
67 TestConstCtor(MakeSpan(v), v.data(), v.size()); in TEST()
Dt1_enc.cc307 auto out_span = MakeSpan(out, SSL3_MASTER_SECRET_SIZE); in tls1_generate_master_secret()
354 auto out_span = MakeSpan(out, out_len); in SSL_generate_key_block()
394 ssl, MakeSpan(out, out_len), in SSL_export_keying_material()
425 digest, MakeSpan(out, out_len), in SSL_export_keying_material()
448 ssl, MakeSpan(out, out_len), in SSL_export_early_keying_material()
Dssl_test.cc3637 ASSERT_TRUE(bssl::SealRecord(client.get(), bssl::MakeSpan(prefix), in TEST()
3638 bssl::MakeSpan(body), bssl::MakeSpan(suffix), in TEST()
3651 bssl::MakeSpan(sealed)), in TEST()
3680 ASSERT_TRUE(bssl::SealRecord(client.get(), bssl::MakeSpan(prefix), in TEST()
3681 bssl::MakeSpan(record), bssl::MakeSpan(suffix), in TEST()
3690 bssl::MakeSpan(record)), in TEST()
3718 ASSERT_TRUE(bssl::SealRecord(client.get(), bssl::MakeSpan(prefix), in TEST()
3719 bssl::MakeSpan(record), bssl::MakeSpan(suffix), in TEST()
3729 bssl::MakeSpan(record)), in TEST()
3765 client.get(), bssl::MakeSpan(prefix.data(), prefix.size() - 1), in TEST()
[all …]
Ddtls_record.cc239 MakeSpan(const_cast<uint8_t *>(CBS_data(&body)), CBS_len(&body)))) { in dtls_open_record()
348 MakeSpan(out, DTLS1_RT_HEADER_LENGTH)); in dtls_seal_record()
Dtls_record.cc292 MakeSpan(const_cast<uint8_t *>(CBS_data(&body)), CBS_len(&body)))) { in tls_open_record()
427 MakeSpan(out_prefix, SSL3_RT_HEADER_LENGTH)); in do_seal_record()
Dssl_transcript.cc388 if (!tls1_prf(Digest(), MakeSpan(out, kFinishedLen), in GetFinishedMAC()
Dd1_both.cc705 MakeSpan(frag, frag_len)); in seal_next_message()
Dinternal.h1047 Span<uint8_t> span() { return MakeSpan(data(), size()); }
1050 return MakeSpan(data() + size(), cap() - size());
/external/boringssl/src/include/openssl/
Dspan.h166 Span<T> MakeSpan(T *ptr, size_t size) { in MakeSpan() function
171 auto MakeSpan(C &c) -> decltype(MakeSpan(c.data(), c.size())) {
172 return MakeSpan(c.data(), c.size());