Home
last modified time | relevance | path

Searched refs:protected_output_frames (Results 1 – 17 of 17) sorted by relevance

/aosp_15_r20/external/grpc-grpc/test/core/tsi/
H A Dssl_transport_security_utils_test.cc329 std::vector<uint8_t> protected_output_frames( in TEST_P() local
331 std::size_t protected_output_frames_size = protected_output_frames.size(); in TEST_P()
336 protected_output_frames.data(), in TEST_P()
350 protected_output_frames_size = protected_output_frames.size(); in TEST_P()
355 client_bio, protected_output_frames.data(), in TEST_P()
362 EXPECT_EQ(protected_output_frames[0], '\x17'); in TEST_P()
363 EXPECT_EQ(protected_output_frames[1], '\x03'); in TEST_P()
364 EXPECT_EQ(protected_output_frames[2], '\x03'); in TEST_P()
367 EXPECT_EQ(CalculateRecordSizeFromHeader(protected_output_frames[3], in TEST_P()
368 protected_output_frames[4]), in TEST_P()
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/src/core/tsi/
Dssl_transport_security_utils.cc123 unsigned char* protected_output_frames, in SslProtectorProtect() argument
134 read_from_ssl = BIO_read(network_io, protected_output_frames, in SslProtectorProtect()
161 read_from_ssl = BIO_read(network_io, protected_output_frames, in SslProtectorProtect()
176 unsigned char* protected_output_frames, in SslProtectorProtectFlush() argument
195 read_from_ssl = BIO_read(network_io, protected_output_frames, in SslProtectorProtectFlush()
Dtransport_security.cc90 unsigned char* protected_output_frames, in tsi_frame_protector_protect() argument
94 protected_output_frames == nullptr || in tsi_frame_protector_protect()
100 protected_output_frames, in tsi_frame_protector_protect()
105 tsi_frame_protector* self, unsigned char* protected_output_frames, in tsi_frame_protector_protect_flush() argument
108 protected_output_frames == nullptr || in tsi_frame_protector_protect_flush()
114 return self->vtable->protect_flush(self, protected_output_frames, in tsi_frame_protector_protect_flush()
Dfake_transport_security.cc274 unsigned char* protected_output_frames, in fake_protector_protect() argument
289 result = tsi_fake_frame_encode(protected_output_frames, &drained_size, in fake_protector_protect()
292 protected_output_frames += drained_size; in fake_protector_protect()
330 result = tsi_fake_frame_encode(protected_output_frames, &drained_size, frame, in fake_protector_protect()
338 tsi_frame_protector* self, unsigned char* protected_output_frames, in fake_protector_protect_flush() argument
352 result = tsi_fake_frame_encode(protected_output_frames, in fake_protector_protect_flush()
Dssl_transport_security_utils.h96 unsigned char* protected_output_frames,
120 unsigned char* protected_output_frames,
Dtransport_security.h38 unsigned char* protected_output_frames,
41 unsigned char* protected_output_frames,
Dtransport_security_interface.h175 unsigned char* protected_output_frames,
187 tsi_frame_protector* self, unsigned char* protected_output_frames,
Dssl_transport_security.cc1057 unsigned char* protected_output_frames, in ssl_protector_protect() argument
1065 protected_output_frames, protected_output_frames_size); in ssl_protector_protect()
1069 tsi_frame_protector* self, unsigned char* protected_output_frames, in ssl_protector_protect_flush() argument
1075 protected_output_frames, protected_output_frames_size, in ssl_protector_protect_flush()
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/src/core/tsi/alts/frame_protector/
Dalts_frame_protector.cc85 unsigned char* protected_output_frames, in alts_protect_flush() argument
88 if (self == nullptr || protected_output_frames == nullptr || in alts_protect_flush()
127 if (!alts_write_frame_bytes(impl->writer, protected_output_frames, in alts_protect_flush()
147 unsigned char* protected_output_frames, in alts_protect() argument
150 unprotected_bytes_size == nullptr || protected_output_frames == nullptr || in alts_protect()
188 return alts_protect_flush(self, protected_output_frames, in alts_protect()
/aosp_15_r20/external/grpc-grpc/src/core/tsi/alts/frame_protector/
H A Dalts_frame_protector.cc86 unsigned char* protected_output_frames, in alts_protect_flush() argument
89 if (self == nullptr || protected_output_frames == nullptr || in alts_protect_flush()
128 if (!alts_write_frame_bytes(impl->writer, protected_output_frames, in alts_protect_flush()
148 unsigned char* protected_output_frames, in alts_protect() argument
151 unprotected_bytes_size == nullptr || protected_output_frames == nullptr || in alts_protect()
189 return alts_protect_flush(self, protected_output_frames, in alts_protect()
/aosp_15_r20/external/grpc-grpc/src/core/tsi/
H A Dtransport_security.cc90 unsigned char* protected_output_frames, in tsi_frame_protector_protect() argument
94 protected_output_frames == nullptr || in tsi_frame_protector_protect()
100 protected_output_frames, in tsi_frame_protector_protect()
105 tsi_frame_protector* self, unsigned char* protected_output_frames, in tsi_frame_protector_protect_flush() argument
108 protected_output_frames == nullptr || in tsi_frame_protector_protect_flush()
114 return self->vtable->protect_flush(self, protected_output_frames, in tsi_frame_protector_protect_flush()
H A Dssl_transport_security_utils.cc127 unsigned char* protected_output_frames, in SslProtectorProtect() argument
138 read_from_ssl = BIO_read(network_io, protected_output_frames, in SslProtectorProtect()
165 read_from_ssl = BIO_read(network_io, protected_output_frames, in SslProtectorProtect()
180 unsigned char* protected_output_frames, in SslProtectorProtectFlush() argument
199 read_from_ssl = BIO_read(network_io, protected_output_frames, in SslProtectorProtectFlush()
H A Dfake_transport_security.cc274 unsigned char* protected_output_frames, in fake_protector_protect() argument
289 result = tsi_fake_frame_encode(protected_output_frames, &drained_size, in fake_protector_protect()
292 protected_output_frames += drained_size; in fake_protector_protect()
330 result = tsi_fake_frame_encode(protected_output_frames, &drained_size, frame, in fake_protector_protect()
338 tsi_frame_protector* self, unsigned char* protected_output_frames, in fake_protector_protect_flush() argument
352 result = tsi_fake_frame_encode(protected_output_frames, in fake_protector_protect_flush()
H A Dssl_transport_security_utils.h98 unsigned char* protected_output_frames,
122 unsigned char* protected_output_frames,
H A Dtransport_security.h38 unsigned char* protected_output_frames,
41 unsigned char* protected_output_frames,
H A Dtransport_security_interface.h175 unsigned char* protected_output_frames,
187 tsi_frame_protector* self, unsigned char* protected_output_frames,
H A Dssl_transport_security.cc1290 unsigned char* protected_output_frames, in ssl_protector_protect() argument
1298 protected_output_frames, protected_output_frames_size); in ssl_protector_protect()
1302 tsi_frame_protector* self, unsigned char* protected_output_frames, in ssl_protector_protect_flush() argument
1308 protected_output_frames, protected_output_frames_size, in ssl_protector_protect_flush()