Home
last modified time | relevance | path

Searched refs:P224EncryptedKeyExchange (Results 1 – 3 of 3) sorted by relevance

/external/libchrome/crypto/
Dp224_spake_unittest.cc24 bool RunExchange(P224EncryptedKeyExchange* client, in RunExchange()
25 P224EncryptedKeyExchange* server, in RunExchange()
32 P224EncryptedKeyExchange::Result client_result, server_result; in RunExchange()
37 EXPECT_EQ(client_result == P224EncryptedKeyExchange::kResultSuccess, in RunExchange()
38 server_result == P224EncryptedKeyExchange::kResultSuccess); in RunExchange()
40 if (client_result == P224EncryptedKeyExchange::kResultFailed || in RunExchange()
41 server_result == P224EncryptedKeyExchange::kResultFailed) { in RunExchange()
48 if (client_result == P224EncryptedKeyExchange::kResultSuccess && in RunExchange()
49 server_result == P224EncryptedKeyExchange::kResultSuccess) { in RunExchange()
53 EXPECT_EQ(P224EncryptedKeyExchange::kResultPending, client_result); in RunExchange()
[all …]
Dp224_spake.cc100 P224EncryptedKeyExchange::P224EncryptedKeyExchange( in P224EncryptedKeyExchange() function in crypto::P224EncryptedKeyExchange
117 void P224EncryptedKeyExchange::Init() { in Init()
134 const std::string& P224EncryptedKeyExchange::GetNextMessage() { in GetNextMessage()
149 P224EncryptedKeyExchange::Result P224EncryptedKeyExchange::ProcessMessage( in ProcessMessage()
222 void P224EncryptedKeyExchange::CalculateHash( in CalculateHash()
245 const std::string& P224EncryptedKeyExchange::error() const { in error()
249 const std::string& P224EncryptedKeyExchange::GetKey() const { in GetKey()
254 const std::string& P224EncryptedKeyExchange::GetUnverifiedKey() const { in GetUnverifiedKey()
262 void P224EncryptedKeyExchange::SetXForTesting(const std::string& x) { in SetXForTesting()
Dp224_spake.h37 class CRYPTO_EXPORT P224EncryptedKeyExchange {
57 P224EncryptedKeyExchange(PeerType peer_type,