Home
last modified time | relevance | path

Searched refs:is_server_ (Results 1 – 2 of 2) sorted by relevance

/external/libchrome/crypto/
Dp224_spake.cc103 is_server_(peer_type == kPeerTypeServer) { in P224EncryptedKeyExchange()
125 p224::ScalarMult(is_server_ ? kN : kM, pw_, &MNpw); in Init()
183 p224::ScalarMult(is_server_ ? kM : kN, pw_, &MNpw); in ProcessMessage()
196 if (is_server_) { in ProcessMessage()
212 const uint8_t* my_hash = is_server_ ? server_hash : client_hash; in ProcessMessage()
213 const uint8_t* their_hash = is_server_ ? client_hash : server_hash; in ProcessMessage()
Dp224_spake.h99 const bool is_server_; variable