Lines Matching refs:km2_device_
271 memset(&km2_device_, 0, sizeof(km2_device_)); in initialize_device_struct()
273 km2_device_.flags = flags; in initialize_device_struct()
274 km2_device_.context = this; in initialize_device_struct()
276 km2_device_.common.tag = HARDWARE_DEVICE_TAG; in initialize_device_struct()
277 km2_device_.common.version = 1; in initialize_device_struct()
278 km2_device_.common.module = reinterpret_cast<hw_module_t*>(&soft_keymaster2_device_module); in initialize_device_struct()
279 km2_device_.common.close = &close_device; in initialize_device_struct()
281 km2_device_.configure = configure; in initialize_device_struct()
282 km2_device_.add_rng_entropy = add_rng_entropy; in initialize_device_struct()
283 km2_device_.generate_key = generate_key; in initialize_device_struct()
284 km2_device_.get_key_characteristics = get_key_characteristics; in initialize_device_struct()
285 km2_device_.import_key = import_key; in initialize_device_struct()
286 km2_device_.export_key = export_key; in initialize_device_struct()
287 km2_device_.attest_key = attest_key; in initialize_device_struct()
288 km2_device_.upgrade_key = upgrade_key; in initialize_device_struct()
289 km2_device_.delete_key = delete_key; in initialize_device_struct()
290 km2_device_.delete_all_keys = delete_all_keys; in initialize_device_struct()
291 km2_device_.begin = begin; in initialize_device_struct()
292 km2_device_.update = update; in initialize_device_struct()
293 km2_device_.finish = finish; in initialize_device_struct()
294 km2_device_.abort = abort; in initialize_device_struct()
306 return &km2_device_; in keymaster2_device()