Searched refs:iovec_t (Results 1 – 7 of 7) sorted by relevance
/external/grpc-grpc/src/core/tsi/alts/zero_copy_frame_protector/ |
D | alts_iovec_record_protocol.h | 40 typedef struct iovec iovec_t; typedef 92 alts_iovec_record_protocol* rp, const iovec_t* unprotected_vec, 93 size_t unprotected_vec_length, iovec_t header, iovec_t tag, 113 alts_iovec_record_protocol* rp, const iovec_t* protected_vec, 114 size_t protected_vec_length, iovec_t header, iovec_t tag, 135 alts_iovec_record_protocol* rp, const iovec_t* unprotected_vec, 136 size_t unprotected_vec_length, iovec_t protected_frame, 158 alts_iovec_record_protocol* rp, iovec_t header, 159 const iovec_t* protected_vec, size_t protected_vec_length, 160 iovec_t unprotected_data, char** error_details);
|
D | alts_iovec_record_protocol.cc | 73 const alts_iovec_record_protocol* rp, iovec_t header, iovec_t tag, in ensure_header_and_tag_length() 117 static size_t get_total_length(const iovec_t* vec, size_t vec_length) { in get_total_length() 187 alts_iovec_record_protocol* rp, const iovec_t* unprotected_vec, in alts_iovec_record_protocol_integrity_only_protect() 188 size_t unprotected_vec_length, iovec_t header, iovec_t tag, in alts_iovec_record_protocol_integrity_only_protect() 242 alts_iovec_record_protocol* rp, const iovec_t* protected_vec, in alts_iovec_record_protocol_integrity_only_unprotect() 243 size_t protected_vec_length, iovec_t header, iovec_t tag, in alts_iovec_record_protocol_integrity_only_unprotect() 275 iovec_t plaintext = {nullptr, 0}; in alts_iovec_record_protocol_integrity_only_unprotect() 290 alts_iovec_record_protocol* rp, const iovec_t* unprotected_vec, in alts_iovec_record_protocol_privacy_integrity_protect() 291 size_t unprotected_vec_length, iovec_t protected_frame, in alts_iovec_record_protocol_privacy_integrity_protect() 335 iovec_t ciphertext = {ciphertext_buffer, data_length + rp->tag_length}; in alts_iovec_record_protocol_privacy_integrity_protect() [all …]
|
D | alts_grpc_record_protocol_common.cc | 43 rp->iovec_buf = static_cast<iovec_t*>( in ensure_iovec_buf_size() 44 gpr_realloc(rp->iovec_buf, rp->iovec_buf_length * sizeof(iovec_t))); in ensure_iovec_buf_size() 70 iovec_t alts_grpc_record_protocol_get_header_iovec( in alts_grpc_record_protocol_get_header_iovec() 72 iovec_t header_iovec = {nullptr, 0}; in alts_grpc_record_protocol_get_header_iovec() 118 static_cast<iovec_t*>(gpr_malloc(rp->iovec_buf_length * sizeof(iovec_t))); in alts_grpc_record_protocol_init()
|
D | alts_grpc_integrity_only_record_protocol.cc | 58 iovec_t header_iovec = {GRPC_SLICE_START_PTR(protected_slice), in alts_grpc_integrity_only_extra_copy_protect() 60 iovec_t tag_iovec = { in alts_grpc_integrity_only_extra_copy_protect() 99 iovec_t header_iovec = {GRPC_SLICE_START_PTR(header_slice), in alts_grpc_integrity_only_protect() 101 iovec_t tag_iovec = {GRPC_SLICE_START_PTR(tag_slice), in alts_grpc_integrity_only_protect() 145 iovec_t header_iovec = alts_grpc_record_protocol_get_header_iovec(rp); in alts_grpc_integrity_only_unprotect() 153 iovec_t tag_iovec = {nullptr, rp->tag_length}; in alts_grpc_integrity_only_unprotect()
|
D | alts_grpc_privacy_integrity_record_protocol.cc | 51 iovec_t protected_iovec = {GRPC_SLICE_START_PTR(protected_slice), in alts_grpc_privacy_integrity_protect() 92 iovec_t unprotected_iovec = {GRPC_SLICE_START_PTR(unprotected_slice), in alts_grpc_privacy_integrity_unprotect() 98 iovec_t header_iovec = alts_grpc_record_protocol_get_header_iovec(rp); in alts_grpc_privacy_integrity_unprotect()
|
D | alts_grpc_record_protocol_common.h | 55 iovec_t* iovec_buf; 82 iovec_t alts_grpc_record_protocol_get_header_iovec(
|
/external/grpc-grpc/test/core/tsi/alts/zero_copy_frame_protector/ |
D | alts_iovec_record_protocol_test.cc | 42 iovec_t header_iovec; 45 iovec_t tag_iovec; 49 iovec_t* data_iovec; 52 iovec_t protected_iovec; 53 iovec_t unprotected_iovec; 59 iovec_t** output, size_t* output_length) { in randomly_slice() 66 *output = static_cast<iovec_t*>(gpr_malloc(*output_length * sizeof(iovec_t))); in randomly_slice() 70 iovec_t slice = {input, slice_length}; in randomly_slice() 75 iovec_t slice = {input, input_length}; in randomly_slice() 337 iovec_t header_iovec = {nullptr, var->header_length}; in integrity_only_protect_input_check() [all …]
|