Searched refs:Malloc_Delete (Results 1 – 8 of 8) sorted by relevance
/system/core/trusty/keymaster/legacy/ |
D | trusty_keymaster_device_test.cpp | 144 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/ |
D | keymaster0_engine.cpp | 92 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()
|
D | keymaster1_engine.cpp | 90 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()
|
D | keymaster_passthrough_engine.cpp | 224 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()
|
D | keymaster1_legacy_support.cpp | 70 std::unique_ptr<keymaster_digest_t, Malloc_Delete> digests_deleter(digests); in add_digests()
|
/system/keymaster/include/keymaster/legacy_support/ |
D | keymaster0_engine.h | 79 struct Malloc_Delete { struct 85 std::unique_ptr<uint8_t[], Malloc_Delete>* signature, argument
|
/system/keymaster/include/keymaster/ |
D | android_keymaster_utils.h | 411 struct Malloc_Delete { struct
|
/system/keymaster/contexts/ |
D | soft_keymaster_device.cpp | 123 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()
|