Home
last modified time | relevance | path

Searched refs:km2_device_ (Results 1 – 2 of 2) sorted by relevance

/system/keymaster/contexts/
Dsoft_keymaster_device.cpp271 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()
[all …]
/system/keymaster/include/keymaster/
Dsoft_keymaster_device.h232 keymaster2_device_t km2_device_; variable