Home
last modified time | relevance | path

Searched refs:peer_versions (Results 1 – 12 of 12) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/test/core/security/
Dalts_security_connector_test.cc86 grpc_gcp_rpc_protocol_versions peer_versions; in test_missing_security_level_property_failure() local
87 grpc_gcp_rpc_protocol_versions_set_max(&peer_versions, in test_missing_security_level_property_failure()
90 grpc_gcp_rpc_protocol_versions_set_min(&peer_versions, in test_missing_security_level_property_failure()
94 GPR_ASSERT(grpc_gcp_rpc_protocol_versions_encode(&peer_versions, in test_missing_security_level_property_failure()
155 grpc_gcp_rpc_protocol_versions peer_versions; in test_alts_peer_to_auth_context_success() local
156 grpc_gcp_rpc_protocol_versions_set_max(&peer_versions, in test_alts_peer_to_auth_context_success()
159 grpc_gcp_rpc_protocol_versions_set_min(&peer_versions, in test_alts_peer_to_auth_context_success()
163 GPR_ASSERT(grpc_gcp_rpc_protocol_versions_encode(&peer_versions, in test_alts_peer_to_auth_context_success()
/external/grpc-grpc/src/core/tsi/alts/handshaker/
Dtransport_security_common_api.cc167 const grpc_gcp_rpc_protocol_versions* peer_versions, in grpc_gcp_rpc_protocol_versions_check() argument
169 if (local_versions == nullptr || peer_versions == nullptr) { in grpc_gcp_rpc_protocol_versions_check()
178 &local_versions->max_rpc_version, &peer_versions->max_rpc_version) > 0 in grpc_gcp_rpc_protocol_versions_check()
179 ? &peer_versions->max_rpc_version in grpc_gcp_rpc_protocol_versions_check()
184 &local_versions->min_rpc_version, &peer_versions->min_rpc_version) > 0 in grpc_gcp_rpc_protocol_versions_check()
186 : &peer_versions->min_rpc_version; in grpc_gcp_rpc_protocol_versions_check()
Dtransport_security_common_api.h144 const grpc_gcp_rpc_protocol_versions* peer_versions,
/external/rust/crates/grpcio-sys/grpc/src/core/tsi/alts/handshaker/
Dtransport_security_common_api.cc196 const grpc_gcp_rpc_protocol_versions* peer_versions, in grpc_gcp_rpc_protocol_versions_check() argument
198 if (local_versions == nullptr || peer_versions == nullptr) { in grpc_gcp_rpc_protocol_versions_check()
207 &local_versions->max_rpc_version, &peer_versions->max_rpc_version) > 0 in grpc_gcp_rpc_protocol_versions_check()
208 ? &peer_versions->max_rpc_version in grpc_gcp_rpc_protocol_versions_check()
213 &local_versions->min_rpc_version, &peer_versions->min_rpc_version) > 0 in grpc_gcp_rpc_protocol_versions_check()
215 : &peer_versions->min_rpc_version; in grpc_gcp_rpc_protocol_versions_check()
Dtransport_security_common_api.h152 const grpc_gcp_rpc_protocol_versions* peer_versions,
/external/grpc-grpc/test/core/security/
Dalts_security_connector_test.cc130 grpc_gcp_rpc_protocol_versions peer_versions; in test_alts_peer_to_auth_context_success() local
131 grpc_gcp_rpc_protocol_versions_set_max(&peer_versions, in test_alts_peer_to_auth_context_success()
134 grpc_gcp_rpc_protocol_versions_set_min(&peer_versions, in test_alts_peer_to_auth_context_success()
138 GPR_ASSERT(grpc_gcp_rpc_protocol_versions_encode(&peer_versions, in test_alts_peer_to_auth_context_success()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/alts/
Dalts_security_connector.cc210 grpc_gcp_rpc_protocol_versions local_versions, peer_versions; in grpc_alts_auth_context_from_tsi_peer() local
215 grpc_gcp_rpc_protocol_versions_decode(slice, &peer_versions); in grpc_alts_auth_context_from_tsi_peer()
223 &local_versions, &peer_versions, nullptr); in grpc_alts_auth_context_from_tsi_peer()
/external/grpc-grpc/src/core/lib/security/security_connector/
Dalts_security_connector.cc131 grpc_gcp_rpc_protocol_versions local_versions, peer_versions; in grpc_alts_auth_context_from_tsi_peer() local
136 grpc_gcp_rpc_protocol_versions_decode(slice, &peer_versions); in grpc_alts_auth_context_from_tsi_peer()
144 &local_versions, &peer_versions, nullptr); in grpc_alts_auth_context_from_tsi_peer()
/external/rust/crates/quiche/deps/boringssl/src/ssl/
Dssl_versions.cc287 uint16_t *out_version, const CBS *peer_versions) { in ssl_negotiate_version() argument
305 CBS copy = *peer_versions; in ssl_negotiate_version()
Dinternal.h494 uint16_t *out_version, const CBS *peer_versions);
/external/boringssl/src/ssl/
Dssl_versions.cc287 uint16_t *out_version, const CBS *peer_versions) { in ssl_negotiate_version() argument
305 CBS copy = *peer_versions; in ssl_negotiate_version()
Dinternal.h502 uint16_t *out_version, const CBS *peer_versions);