Lines Matching refs:blob
95 const KeymasterKeyBlob& blob, in ExportKey() argument
100 keymaster_error_t error = km_device_->export_key(km_device_, format, &blob, &client_id, in ExportKey()
111 keymaster_error_t DeleteKey(const KeymasterKeyBlob& blob) const override { in DeleteKey()
112 return km_device_->delete_key(km_device_, &blob); in DeleteKey()
219 keymaster_key_blob_t blob = {}; in GenerateKey() local
221 &blob, &characteristics); in GenerateKey()
224 unique_ptr<uint8_t, Malloc_Delete> blob_deleter(const_cast<uint8_t*>(blob.key_material)); in GenerateKey()
225 key_blob->key_material = dup_buffer(blob.key_material, blob.key_material_size); in GenerateKey()
226 key_blob->key_material_size = blob.key_material_size; in GenerateKey()
242 keymaster_key_blob_t blob = {}; in GenerateKey() local
244 &blob, &characteristics); in GenerateKey()
247 unique_ptr<uint8_t, Malloc_Delete> blob_deleter(const_cast<uint8_t*>(blob.key_material)); in GenerateKey()
248 key_blob->key_material = dup_buffer(blob.key_material, blob.key_material_size); in GenerateKey()
249 key_blob->key_material_size = blob.key_material_size; in GenerateKey()
269 keymaster_key_blob_t blob = {}; in ImportKey() local
272 &blob, &characteristics); in ImportKey()
275 unique_ptr<uint8_t, Malloc_Delete> blob_deleter(const_cast<uint8_t*>(blob.key_material)); in ImportKey()
277 *output_key_blob = KeymasterKeyBlob(blob); in ImportKey()
298 keymaster_key_blob_t blob = {}; in ImportKey() local
301 &blob, &characteristics); in ImportKey()
304 unique_ptr<uint8_t, Malloc_Delete> blob_deleter(const_cast<uint8_t*>(blob.key_material)); in ImportKey()
306 output_key_blob->key_material = dup_buffer(blob.key_material, blob.key_material_size); in ImportKey()
307 output_key_blob->key_material_size = blob.key_material_size; in ImportKey()