Searched refs:keymaster1_device (Results 1 – 9 of 9) sorted by relevance
/system/keymaster/include/keymaster/legacy_support/ |
D | keymaster_passthrough_engine.h | 26 struct keymaster1_device; 27 typedef struct keymaster1_device keymaster1_device_t;
|
D | keymaster1_engine.h | 41 explicit Keymaster1Engine(const keymaster1_device_t* keymaster1_device);
|
/system/keymaster/include/keymaster/contexts/ |
D | soft_keymaster_context.h | 59 keymaster_error_t SetHardwareDevice(keymaster1_device_t* keymaster1_device); 123 keymaster1_device* km1_dev_;
|
/system/keymaster/contexts/ |
D | soft_keymaster_context.cpp | 65 keymaster_error_t SoftKeymasterContext::SetHardwareDevice(keymaster1_device_t* keymaster1_device) { in SetHardwareDevice() argument 66 if (!keymaster1_device) return KM_ERROR_UNEXPECTED_NULL_POINTER; in SetHardwareDevice() 68 km1_dev_ = keymaster1_device; in SetHardwareDevice() 70 km1_engine_.reset(new Keymaster1Engine(keymaster1_device)); in SetHardwareDevice()
|
D | soft_keymaster_device.cpp | 180 keymaster_error_t SoftKeymasterDevice::SetHardwareDevice(keymaster1_device_t* keymaster1_device) { in SetHardwareDevice() argument 181 assert(keymaster1_device); in SetHardwareDevice() 187 map_digests(keymaster1_device, &km1_device_digests_, &supports_all_digests_); in SetHardwareDevice() 190 error = context_->SetHardwareDevice(keymaster1_device); in SetHardwareDevice() 193 initialize_device_struct(keymaster1_device->flags); in SetHardwareDevice() 197 module_name_.append(keymaster1_device->common.module->name); in SetHardwareDevice() 205 wrapped_km1_device_ = keymaster1_device; in SetHardwareDevice()
|
/system/keymaster/tests/ |
D | android_keymaster_test_utils.cpp | 804 static keymaster_error_t get_supported_algorithms(const struct keymaster1_device* dev, in get_supported_algorithms() 809 static keymaster_error_t get_supported_block_modes(const struct keymaster1_device* dev, in get_supported_block_modes() 817 static keymaster_error_t get_supported_padding_modes(const struct keymaster1_device* dev, in get_supported_padding_modes() 848 static keymaster_error_t get_supported_import_formats(const struct keymaster1_device* dev, in get_supported_import_formats() 855 static keymaster_error_t get_supported_export_formats(const struct keymaster1_device* dev, in get_supported_export_formats() 862 static keymaster_error_t add_rng_entropy(const struct keymaster1_device* dev, in add_rng_entropy() 880 get_key_characteristics(const struct keymaster1_device* dev, in get_key_characteristics() 901 static keymaster_error_t export_key(const struct keymaster1_device* dev, // in export_key() 931 static keymaster_error_t finish(const struct keymaster1_device* dev, // in finish() 941 static keymaster_error_t abort(const struct keymaster1_device* dev, in abort()
|
/system/keymaster/legacy_support/ |
D | keymaster1_engine.cpp | 41 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/ |
D | AndroidKeymaster3Device.h | 26 typedef struct keymaster1_device keymaster1_device_t;
|
/system/keymaster/include/keymaster/ |
D | soft_keymaster_device.h | 55 keymaster_error_t SetHardwareDevice(keymaster1_device_t* keymaster1_device);
|