/system/keymaster/include/keymaster/ |
D | soft_keymaster_device.h | 55 keymaster_error_t SetHardwareDevice(keymaster1_device_t* keymaster1_device); 64 keymaster1_device_t* keymaster_device(); 101 static keymaster_error_t get_supported_algorithms(const keymaster1_device_t* dev, 104 static keymaster_error_t get_supported_block_modes(const keymaster1_device_t* dev, 109 static keymaster_error_t get_supported_padding_modes(const keymaster1_device_t* dev, 114 static keymaster_error_t get_supported_digests(const keymaster1_device_t* dev, 119 static keymaster_error_t get_supported_import_formats(const keymaster1_device_t* dev, 123 static keymaster_error_t get_supported_export_formats(const keymaster1_device_t* dev, 127 static keymaster_error_t add_rng_entropy(const keymaster1_device_t* dev, const uint8_t* data, 129 static keymaster_error_t generate_key(const keymaster1_device_t* dev, [all …]
|
/system/keymaster/contexts/ |
D | soft_keymaster_device.cpp | 109 static keymaster_error_t add_digests(keymaster1_device_t* dev, keymaster_algorithm_t algorithm, in add_digests() 130 static keymaster_error_t map_digests(keymaster1_device_t* dev, SoftKeymasterDevice::DigestMap* map, in map_digests() 180 keymaster_error_t SoftKeymasterDevice::SetHardwareDevice(keymaster1_device_t* keymaster1_device) { in SetHardwareDevice() 301 keymaster1_device_t* SoftKeymasterDevice::keymaster_device() { in keymaster_device() 332 static_assert((std::is_same<T, keymaster1_device_t>::value || in convert_device() 360 delete convert_device(reinterpret_cast<keymaster1_device_t*>(dev)); in close_device() 372 keymaster_error_t SoftKeymasterDevice::get_supported_algorithms(const keymaster1_device_t* dev, in get_supported_algorithms() 379 const keymaster1_device_t* km1_dev = convert_device(dev)->wrapped_km1_device_; in get_supported_algorithms() 401 keymaster_error_t SoftKeymasterDevice::get_supported_block_modes(const keymaster1_device_t* dev, in get_supported_block_modes() 410 const keymaster1_device_t* km1_dev = convert_device(dev)->wrapped_km1_device_; in get_supported_block_modes() [all …]
|
D | keymaster1_passthrough_context.cpp | 38 keymaster1_device_t* dev) in Keymaster1PassthroughContext() 117 parseKeymaster1HwBlob(const keymaster1_device_t* device, const KeymasterKeyBlob& blob, in parseKeymaster1HwBlob()
|
D | soft_keymaster_context.cpp | 65 keymaster_error_t SoftKeymasterContext::SetHardwareDevice(keymaster1_device_t* keymaster1_device) { in SetHardwareDevice()
|
/system/keymaster/include/keymaster/legacy_support/ |
D | keymaster1_engine.h | 41 explicit Keymaster1Engine(const keymaster1_device_t* keymaster1_device); 78 const keymaster1_device_t* device() const { return keymaster1_device_; } in device() 110 const keymaster1_device_t* const keymaster1_device_;
|
D | keymaster_passthrough_engine.h | 27 typedef struct keymaster1_device keymaster1_device_t; typedef 62 static UniquePtr<KeymasterPassthroughEngine> createInstance(const keymaster1_device_t* dev);
|
D | keymaster1_legacy_support.h | 45 Keymaster1LegacySupport(const keymaster1_device_t* dev); 62 keymaster_algorithm_t algorithm, const keymaster1_device_t* dev, in Keymaster1ArbitrationFactory()
|
/system/keymaster/include/keymaster/contexts/ |
D | keymaster1_passthrough_context.h | 41 Keymaster1PassthroughContext(KmVersion version, keymaster1_device_t* dev); 137 keymaster1_device_t* device_;
|
D | soft_keymaster_context.h | 59 keymaster_error_t SetHardwareDevice(keymaster1_device_t* keymaster1_device);
|
/system/keymaster/tests/ |
D | android_keymaster_test_utils.cpp | 741 explicit Sha256OnlyWrapper(const keymaster1_device_t* wrapped_device) in Sha256OnlyWrapper() 769 keymaster1_device_t* keymaster_device() { return &device_; } in keymaster_device() 795 const keymaster1_device_t* wrapped_device = wrapper->wrapped_device_; in close_device() 800 static const keymaster1_device_t* unwrap(const keymaster1_device_t* dev) { in unwrap() 826 static keymaster_error_t get_supported_digests(const keymaster1_device_t* dev, in get_supported_digests() 867 static keymaster_error_t generate_key(const keymaster1_device_t* dev, in generate_key() 889 import_key(const keymaster1_device_t* dev, const keymaster_key_param_set_t* params, in import_key() 911 static keymaster_error_t begin(const keymaster1_device_t* dev, // in begin() 921 static keymaster_error_t update(const keymaster1_device_t* dev, in update() 947 keymaster1_device_t device_; [all …]
|
D | android_keymaster_test_utils.h | 358 keymaster1_device_t* make_device_sha256_only(keymaster1_device_t* device);
|
/system/keymaster/legacy_support/ |
D | keymaster_passthrough_engine.cpp | 205 keymaster_error_t TKeymasterPassthroughEngine<keymaster1_device_t>::GenerateKey( in GenerateKey() 245 keymaster_error_t TKeymasterPassthroughEngine<keymaster1_device_t>::ImportKey( in ImportKey() 296 engine_ptr_t KeymasterPassthroughEngine::createInstance(const keymaster1_device_t* dev) { in createInstance() 297 return engine_ptr_t(new TKeymasterPassthroughEngine<keymaster1_device_t>(dev)); in createInstance()
|
D | keymaster1_legacy_support.cpp | 57 static keymaster_error_t add_digests(const keymaster1_device_t* dev, in add_digests() 78 static keymaster_error_t map_digests(const keymaster1_device_t* dev, in map_digests() 108 Keymaster1LegacySupport::Keymaster1LegacySupport(const keymaster1_device_t* dev) { in Keymaster1LegacySupport()
|
D | keymaster_passthrough_operation.cpp | 25 keymaster_error_t KeymasterPassthroughOperation<keymaster1_device_t>::Finish( in Finish()
|
D | keymaster_passthrough_operation.h | 84 keymaster_error_t KeymasterPassthroughOperation<keymaster1_device_t>::Finish(
|
D | keymaster1_engine.cpp | 41 Keymaster1Engine::Keymaster1Engine(const keymaster1_device_t* keymaster1_device) in Keymaster1Engine() 63 reinterpret_cast<hw_device_t*>(const_cast<keymaster1_device_t*>(keymaster1_device_))); in ~Keymaster1Engine()
|
/system/keymaster/ng/include/ |
D | AndroidKeymaster3Device.h | 26 typedef struct keymaster1_device keymaster1_device_t; typedef 100 IKeymasterDevice* CreateKeymasterDevice(keymaster1_device_t* km1_device);
|
/system/keymaster/ng/ |
D | AndroidKeymaster3Device.cpp | 511 IKeymasterDevice* CreateKeymasterDevice(keymaster1_device_t* km1_device) { in CreateKeymasterDevice()
|