Lines Matching refs:blob
95 const KeymasterKeyBlob& blob,
100 keymaster_error_t error = km_device_->export_key(km_device_, format, &blob, &client_id,
111 keymaster_error_t DeleteKey(const KeymasterKeyBlob& blob) const override {
112 return km_device_->delete_key(km_device_, &blob);
219 keymaster_key_blob_t blob = {};
221 &blob, &characteristics);
224 unique_ptr<uint8_t, Malloc_Delete> blob_deleter(const_cast<uint8_t*>(blob.key_material));
225 key_blob->key_material = dup_buffer(blob.key_material, blob.key_material_size);
226 key_blob->key_material_size = blob.key_material_size;
242 keymaster_key_blob_t blob = {};
244 &blob, &characteristics);
247 unique_ptr<uint8_t, Malloc_Delete> blob_deleter(const_cast<uint8_t*>(blob.key_material));
248 key_blob->key_material = dup_buffer(blob.key_material, blob.key_material_size);
249 key_blob->key_material_size = blob.key_material_size;
269 keymaster_key_blob_t blob = {};
272 &blob, &characteristics);
275 unique_ptr<uint8_t, Malloc_Delete> blob_deleter(const_cast<uint8_t*>(blob.key_material));
277 *output_key_blob = KeymasterKeyBlob(blob);
298 keymaster_key_blob_t blob = {};
301 &blob, &characteristics);
304 unique_ptr<uint8_t, Malloc_Delete> blob_deleter(const_cast<uint8_t*>(blob.key_material));
305 // TODO why duplicate the blob if we have ownership here anyway?
306 output_key_blob->key_material = dup_buffer(blob.key_material, blob.key_material_size);
307 output_key_blob->key_material_size = blob.key_material_size;