Home
last modified time | relevance | path

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

/system/core/libcrypto_utils/tests/
Dandroid_pubkey_test.cpp113 key_.reset(new_key); in SetUp()
116 std::unique_ptr<RSA, void(*)(RSA*)> key_ = {nullptr, RSA_free}; member
122 sizeof(kSignature2048), key_.get())); in TEST_F()
127 ASSERT_TRUE(android_pubkey_encode(key_.get(), key_data, sizeof(key_data))); in TEST_F()
/system/keymaster/include/keymaster/cppcose/
Dcppcose.h207 const auto& value = key_->get(label); in getIntValue()
213 const auto& value = key_->get(label); in getBstrValue()
218 const cppbor::Map& getMap() const { return *key_; } in getMap()
219 cppbor::Map&& moveMap() { return std::move(*key_); } in moveMap()
222 const auto& value = key_->get(label); in checkIntValue()
226 void add(Label label, int value) { key_->add(label, value); } in add()
227 void add(Label label, bytevec value) { key_->add(label, std::move(value)); } in add()
229 bytevec encode() { return key_->canonicalize().encode(); } in encode()
232 explicit CoseKey(cppbor::Map* parsedKey) : key_(parsedKey) {} in CoseKey()
235 std::unique_ptr<cppbor::Map> key_; variable
/system/keymaster/km_openssl/
Dhmac.cpp42 key_.reset(dup_buffer(key, key_len)); in Init()
43 if (!key_.get()) { in Init()
61 if (nullptr == ::HMAC(EVP_sha256(), key_.get(), key_len_, data, data_len, digest, nullptr)) { in Sign()
Dblock_cipher_operation.cpp149 key_(key.key_material_move()), cipher_description_(cipher_description) { in BlockCipherEvpOperation()
163 auto retval = InitializeCipher(key_); in Begin()
164 key_ = {}; in Begin()
Dblock_cipher_operation.h114 KeymasterKeyBlob key_; variable
/system/bt/service/ipc/binder/
Dremote_callback_map.h93 K key_;
219 : key_(key), callback_(callback), owner_(owner), delegate_(delegate) { in CallbackDeathRecipient()
234 auto iter = owner_->map_.find(key_); in binderDied()
242 if (delegate_) delegate_->OnRemoteCallbackRemoved(key_); in binderDied()
/system/update_engine/update_manager/
Dreal_updater_provider.cc305 key_(key), in BooleanPrefVariable()
311 SystemState::Get()->prefs()->RemoveObserver(key_, this); in ~BooleanPrefVariable()
320 if (prefs->Exists(key_) && !prefs->GetBoolean(key_, &result)) in OnPrefSet()
329 const char* const key_; member in chromeos_update_manager::BooleanPrefVariable
/system/keymaster/include/keymaster/km_openssl/
Dhmac.h54 UniquePtr<uint8_t[]> key_;
/system/core/fs_mgr/libdm/include/libdm/
Ddm_target.h257 key_(key), in DmTargetCrypt()
273 std::string key_; variable
289 key_(key), in DmTargetDefaultKey()
304 std::string key_; variable
/system/teeui/libteeui/include/teeui/
Dcbor.h54 const Key& key_; member
56 MapElement(const Key& key, const Value& value) : key_(key), value_(value) {} in MapElement()
283 wState = write(wState, element.key_);
/system/core/fs_mgr/libdm/
Ddm_target.cpp235 key_, in GetParameterString()
261 argv.emplace_back(key_); in GetParameterString()
/system/core/libutils/include/utils/
DLruCache.h82 EntryForSearch(const TKey& key_) : key(key_) { in EntryForSearch() argument
/system/vold/
Dcryptfs.cpp2555 std::string key_ = key; in match_multi_entry() local
2561 std::string::size_type split = key_.find_last_of('_'); in match_multi_entry()
2563 parsed_field = key_; in match_multi_entry()
2566 parsed_field = key_.substr(0, split); in match_multi_entry()
2567 parsed_index = std::stoi(key_.substr(split + 1)); in match_multi_entry()