Home
last modified time | relevance | path

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

/system/keymaster/
Dasymmetric_key.cpp28 keymaster_error_t AsymmetricKey::key_material(UniquePtr<uint8_t[]>* material, size_t* size) const { in key_material() argument
29 if (material == NULL || size == NULL) in key_material()
43 material->reset(new (std::nothrow) uint8_t[*size]); in key_material()
44 uint8_t* tmp = material->get(); in key_material()
51 UniquePtr<uint8_t[]>* material, in formatted_key_material() argument
56 if (material == NULL || size == NULL) in formatted_key_material()
67 material->reset(new (std::nothrow) uint8_t[key_data_length]); in formatted_key_material()
68 if (material->get() == NULL) in formatted_key_material()
71 uint8_t* tmp = material->get(); in formatted_key_material()
73 material->reset(); in formatted_key_material()
Dasymmetric_key.h32 keymaster_error_t key_material(UniquePtr<uint8_t[]>* material, size_t* size) const override;
34 UniquePtr<uint8_t[]>* material,
Dec_keymaster0_key.cpp128 keymaster_error_t EcKeymaster0Key::key_material(UniquePtr<uint8_t[]>* material, in key_material() argument
131 return super::key_material(material, size); in key_material()
138 material->reset(dup_buffer(blob->key_material, *size)); in key_material()
139 if (!material->get()) in key_material()
Drsa_keymaster0_key.cpp142 keymaster_error_t RsaKeymaster0Key::key_material(UniquePtr<uint8_t[]>* material, in key_material() argument
145 return super::key_material(material, size); in key_material()
152 material->reset(dup_buffer(blob->key_material, *size)); in key_material()
153 if (!material->get()) in key_material()
Dkey.h40 UniquePtr<uint8_t[]>* material,
Dec_keymaster0_key.h69 keymaster_error_t key_material(UniquePtr<uint8_t[]>* material, size_t* size) const override;
Drsa_keymaster0_key.h69 keymaster_error_t key_material(UniquePtr<uint8_t[]>* material, size_t* size) const override;
/system/core/libutils/
DREADME51 This section provides generic background material on resources in