Searched refs:IKeyMintDevice (Results 1 – 13 of 13) sorted by relevance
/system/security/keystore2/src/km_compat/ |
D | certificate_test.cpp | 49 static std::variant<std::shared_ptr<IKeyMintDevice>, ScopedAStatus> getDevice() { in getDevice() 51 std::shared_ptr<IKeyMintDevice> device; in getDevice() 65 getCertificate(std::shared_ptr<IKeyMintDevice> device, const std::vector<KeyParameter>& keyParams) { in getCertificate() 108 if (std::holds_alternative<std::shared_ptr<IKeyMintDevice>>(device)) { in TEST() 109 auto result = getCertificate(std::get<std::shared_ptr<IKeyMintDevice>>(device), keyParams); in TEST() 123 if (std::holds_alternative<std::shared_ptr<IKeyMintDevice>>(device)) { in TEST() 124 auto result = getCertificate(std::get<std::shared_ptr<IKeyMintDevice>>(device), keyParams); in TEST() 136 if (std::holds_alternative<std::shared_ptr<IKeyMintDevice>>(device)) { in TEST() 137 auto result = getCertificate(std::get<std::shared_ptr<IKeyMintDevice>>(device), keyParams); in TEST() 151 if (std::holds_alternative<std::shared_ptr<IKeyMintDevice>>(device)) { in TEST() [all …]
|
D | lib.rs | 33 ErrorCode::ErrorCode, IKeyMintDevice::IKeyMintDevice, KeyCreationResult::KeyCreationResult, 43 fn get_device() -> Option<Strong<dyn IKeyMintDevice>> { in get_device() 74 fn generate_key(legacy: &dyn IKeyMintDevice, kps: Vec<KeyParameter>) -> KeyCreationResult { in generate_key() argument 85 fn generate_rsa_key(legacy: &dyn IKeyMintDevice, encrypt: bool, attest: bool) -> Vec<u8> { in generate_rsa_key() argument 214 fn generate_aes_key(legacy: &dyn IKeyMintDevice) -> Vec<u8> { in generate_aes_key() 245 legacy: &dyn IKeyMintDevice, in begin() argument
|
D | km_compat.h | 43 using ::aidl::android::hardware::security::keymint::IKeyMintDevice; 139 std::shared_ptr<IKeyMintDevice> softKeyMintDevice_; 199 std::unordered_map<KeyMintSecurityLevel, std::shared_ptr<IKeyMintDevice>> mDeviceCache; 206 std::shared_ptr<IKeyMintDevice>* _aidl_return) override;
|
D | km_compat.cpp | 1394 std::shared_ptr<IKeyMintDevice>* _aidl_return) { in getKeyMintDevice()
|
/system/security/keystore2/aidl/android/security/compat/ |
D | IKeystoreCompatService.aidl | 19 import android.hardware.security.keymint.IKeyMintDevice; 35 IKeyMintDevice getKeyMintDevice (SecurityLevel securityLevel); in getKeyMintDevice()
|
/system/security/keystore2/src/ |
D | maintenance.rs | 26 …dware_security_keymint::aidl::android::hardware::security::keymint::IKeyMintDevice::IKeyMintDevice; 157 F: Fn(Strong<dyn IKeyMintDevice>) -> binder::public_api::Result<()>, in call_with_watchdog() 161 let km_dev: Strong<dyn IKeyMintDevice> = dev in call_with_watchdog() 174 F: Fn(Strong<dyn IKeyMintDevice>) -> binder::public_api::Result<()>, in call_on_all_security_levels()
|
D | raw_device.rs | 28 HardwareAuthToken::HardwareAuthToken, IKeyMintDevice::IKeyMintDevice, 49 km_dev: Strong<dyn IKeyMintDevice>, 108 F: FnOnce(&Strong<dyn IKeyMintDevice>) -> Result<KeyCreationResult, binder::Status>, in create_and_store_key()
|
D | globals.rs | 33 IKeyMintDevice::IKeyMintDevice, IRemotelyProvisionedComponent::IRemotelyProvisionedComponent, 169 let km_dev: Strong<dyn IKeyMintDevice> = 288 pub fn get_keymint_devices() -> Vec<Strong<dyn IKeyMintDevice>> { in get_keymint_devices()
|
D | security_level.rs | 46 HardwareAuthenticatorType::HardwareAuthenticatorType, IKeyMintDevice::IKeyMintDevice, 307 let km_dev: Strong<dyn IKeyMintDevice> = self in create_operation() 511 let km_dev: Strong<dyn IKeyMintDevice> = self.keymint.get_interface()?; in generate_key() 628 let km_dev: Strong<dyn IKeyMintDevice> = in import_key() 739 let km_dev: Strong<dyn IKeyMintDevice> = self.keymint.get_interface()?; in import_wrapped_key() 798 km_dev: &dyn IKeyMintDevice, in upgrade_keyblob_if_required_with() argument 886 let km_dev: Strong<dyn IKeyMintDevice> = self.keymint.get_interface().context(concat!( in convert_storage_key_to_ephemeral() 948 let km_dev: Strong<dyn IKeyMintDevice> = self in delete_key()
|
/system/keymaster/ng/include/ |
D | AndroidKeyMintDevice.h | 91 IKeyMintDevice* CreateKeyMintDevice(SecurityLevel securityLevel);
|
/system/keymaster/ng/ |
D | AndroidKeyMintDevice.cpp | 468 IKeyMintDevice* CreateKeyMintDevice(SecurityLevel securityLevel) { in CreateKeyMintDevice()
|
/system/sepolicy/prebuilts/api/31.0/private/ |
D | service_contexts | 14 android.hardware.security.keymint.IKeyMintDevice/default u:object_r:hal_keymint_service…
|
/system/sepolicy/private/ |
D | service_contexts | 14 android.hardware.security.keymint.IKeyMintDevice/default u:object_r:hal_keymint_service…
|