]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android/platform-hardware-interfaces.git/commitdiff
Skip NoUserConfirmation VTS test for Strongbox
authorBaranidharan Muthukumaran <bmuthuku@qti.qualcomm.com>
Fri, 24 Aug 2018 20:41:49 +0000 (13:41 -0700)
committerMax Bires <jbires@google.com>
Fri, 7 Sep 2018 02:37:12 +0000 (02:37 +0000)
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 <jbires@google.com>
keymaster/4.0/vts/functional/keymaster_hidl_hal_test.cpp

index 89bcca6a3306e12964880820e07b313dce72443a..784ae30c04b45400ded698047534017b21fb65b7 100644 (file)
@@ -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)