Home
last modified time | relevance | path

Searched refs:key_ (Results 1 – 11 of 11) 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/update_engine/
Dmetrics_utils.h92 : key_(key), prefs_(prefs) { in PersistedValue()
98 prefs_->Delete(key_); in Delete()
134 prefs_->SetInt64(key_, val_);
136 prefs_->SetBoolean(key_, val_);
139 prefs_->SetString(key_, value);
145 const std::string_view key_;
/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.cpp152 key_(key.key_material_move()), cipher_description_(cipher_description) { in BlockCipherEvpOperation()
166 auto retval = InitializeCipher(key_); in Begin()
167 key_ = {}; in Begin()
Dblock_cipher_operation.h116 KeymasterKeyBlob key_; variable
/system/keymaster/include/keymaster/cppcose/
Dcppcose.h251 const auto& value = key_->get(label); in getIntValue()
257 const auto& value = key_->get(label); in getBstrValue()
262 const cppbor::Map& getMap() const { return *key_; } in getMap()
263 cppbor::Map&& moveMap() { return std::move(*key_); } in moveMap()
266 const auto& value = key_->get(label); in checkIntValue()
270 void add(Label label, int value) { key_->add(label, value); } in add()
271 void add(Label label, bytevec value) { key_->add(label, std::move(value)); } in add()
273 bytevec encode() { return key_->canonicalize().encode(); } in encode()
276 explicit CoseKey(cppbor::Map* parsedKey) : key_(parsedKey) {} in CoseKey()
279 std::unique_ptr<cppbor::Map> key_; variable
/system/keymaster/include/keymaster/km_openssl/
Dhmac.h54 UniquePtr<uint8_t[]> key_;
/system/core/fs_mgr/libdm/include/libdm/
Ddm_target.h258 key_(key), in DmTargetCrypt()
274 std::string key_; variable
290 key_(key), in DmTargetDefaultKey()
305 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/libutils/include/utils/
DLruCache.h82 EntryForSearch(const TKey& key_) : key(key_) { in EntryForSearch() argument
/system/core/fs_mgr/libdm/
Ddm_target.cpp239 key_, in GetParameterString()
265 argv.emplace_back(key_); in GetParameterString()