Home
last modified time | relevance | path

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

/system/keymaster/contexts/
Dsoft_keymaster_device.cpp111 SoftKeymasterDevice::DigestMap* map, bool* supports_all) { in add_digests()
130 static keymaster_error_t map_digests(keymaster1_device_t* dev, SoftKeymasterDevice::DigestMap* map, in map_digests()
160 SoftKeymasterDevice::SoftKeymasterDevice(KmVersion version) in SoftKeymasterDevice() function in keymaster::SoftKeymasterDevice
170 SoftKeymasterDevice::SoftKeymasterDevice(SoftKeymasterContext* context) in SoftKeymasterDevice() function in keymaster::SoftKeymasterDevice
180 keymaster_error_t SoftKeymasterDevice::SetHardwareDevice(keymaster1_device_t* keymaster1_device) { in SetHardwareDevice()
209 bool SoftKeymasterDevice::Keymaster1DeviceIsGood() { in Keymaster1DeviceIsGood()
230 void SoftKeymasterDevice::initialize_device_struct(uint32_t flags) { in initialize_device_struct()
297 hw_device_t* SoftKeymasterDevice::hw_device() { in hw_device()
301 keymaster1_device_t* SoftKeymasterDevice::keymaster_device() { in keymaster_device()
305 keymaster2_device_t* SoftKeymasterDevice::keymaster2_device() { in keymaster2_device()
[all …]
/system/keymaster/include/keymaster/
Dsoft_keymaster_device.h45 class SoftKeymasterDevice {
47 explicit SoftKeymasterDevice(KmVersion version);
49 explicit SoftKeymasterDevice(SoftKeymasterContext* context);
/system/keymaster/tests/
Dandroid_keymaster_test.cpp119 SoftKeymasterDevice* device = new SoftKeymasterDevice(context_); in CreateDevice()
146 make_device_sha256_only((new SoftKeymasterDevice(new TestKeymasterContext( in CreateDevice()
152 SoftKeymasterDevice* device = new SoftKeymasterDevice(context_); in CreateDevice()
181 keymaster1_device_t* fake_device = (new SoftKeymasterDevice(new TestKeymasterContext( in CreateDevice()
187 SoftKeymasterDevice* device = new SoftKeymasterDevice(context_); in CreateDevice()
3972 SoftKeymasterDevice* good_fake( in TEST()
3973 new SoftKeymasterDevice(new TestKeymasterContext(KmVersion::KEYMASTER_4_1))); in TEST()
3976 SoftKeymasterDevice* good_fake_wrapper( in TEST()
3977 new SoftKeymasterDevice(new TestKeymasterContext(KmVersion::KEYMASTER_4_1))); in TEST()
3986 (new SoftKeymasterDevice(new TestKeymasterContext(KmVersion::KEYMASTER_4_1, "256"))) in TEST()
[all …]