19 #ifndef GRPC_CORE_TSI_ALTS_FRAME_PROTECTOR_ALTS_RECORD_PROTOCOL_CRYPTER_COMMON_H 20 #define GRPC_CORE_TSI_ALTS_FRAME_PROTECTOR_ALTS_RECORD_PROTOCOL_CRYPTER_COMMON_H 63 size_t* output_size,
char** error_details);
80 char** error_details);
103 char** error_details);
void alts_record_protocol_crypter_destruct(alts_crypter *c)
Definition: alts_record_protocol_crypter_common.cc:81
size_t alts_record_protocol_crypter_num_overhead_bytes(const alts_crypter *c)
For the following two methods, please refer to the corresponding API in alts_crypter.h for detailed specifications.
Definition: alts_record_protocol_crypter_common.cc:66
Definition: alts_counter.h:30
alts_counter * ctr
Definition: alts_record_protocol_crypter_common.h:41
This file contains common implementation that will be used in both seal and unseal operations...
Definition: alts_record_protocol_crypter_common.h:38
alts_crypter base
Definition: alts_record_protocol_crypter_common.h:39
alts_record_protocol_crypter * alts_crypter_create_common(gsec_aead_crypter *crypter, bool is_client, size_t overflow_size, char **error_details)
This method creates an alts_crypter instance, and populates the fields that are common to both seal a...
Definition: alts_record_protocol_crypter_common.cc:90
gsec_aead_crypter * crypter
Definition: alts_record_protocol_crypter_common.h:40
grpc_status_code input_sanity_check(const alts_record_protocol_crypter *rp_crypter, const unsigned char *data, size_t *output_size, char **error_details)
This method performs input sanity checks on a subset of inputs to alts_crypter_process_in_place() for...
Definition: alts_record_protocol_crypter_common.cc:32
grpc_status_code increment_counter(alts_record_protocol_crypter *rp_crypter, char **error_details)
This method increments the counter within an alts_record_protocol_crypter instance.
Definition: alts_record_protocol_crypter_common.cc:48
Definition: alts_crypter.h:135
grpc_status_code
Definition: status.h:26
struct alts_record_protocol_crypter alts_record_protocol_crypter
This file contains common implementation that will be used in both seal and unseal operations...