Searched refs:keymaster1_device (Results 1 – 8 of 8) sorted by relevance
26 struct keymaster1_device;27 typedef struct keymaster1_device keymaster1_device_t;
41 explicit Keymaster1Engine(const keymaster1_device_t* keymaster1_device);
59 keymaster_error_t SetHardwareDevice(keymaster1_device_t* keymaster1_device);123 keymaster1_device* km1_dev_;
68 keymaster_error_t SoftKeymasterContext::SetHardwareDevice(keymaster1_device_t* keymaster1_device) { in SetHardwareDevice() argument69 if (!keymaster1_device) return KM_ERROR_UNEXPECTED_NULL_POINTER; in SetHardwareDevice()71 km1_dev_ = keymaster1_device; in SetHardwareDevice()73 km1_engine_.reset(new (std::nothrow) Keymaster1Engine(keymaster1_device)); in SetHardwareDevice()
182 keymaster_error_t SoftKeymasterDevice::SetHardwareDevice(keymaster1_device_t* keymaster1_device) { in SetHardwareDevice() argument183 assert(keymaster1_device); in SetHardwareDevice()189 map_digests(keymaster1_device, &km1_device_digests_, &supports_all_digests_); in SetHardwareDevice()192 error = context_->SetHardwareDevice(keymaster1_device); in SetHardwareDevice()195 initialize_device_struct(keymaster1_device->flags); in SetHardwareDevice()199 module_name_.append(keymaster1_device->common.module->name); in SetHardwareDevice()207 wrapped_km1_device_ = keymaster1_device; in SetHardwareDevice()
41 Keymaster1Engine::Keymaster1Engine(const keymaster1_device_t* keymaster1_device) in Keymaster1Engine() argument42 : keymaster1_device_(keymaster1_device), engine_(ENGINE_new()), in Keymaster1Engine()52 assert(keymaster1_device); in Keymaster1Engine()
26 typedef struct keymaster1_device keymaster1_device_t;
55 keymaster_error_t SetHardwareDevice(keymaster1_device_t* keymaster1_device);