Merge "Add support for BOOT and VENDOR patch levels to keymaster."
diff --git a/keystore/key_store_service.cpp b/keystore/key_store_service.cpp
index e5f1470..f748f4d 100644
--- a/keystore/key_store_service.cpp
+++ b/keystore/key_store_service.cpp
@@ -1690,13 +1690,10 @@
error = mKeyStore->put(filename.string(), &ksBlob, get_user_id(callingUid));
};
- // TODO b/70904859 sanitize params and forward to keymaster
- // forward rootSid and fingerprintSid
- (void)params;
- (void)rootSid;
- (void)fingerprintSid;
- rc = KS_HANDLE_HIDL_ERROR(
- dev->importWrappedKey(wrappedKey, hidlWrappingKey, maskingKey, hidlCb));
+ rc = KS_HANDLE_HIDL_ERROR(dev->importWrappedKey(wrappedKey, hidlWrappingKey, maskingKey,
+ params.getParameters(), rootSid, fingerprintSid,
+ hidlCb));
+
// possible hidl error
if (!rc.isOk()) {
return AIDL_RETURN(rc);