/system/keymaster/include/keymaster/ |
D | soft_keymaster_device.h | 63 keymaster_error_t SetHardwareDevice(keymaster1_device_t* keymaster1_device); 72 keymaster1_device_t* keymaster_device(); 109 static keymaster_error_t get_supported_algorithms(const keymaster1_device_t* dev, 112 static keymaster_error_t get_supported_block_modes(const keymaster1_device_t* dev, 117 static keymaster_error_t get_supported_padding_modes(const keymaster1_device_t* dev, 122 static keymaster_error_t get_supported_digests(const keymaster1_device_t* dev, 127 static keymaster_error_t get_supported_import_formats(const keymaster1_device_t* dev, 131 static keymaster_error_t get_supported_export_formats(const keymaster1_device_t* dev, 135 static keymaster_error_t add_rng_entropy(const keymaster1_device_t* dev, const uint8_t* data, 137 static keymaster_error_t generate_key(const keymaster1_device_t* dev, [all …]
|
/system/keymaster/contexts/ |
D | soft_keymaster_device.cpp | 110 static keymaster_error_t add_digests(keymaster1_device_t* dev, keymaster_algorithm_t algorithm, in add_digests() 131 static keymaster_error_t map_digests(keymaster1_device_t* dev, SoftKeymasterDevice::DigestMap* map, in map_digests() 212 keymaster_error_t SoftKeymasterDevice::SetHardwareDevice(keymaster1_device_t* keymaster1_device) { in SetHardwareDevice() 336 keymaster1_device_t* SoftKeymasterDevice::keymaster_device() { in keymaster_device() 370 std::is_same<T, keymaster1_device_t>::value || in convert_device() 398 delete convert_device(reinterpret_cast<keymaster1_device_t*>(dev)); in close_device() 410 keymaster_error_t SoftKeymasterDevice::get_supported_algorithms(const keymaster1_device_t* dev, in get_supported_algorithms() 419 const keymaster1_device_t* km1_dev = convert_device(dev)->wrapped_km1_device_; in get_supported_algorithms() 442 keymaster_error_t SoftKeymasterDevice::get_supported_block_modes(const keymaster1_device_t* dev, in get_supported_block_modes() 453 const keymaster1_device_t* km1_dev = convert_device(dev)->wrapped_km1_device_; in get_supported_block_modes() [all …]
|
D | keymaster1_passthrough_context.cpp | 36 Keymaster1PassthroughContext::Keymaster1PassthroughContext(keymaster1_device_t* dev) in Keymaster1PassthroughContext() 110 static keymaster_error_t parseKeymaster1HwBlob(const keymaster1_device_t* device, in parseKeymaster1HwBlob()
|
D | soft_keymaster_context.cpp | 81 keymaster_error_t SoftKeymasterContext::SetHardwareDevice(keymaster1_device_t* keymaster1_device) { in SetHardwareDevice()
|
/system/keymaster/include/keymaster/legacy_support/ |
D | keymaster1_engine.h | 43 explicit Keymaster1Engine(const keymaster1_device_t* keymaster1_device); 80 const keymaster1_device_t* device() const { return keymaster1_device_; } in device() 110 const keymaster1_device_t* const keymaster1_device_;
|
D | keymaster_passthrough_engine.h | 28 typedef struct keymaster1_device keymaster1_device_t; typedef 63 createInstance(const keymaster1_device_t* dev);
|
D | keymaster1_legacy_support.h | 46 Keymaster1LegacySupport(const keymaster1_device_t* dev); 66 const keymaster1_device_t* dev, in Keymaster1ArbitrationFactory()
|
/system/keymaster/include/keymaster/contexts/ |
D | keymaster1_passthrough_context.h | 41 explicit Keymaster1PassthroughContext(keymaster1_device_t* dev); 125 keymaster1_device_t* device_;
|
D | soft_keymaster_context.h | 61 keymaster_error_t SetHardwareDevice(keymaster1_device_t* keymaster1_device);
|
/system/keymaster/tests/ |
D | android_keymaster_test_utils.cpp | 705 explicit Sha256OnlyWrapper(const keymaster1_device_t* wrapped_device) in Sha256OnlyWrapper() 733 keymaster1_device_t* keymaster_device() { return &device_; } in keymaster_device() 760 const keymaster1_device_t* wrapped_device = wrapper->wrapped_device_; in close_device() 765 static const keymaster1_device_t* unwrap(const keymaster1_device_t* dev) { in unwrap() 791 static keymaster_error_t get_supported_digests(const keymaster1_device_t* dev, in get_supported_digests() 833 static keymaster_error_t generate_key(const keymaster1_device_t* dev, in generate_key() 856 import_key(const keymaster1_device_t* dev, const keymaster_key_param_set_t* params, in import_key() 879 static keymaster_error_t begin(const keymaster1_device_t* dev, // in begin() 890 static keymaster_error_t update(const keymaster1_device_t* dev, in update() 916 keymaster1_device_t device_; [all …]
|
D | android_keymaster_test_utils.h | 488 keymaster1_device_t* make_device_sha256_only(keymaster1_device_t* device);
|
D | android_keymaster_test.cpp | 145 keymaster1_device_t* fake_device = make_device_sha256_only( in CreateDevice() 180 keymaster1_device_t* fake_device = in CreateDevice() 4269 keymaster1_device_t* sha256_only_fake = make_device_sha256_only( in TEST()
|
/system/keymaster/legacy_support/ |
D | keymaster_passthrough_engine.cpp | 212 TKeymasterPassthroughEngine<keymaster1_device_t>::GenerateKey(const AuthorizationSet& key_descripti… in GenerateKey() 258 TKeymasterPassthroughEngine<keymaster1_device_t>::ImportKey(const AuthorizationSet& key_description, in ImportKey() 317 KeymasterPassthroughEngine::createInstance(const keymaster1_device_t* dev) { in createInstance() 318 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, keymaster_algorithm_t algorith… in add_digests() 78 static keymaster_error_t map_digests(const keymaster1_device_t* dev, in map_digests() 111 Keymaster1LegacySupport::Keymaster1LegacySupport(const keymaster1_device_t* dev) { in Keymaster1LegacySupport()
|
D | keymaster_passthrough_operation.cpp | 26 KeymasterPassthroughOperation<keymaster1_device_t>::Finish(const AuthorizationSet& input_params, in Finish()
|
D | keymaster_passthrough_operation.h | 84 keymaster_error_t KeymasterPassthroughOperation<keymaster1_device_t>::Finish(
|
D | keymaster1_engine.cpp | 42 Keymaster1Engine::Keymaster1Engine(const keymaster1_device_t* keymaster1_device) in Keymaster1Engine() 64 reinterpret_cast<hw_device_t*>(const_cast<keymaster1_device_t*>(keymaster1_device_))); in ~Keymaster1Engine()
|
/system/keymaster/ng/include/ |
D | AndroidKeymaster3Device.h | 27 typedef struct keymaster1_device keymaster1_device_t; typedef 101 IKeymasterDevice* CreateKeymasterDevice(keymaster1_device_t* km1_device);
|
/system/keymaster/ng/ |
D | AndroidKeymaster3Device.cpp | 505 IKeymasterDevice* CreateKeymasterDevice(keymaster1_device_t* km1_device) { in CreateKeymasterDevice()
|