/external/grpc-grpc/src/core/tsi/alts/frame_protector/ |
D | alts_frame_protector.cc | 54 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 …]
|
D | alts_frame_protector.h | 52 size_t* max_protected_frame_size,
|
/external/grpc-grpc/src/core/tsi/alts/zero_copy_frame_protector/ |
D | alts_zero_copy_grpc_protector.cc | 53 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()
|
D | alts_grpc_record_protocol_common.cc | 168 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()
|
D | alts_zero_copy_grpc_protector.h | 54 size_t* max_protected_frame_size, tsi_zero_copy_grpc_protector** protector);
|
D | alts_grpc_record_protocol.h | 82 const alts_grpc_record_protocol* self, size_t max_protected_frame_size);
|
D | alts_iovec_record_protocol.cc | 176 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()
|
D | alts_iovec_record_protocol.h | 71 const alts_iovec_record_protocol* rp, size_t max_protected_frame_size);
|
/external/grpc-grpc/src/core/tsi/ |
D | fake_transport_security.h | 38 size_t* max_protected_frame_size); 43 size_t* max_protected_frame_size);
|
D | transport_security.cc | 182 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()
|
D | fake_transport_security.cc | 765 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()
|
D | transport_security.h | 67 size_t* max_protected_frame_size,
|
/external/grpc-grpc/test/core/tsi/alts/zero_copy_frame_protector/ |
D | alts_zero_copy_grpc_protector_test.cc | 111 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()
|