OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:plat_
(Results
1 - 4
of
4
) sorted by null
/external/chromium_org/crypto/
hmac_openssl.cc
24
: hash_alg_(hash_alg),
plat_
(new HMACPlatformData()) {
31
DCHECK(
plat_
->key.empty());
33
plat_
->key.assign(key, key + key_length);
40
plat_
->key.push_back(0);
47
plat_
->key.assign(
plat_
->key.size(), 0);
48
STLClearObject(&
plat_
->key);
54
DCHECK(!
plat_
->key.empty()); // Init must be called before Sign.
58
&
plat_
->key[0],
plat_
->key.size()
[
all
...]
hmac_nss.cc
24
: hash_alg_(hash_alg),
plat_
(new HMACPlatformData()) {
28
plat_
->mechanism_ = CKM_SHA_1_HMAC;
31
plat_
->mechanism_ = CKM_SHA256_HMAC;
45
if (
plat_
->slot_.get()) {
51
plat_
->slot_.reset(PK11_GetInternalSlot());
52
if (!
plat_
->slot_.get()) {
62
plat_
->sym_key_.reset(PK11_ImportSymKey(
plat_
->slot_.get(),
63
plat_
->mechanism_,
68
if (!
plat_
->sym_key_.get())
[
all
...]
hmac_win.cc
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()
[
all
...]
hmac.h
86
scoped_ptr<HMACPlatformData>
plat_
;
member in class:crypto::HMAC
Completed in 367 milliseconds