From 0fa3185da90eff210c7955f02d4e12e689e9ab15 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 3919a69dbf..9c45cc9819 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)