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

/system/keymaster/tests/
H A Dandroid_keymaster_test_utils.h408 static int counting_generate_keypair(const struct keymaster0_device* dev,
419 static int counting_import_keypair(const struct keymaster0_device* dev, const uint8_t* key,
430 static int counting_get_keypair_public(const struct keymaster0_device* dev,
439 static int counting_delete_keypair(const struct keymaster0_device* dev, const uint8_t* key_blob,
451 static int counting_delete_all(const struct keymaster0_device* dev) {
458 static int counting_sign_data(const struct keymaster0_device* dev, const void* signing_params,
468 static int counting_verify_data(const struct keymaster0_device* dev, const void* signing_params,
/system/keymaster/contexts/
H A Dsoft_keymaster_context.cpp64 keymaster_error_t SoftKeymasterContext::SetHardwareDevice(keymaster0_device_t* keymaster0_device) { argument
65 if (!keymaster0_device)
68 if ((keymaster0_device->flags & KEYMASTER_SOFTWARE_ONLY) != 0) {
73 km0_engine_.reset(new Keymaster0Engine(keymaster0_device));
H A Dsoft_keymaster_device.cpp183 keymaster_error_t SoftKeymasterDevice::SetHardwareDevice(keymaster0_device_t* keymaster0_device) { argument
184 assert(keymaster0_device);
191 keymaster_error_t error = context_->SetHardwareDevice(keymaster0_device);
195 initialize_device_struct(keymaster0_device->flags);
199 module_name_.append(keymaster0_device->common.module->name);
/system/keymaster/include/keymaster/legacy_support/
H A Dkeymaster0_engine.h40 * Create a Keymaster0Engine, wrapping the provided keymaster0_device. The engine takes
43 explicit Keymaster0Engine(const keymaster0_device_t* keymaster0_device);
/system/keymaster/include/keymaster/contexts/
H A Dsoft_keymaster_context.h52 * the specified device (will call keymaster0_device->common.close());
54 keymaster_error_t SetHardwareDevice(keymaster0_device_t* keymaster0_device);
/system/keymaster/ng/include/
H A DAndroidKeymaster3Device.h26 typedef struct keymaster0_device keymaster0_device_t;
/system/keymaster/legacy_support/
H A Dkeymaster0_engine.cpp42 Keymaster0Engine::Keymaster0Engine(const keymaster0_device_t* keymaster0_device) argument
43 : keymaster0_device_(keymaster0_device), engine_(ENGINE_new()), supports_ec_(false) {
/system/keymaster/include/keymaster/
H A Dsoft_keymaster_device.h55 * specified device (will call keymaster0_device->common.close());
57 keymaster_error_t SetHardwareDevice(keymaster0_device_t* keymaster0_device);

Completed in 127 milliseconds