Home
last modified time | relevance | path

Searched refs:TSI_INVALID_ARGUMENT (Results 1 – 21 of 21) sorted by relevance

/external/grpc-grpc/src/core/tsi/
Dtransport_security.cc41 case TSI_INVALID_ARGUMENT: in tsi_result_to_string()
83 return TSI_INVALID_ARGUMENT; in tsi_frame_protector_protect()
98 return TSI_INVALID_ARGUMENT; in tsi_frame_protector_protect_flush()
114 return TSI_INVALID_ARGUMENT; in tsi_frame_protector_unprotect()
136 return TSI_INVALID_ARGUMENT; in tsi_handshaker_get_bytes_to_send_to_peer()
150 return TSI_INVALID_ARGUMENT; in tsi_handshaker_process_bytes_from_peer()
160 if (self == nullptr || self->vtable == nullptr) return TSI_INVALID_ARGUMENT; in tsi_handshaker_get_result()
169 return TSI_INVALID_ARGUMENT; in tsi_handshaker_extract_peer()
186 return TSI_INVALID_ARGUMENT; in tsi_handshaker_create_frame_protector()
205 if (self == nullptr || self->vtable == nullptr) return TSI_INVALID_ARGUMENT; in tsi_handshaker_next()
[all …]
Dlocal_transport_security.cc59 return TSI_INVALID_ARGUMENT; in local_zero_copy_grpc_protector_protect()
72 return TSI_INVALID_ARGUMENT; in local_zero_copy_grpc_protector_unprotect()
95 return TSI_INVALID_ARGUMENT; in local_zero_copy_grpc_protector_create()
117 return TSI_INVALID_ARGUMENT; in handshaker_result_create_zero_copy_grpc_protector()
147 return TSI_INVALID_ARGUMENT; in create_handshaker_result()
166 return TSI_INVALID_ARGUMENT; in handshaker_next()
201 return TSI_INVALID_ARGUMENT; in local_tsi_handshaker_create()
Dtransport_security_grpc.cc28 return TSI_INVALID_ARGUMENT; in tsi_handshaker_result_create_zero_copy_grpc_protector()
46 return TSI_INVALID_ARGUMENT; in tsi_zero_copy_grpc_protector_protect()
57 return TSI_INVALID_ARGUMENT; in tsi_zero_copy_grpc_protector_unprotect()
Dssl_transport_security.cc522 result = TSI_INVALID_ARGUMENT; in ssl_ctx_use_certificate_chain()
526 result = TSI_INVALID_ARGUMENT; in ssl_ctx_use_certificate_chain()
538 result = TSI_INVALID_ARGUMENT; in ssl_ctx_use_certificate_chain()
564 result = TSI_INVALID_ARGUMENT; in ssl_ctx_use_private_key()
568 result = TSI_INVALID_ARGUMENT; in ssl_ctx_use_private_key()
590 if (cert_store == nullptr) return TSI_INVALID_ARGUMENT; in x509_store_load_certs()
607 result = TSI_INVALID_ARGUMENT; in x509_store_load_certs()
629 result = TSI_INVALID_ARGUMENT; in x509_store_load_certs()
674 return result != TSI_OK ? result : TSI_INVALID_ARGUMENT; in populate_ssl_context()
681 return TSI_INVALID_ARGUMENT; in populate_ssl_context()
[all …]
Dfake_transport_security.cc416 return TSI_INVALID_ARGUMENT; in fake_zero_copy_grpc_protector_protect()
441 return TSI_INVALID_ARGUMENT; in fake_zero_copy_grpc_protector_unprotect()
552 return TSI_INVALID_ARGUMENT; in fake_handshaker_result_create()
677 return TSI_INVALID_ARGUMENT; in fake_handshaker_next()
Dtransport_security_interface.h34 TSI_INVALID_ARGUMENT = 2, enumerator
/external/grpc-grpc/test/core/tsi/
Dtransport_security_test.cc331 {TSI_INVALID_ARGUMENT, "TSI_INVALID_ARGUMENT"}, in test_result_strings()
352 nullptr) == TSI_INVALID_ARGUMENT); in test_protector_invalid_args()
354 nullptr, nullptr, nullptr, nullptr) == TSI_INVALID_ARGUMENT); in test_protector_invalid_args()
356 nullptr) == TSI_INVALID_ARGUMENT); in test_protector_invalid_args()
360 GPR_ASSERT(tsi_handshaker_get_result(nullptr) == TSI_INVALID_ARGUMENT); in test_handshaker_invalid_args()
362 TSI_INVALID_ARGUMENT); in test_handshaker_invalid_args()
364 TSI_INVALID_ARGUMENT); in test_handshaker_invalid_args()
366 nullptr, nullptr, nullptr) == TSI_INVALID_ARGUMENT); in test_handshaker_invalid_args()
368 nullptr, nullptr, nullptr) == TSI_INVALID_ARGUMENT); in test_handshaker_invalid_args()
370 nullptr, nullptr) == TSI_INVALID_ARGUMENT); in test_handshaker_invalid_args()
Dssl_transport_security_test.cc769 &options, &client_handshaker_factory) == TSI_INVALID_ARGUMENT); in test_tsi_ssl_client_handshaker_factory_bad_params()
/external/grpc-grpc/src/core/tsi/alts/zero_copy_frame_protector/
Dalts_grpc_privacy_integrity_record_protocol.cc43 return TSI_INVALID_ARGUMENT; in alts_grpc_privacy_integrity_protect()
81 return TSI_INVALID_ARGUMENT; in alts_grpc_privacy_integrity_unprotect()
87 return TSI_INVALID_ARGUMENT; in alts_grpc_privacy_integrity_unprotect()
129 return TSI_INVALID_ARGUMENT; in alts_grpc_privacy_integrity_record_protocol_create()
Dalts_grpc_integrity_only_record_protocol.cc86 return TSI_INVALID_ARGUMENT; in alts_grpc_integrity_only_protect()
129 return TSI_INVALID_ARGUMENT; in alts_grpc_integrity_only_unprotect()
133 return TSI_INVALID_ARGUMENT; in alts_grpc_integrity_only_unprotect()
204 return TSI_INVALID_ARGUMENT; in alts_grpc_integrity_only_record_protocol_create()
Dalts_zero_copy_grpc_protector.cc116 return TSI_INVALID_ARGUMENT; in create_alts_grpc_record_protocol()
155 return TSI_INVALID_ARGUMENT; in alts_zero_copy_grpc_protector_protect()
182 return TSI_INVALID_ARGUMENT; in alts_zero_copy_grpc_protector_unprotect()
252 return TSI_INVALID_ARGUMENT; in alts_zero_copy_grpc_protector_create()
Dalts_grpc_record_protocol_common.cc96 return TSI_INVALID_ARGUMENT; in alts_grpc_record_protocol_init()
129 return TSI_INVALID_ARGUMENT; in alts_grpc_record_protocol_protect()
143 return TSI_INVALID_ARGUMENT; in alts_grpc_record_protocol_unprotect()
/external/grpc-grpc/test/core/tsi/alts/handshaker/
Dalts_handshaker_client_test.cc307 TSI_INVALID_ARGUMENT); in schedule_request_invalid_arg_test()
309 TSI_INVALID_ARGUMENT); in schedule_request_invalid_arg_test()
313 config->client, event, nullptr) == TSI_INVALID_ARGUMENT); in schedule_request_invalid_arg_test()
316 TSI_INVALID_ARGUMENT); in schedule_request_invalid_arg_test()
318 nullptr, event, &config->out_frame) == TSI_INVALID_ARGUMENT); in schedule_request_invalid_arg_test()
322 TSI_INVALID_ARGUMENT); in schedule_request_invalid_arg_test()
325 TSI_INVALID_ARGUMENT); in schedule_request_invalid_arg_test()
327 TSI_INVALID_ARGUMENT); in schedule_request_invalid_arg_test()
Dalts_tsi_handshaker_test.cc199 TSI_INVALID_ARGUMENT); in on_client_start_success_cb()
203 result, nullptr, &protector) == TSI_INVALID_ARGUMENT); in on_client_start_success_cb()
209 TSI_INVALID_ARGUMENT); in on_client_start_success_cb()
226 TSI_INVALID_ARGUMENT); in on_server_start_success_cb()
230 result, nullptr, &protector) == TSI_INVALID_ARGUMENT); in on_server_start_success_cb()
236 TSI_INVALID_ARGUMENT); in on_server_start_success_cb()
439 nullptr) == TSI_INVALID_ARGUMENT); in check_handshaker_next_invalid_input()
443 nullptr) == TSI_INVALID_ARGUMENT); in check_handshaker_next_invalid_input()
664 GPR_ASSERT(status == TSI_INVALID_ARGUMENT); in on_failed_resp_cb()
Dalts_tsi_utils_test.cc29 GRPC_STATUS_INVALID_ARGUMENT) == TSI_INVALID_ARGUMENT); in convert_to_tsi_result_test()
/external/grpc-grpc/src/core/tsi/alts/handshaker/
Dalts_handshaker_client.cc123 return TSI_INVALID_ARGUMENT; in handshaker_client_start_client()
171 return TSI_INVALID_ARGUMENT; in handshaker_client_start_server()
209 return TSI_INVALID_ARGUMENT; in handshaker_client_next()
288 return TSI_INVALID_ARGUMENT; in alts_handshaker_client_start_client()
300 return TSI_INVALID_ARGUMENT; in alts_handshaker_client_start_server()
312 return TSI_INVALID_ARGUMENT; in alts_handshaker_client_next()
Dalts_tsi_handshaker.cc73 return TSI_INVALID_ARGUMENT; in handshaker_result_extract_peer()
123 return TSI_INVALID_ARGUMENT; in handshaker_result_create_zero_copy_grpc_protector()
145 return TSI_INVALID_ARGUMENT; in handshaker_result_create_frame_protector()
166 return TSI_INVALID_ARGUMENT; in handshaker_result_get_unused_bytes()
201 return TSI_INVALID_ARGUMENT; in create_handshaker_result()
244 return TSI_INVALID_ARGUMENT; in handshaker_next()
354 return TSI_INVALID_ARGUMENT; in alts_tsi_handshaker_create()
Dalts_tsi_utils.cc34 return TSI_INVALID_ARGUMENT; in alts_tsi_utils_convert_to_tsi_result()
Dalts_tsi_event.cc37 return TSI_INVALID_ARGUMENT; in alts_tsi_event_create()
/external/grpc-grpc/test/core/tsi/alts/zero_copy_frame_protector/
Dalts_grpc_record_protocol_test.cc367 GPR_ASSERT(status == TSI_INVALID_ARGUMENT); in input_check()
369 GPR_ASSERT(status == TSI_INVALID_ARGUMENT); in input_check()
376 GPR_ASSERT(status == TSI_INVALID_ARGUMENT); in input_check()
378 GPR_ASSERT(status == TSI_INVALID_ARGUMENT); in input_check()
387 GPR_ASSERT(status == TSI_INVALID_ARGUMENT); in input_check()
/external/grpc-grpc/src/core/tsi/alts/frame_protector/
Dalts_frame_protector.cc88 return TSI_INVALID_ARGUMENT; in alts_protect_flush()
149 return TSI_INVALID_ARGUMENT; in alts_protect()
241 return TSI_INVALID_ARGUMENT; in alts_unprotect()