Home
last modified time | relevance | path

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

/third_party/grpc/src/core/tsi/
Dtransport_security.cc41 case TSI_INVALID_ARGUMENT: in tsi_result_to_string()
96 return TSI_INVALID_ARGUMENT; in tsi_frame_protector_protect()
111 return TSI_INVALID_ARGUMENT; in tsi_frame_protector_protect_flush()
127 return TSI_INVALID_ARGUMENT; in tsi_frame_protector_unprotect()
149 return TSI_INVALID_ARGUMENT; in tsi_handshaker_get_bytes_to_send_to_peer()
164 return TSI_INVALID_ARGUMENT; in tsi_handshaker_process_bytes_from_peer()
175 if (self == nullptr || self->vtable == nullptr) return TSI_INVALID_ARGUMENT; in tsi_handshaker_get_result()
184 return TSI_INVALID_ARGUMENT; in tsi_handshaker_extract_peer()
201 return TSI_INVALID_ARGUMENT; in tsi_handshaker_create_frame_protector()
220 if (self == nullptr || self->vtable == nullptr) return TSI_INVALID_ARGUMENT; in tsi_handshaker_next()
[all …]
Dlocal_transport_security.cc61 return TSI_INVALID_ARGUMENT; in local_zero_copy_grpc_protector_protect()
74 return TSI_INVALID_ARGUMENT; in local_zero_copy_grpc_protector_unprotect()
98 return TSI_INVALID_ARGUMENT; in local_zero_copy_grpc_protector_create()
121 return TSI_INVALID_ARGUMENT; in handshaker_result_create_zero_copy_grpc_protector()
151 return TSI_INVALID_ARGUMENT; in create_handshaker_result()
170 return TSI_INVALID_ARGUMENT; in handshaker_next()
207 return TSI_INVALID_ARGUMENT; in tsi_local_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()
70 if (self == nullptr || max_frame_size == nullptr) return TSI_INVALID_ARGUMENT; in tsi_zero_copy_grpc_protector_max_frame_size()
Dssl_transport_security.cc560 result = TSI_INVALID_ARGUMENT; in ssl_ctx_use_certificate_chain()
564 result = TSI_INVALID_ARGUMENT; in ssl_ctx_use_certificate_chain()
576 result = TSI_INVALID_ARGUMENT; in ssl_ctx_use_certificate_chain()
604 result = TSI_INVALID_ARGUMENT; in ssl_ctx_use_engine_private_key()
610 result = TSI_INVALID_ARGUMENT; in ssl_ctx_use_engine_private_key()
624 result = TSI_INVALID_ARGUMENT; in ssl_ctx_use_engine_private_key()
633 result = TSI_INVALID_ARGUMENT; in ssl_ctx_use_engine_private_key()
639 result = TSI_INVALID_ARGUMENT; in ssl_ctx_use_engine_private_key()
644 result = TSI_INVALID_ARGUMENT; in ssl_ctx_use_engine_private_key()
650 result = TSI_INVALID_ARGUMENT; in ssl_ctx_use_engine_private_key()
[all …]
Dfake_transport_security.cc412 return TSI_INVALID_ARGUMENT; in fake_zero_copy_grpc_protector_protect()
437 return TSI_INVALID_ARGUMENT; in fake_zero_copy_grpc_protector_unprotect()
554 return TSI_INVALID_ARGUMENT; in fake_handshaker_result_create()
681 return TSI_INVALID_ARGUMENT; in fake_handshaker_next()
Dtransport_security_interface.h34 TSI_INVALID_ARGUMENT = 2, enumerator
/third_party/grpc/test/core/tsi/
Dtransport_security_test.cc330 {TSI_INVALID_ARGUMENT, "TSI_INVALID_ARGUMENT"}, in test_result_strings()
351 nullptr) == TSI_INVALID_ARGUMENT); in test_protector_invalid_args()
353 nullptr, nullptr, nullptr, nullptr) == TSI_INVALID_ARGUMENT); in test_protector_invalid_args()
355 nullptr) == TSI_INVALID_ARGUMENT); in test_protector_invalid_args()
359 GPR_ASSERT(tsi_handshaker_get_result(nullptr) == TSI_INVALID_ARGUMENT); in test_handshaker_invalid_args()
361 TSI_INVALID_ARGUMENT); in test_handshaker_invalid_args()
363 TSI_INVALID_ARGUMENT); in test_handshaker_invalid_args()
365 nullptr, nullptr, nullptr) == TSI_INVALID_ARGUMENT); in test_handshaker_invalid_args()
367 nullptr, nullptr, nullptr) == TSI_INVALID_ARGUMENT); in test_handshaker_invalid_args()
369 nullptr, nullptr) == TSI_INVALID_ARGUMENT); in test_handshaker_invalid_args()
Dssl_transport_security_test.cc864 &options, &client_handshaker_factory) == TSI_INVALID_ARGUMENT); in test_tsi_ssl_client_handshaker_factory_bad_params()
/third_party/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_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()
238 if (self == nullptr || max_frame_size == nullptr) return TSI_INVALID_ARGUMENT; in alts_zero_copy_grpc_protector_max_frame_size()
262 return TSI_INVALID_ARGUMENT; in alts_zero_copy_grpc_protector_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_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()
/third_party/grpc/test/core/tsi/alts/handshaker/
Dalts_handshaker_client_test.cc363 TSI_INVALID_ARGUMENT); in schedule_request_invalid_arg_test()
369 TSI_INVALID_ARGUMENT); in schedule_request_invalid_arg_test()
374 nullptr, &config->out_frame) == TSI_INVALID_ARGUMENT); in schedule_request_invalid_arg_test()
380 TSI_INVALID_ARGUMENT); in schedule_request_invalid_arg_test()
385 TSI_INVALID_ARGUMENT); in schedule_request_invalid_arg_test()
406 TSI_INVALID_ARGUMENT); in schedule_request_success_test()
Dalts_tsi_handshaker_test.cc241 TSI_INVALID_ARGUMENT); in on_client_start_success_cb()
245 result, nullptr, &protector) == TSI_INVALID_ARGUMENT); in on_client_start_success_cb()
251 TSI_INVALID_ARGUMENT); in on_client_start_success_cb()
268 TSI_INVALID_ARGUMENT); in on_server_start_success_cb()
272 result, nullptr, &protector) == TSI_INVALID_ARGUMENT); in on_server_start_success_cb()
278 TSI_INVALID_ARGUMENT); in on_server_start_success_cb()
532 nullptr) == TSI_INVALID_ARGUMENT); in check_handshaker_next_invalid_input()
536 nullptr) == TSI_INVALID_ARGUMENT); in check_handshaker_next_invalid_input()
885 GPR_ASSERT(status == TSI_INVALID_ARGUMENT); in on_failed_resp_cb()
Dalts_tsi_utils_test.cc32 GRPC_STATUS_INVALID_ARGUMENT) == TSI_INVALID_ARGUMENT); in convert_to_tsi_result_test()
/third_party/grpc/src/core/tsi/alts/handshaker/
Dalts_tsi_handshaker.cc90 return TSI_INVALID_ARGUMENT; in handshaker_result_extract_peer()
160 return TSI_INVALID_ARGUMENT; in handshaker_result_create_zero_copy_grpc_protector()
202 return TSI_INVALID_ARGUMENT; in handshaker_result_create_frame_protector()
223 return TSI_INVALID_ARGUMENT; in handshaker_result_get_unused_bytes()
259 return TSI_INVALID_ARGUMENT; in alts_tsi_handshaker_result_create()
509 return TSI_INVALID_ARGUMENT; in handshaker_next()
628 return TSI_INVALID_ARGUMENT; in alts_tsi_handshaker_create()
Dalts_handshaker_client.cc526 return TSI_INVALID_ARGUMENT; in handshaker_client_start_client()
583 return TSI_INVALID_ARGUMENT; in handshaker_client_start_server()
619 return TSI_INVALID_ARGUMENT; in handshaker_client_next()
868 return TSI_INVALID_ARGUMENT; in alts_handshaker_client_start_client()
879 return TSI_INVALID_ARGUMENT; in alts_handshaker_client_start_server()
890 return TSI_INVALID_ARGUMENT; in alts_handshaker_client_next()
Dalts_tsi_utils.cc34 return TSI_INVALID_ARGUMENT; in alts_tsi_utils_convert_to_tsi_result()
/third_party/grpc/test/core/tsi/alts/zero_copy_frame_protector/
Dalts_grpc_record_protocol_test.cc368 GPR_ASSERT(status == TSI_INVALID_ARGUMENT); in input_check()
370 GPR_ASSERT(status == TSI_INVALID_ARGUMENT); in input_check()
377 GPR_ASSERT(status == TSI_INVALID_ARGUMENT); in input_check()
379 GPR_ASSERT(status == TSI_INVALID_ARGUMENT); in input_check()
388 GPR_ASSERT(status == TSI_INVALID_ARGUMENT); in input_check()
/third_party/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()