Home
last modified time | relevance | path

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

/external/chromium/chrome/browser/sync/util/
Dnigori.cc101 mac_key_.reset(SymmetricKey::DeriveKeyFromPassword( in InitByDerivation()
104 DCHECK(mac_key_.get()); in InitByDerivation()
119 mac_key_.reset(SymmetricKey::Import(SymmetricKey::HMAC_SHA1, mac_key)); in InitByImport()
120 DCHECK(mac_key_.get()); in InitByImport()
122 return user_key_.get() && encryption_key_.get() && mac_key_.get(); in InitByImport()
143 if (!mac_key_->GetRawKey(&raw_mac_key)) in Permute()
184 if (!mac_key_->GetRawKey(&raw_mac_key)) in Encrypt()
221 if (!mac_key_->GetRawKey(&raw_mac_key)) in Decrypt()
257 mac_key_->GetRawKey(mac_key); in ExportKeys()
Dnigori.h78 scoped_ptr<crypto::SymmetricKey> mac_key_; variable