Lines Matching refs:km_dev
307 let km_dev: Strong<dyn IKeyMintDevice> = self in create_operation() localVariable
314 &*km_dev, in create_operation()
325 km_dev.begin(purpose, blob, &operation_parameters, immediate_hat.as_ref()) in create_operation()
511 let km_dev: Strong<dyn IKeyMintDevice> = self.keymint.get_interface()?; in generate_key() localVariable
521 &*km_dev, in generate_key()
540 km_dev.generateKey(¶ms, attest_key.as_ref()) in generate_key()
555 km_dev.generateKey(¶ms, Some(&attestation_key)) in generate_key()
571 km_dev.generateKey(¶ms, None) in generate_key()
628 let km_dev: Strong<dyn IKeyMintDevice> = in import_key() localVariable
633 km_dev.importKey(¶ms, format, key_data, None /* attestKey */) in import_key()
739 let km_dev: Strong<dyn IKeyMintDevice> = self.keymint.get_interface()?; in import_wrapped_key() localVariable
742 &*km_dev, in import_wrapped_key()
752 let creation_result = map_km_error(km_dev.importWrappedKey( in import_wrapped_key()
798 km_dev: &dyn IKeyMintDevice, in upgrade_keyblob_if_required_with()
818 map_km_error(km_dev.upgradeKey(key_blob, params)) in upgrade_keyblob_if_required_with()
886 let km_dev: Strong<dyn IKeyMintDevice> = self.keymint.get_interface().context(concat!( in convert_storage_key_to_ephemeral() localVariable
898 map_km_error(km_dev.convertStorageKeyToEphemeral(key_blob)) in convert_storage_key_to_ephemeral()
909 map_km_error(km_dev.upgradeKey(key_blob, &[])) in convert_storage_key_to_ephemeral()
917 map_km_error(km_dev.convertStorageKeyToEphemeral(&upgraded_blob)) in convert_storage_key_to_ephemeral()
948 let km_dev: Strong<dyn IKeyMintDevice> = self in delete_key() localVariable
955 map_km_error(km_dev.deleteKey(&key_blob)).context("In keymint device deleteKey") in delete_key()