From 709aa5f453ae0314b0d5a4e8c5b75739c42b77d9 Mon Sep 17 00:00:00 2001 From: Baranidharan Muthukumaran Date: Fri, 24 Aug 2018 13:41:49 -0700 Subject: [PATCH] Skip NoUserConfirmation VTS test for Strongbox Since Confirmation UI is optional for Strongbox implementation, skipping the test. Bug: 112189538 Test: This is an update to the vts test Change-Id: Ie3485a1de92444b0c49670b198de30ea25e0673e Signed-off-by: Max Bires --- keymaster/4.0/vts/functional/keymaster_hidl_hal_test.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/keymaster/4.0/vts/functional/keymaster_hidl_hal_test.cpp b/keymaster/4.0/vts/functional/keymaster_hidl_hal_test.cpp index 89bcca6a33..784ae30c04 100644 --- a/keymaster/4.0/vts/functional/keymaster_hidl_hal_test.cpp +++ b/keymaster/4.0/vts/functional/keymaster_hidl_hal_test.cpp @@ -751,6 +751,7 @@ TEST_F(SigningOperationsTest, RsaPaddingNoneDoesNotAllowOther) { * presented. */ TEST_F(SigningOperationsTest, NoUserConfirmation) { + if (SecLevel() == SecurityLevel::STRONGBOX) return; ASSERT_EQ(ErrorCode::OK, GenerateKey(AuthorizationSetBuilder() .RsaSigningKey(1024, 65537) .Digest(Digest::NONE)