Home | History | Annotate | Download | only in crypto

Lines Matching refs:plat_

107     : hash_alg_(hash_alg), plat_(new HMACPlatformData()) {
113 if (plat_->provider_ || plat_->key_ || !plat_->raw_key_.empty()) {
120 plat_->raw_key_.assign(key, key + key_length);
124 if (!CryptAcquireContext(plat_->provider_.receive(), NULL, NULL,
153 if (!CryptImportKey(plat_->provider_, &key_blob_storage[0],
155 CRYPT_IPSEC_HMAC_KEY, plat_->key_.receive())) {
173 if (plat_->raw_key_.empty())
175 ComputeHMACSHA256(&plat_->raw_key_[0], plat_->raw_key_.size(),
181 if (!plat_->provider_ || !plat_->key_)
190 if (!CryptCreateHash(plat_->provider_, CALG_HMAC, plat_->key_, 0,