Home
last modified time | relevance | path

Searched refs:SoftKeymasterDevice (Results 1 – 4 of 4) sorted by relevance

/system/keymaster/
Dsoft_keymaster_device.cpp85 SoftKeymasterDevice::DigestMap* map) { in add_digests()
103 SoftKeymasterDevice::DigestMap* map) { in map_digests()
127 SoftKeymasterDevice::SoftKeymasterDevice() in SoftKeymasterDevice() function in keymaster::SoftKeymasterDevice
138 SoftKeymasterDevice::SoftKeymasterDevice(SoftKeymasterContext* context) in SoftKeymasterDevice() function in keymaster::SoftKeymasterDevice
148 keymaster_error_t SoftKeymasterDevice::SetHardwareDevice(keymaster0_device_t* keymaster0_device) { in SetHardwareDevice()
176 keymaster_error_t SoftKeymasterDevice::SetHardwareDevice(keymaster1_device_t* keymaster1_device) { in SetHardwareDevice()
208 bool SoftKeymasterDevice::Keymaster1DeviceIsGood() { in Keymaster1DeviceIsGood()
229 void SoftKeymasterDevice::initialize_device_struct(uint32_t flags) { in initialize_device_struct()
295 hw_device_t* SoftKeymasterDevice::hw_device() { in hw_device()
299 keymaster1_device_t* SoftKeymasterDevice::keymaster_device() { in keymaster_device()
[all …]
Dandroid_keymaster_test.cpp103 SoftKeymasterDevice* device = new SoftKeymasterDevice(context_); in CreateDevice()
147 SoftKeymasterDevice* keymaster = new SoftKeymasterDevice(context_); in CreateDevice()
186 (new SoftKeymasterDevice(new TestKeymasterContext("PseudoHW")))->keymaster_device()); in CreateDevice()
190 SoftKeymasterDevice* device = new SoftKeymasterDevice(context_); in CreateDevice()
3811 SoftKeymasterDevice* good_fake(new SoftKeymasterDevice(new TestKeymasterContext)); in TEST()
3814 SoftKeymasterDevice* good_fake_wrapper(new SoftKeymasterDevice(new TestKeymasterContext)); in TEST()
3823 (new SoftKeymasterDevice(new TestKeymasterContext("256")))->keymaster_device()); in TEST()
3826 SoftKeymasterDevice* sha256_only_fake_wrapper( in TEST()
3827 (new SoftKeymasterDevice(new TestKeymasterContext))); in TEST()
/system/security/keystore/
Dkeystore_main.cpp42 using keymaster::SoftKeymasterDevice;
62 UniquePtr<SoftKeymasterDevice> soft_keymaster(new SoftKeymasterDevice); in keymaster0_device_initialize()
105 UniquePtr<SoftKeymasterDevice> soft_keymaster(new SoftKeymasterDevice); in keymaster1_device_initialize()
139 UniquePtr<SoftKeymasterDevice> soft_keymaster(new SoftKeymasterDevice); in keymaster2_device_initialize()
165 *dev = (new SoftKeymasterDevice)->keymaster2_device(); in keymaster_device_initialize()
183 *dev = (new SoftKeymasterDevice)->keymaster2_device(); in fallback_keymaster_device_initialize()
/system/keymaster/include/keymaster/
Dsoft_keymaster_device.h48 class SoftKeymasterDevice {
50 SoftKeymasterDevice();
53 SoftKeymasterDevice(SoftKeymasterContext* context);