Home
last modified time | relevance | path

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

/external/libchrome/crypto/
Dhmac_win.cc92 if (!raw_key_.empty()) { in ~HMACPlatformData()
93 SecureZeroMemory(&raw_key_[0], raw_key_.size()); in ~HMACPlatformData()
104 std::vector<unsigned char> raw_key_; member
114 if (plat_->provider_ || plat_->key_ || !plat_->raw_key_.empty()) { in Init()
121 plat_->raw_key_.assign(key, key + key_length); in Init()
174 if (plat_->raw_key_.empty()) in Sign()
176 ComputeHMACSHA256(&plat_->raw_key_[0], plat_->raw_key_.size(), in Sign()
Dsymmetric_key_win.cc313 if (!raw_key_.empty()) in ~SymmetricKey()
314 SecureZeroMemory(const_cast<char *>(raw_key_.data()), raw_key_.size()); in ~SymmetricKey()
503 if (!raw_key_.empty()) { in GetRawKey()
504 *raw_key = raw_key_; in GetRawKey()
534 raw_key_.assign(reinterpret_cast<const char*>(key_data), in SymmetricKey()
Dsymmetric_key.h90 std::string raw_key_; variable