19 #ifndef GRPC_CORE_TSI_ALTS_ZERO_COPY_FRAME_PROTECTOR_ALTS_GRPC_RECORD_PROTOCOL_H
20 #define GRPC_CORE_TSI_ALTS_ZERO_COPY_FRAME_PROTECTOR_ALTS_GRPC_RECORD_PROTOCOL_H
void alts_grpc_record_protocol_destroy(alts_grpc_record_protocol *self)
This method destroys an alts_grpc_record_protocol instance by de-allocating all of its occupied memor...
Definition: alts_grpc_record_protocol_common.cc:151
tsi_result alts_grpc_record_protocol_protect(alts_grpc_record_protocol *self, grpc_slice_buffer *unprotected_slices, grpc_slice_buffer *protected_slices)
This methods performs protect operation on unprotected data and appends the protected frame to protec...
Definition: alts_grpc_record_protocol_common.cc:123
size_t alts_grpc_record_protocol_max_unprotected_data_size(const alts_grpc_record_protocol *self, size_t max_protected_frame_size)
This method returns maximum allowed unprotected data size, given maximum protected frame size.
Definition: alts_grpc_record_protocol_common.cc:167
tsi_result alts_grpc_record_protocol_unprotect(alts_grpc_record_protocol *self, grpc_slice_buffer *protected_slices, grpc_slice_buffer *unprotected_slices)
This methods performs unprotect operation on a full frame of protected data and appends unprotected d...
Definition: alts_grpc_record_protocol_common.cc:137
Definition: alts_grpc_record_protocol_common.h:47
Represents an expandable array of slices, to be interpreted as a single item.
Definition: slice.h:78
tsi_result
Definition: transport_security_interface.h:31