Home
last modified time | relevance | path

Searched refs:key_ (Results 1 – 25 of 74) sorted by relevance

123

/external/libchrome/crypto/
Drsa_private_key_openssl.cc69 result->key_ = EVP_PKEY_new(); in Create()
70 if (!result->key_ || !EVP_PKEY_set1_RSA(result->key_, rsa_key.get())) in Create()
94 result->key_ = EVP_PKCS82PKEY(p8inf.get()); in CreateFromPrivateKeyInfo()
95 if (!result->key_ || EVP_PKEY_id(result->key_) != EVP_PKEY_RSA) in CreateFromPrivateKeyInfo()
107 copy->key_ = EVP_PKEY_up_ref(key); in CreateFromKey()
112 : key_(NULL) { in RSAPrivateKey()
116 if (key_) in ~RSAPrivateKey()
117 EVP_PKEY_free(key_); in ~RSAPrivateKey()
122 ScopedRSA rsa(EVP_PKEY_get1_RSA(key_)); in Copy()
125 copy->key_ = EVP_PKEY_new(); in Copy()
[all …]
Drsa_private_key_nss.cc45 if (key_) in ~RSAPrivateKey()
46 SECKEY_DestroyPrivateKey(key_); in ~RSAPrivateKey()
70 rsa_key->key_ = private_key.release(); in Create()
97 copy->key_ = SECKEY_CopyPrivateKey(key); in CreateFromKey()
99 if (!copy->key_ || !copy->public_key_) { in CreateFromKey()
109 copy->key_ = SECKEY_CopyPrivateKey(key_); in Copy()
119 if (!ReadAttribute(key_, CKA_MODULUS, private_key_info.modulus()) || in ExportPrivateKey()
120 !ReadAttribute(key_, CKA_PUBLIC_EXPONENT, in ExportPrivateKey()
122 !ReadAttribute(key_, CKA_PRIVATE_EXPONENT, in ExportPrivateKey()
124 !ReadAttribute(key_, CKA_PRIME_1, private_key_info.prime1()) || in ExportPrivateKey()
[all …]
Dsymmetric_key.h64 HCRYPTKEY key() const { return key_.get(); } in key()
66 const std::string& key() { return key_; } in key()
68 PK11SymKey* key() const { return key_.get(); } in key()
82 ScopedHCRYPTKEY key_; variable
93 std::string key_;
96 ScopedPK11SymKey key_;
Dsymmetric_key_openssl.cc22 std::fill(key_.begin(), key_.end(), '\0'); // Zero out the confidential key. in ~SymmetricKey()
45 base::WriteInto(&key->key_, key_size_in_bytes + 1)); in GenerateRandomKey()
76 base::WriteInto(&key->key_, key_size_in_bytes + 1)); in DeriveKeyFromPassword()
96 key->key_ = raw_key; in Import()
101 *raw_key = key_; in GetRawKey()
Dec_private_key.h75 EVP_PKEY* key() { return key_; } in key()
77 SECKEYPrivateKey* key() { return key_; } in key()
106 EVP_PKEY* key_; variable
108 SECKEYPrivateKey* key_; variable
Dhmac_win.cc97 key_.reset(); in ~HMACPlatformData()
101 ScopedHCRYPTKEY key_; member
114 if (plat_->provider_ || plat_->key_ || !plat_->raw_key_.empty()) { in Init()
156 CRYPT_IPSEC_HMAC_KEY, plat_->key_.receive())) { in Init()
182 if (!plat_->provider_ || !plat_->key_) in Sign()
191 if (!CryptCreateHash(plat_->provider_, CALG_HMAC, plat_->key_, 0, in Sign()
Drsa_private_key.h194 EVP_PKEY* key() { return key_; } in key()
196 SECKEYPrivateKey* key() { return key_; } in key()
214 EVP_PKEY* key_; variable
216 SECKEYPrivateKey* key_; variable
Dp224_spake.cc193 key_ = k.ToString(); in ProcessMessage()
207 CalculateHash(kPeerTypeClient, client_masked_dh, server_masked_dh, key_, in ProcessMessage()
209 CalculateHash(kPeerTypeServer, client_masked_dh, server_masked_dh, key_, in ProcessMessage()
259 return key_; in GetUnverifiedKey()
Dsymmetric_key_nss.cc135 SECStatus rv = PK11_ExtractKeyValue(key_.get()); in GetRawKey()
139 SECItem* key_item = PK11_GetKeyData(key_.get()); in GetRawKey()
147 SymmetricKey::SymmetricKey(PK11SymKey* key) : key_(key) { in SymmetricKey()
/external/vixl/test/
Dtest-invalset.cc44 Obj(KeyType key, ValType val) : key_(key), val_(val) {} in Obj()
45 KeyType key_; member in vixl::Obj
49 return (key_ == other.key_) && (val_ == other.val_); in operator ==()
52 return (key_ < other.key_) || in operator <()
53 ((key_ == other.key_) && (val_ < other.val_)); in operator <()
56 return (key_ <= other.key_) || in operator <=()
57 ((key_ == other.key_) && (val_ <= other.val_)); in operator <=()
60 return (key_ > other.key_) || in operator >()
61 ((key_ == other.key_) && (val_ > other.val_)); in operator >()
84 return obj.key_; in Key()
[all …]
/external/chromium-trace/catapult/third_party/mapreduce/mapreduce/
Dkv_pb.py26 key_ = "" variable in KeyValue
33 def key(self): return self.key_
37 self.key_ = x
42 self.key_ = ""
95 if self.has_key_ and self.key_ != x.key_: return 0
114 n += self.lengthString(len(self.key_))
122 n += self.lengthString(len(self.key_))
134 out.putPrefixedString(self.key_)
141 out.putPrefixedString(self.key_)
163 if self.has_key_: res+=prefix+("key: %s\n" % self.DebugFormatString(self.key_))
[all …]
/external/boringssl/src/crypto/aes/asm/
Daesv8-armx.pl351 my ($rounds,$cnt,$key_,$step,$step1)=($enc,"w6","x7","x8","x12");
389 add $key_,$key,x5,lsl#4 // pointer to last 7 round keys
391 vld1.32 {q10-q11},[$key_],#32
392 vld1.32 {q12-q13},[$key_],#32
393 vld1.32 {q14-q15},[$key_],#32
394 vld1.32 {$rndlast},[$key_]
396 add $key_,$key,#32
405 vld1.32 {$in0-$in1},[$key_]
406 add $key_,$key,#16
457 vld1.32 {q9},[$key_] // re-pre-load rndkey[1]
[all …]
Daesni-x86.pl80 $key_="ebp"; # backup copy for $key
426 &mov ($key_,$key); # backup $key
460 &mov ($key,$key_); # restore $key
526 &mov ($key_,$key); # backup $key
560 &mov ($key,$key_); # restore $key
652 &mov ($key_,"esp");
655 &mov (&DWP(48,"esp"),$key_);
669 &xor ($key_,$key_);
671 &mov (&DWP(20,"esp"),$key_);
672 &mov (&DWP(24,"esp"),$key_);
[all …]
Daesni-x86_64.pl209 $key_="%r11"; # backup copy for $key
600 mov $key,$key_ # backup $key
622 mov $key_,$key # restore $key
649 mov $key_,$key # restore $key
757 mov $key_,$key # restore $key
780 $movkey ($key_),$rndkey0
786 mov $key_,$key # restore $key
972 lea 0($key),$key_
981 $movkey ($key_),$rndkey0
986 $movkey 16($key_),$rndkey1
[all …]
/external/v8/src/
Dproperty.h26 if (!key_->IsUniqueName()) { in KeyToUniqueName()
27 key_ = key_->GetIsolate()->factory()->InternalizeString( in KeyToUniqueName()
28 Handle<String>::cast(key_)); in KeyToUniqueName()
32 Handle<Name> GetKey() const { return key_; } in GetKey()
39 Handle<Name> key_;
47 key_ = key; in Init()
53 : key_(key), in Descriptor()
63 : key_(key), in key_() function
Dsplay-tree-inl.h32 int cmp = Config::Compare(key, root_->key_); in Insert()
66 return Config::Compare(key, root_->key_) == 0; in FindInternal()
97 int cmp = Config::Compare(root_->key_, key); in FindGreatestLessThan()
121 int cmp = Config::Compare(root_->key_, key); in FindLeastGreaterThan()
167 int cmp = Config::Compare(new_key, root_->key_); in Move()
173 node_to_move->key_ = new_key; in Move()
224 int cmp = Config::Compare(key, current->key_); in Splay()
228 if (Config::Compare(key, current->left_->key_) < 0) { in Splay()
244 if (Config::Compare(key, current->right_->key_) > 0) { in Splay()
Dsplay-tree.h103 : key_(key), in Node()
120 Key key() { return key_; } in key()
128 Key key_; variable
140 const Key& key() { return node_->key_; } in key()
/external/v8/src/compiler/
Dnode-cache.cc25 Key key_; member
46 size_t hash = hash_(old->key_); in Resize()
52 entry->key_ = old->key_; in Resize()
73 entry->key_ = key; in Find()
83 if (pred_(entry->key_, key)) return &entry->value_; in Find()
85 entry->key_ = key; in Find()
95 entry->key_ = key; in Find()
/external/parameter-framework/asio-1.10.6/include/asio/detail/
Dcall_stack.hpp37 : key_(k), in context()
46 : key_(k), in context()
65 if (elem->key_ == key_) in next_by_key()
76 Key* key_; member in asio::detail::call_stack::context
94 if (elem->key_ == k) in contains()
/external/libcxxabi/src/
Dcxa_exception_storage.cpp57 pthread_key_t key_; variable
62 if ( 0 != ::pthread_setspecific ( key_, NULL ) ) in destruct_()
67 if ( 0 != pthread_key_create ( &key_, destruct_ ) ) in construct_()
83 if ( 0 != pthread_setspecific ( key_, retVal ) ) in __cxa_get_globals()
98 return static_cast<__cxa_eh_globals*>(::pthread_getspecific(key_)); in __cxa_get_globals_fast()
/external/webrtc/webrtc/base/
Dthread.cc50 pthread_key_create(&key_, NULL); in ThreadManager()
74 pthread_key_delete(key_); in ~ThreadManager()
79 return static_cast<Thread *>(pthread_getspecific(key_)); in CurrentThread()
83 pthread_setspecific(key_, thread); in SetCurrentThread()
89 key_ = TlsAlloc(); in ThreadManager()
97 TlsFree(key_); in ~ThreadManager()
101 return static_cast<Thread *>(TlsGetValue(key_)); in CurrentThread()
105 TlsSetValue(key_, thread); in SetCurrentThread()
/external/webrtc/webrtc/system_wrappers/source/
Dsort.cc55 *static_cast<TYPE*>(static_cast<const SortKey*>(SORT_KEY_X)->key_)); \
57 *static_cast<TYPE*>(static_cast<const SortKey*>(SORT_KEY_Y)->key_)); \
65 ptr_sort_key[i].key_ = &key_type[i]; \
76 void* key_; member
82 KeyType key_;
174 return sort_key_x.key_ < sort_key_y.key_;
182 return sort_key.key_ >> offset;
216 ptr_sort_key[i].key_ = key_type[i];
/external/parameter-framework/asio-1.10.6/include/asio/detail/impl/
Dservice_registry.ipp110 if (keys_match(service->key_, key))
120 new_service.ptr_->key_ = key;
128 if (keys_match(service->key_, key))
153 if (keys_match(service->key_, key))
159 new_service->key_ = key;
172 if (keys_match(service->key_, key))
/external/libweave/third_party/chromium/crypto/
Dp224_spake.cc210 key_ = k.ToString(); in ProcessMessage()
224 CalculateHash(kPeerTypeClient, client_masked_dh, server_masked_dh, key_, in ProcessMessage()
226 CalculateHash(kPeerTypeServer, client_masked_dh, server_masked_dh, key_, in ProcessMessage()
276 return key_; in GetUnverifiedKey()
/external/protobuf/gtest/include/gtest/internal/
Dgtest-port.h1103 ThreadLocal() : key_(CreateKey()), in ThreadLocal()
1105 explicit ThreadLocal(const T& value) : key_(CreateKey()), in ThreadLocal()
1110 DeleteThreadLocalValue(pthread_getspecific(key_)); in ~ThreadLocal()
1114 GTEST_CHECK_POSIX_SUCCESS_(pthread_key_delete(key_)); in ~ThreadLocal()
1146 static_cast<ThreadLocalValueHolderBase*>(pthread_getspecific(key_)); in GetOrCreateValue()
1153 GTEST_CHECK_POSIX_SUCCESS_(pthread_setspecific(key_, holder_base)); in GetOrCreateValue()
1158 const pthread_key_t key_; variable

123