Home
last modified time | relevance | path

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

/external/chromium_org/chromeos/login/auth/
Dkey.cc31 secret_(other.secret_), in Key()
36 : key_type_(KEY_TYPE_PASSWORD_PLAIN), secret_(plain_text_password) { in Key()
40 : key_type_(key_type), salt_(salt), secret_(secret) { in Key()
48 other.secret_ == secret_ && other.label_ == label_; in operator ==()
56 return secret_; in GetSecret()
68 secret_.clear(); in ClearSecret()
82 crypto::SHA256HashString(salt + secret_, &hash, sizeof(hash)); in Transform()
87 secret_ = base::StringToLowerASCII(base::HexEncode( in Transform()
94 secret_, in Transform()
100 base::Base64Encode(raw_secret, &secret_); in Transform()
[all …]
Dkey.h53 std::string secret_; variable
/external/google-tv-pairing-protocol/cpp/src/polo/pairing/message/
Dsecretackmessage.cc26 secret_(secret) { in SecretAckMessage()
30 return secret_; in secret()
36 << util::PoloUtil::BytesToHexString(&secret_[0], secret_.size()) in ToString()
Dsecretmessage.cc26 secret_(secret) { in SecretMessage()
30 return secret_; in secret()
36 << util::PoloUtil::BytesToHexString(&secret_[0], secret_.size()) in ToString()
Dsecretmessage.h41 std::vector<uint8_t> secret_;
Dsecretackmessage.h40 std::vector<uint8_t> secret_;
/external/chromium_org/google_apis/gcm/tools/
Dmcs_probe.cc206 uint64 secret() const { return secret_; } in secret()
226 uint64 secret_; member in gcm::__anond97fc6ae0111::MCSProbe
264 secret_(0), in MCSProbe()
277 &secret_); in MCSProbe()
326 if (android_id_ != 0 && secret_ != 0) { in LoadCallback()
329 load_result->device_security_token = secret_; in LoadCallback()
331 secret_, in LoadCallback()
336 secret_ = load_result->device_security_token; in LoadCallback()
345 if (!android_id_ || !secret_) { in LoadCallback()
463 secret_ = checkin_response.security_token(); in OnCheckInCompleted()
[all …]
/external/chromium_org/components/rappor/
Drappor_service.cc157 DCHECK(secret_.empty()); in LoadSecret()
160 bool decoded = base::Base64Decode(secret_base64, &secret_); in LoadSecret()
161 if (decoded && secret_.size() == HmacByteVectorGenerator::kEntropyInputSize) in LoadSecret()
169 secret_ = HmacByteVectorGenerator::GenerateEntropyInput(); in LoadSecret()
170 base::Base64Encode(secret_, &secret_base64); in LoadSecret()
188 ByteVector bytes = metric->GetReport(secret_); in ExportMetrics()
Drappor_service.h65 void SetSecretForTesting(const std::string& secret) { secret_ = secret; } in SetSecretForTesting()
110 std::string secret_; variable
/external/chromium_org/cloud_print/gcp20/prototype/
Dx_privet_token.cc32 : secret_(secret), in XPrivetToken()
63 std::string hash = base::SHA1HashString(secret_ + in GenerateXTokenWithTime()
71 secret_ = base::GenerateGUID(); in UpdateSecret()
Dx_privet_token.h45 std::string secret_; variable
/external/google-tv-pairing-protocol/cpp/src/polo/pairing/
Dpairingsession.cc34 secret_(NULL) { in PairingSession()
55 if (secret_) { in ~PairingSession()
56 delete secret_; in ~PairingSession()
91 secret_ = new Gamma(secret); in SetSecret()
Dpairingsession.h194 Gamma* secret_; variable
/external/chromium_org/media/cdm/
Daes_decryptor.cc533 : secret_(secret) { in DecryptionKey()
539 CHECK(!secret_.empty()); in Init()
541 crypto::SymmetricKey::AES, secret_)); in Init()
Daes_decryptor.h95 const std::string secret_;