From 9c6d86ddaaab984b15dd935743eb5fd80aec4d5e Mon Sep 17 00:00:00 2001 From: Hasini Gunasinghe Date: Tue, 20 Dec 2022 05:28:00 +0000 Subject: [PATCH] Set the environment variable to switch the Keymint HAL service to Rust Ref: aosp/2328294 Note: This CL switches the Keymint HAL to the Rust implementation which can only communicate with a Keymint TA implemented in Rust in Trusty. go/gpar/489149 switches the Keymint TA to the Rust implementation. Therefore, this CL is one of two CLs that needs to be synced in order for the zuma devices to be able to boot with Keymint Rust implementation. Bug: 197891150 Bug: 225036046 Test: VtsAidlKeyMintTargetTest Change-Id: I53307b3911a478d941fc2d6cc39f3d410ad050e0 --- device.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/device.mk b/device.mk index 63d57e1e..b338fd75 100644 --- a/device.mk +++ b/device.mk @@ -76,6 +76,9 @@ PRODUCT_SOONG_NAMESPACES += \ LOCAL_KERNEL := $(TARGET_KERNEL_DIR)/Image.lz4 +# Set the environment variable to switch the Keymint HAL service to Rust +TRUSTY_KEYMINT_IMPL := rust + # OEM Unlock reporting PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ ro.oem_unlock_supported=1