Home
last modified time | relevance | path

Searched refs:keymaster1_device_t (Results 1 – 19 of 19) sorted by relevance

/system/keymaster/include/keymaster/
Dsoft_keymaster_device.h63 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/
Dsoft_keymaster_device.cpp110 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 …]
Dkeymaster1_passthrough_context.cpp36 Keymaster1PassthroughContext::Keymaster1PassthroughContext(keymaster1_device_t* dev) in Keymaster1PassthroughContext()
110 static keymaster_error_t parseKeymaster1HwBlob(const keymaster1_device_t* device, in parseKeymaster1HwBlob()
Dsoft_keymaster_context.cpp81 keymaster_error_t SoftKeymasterContext::SetHardwareDevice(keymaster1_device_t* keymaster1_device) { in SetHardwareDevice()
/system/keymaster/include/keymaster/legacy_support/
Dkeymaster1_engine.h43 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_;
Dkeymaster_passthrough_engine.h28 typedef struct keymaster1_device keymaster1_device_t; typedef
63 createInstance(const keymaster1_device_t* dev);
Dkeymaster1_legacy_support.h46 Keymaster1LegacySupport(const keymaster1_device_t* dev);
66 const keymaster1_device_t* dev, in Keymaster1ArbitrationFactory()
/system/keymaster/include/keymaster/contexts/
Dkeymaster1_passthrough_context.h41 explicit Keymaster1PassthroughContext(keymaster1_device_t* dev);
125 keymaster1_device_t* device_;
Dsoft_keymaster_context.h61 keymaster_error_t SetHardwareDevice(keymaster1_device_t* keymaster1_device);
/system/keymaster/tests/
Dandroid_keymaster_test_utils.cpp705 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 …]
Dandroid_keymaster_test_utils.h488 keymaster1_device_t* make_device_sha256_only(keymaster1_device_t* device);
Dandroid_keymaster_test.cpp145 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/
Dkeymaster_passthrough_engine.cpp212 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()
Dkeymaster1_legacy_support.cpp57 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()
Dkeymaster_passthrough_operation.cpp26 KeymasterPassthroughOperation<keymaster1_device_t>::Finish(const AuthorizationSet& input_params, in Finish()
Dkeymaster_passthrough_operation.h84 keymaster_error_t KeymasterPassthroughOperation<keymaster1_device_t>::Finish(
Dkeymaster1_engine.cpp42 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/
DAndroidKeymaster3Device.h27 typedef struct keymaster1_device keymaster1_device_t; typedef
101 IKeymasterDevice* CreateKeymasterDevice(keymaster1_device_t* km1_device);
/system/keymaster/ng/
DAndroidKeymaster3Device.cpp505 IKeymasterDevice* CreateKeymasterDevice(keymaster1_device_t* km1_device) { in CreateKeymasterDevice()