Searched refs:handshakers (Results 1 – 4 of 4) sorted by relevance
/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/ |
D | TsiTest.java | 79 static void performHandshake(int transportBufferSize, Handshakers handshakers) in performHandshake() argument 81 TsiHandshaker clientHandshaker = handshakers.getClient(); in performHandshake() 82 TsiHandshaker serverHandshaker = handshakers.getServer(); in performHandshake() 108 public static void handshakeTest(Handshakers handshakers) throws GeneralSecurityException { in handshakeTest() argument 109 performHandshake(DEFAULT_TRANSPORT_BUFFER_SIZE, handshakers); in handshakeTest() 112 public static void handshakeSmallBufferTest(Handshakers handshakers) in handshakeSmallBufferTest() argument 114 performHandshake(9, handshakers); in handshakeSmallBufferTest() 159 public static void pingPongTest(Handshakers handshakers, RegisterRef ref) in pingPongTest() argument 161 performHandshake(DEFAULT_TRANSPORT_BUFFER_SIZE, handshakers); in pingPongTest() 163 TsiFrameProtector clientProtector = handshakers.getClient().createFrameProtector(alloc); in pingPongTest() [all …]
|
D | AltsTsiTest.java | 89 Handshakers handshakers = newHandshakers(); in verifyHandshakePeer() local 90 TsiTest.performHandshake(TsiTest.getDefaultTransportBufferSize(), handshakers); in verifyHandshakePeer() local 91 TsiPeer clientPeer = handshakers.getClient().extractPeer(); in verifyHandshakePeer() 96 TsiPeer serverPeer = handshakers.getServer().extractPeer(); in verifyHandshakePeer()
|
D | FakeTsiTest.java | 83 Handshakers handshakers = newHandshakers(); in handshakeStateOrderTest() local 84 TsiHandshaker clientHandshaker = handshakers.getClient(); in handshakeStateOrderTest() 85 TsiHandshaker serverHandshaker = handshakers.getServer(); in handshakeStateOrderTest()
|
/external/grpc-grpc/src/core/lib/channel/ |
D | handshaker.cc | 74 grpc_handshaker** handshakers; member 155 mgr->handshakers = static_cast<grpc_handshaker**>(gpr_realloc( in grpc_handshake_manager_add() 156 mgr->handshakers, realloc_count * sizeof(grpc_handshaker*))); in grpc_handshake_manager_add() 158 mgr->handshakers[mgr->count++] = handshaker; in grpc_handshake_manager_add() 165 grpc_handshaker_destroy(mgr->handshakers[i]); in grpc_handshake_manager_unref() 167 gpr_free(mgr->handshakers); in grpc_handshake_manager_unref() 183 grpc_handshaker_shutdown(mgr->handshakers[mgr->index - 1], in grpc_handshake_manager_shutdown() 260 mgr, grpc_handshaker_name(mgr->handshakers[mgr->index]), in call_next_handshaker_locked() 261 mgr->handshakers[mgr->index], mgr->index); in call_next_handshaker_locked() 263 grpc_handshaker_do_handshake(mgr->handshakers[mgr->index], mgr->acceptor, in call_next_handshaker_locked()
|