Home
last modified time | relevance | path

Searched refs:new_key (Results 1 – 3 of 3) sorted by relevance

/aosp14/system/core/libcrypto_utils/
H A Dandroid_pubkey.cpp58 RSA* new_key = RSA_new(); in android_pubkey_decode() local
61 if (!new_key) { in android_pubkey_decode()
85 if (!RSA_set0_key(new_key, n, e, NULL)) { in android_pubkey_decode()
100 *key = new_key; in android_pubkey_decode()
101 new_key = NULL; in android_pubkey_decode()
105 RSA_free(new_key); in android_pubkey_decode()
/aosp14/system/core/libcrypto_utils/tests/
H A Dandroid_pubkey_test.cpp111 RSA* new_key = nullptr; in SetUp() local
112 ASSERT_TRUE(android_pubkey_decode(kKey2048, sizeof(kKey2048), &new_key)); in SetUp()
113 key_.reset(new_key); in SetUp()
/aosp14/frameworks/base/libs/androidfw/
H A DAssetManager2.cpp1170 uint32_t new_key = dtohl(map_entry->name.ident); in GetBag() local
1171 if (!is_internal_resid(new_key)) { in GetBag()
1174 if (UNLIKELY(entry->dynamic_ref_table->lookupResourceId(&new_key) != NO_ERROR)) { in GetBag()
1175 LOG(ERROR) << base::StringPrintf("Failed to resolve key 0x%08x in bag 0x%08x.", new_key, in GetBag()
1182 new_entry->key = new_key; in GetBag()
1191 new_entry->value.data, new_key); in GetBag()
1288 uint32_t new_key = dtohl(map_entry->name.ident); in GetBag() local
1289 if (!is_internal_resid(new_key)) { in GetBag()
1290 if (UNLIKELY(entry->dynamic_ref_table->lookupResourceId(&new_key) != NO_ERROR)) { in GetBag()
1291 LOG(ERROR) << base::StringPrintf("Failed to resolve key 0x%08x in bag 0x%08x.", new_key, in GetBag()
[all …]