Home
last modified time | relevance | path

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

/external/google-tv-pairing-protocol/cpp/src/polo/pairing/
Dpairingsession.cc109 const Alpha* gen_alpha = challenge().GetAlpha(*nonce_); in SetSecret() local
110 if (!gen_alpha) { in SetSecret()
115 message::SecretMessage secret_message(*gen_alpha); in SetSecret()
116 delete gen_alpha; in SetSecret()
267 const Alpha* gen_alpha = challenge().GetAlpha(*nonce_); in VerifySecret() local
268 if (!gen_alpha) { in VerifySecret()
273 bool valid = (secret == *gen_alpha); in VerifySecret()
277 << util::PoloUtil::BytesToHexString(&(*gen_alpha)[0], gen_alpha->size()) in VerifySecret()
283 delete gen_alpha; in VerifySecret()