Lines Matching refs:ASSERT_INT_EQ
144 #define ASSERT_INT_EQ(a, b) \ macro
193 ASSERT_INT_EQ(r, 0); in run_kex()
194 ASSERT_INT_EQ(server->kex->done, 1); in run_kex()
195 ASSERT_INT_EQ(client->kex->done, 1); in run_kex()
212 ASSERT_INT_EQ(sshkey_from_private(prvkey, &pubkey), 0); in do_kex_with_key()
222 ASSERT_INT_EQ(ssh_init(&client, 0, &kex_params), 0); in do_kex_with_key()
223 ASSERT_INT_EQ(ssh_init(&server, 1, &kex_params), 0); in do_kex_with_key()
224 ASSERT_INT_EQ(ssh_init(&server2, 1, NULL), 0); in do_kex_with_key()
244 ASSERT_INT_EQ(ssh_add_hostkey(server, prvkey), 0); in do_kex_with_key()
245 ASSERT_INT_EQ(ssh_add_hostkey(client, pubkey), 0); in do_kex_with_key()
253 ASSERT_INT_EQ(kex_send_kexinit(client), 0); in do_kex_with_key()
258 ASSERT_INT_EQ(kex_send_kexinit(server), 0); in do_kex_with_key()
265 ASSERT_INT_EQ(ssh_packet_get_state(server, state), 0); in do_kex_with_key()
270 ASSERT_INT_EQ(ssh_add_hostkey(server2, prvkey), 0); in do_kex_with_key()
272 ASSERT_INT_EQ(ssh_packet_set_state(server2, state), 0); in do_kex_with_key()
273 ASSERT_INT_EQ(sshbuf_len(state), 0); in do_kex_with_key()
296 ASSERT_INT_EQ(kex_send_kexinit(server2), 0); in do_kex_with_key()
298 ASSERT_INT_EQ(kex_send_kexinit(client), 0); in do_kex_with_key()