Home
last modified time | relevance | path

Searched refs:Malloc_Delete (Results 1 – 8 of 8) sorted by relevance

/system/core/trusty/keymaster/legacy/
Dtrusty_keymaster_device_test.cpp144 class Malloc_Delete { class
146 Malloc_Delete(void* p) : p_(p) {} in Malloc_Delete() function in keymaster::test::Malloc_Delete
147 ~Malloc_Delete() { free(p_); } in ~Malloc_Delete()
160 Malloc_Delete key_deleter(ptr); in TEST_F()
169 Malloc_Delete key_deleter(ptr); in TEST_F()
179 Malloc_Delete key_deleter(ptr); in TEST_F()
188 Malloc_Delete sig_deleter(signature); in TEST_F()
198 Malloc_Delete key_deleter(ptr); in TEST_F()
215 Malloc_Delete key_deleter(ptr); in TEST_F()
232 Malloc_Delete key_deleter(ptr); in TEST_F()
[all …]
/system/keymaster/legacy_support/
Dkeymaster0_engine.cpp92 unique_ptr<uint8_t, Malloc_Delete> key_blob_deleter(key_blob); in GenerateRsaKey()
108 unique_ptr<uint8_t, Malloc_Delete> key_blob_deleter(key_blob); in GenerateEcKey()
127 unique_ptr<uint8_t, Malloc_Delete> key_blob_deleter(key_blob); in ImportKey()
262 unique_ptr<uint8_t[], Malloc_Delete>* signature, in Keymaster0Sign()
287 unique_ptr<uint8_t, Malloc_Delete> pub_key(pub_key_data); in GetKeymaster0PublicKey()
308 unique_ptr<uint8_t[], Malloc_Delete> signature; in RsaPrivateTransform()
357 unique_ptr<uint8_t[], Malloc_Delete> signature; in EcdsaSign()
Dkeymaster1_engine.cpp90 unique_ptr<uint8_t, Malloc_Delete> blob_deleter(const_cast<uint8_t*>(blob.key_material)); in GenerateKey()
115 unique_ptr<uint8_t, Malloc_Delete> blob_deleter(const_cast<uint8_t*>(blob.key_material)); in ImportKey()
301 unique_ptr<uint8_t, Malloc_Delete> output_deleter(const_cast<uint8_t*>(output.data)); in rsa_sign_raw()
326 unique_ptr<uint8_t, Malloc_Delete> output_deleter(const_cast<uint8_t*>(output.data)); in rsa_decrypt()
350 unique_ptr<uint8_t, Malloc_Delete> output_deleter(const_cast<uint8_t*>(output.data)); in ecdsa_sign()
375 unique_ptr<uint8_t, Malloc_Delete> pub_key(const_cast<uint8_t*>(export_data.data)); in GetKeymaster1PublicKey()
Dkeymaster_passthrough_engine.cpp224 unique_ptr<uint8_t, Malloc_Delete> blob_deleter(const_cast<uint8_t*>(blob.key_material)); in GenerateKey()
247 unique_ptr<uint8_t, Malloc_Delete> blob_deleter(const_cast<uint8_t*>(blob.key_material)); in GenerateKey()
275 unique_ptr<uint8_t, Malloc_Delete> blob_deleter(const_cast<uint8_t*>(blob.key_material)); in ImportKey()
304 unique_ptr<uint8_t, Malloc_Delete> blob_deleter(const_cast<uint8_t*>(blob.key_material)); in ImportKey()
Dkeymaster1_legacy_support.cpp70 std::unique_ptr<keymaster_digest_t, Malloc_Delete> digests_deleter(digests); in add_digests()
/system/keymaster/include/keymaster/legacy_support/
Dkeymaster0_engine.h79 struct Malloc_Delete { struct
85 std::unique_ptr<uint8_t[], Malloc_Delete>* signature, argument
/system/keymaster/include/keymaster/
Dandroid_keymaster_utils.h411 struct Malloc_Delete { struct
/system/keymaster/contexts/
Dsoft_keymaster_device.cpp123 std::unique_ptr<keymaster_digest_t, Malloc_Delete> digests_deleter(digests); in add_digests()
1534 std::unique_ptr<uint8_t, Malloc_Delete> finish_output_deleter( in finish()