Home
last modified time | relevance | path

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

/external/libchrome/crypto/
Dhmac_nss.cc25 : hash_alg_(hash_alg), plat_(new HMACPlatformData()) { in HMAC()
29 plat_->mechanism_ = CKM_SHA_1_HMAC; in HMAC()
32 plat_->mechanism_ = CKM_SHA256_HMAC; in HMAC()
46 if (plat_->slot_.get()) { in Init()
52 plat_->slot_.reset(PK11_GetInternalSlot()); in Init()
53 if (!plat_->slot_.get()) { in Init()
63 plat_->sym_key_.reset(PK11_ImportSymKey(plat_->slot_.get(), in Init()
64 plat_->mechanism_, in Init()
69 if (!plat_->sym_key_.get()) { in Init()
80 if (!plat_->sym_key_.get()) { in Sign()
[all …]
Dhmac.h89 std::unique_ptr<HMACPlatformData> plat_; variable