Home
last modified time | relevance | path

Searched refs:keymaster2_device_t (Results 1 – 15 of 15) sorted by relevance

/system/core/trusty/keymaster/include/trusty_keymaster/legacy/
Dtrusty_keymaster_device.h95 static keymaster_error_t configure(const keymaster2_device_t* dev,
97 static keymaster_error_t add_rng_entropy(const keymaster2_device_t* dev, const uint8_t* data,
99 static keymaster_error_t generate_key(const keymaster2_device_t* dev,
103 static keymaster_error_t get_key_characteristics(const keymaster2_device_t* dev,
108 static keymaster_error_t import_key(const keymaster2_device_t* dev,
114 static keymaster_error_t export_key(const keymaster2_device_t* dev,
120 static keymaster_error_t attest_key(const keymaster2_device_t* dev,
124 static keymaster_error_t upgrade_key(const keymaster2_device_t* dev,
128 static keymaster_error_t delete_key(const keymaster2_device_t* dev,
130 static keymaster_error_t delete_all_keys(const keymaster2_device_t* dev);
[all …]
/system/keymaster/include/keymaster/
Dsoft_keymaster_device.h65 keymaster2_device_t* keymaster2_device();
174 static keymaster_error_t configure(const keymaster2_device_t* dev,
176 static keymaster_error_t add_rng_entropy(const keymaster2_device_t* dev, const uint8_t* data,
178 static keymaster_error_t generate_key(const keymaster2_device_t* dev,
182 static keymaster_error_t get_key_characteristics(const keymaster2_device_t* dev,
187 static keymaster_error_t import_key(const keymaster2_device_t* dev, //
193 static keymaster_error_t export_key(const keymaster2_device_t* dev, //
199 static keymaster_error_t attest_key(const keymaster2_device_t* dev,
203 static keymaster_error_t upgrade_key(const keymaster2_device_t* dev,
207 static keymaster_error_t delete_key(const keymaster2_device_t* dev,
[all …]
Dkeymaster_configuration.h33 keymaster_error_t ConfigureDevice(keymaster2_device_t* dev);
/system/keymaster/include/keymaster/legacy_support/
Dkeymaster_passthrough_engine.h29 typedef struct keymaster2_device keymaster2_device_t; typedef
63 static UniquePtr<KeymasterPassthroughEngine> createInstance(const keymaster2_device_t* dev);
/system/keymaster/include/keymaster/contexts/
Dkeymaster2_passthrough_context.h35 explicit Keymaster2PassthroughContext(KmVersion version, keymaster2_device_t* dev);
125 keymaster2_device_t* device_;
/system/keymaster/legacy_support/
Dkeymaster_passthrough_engine.cpp79 if (std::is_same<KeymasterDeviceType, keymaster2_device_t>::value) in ~TKeymasterPassthroughEngine()
225 keymaster_error_t TKeymasterPassthroughEngine<keymaster2_device_t>::GenerateKey( in GenerateKey()
270 keymaster_error_t TKeymasterPassthroughEngine<keymaster2_device_t>::ImportKey( in ImportKey()
299 engine_ptr_t KeymasterPassthroughEngine::createInstance(const keymaster2_device_t* dev) { in createInstance()
300 return engine_ptr_t(new TKeymasterPassthroughEngine<keymaster2_device_t>(dev)); in createInstance()
Dkeymaster_passthrough_operation.cpp94 keymaster_error_t KeymasterPassthroughOperation<keymaster2_device_t>::Finish( in Finish()
Dkeymaster_passthrough_operation.h88 keymaster_error_t KeymasterPassthroughOperation<keymaster2_device_t>::Finish(
/system/keymaster/android_keymaster/
Dkeymaster_configuration.cpp111 keymaster_error_t ConfigureDevice(keymaster2_device_t* dev, uint32_t os_version, in ConfigureDevice()
119 keymaster_error_t ConfigureDevice(keymaster2_device_t* dev) { in ConfigureDevice()
/system/keymaster/ng/include/
DAndroidKeymaster3Device.h27 typedef struct keymaster2_device keymaster2_device_t; typedef
99 IKeymasterDevice* CreateKeymasterDevice(keymaster2_device_t* km2_device);
/system/keymaster/contexts/
Dsoft_keymaster_device.cpp305 keymaster2_device_t* SoftKeymasterDevice::keymaster2_device() { in keymaster2_device()
333 std::is_same<T, keymaster2_device_t>::value), in convert_device()
355 delete convert_device(reinterpret_cast<keymaster2_device_t*>(dev)); in close_device()
564 keymaster_error_t SoftKeymasterDevice::configure(const keymaster2_device_t* dev, in configure()
598 keymaster_error_t SoftKeymasterDevice::add_rng_entropy(const keymaster2_device_t* dev, in add_rng_entropy()
723 SoftKeymasterDevice::generate_key(const keymaster2_device_t* dev, // in generate_key()
835 const keymaster2_device_t* dev, const keymaster_key_blob_t* key_blob, in get_key_characteristics()
905 const keymaster2_device_t* dev, const keymaster_key_param_set_t* params, in import_key()
968 keymaster_error_t SoftKeymasterDevice::export_key(const keymaster2_device_t* dev, in export_key()
984 keymaster_error_t SoftKeymasterDevice::attest_key(const keymaster2_device_t* dev, in attest_key()
[all …]
Dkeymaster2_passthrough_context.cpp26 keymaster2_device_t* dev) in Keymaster2PassthroughContext()
/system/keymaster/tests/
Dandroid_keymaster_test_utils.h157 virtual keymaster2_device_t* CreateDevice() const = 0;
179 keymaster2_device_t* device();
342 keymaster2_device_t* device_;
Dandroid_keymaster_test_utils.cpp191 keymaster2_device_t* Keymaster2Test::device() { in device()
/system/keymaster/ng/
DAndroidKeymaster3Device.cpp504 IKeymasterDevice* CreateKeymasterDevice(keymaster2_device_t* km2_device) { in CreateKeymasterDevice()