Searched refs:export_data (Results 1 – 10 of 10) sorted by relevance
/system/keymaster/legacy_support/ |
D | keymaster_passthrough_key.cpp | 70 KeymasterBlob export_data; in formatted_key_material() local 73 engine_->ExportKey(format, key_material(), client_id, app_data, &export_data); in formatted_key_material() 75 keymaster_blob_t export_blob = export_data.release(); in formatted_key_material()
|
D | keymaster1_engine.cpp | 347 keymaster_blob_t export_data = {nullptr, 0}; in GetKeymaster1PublicKey() local 349 client_id_ptr, app_data_ptr, &export_data); in GetKeymaster1PublicKey() 352 unique_ptr<uint8_t, Malloc_Delete> pub_key(const_cast<uint8_t*>(export_data.data)); in GetKeymaster1PublicKey() 354 const uint8_t* p = export_data.data; in GetKeymaster1PublicKey() 355 auto result = d2i_PUBKEY(nullptr /* allocate new struct */, &p, export_data.data_length); in GetKeymaster1PublicKey()
|
D | keymaster_passthrough_engine.cpp | 97 KeymasterBlob* export_data) const override { in ExportKey() 102 *export_data = KeymasterBlob(my_export_data.data, my_export_data.data_length); in ExportKey() 104 if (export_data->data == nullptr) { in ExportKey()
|
/system/core/trusty/keymaster/include/trusty_keymaster/legacy/ |
D | trusty_keymaster_device.h | 63 const keymaster_blob_t* app_data, keymaster_blob_t* export_data); 119 keymaster_blob_t* export_data);
|
/system/keymaster/include/keymaster/legacy_support/ |
D | keymaster_passthrough_engine.h | 56 KeymasterBlob* export_data) const = 0;
|
/system/keymaster/include/keymaster/ |
D | soft_keymaster_device.h | 149 keymaster_blob_t* export_data); 198 keymaster_blob_t* export_data);
|
/system/keymaster/contexts/ |
D | soft_keymaster_device.cpp | 938 keymaster_blob_t* export_data) { in export_key() argument 941 if (!export_data) return KM_ERROR_OUTPUT_PARAMETER_NULL; in export_key() 946 export_data); in export_key() 948 export_data->data = nullptr; in export_key() 949 export_data->data_length = 0; in export_key() 961 export_data->data_length = response.key_data_length; in export_key() 962 uint8_t* tmp = reinterpret_cast<uint8_t*>(malloc(export_data->data_length)); in export_key() 964 memcpy(tmp, response.key_data, export_data->data_length); in export_key() 965 export_data->data = tmp; in export_key() 975 keymaster_blob_t* export_data) { in export_key() argument [all …]
|
/system/security/keystore/include/keystore/ |
D | keystore_client_mock.h | 60 const std::string& key_name, std::string* export_data));
|
D | keystore_client.h | 126 std::string* export_data) = 0;
|
D | keystore_client_impl.h | 64 std::string* export_data) override;
|