/external/libchrome/crypto/ |
D | rsa_private_key_openssl.cc | 69 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 …]
|
D | rsa_private_key_nss.cc | 45 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 …]
|
D | symmetric_key.h | 64 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_;
|
D | symmetric_key_openssl.cc | 22 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()
|
D | ec_private_key.h | 75 EVP_PKEY* key() { return key_; } in key() 77 SECKEYPrivateKey* key() { return key_; } in key() 106 EVP_PKEY* key_; variable 108 SECKEYPrivateKey* key_; variable
|
D | hmac_win.cc | 97 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()
|
D | rsa_private_key.h | 194 EVP_PKEY* key() { return key_; } in key() 196 SECKEYPrivateKey* key() { return key_; } in key() 214 EVP_PKEY* key_; variable 216 SECKEYPrivateKey* key_; variable
|
D | p224_spake.cc | 193 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()
|
D | symmetric_key_nss.cc | 135 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/ |
D | test-invalset.cc | 44 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/ |
D | kv_pb.py | 26 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/ |
D | aesv8-armx.pl | 351 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 …]
|
D | aesni-x86.pl | 80 $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 …]
|
D | aesni-x86_64.pl | 209 $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/ |
D | property.h | 26 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
|
D | splay-tree-inl.h | 32 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()
|
D | splay-tree.h | 103 : 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/ |
D | node-cache.cc | 25 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/ |
D | call_stack.hpp | 37 : 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/ |
D | cxa_exception_storage.cpp | 57 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/ |
D | thread.cc | 50 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/ |
D | sort.cc | 55 *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/ |
D | service_registry.ipp | 110 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/ |
D | p224_spake.cc | 210 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/ |
D | gtest-port.h | 1103 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
|