#include <grpc/support/port_platform.h>
#include <grpc/slice_buffer.h>
#include "src/core/tsi/transport_security.h"
Go to the source code of this file.
Classes | |
struct | tsi_zero_copy_grpc_protector |
struct | tsi_zero_copy_grpc_protector_vtable |
Functions | |
tsi_result | tsi_handshaker_result_create_zero_copy_grpc_protector (const tsi_handshaker_result *self, size_t *max_output_protected_frame_size, tsi_zero_copy_grpc_protector **protector) |
void | tsi_zero_copy_grpc_protector_destroy (tsi_zero_copy_grpc_protector *self) |
tsi_result | tsi_zero_copy_grpc_protector_max_frame_size (tsi_zero_copy_grpc_protector *self, size_t *max_frame_size) |
tsi_result | tsi_zero_copy_grpc_protector_protect (tsi_zero_copy_grpc_protector *self, grpc_slice_buffer *unprotected_slices, grpc_slice_buffer *protected_slices) |
tsi_result | tsi_zero_copy_grpc_protector_unprotect (tsi_zero_copy_grpc_protector *self, grpc_slice_buffer *protected_slices, grpc_slice_buffer *unprotected_slices, int *min_progress_size) |
tsi_result tsi_handshaker_result_create_zero_copy_grpc_protector | ( | const tsi_handshaker_result * | self, |
size_t * | max_output_protected_frame_size, | ||
tsi_zero_copy_grpc_protector ** | protector | ||
) |
Definition at line 24 of file transport_security_grpc.cc.
void tsi_zero_copy_grpc_protector_destroy | ( | tsi_zero_copy_grpc_protector * | self | ) |
Definition at line 64 of file transport_security_grpc.cc.
tsi_result tsi_zero_copy_grpc_protector_max_frame_size | ( | tsi_zero_copy_grpc_protector * | self, |
size_t * | max_frame_size | ||
) |
Definition at line 69 of file transport_security_grpc.cc.
tsi_result tsi_zero_copy_grpc_protector_protect | ( | tsi_zero_copy_grpc_protector * | self, |
grpc_slice_buffer * | unprotected_slices, | ||
grpc_slice_buffer * | protected_slices | ||
) |
Definition at line 41 of file transport_security_grpc.cc.
tsi_result tsi_zero_copy_grpc_protector_unprotect | ( | tsi_zero_copy_grpc_protector * | self, |
grpc_slice_buffer * | protected_slices, | ||
grpc_slice_buffer * | unprotected_slices, | ||
int * | min_progress_size | ||
) |
Definition at line 52 of file transport_security_grpc.cc.