Home
last modified time | relevance | path

Searched refs:max_protected_frame_size (Results 1 – 13 of 13) sorted by relevance

/external/grpc-grpc/src/core/tsi/alts/frame_protector/
Dalts_frame_protector.cc54 size_t max_protected_frame_size; member
65 impl->max_protected_frame_size, impl->in_place_protect_bytes_buffered, in seal()
77 return impl->max_protected_frame_size - kFrameHeaderSize; in max_encrypted_payload_bytes()
363 size_t* max_protected_frame_size, in alts_create_frame_protector() argument
386 if (max_protected_frame_size != nullptr) { in alts_create_frame_protector()
387 *max_protected_frame_size = in alts_create_frame_protector()
388 GPR_MIN(*max_protected_frame_size, kMaxFrameLength); in alts_create_frame_protector()
389 *max_protected_frame_size = in alts_create_frame_protector()
390 GPR_MAX(*max_protected_frame_size, kMinFrameLength); in alts_create_frame_protector()
391 max_protected_frame_size_to_set = *max_protected_frame_size; in alts_create_frame_protector()
[all …]
Dalts_frame_protector.h52 size_t* max_protected_frame_size,
/external/grpc-grpc/src/core/tsi/alts/zero_copy_frame_protector/
Dalts_zero_copy_grpc_protector.cc53 size_t max_protected_frame_size; member
245 size_t* max_protected_frame_size, in alts_zero_copy_grpc_protector_create() argument
269 if (max_protected_frame_size != nullptr) { in alts_zero_copy_grpc_protector_create()
270 *max_protected_frame_size = in alts_zero_copy_grpc_protector_create()
271 GPR_MIN(*max_protected_frame_size, kMaxFrameLength); in alts_zero_copy_grpc_protector_create()
272 *max_protected_frame_size = in alts_zero_copy_grpc_protector_create()
273 GPR_MAX(*max_protected_frame_size, kMinFrameLength); in alts_zero_copy_grpc_protector_create()
274 max_protected_frame_size_to_set = *max_protected_frame_size; in alts_zero_copy_grpc_protector_create()
276 impl->max_protected_frame_size = max_protected_frame_size_to_set; in alts_zero_copy_grpc_protector_create()
Dalts_grpc_record_protocol_common.cc168 const alts_grpc_record_protocol* self, size_t max_protected_frame_size) { in alts_grpc_record_protocol_max_unprotected_data_size() argument
173 self->iovec_rp, max_protected_frame_size); in alts_grpc_record_protocol_max_unprotected_data_size()
Dalts_zero_copy_grpc_protector.h54 size_t* max_protected_frame_size, tsi_zero_copy_grpc_protector** protector);
Dalts_grpc_record_protocol.h82 const alts_grpc_record_protocol* self, size_t max_protected_frame_size);
Dalts_iovec_record_protocol.cc176 const alts_iovec_record_protocol* rp, size_t max_protected_frame_size) { in alts_iovec_record_protocol_max_unprotected_data_size() argument
182 if (max_protected_frame_size <= overhead_bytes_size) return 0; in alts_iovec_record_protocol_max_unprotected_data_size()
183 return max_protected_frame_size - overhead_bytes_size; in alts_iovec_record_protocol_max_unprotected_data_size()
Dalts_iovec_record_protocol.h71 const alts_iovec_record_protocol* rp, size_t max_protected_frame_size);
/external/grpc-grpc/src/core/tsi/
Dfake_transport_security.h38 size_t* max_protected_frame_size);
43 size_t* max_protected_frame_size);
Dtransport_security.cc182 tsi_handshaker* self, size_t* max_protected_frame_size, in tsi_handshaker_create_frame_protector() argument
192 result = self->vtable->create_frame_protector(self, max_protected_frame_size, in tsi_handshaker_create_frame_protector()
240 const tsi_handshaker_result* self, size_t* max_protected_frame_size, in tsi_handshaker_result_create_frame_protector() argument
246 return self->vtable->create_frame_protector(self, max_protected_frame_size, in tsi_handshaker_result_create_frame_protector()
Dfake_transport_security.cc765 size_t* max_protected_frame_size) { in tsi_create_fake_frame_protector() argument
768 impl->max_frame_size = (max_protected_frame_size == nullptr) in tsi_create_fake_frame_protector()
770 : *max_protected_frame_size; in tsi_create_fake_frame_protector()
776 size_t* max_protected_frame_size) { in tsi_create_fake_zero_copy_grpc_protector() argument
782 impl->max_frame_size = (max_protected_frame_size == nullptr) in tsi_create_fake_zero_copy_grpc_protector()
784 : *max_protected_frame_size; in tsi_create_fake_zero_copy_grpc_protector()
Dtransport_security.h67 size_t* max_protected_frame_size,
/external/grpc-grpc/test/core/tsi/alts/zero_copy_frame_protector/
Dalts_zero_copy_grpc_protector_test.cc111 size_t max_protected_frame_size = 1024; in alts_zero_copy_grpc_protector_test_fixture_create() local
115 enable_extra_copy, &max_protected_frame_size, in alts_zero_copy_grpc_protector_test_fixture_create()
119 enable_extra_copy, &max_protected_frame_size, in alts_zero_copy_grpc_protector_test_fixture_create()