Lines Matching refs:P224EncryptedKeyExchange
14 bool RunExchange(P224EncryptedKeyExchange* client,
15 P224EncryptedKeyExchange* server) {
22 P224EncryptedKeyExchange::Result client_result, server_result;
27 if ((client_result == P224EncryptedKeyExchange::kResultSuccess) ^
28 (server_result == P224EncryptedKeyExchange::kResultSuccess)) {
32 if (client_result == P224EncryptedKeyExchange::kResultFailed ||
33 server_result == P224EncryptedKeyExchange::kResultFailed) {
37 if (client_result == P224EncryptedKeyExchange::kResultSuccess &&
38 server_result == P224EncryptedKeyExchange::kResultSuccess) {
42 CHECK_EQ(P224EncryptedKeyExchange::kResultPending, client_result);
43 CHECK_EQ(P224EncryptedKeyExchange::kResultPending, server_result);
52 P224EncryptedKeyExchange client(
53 P224EncryptedKeyExchange::kPeerTypeClient, kPassword);
54 P224EncryptedKeyExchange server(
55 P224EncryptedKeyExchange::kPeerTypeServer, kPassword);
62 P224EncryptedKeyExchange client(
63 P224EncryptedKeyExchange::kPeerTypeClient,
65 P224EncryptedKeyExchange server(
66 P224EncryptedKeyExchange::kPeerTypeServer,
76 P224EncryptedKeyExchange client(
77 P224EncryptedKeyExchange::kPeerTypeClient, kPassword);
78 P224EncryptedKeyExchange server(
79 P224EncryptedKeyExchange::kPeerTypeServer, kPassword);
106 P224EncryptedKeyExchange::Result client_result, server_result;
114 client_result == P224EncryptedKeyExchange::kResultSuccess &&
115 server_result == P224EncryptedKeyExchange::kResultSuccess);
117 if (client_result == P224EncryptedKeyExchange::kResultFailed ||
118 server_result == P224EncryptedKeyExchange::kResultFailed) {
122 ASSERT_EQ(P224EncryptedKeyExchange::kResultPending,
124 ASSERT_EQ(P224EncryptedKeyExchange::kResultPending,