Home
last modified time | relevance | path

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

/system/keymaster/tests/
Dandroid_keymaster_test_utils.h408 static int counting_generate_keypair(const struct keymaster0_device* dev, in counting_generate_keypair()
419 static int counting_import_keypair(const struct keymaster0_device* dev, const uint8_t* key, in counting_import_keypair()
430 static int counting_get_keypair_public(const struct keymaster0_device* dev, in counting_get_keypair_public()
439 static int counting_delete_keypair(const struct keymaster0_device* dev, const uint8_t* key_blob, in counting_delete_keypair()
451 static int counting_delete_all(const struct keymaster0_device* dev) { in counting_delete_all()
458 static int counting_sign_data(const struct keymaster0_device* dev, const void* signing_params, in counting_sign_data()
468 static int counting_verify_data(const struct keymaster0_device* dev, const void* signing_params, in counting_verify_data()
/system/keymaster/contexts/
Dsoft_keymaster_context.cpp64 keymaster_error_t SoftKeymasterContext::SetHardwareDevice(keymaster0_device_t* keymaster0_device) { in SetHardwareDevice() argument
65 if (!keymaster0_device) in SetHardwareDevice()
68 if ((keymaster0_device->flags & KEYMASTER_SOFTWARE_ONLY) != 0) { in SetHardwareDevice()
73 km0_engine_.reset(new Keymaster0Engine(keymaster0_device)); in SetHardwareDevice()
Dsoft_keymaster_device.cpp184 keymaster_error_t SoftKeymasterDevice::SetHardwareDevice(keymaster0_device_t* keymaster0_device) { in SetHardwareDevice() argument
185 assert(keymaster0_device); in SetHardwareDevice()
192 keymaster_error_t error = context_->SetHardwareDevice(keymaster0_device); in SetHardwareDevice()
196 initialize_device_struct(keymaster0_device->flags); in SetHardwareDevice()
200 module_name_.append(keymaster0_device->common.module->name); in SetHardwareDevice()
/system/keymaster/include/keymaster/legacy_support/
Dkeymaster0_engine.h43 explicit Keymaster0Engine(const keymaster0_device_t* keymaster0_device);
/system/keymaster/include/keymaster/contexts/
Dsoft_keymaster_context.h54 keymaster_error_t SetHardwareDevice(keymaster0_device_t* keymaster0_device);
/system/keymaster/ng/include/
DAndroidKeymaster3Device.h26 typedef struct keymaster0_device keymaster0_device_t;
/system/keymaster/legacy_support/
Dkeymaster0_engine.cpp42 Keymaster0Engine::Keymaster0Engine(const keymaster0_device_t* keymaster0_device) in Keymaster0Engine() argument
43 : keymaster0_device_(keymaster0_device), engine_(ENGINE_new()), supports_ec_(false) { in Keymaster0Engine()
/system/keymaster/include/keymaster/
Dsoft_keymaster_device.h57 keymaster_error_t SetHardwareDevice(keymaster0_device_t* keymaster0_device);