Home
last modified time | relevance | path

Searched refs:grpc_status_code (Results 1 – 25 of 174) sorted by relevance

1234567

/external/grpc-grpc/src/core/tsi/alts/crypt/
Dgsec.h142 grpc_status_code (*encrypt_iovec)(
148 grpc_status_code (*decrypt_iovec)(
154 grpc_status_code (*max_ciphertext_and_tag_length)(
157 grpc_status_code (*max_plaintext_length)(
160 grpc_status_code (*nonce_length)(const gsec_aead_crypter* crypter,
163 grpc_status_code (*key_length)(const gsec_aead_crypter* crypter,
166 grpc_status_code (*tag_length)(const gsec_aead_crypter* crypter,
210 grpc_status_code gsec_aead_crypter_encrypt(
243 grpc_status_code gsec_aead_crypter_encrypt_iovec(
281 grpc_status_code gsec_aead_crypter_decrypt(
[all …]
Dgsec.cc38 grpc_status_code gsec_aead_crypter_encrypt( in gsec_aead_crypter_encrypt()
59 grpc_status_code gsec_aead_crypter_encrypt_iovec( in gsec_aead_crypter_encrypt_iovec()
77 grpc_status_code gsec_aead_crypter_decrypt( in gsec_aead_crypter_decrypt()
97 grpc_status_code gsec_aead_crypter_decrypt_iovec( in gsec_aead_crypter_decrypt_iovec()
115 grpc_status_code gsec_aead_crypter_max_ciphertext_and_tag_length( in gsec_aead_crypter_max_ciphertext_and_tag_length()
129 grpc_status_code gsec_aead_crypter_max_plaintext_length( in gsec_aead_crypter_max_plaintext_length()
143 grpc_status_code gsec_aead_crypter_nonce_length( in gsec_aead_crypter_nonce_length()
156 grpc_status_code gsec_aead_crypter_key_length(const gsec_aead_crypter* crypter, in gsec_aead_crypter_key_length()
169 grpc_status_code gsec_aead_crypter_tag_length(const gsec_aead_crypter* crypter, in gsec_aead_crypter_tag_length()
Daes_gcm.cc90 static grpc_status_code gsec_aes_gcm_aead_crypter_max_ciphertext_and_tag_length( in gsec_aes_gcm_aead_crypter_max_ciphertext_and_tag_length()
106 static grpc_status_code gsec_aes_gcm_aead_crypter_max_plaintext_length( in gsec_aes_gcm_aead_crypter_max_plaintext_length()
127 static grpc_status_code gsec_aes_gcm_aead_crypter_nonce_length( in gsec_aes_gcm_aead_crypter_nonce_length()
141 static grpc_status_code gsec_aes_gcm_aead_crypter_key_length( in gsec_aes_gcm_aead_crypter_key_length()
155 static grpc_status_code gsec_aes_gcm_aead_crypter_tag_length( in gsec_aes_gcm_aead_crypter_tag_length()
185 static grpc_status_code aes_gcm_derive_aead_key(uint8_t* dst, in aes_gcm_derive_aead_key()
217 static grpc_status_code aes_gcm_rekey_if_required( in aes_gcm_rekey_if_required()
246 static grpc_status_code gsec_aes_gcm_aead_crypter_encrypt_iovec( in gsec_aes_gcm_aead_crypter_encrypt_iovec()
384 static grpc_status_code gsec_aes_gcm_aead_crypter_decrypt_iovec( in gsec_aes_gcm_aead_crypter_decrypt_iovec()
595 static grpc_status_code aes_gcm_new_evp_cipher_ctx( in aes_gcm_new_evp_cipher_ctx()
[all …]
/external/grpc-grpc/src/core/tsi/alts/zero_copy_frame_protector/
Dalts_iovec_record_protocol.cc72 static grpc_status_code ensure_header_and_tag_length( in ensure_header_and_tag_length()
98 static grpc_status_code increment_counter(alts_counter* counter, in increment_counter()
104 grpc_status_code status = in increment_counter()
126 static grpc_status_code write_frame_header(size_t data_length, in write_frame_header()
141 static grpc_status_code verify_frame_header(size_t data_length, in verify_frame_header()
186 grpc_status_code alts_iovec_record_protocol_integrity_only_protect( in alts_iovec_record_protocol_integrity_only_protect()
207 grpc_status_code status = in alts_iovec_record_protocol_integrity_only_protect()
241 grpc_status_code alts_iovec_record_protocol_integrity_only_unprotect( in alts_iovec_record_protocol_integrity_only_unprotect()
262 grpc_status_code status = in alts_iovec_record_protocol_integrity_only_unprotect()
289 grpc_status_code alts_iovec_record_protocol_privacy_integrity_protect( in alts_iovec_record_protocol_privacy_integrity_protect()
[all …]
Dalts_iovec_record_protocol.h91 grpc_status_code alts_iovec_record_protocol_integrity_only_protect(
112 grpc_status_code alts_iovec_record_protocol_integrity_only_unprotect(
134 grpc_status_code alts_iovec_record_protocol_privacy_integrity_protect(
157 grpc_status_code alts_iovec_record_protocol_privacy_integrity_unprotect(
186 grpc_status_code alts_iovec_record_protocol_create(
/external/grpc-grpc/src/core/lib/transport/
Dstatus_conversion.h30 grpc_http2_error_code grpc_status_to_http2_error(grpc_status_code status);
31 grpc_status_code grpc_http2_error_to_grpc_status(grpc_http2_error_code error,
35 grpc_status_code grpc_http2_status_to_grpc_status(int status);
36 int grpc_status_to_http2_status(grpc_status_code status);
Dstatus_conversion.cc23 grpc_http2_error_code grpc_status_to_http2_error(grpc_status_code status) { in grpc_status_to_http2_error()
42 grpc_status_code grpc_http2_error_to_grpc_status(grpc_http2_error_code error, in grpc_http2_error_to_grpc_status()
65 grpc_status_code grpc_http2_status_to_grpc_status(int status) { in grpc_http2_status_to_grpc_status()
100 int grpc_status_to_http2_status(grpc_status_code status) { return 200; } in grpc_status_to_http2_status()
Derror_utils.cc47 grpc_status_code* code, grpc_slice* slice, in grpc_error_get_status()
65 grpc_status_code status = GRPC_STATUS_UNKNOWN; in grpc_error_get_status()
68 status = static_cast<grpc_status_code>(integer); in grpc_error_get_status()
86 grpc_status_to_http2_error(static_cast<grpc_status_code>(integer)); in grpc_error_get_status()
Dstatus_metadata.cc33 grpc_status_code grpc_get_status_code_from_metadata(grpc_mdelem md) { in grpc_get_status_code_from_metadata()
45 return static_cast<grpc_status_code>((intptr_t)user_data - STATUS_OFFSET); in grpc_get_status_code_from_metadata()
53 return static_cast<grpc_status_code>(status); in grpc_get_status_code_from_metadata()
/external/grpc-grpc/src/core/lib/channel/
Dstatus_util.h32 grpc_status_code* status);
35 const char* grpc_status_code_to_string(grpc_status_code status);
45 void Add(grpc_status_code status) { status_code_mask_ |= (1 << status); } in Add()
47 bool Contains(grpc_status_code status) const { in Contains()
Dstatus_util.cc27 grpc_status_code status;
51 grpc_status_code* status) { in grpc_status_code_from_string()
61 const char* grpc_status_code_to_string(grpc_status_code status) { in grpc_status_code_to_string()
/external/grpc-grpc/src/core/tsi/alts/frame_protector/
Dalts_unseal_privacy_integrity_crypter.cc35 static grpc_status_code unseal_check(alts_crypter* c, const unsigned char* data, in unseal_check()
40 grpc_status_code status = input_sanity_check( in unseal_check()
57 static grpc_status_code alts_unseal_crypter_process_in_place( in alts_unseal_crypter_process_in_place()
60 grpc_status_code status = unseal_check(c, data, data_allocated_size, in alts_unseal_crypter_process_in_place()
85 grpc_status_code alts_unseal_crypter_create(gsec_aead_crypter* gc, in alts_unseal_crypter_create()
Dalts_record_protocol_crypter_common.cc32 grpc_status_code input_sanity_check( in input_sanity_check()
48 grpc_status_code increment_counter(alts_record_protocol_crypter* rp_crypter, in increment_counter()
51 grpc_status_code status = in increment_counter()
72 grpc_status_code status = gsec_aead_crypter_tag_length( in alts_record_protocol_crypter_num_overhead_bytes()
97 grpc_status_code status = in alts_crypter_create_common()
Dalts_seal_privacy_integrity_crypter.cc35 static grpc_status_code seal_check(alts_crypter* c, const unsigned char* data, in seal_check()
39 grpc_status_code status = input_sanity_check( in seal_check()
61 static grpc_status_code alts_seal_crypter_process_in_place( in alts_seal_crypter_process_in_place()
64 grpc_status_code status = seal_check(c, data, data_allocated_size, data_size, in alts_seal_crypter_process_in_place()
88 grpc_status_code alts_seal_crypter_create(gsec_aead_crypter* gc, bool is_client, in alts_seal_crypter_create()
Dalts_crypter.h126 grpc_status_code (*process_in_place)(alts_crypter* crypter,
191 grpc_status_code alts_crypter_process_in_place(
215 grpc_status_code alts_seal_crypter_create(gsec_aead_crypter* gc, bool is_client,
240 grpc_status_code alts_unseal_crypter_create(gsec_aead_crypter* gc,
Dalts_counter.h53 grpc_status_code alts_counter_create(bool is_client, size_t counter_size,
74 grpc_status_code alts_counter_increment(alts_counter* crypter_counter,
Dalts_record_protocol_crypter_common.h61 grpc_status_code input_sanity_check(
79 grpc_status_code increment_counter(alts_record_protocol_crypter* rp_crypter,
Dalts_frame_protector.cc63 grpc_status_code status = alts_crypter_process_in_place( in seal()
196 grpc_status_code status = alts_crypter_process_in_place( in unseal()
328 static grpc_status_code create_alts_crypters(const uint8_t* key, in create_alts_crypters()
333 grpc_status_code status; in create_alts_crypters()
373 grpc_status_code status = create_alts_crypters( in alts_create_frame_protector()
Dalts_counter.cc34 grpc_status_code alts_counter_create(bool is_client, size_t counter_size, in alts_counter_create()
66 grpc_status_code alts_counter_increment(alts_counter* crypter_counter, in alts_counter_increment()
/external/grpc-grpc/test/core/tsi/alts/zero_copy_frame_protector/
Dalts_iovec_record_protocol_test.cc209 grpc_status_code status = alts_iovec_record_protocol_integrity_only_protect( in integrity_only_random_seal_unseal()
234 grpc_status_code status = alts_iovec_record_protocol_integrity_only_protect( in integrity_only_empty_seal_unseal()
249 grpc_status_code status = alts_iovec_record_protocol_integrity_only_protect( in integrity_only_unsync_seal_unseal()
277 grpc_status_code status = alts_iovec_record_protocol_integrity_only_protect( in integrity_only_corrupted_data()
338 grpc_status_code status = alts_iovec_record_protocol_integrity_only_protect( in integrity_only_protect_input_check()
383 grpc_status_code status = alts_iovec_record_protocol_integrity_only_unprotect( in integrity_only_unprotect_input_check()
429 grpc_status_code status = in privacy_integrity_random_seal_unseal()
462 grpc_status_code status = in privacy_integrity_empty_seal_unseal()
480 grpc_status_code status = in privacy_integrity_unsync_seal_unseal()
511 grpc_status_code status = in privacy_integrity_corrupted_data()
[all …]
/external/grpc-grpc/test/core/tsi/alts/crypt/
Dgsec_test_util.h84 int gsec_test_expect_compare_code_and_substr(grpc_status_code status1,
85 grpc_status_code status2,
Dgsec_test_util.cc75 int gsec_test_expect_compare_code_and_substr(grpc_status_code status1, in gsec_test_expect_compare_code_and_substr()
76 grpc_status_code status2, in gsec_test_expect_compare_code_and_substr()
/external/grpc-grpc/test/core/tsi/alts/frame_protector/
Dalts_counter_test.cc42 grpc_status_code status = in alts_counter_test_input_sanity_check()
90 grpc_status_code status = alts_counter_create( in alts_counter_test_overflow_full_range()
136 grpc_status_code status = alts_counter_create( in alts_counter_test_overflow_single_increment()
/external/grpc-grpc/src/cpp/client/
Dsecure_credentials.h65 size_t* num_creds_md, grpc_status_code* status,
76 size_t* num_creds_md, grpc_status_code* status_code,
Dsecure_credentials.cc208 size_t* num_creds_md, grpc_status_code* status, in GetMetadata()
247 grpc_status_code* status_code, const char** error_details) { in InvokePlugin()
280 *status_code = static_cast<grpc_status_code>(status.error_code()); in InvokePlugin()
287 static_cast<grpc_status_code>(status.error_code()), in InvokePlugin()

1234567