Home
last modified time | relevance | path

Searched refs:keymaster1_device (Results 1 – 8 of 8) sorted by relevance

/system/keymaster/include/keymaster/legacy_support/
Dkeymaster_passthrough_engine.h26 struct keymaster1_device;
27 typedef struct keymaster1_device keymaster1_device_t;
Dkeymaster1_engine.h41 explicit Keymaster1Engine(const keymaster1_device_t* keymaster1_device);
/system/keymaster/include/keymaster/contexts/
Dsoft_keymaster_context.h59 keymaster_error_t SetHardwareDevice(keymaster1_device_t* keymaster1_device);
123 keymaster1_device* km1_dev_;
/system/keymaster/contexts/
Dsoft_keymaster_context.cpp68 keymaster_error_t SoftKeymasterContext::SetHardwareDevice(keymaster1_device_t* keymaster1_device) { in SetHardwareDevice() argument
69 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()
Dsoft_keymaster_device.cpp182 keymaster_error_t SoftKeymasterDevice::SetHardwareDevice(keymaster1_device_t* keymaster1_device) { in SetHardwareDevice() argument
183 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()
/system/keymaster/legacy_support/
Dkeymaster1_engine.cpp41 Keymaster1Engine::Keymaster1Engine(const keymaster1_device_t* keymaster1_device) in Keymaster1Engine() argument
42 : keymaster1_device_(keymaster1_device), engine_(ENGINE_new()), in Keymaster1Engine()
52 assert(keymaster1_device); in Keymaster1Engine()
/system/keymaster/ng/include/
DAndroidKeymaster3Device.h26 typedef struct keymaster1_device keymaster1_device_t;
/system/keymaster/include/keymaster/
Dsoft_keymaster_device.h55 keymaster_error_t SetHardwareDevice(keymaster1_device_t* keymaster1_device);