Searched refs:material (Results 1 - 7 of 7) sorted by relevance

/system/keymaster/
H A Dasymmetric_key.cpp28 keymaster_error_t AsymmetricKey::key_material(UniquePtr<uint8_t[]>* material, size_t* size) const { argument
29 if (material == NULL || size == NULL)
43 material->reset(new (std::nothrow) uint8_t[*size]);
44 uint8_t* tmp = material->get();
51 UniquePtr<uint8_t[]>* material,
56 if (material == NULL || size == NULL)
67 material->reset(new (std::nothrow) uint8_t[key_data_length]);
68 if (material->get() == NULL)
71 uint8_t* tmp = material->get();
73 material
50 formatted_key_material(keymaster_key_format_t format, UniquePtr<uint8_t[]>* material, size_t* size) const argument
[all...]
H A Dasymmetric_key.h32 keymaster_error_t key_material(UniquePtr<uint8_t[]>* material, size_t* size) const override;
34 UniquePtr<uint8_t[]>* material,
H A Dkey.h32 * Return a copy of raw key material, in the key's preferred binary format.
37 * Return a copy of raw key material, in the specified format.
40 UniquePtr<uint8_t[]>* material,
H A Dec_keymaster0_key.cpp128 keymaster_error_t EcKeymaster0Key::key_material(UniquePtr<uint8_t[]>* material, argument
131 return super::key_material(material, size);
138 material->reset(dup_buffer(blob->key_material, *size));
139 if (!material->get())
H A Drsa_keymaster0_key.cpp142 keymaster_error_t RsaKeymaster0Key::key_material(UniquePtr<uint8_t[]>* material, argument
145 return super::key_material(material, size);
152 material->reset(dup_buffer(blob->key_material, *size));
153 if (!material->get())
H A Dec_keymaster0_key.h69 keymaster_error_t key_material(UniquePtr<uint8_t[]>* material, size_t* size) const override;
H A Drsa_keymaster0_key.h69 keymaster_error_t key_material(UniquePtr<uint8_t[]>* material, size_t* size) const override;

Completed in 45 milliseconds