OSDN Git Service

Add DeleteKey and DeleteAllKeys test to Keymaster VTS tests
authorJanis Danisevskis <jdanis@google.com>
Sat, 11 Mar 2017 00:00:57 +0000 (16:00 -0800)
committerJanis Danisevskis <jdanis@google.com>
Fri, 31 Mar 2017 22:38:27 +0000 (15:38 -0700)
commit88164a4c0e83e4a3c2feda1f78bb0328ddff1804
tree4ab6ee59b3103d58d953c70b556e47c4f0e740ab
parent27c2f822ba004c5ef8496aaa65707cd1e9e33b35
Add DeleteKey and DeleteAllKeys test to Keymaster VTS tests

The tests added verify that a generated key is no longer usable
after it was
 - explicictely deleted with deleteKey, or
 - all keys where deleted with deleteAllKeys.

Bug: 32022681
Test: make vts -j30 BUILD_GOOGLE_VTS=true TARGET_PRODUCT=aosp_arm64 &&
      vts-tradefed run commandAndExit vts --skip-all-system-status-check
      --primary-abi-only --skip-preconditions
      --module VtsHalKeymasterV3_0TargetTest -l INFO
Change-Id: I172ee5d3ccf1850c3c92d3a1a9e991f46b07a0e3
keymaster/3.0/vts/functional/Android.mk
keymaster/3.0/vts/functional/keymaster_hidl_hal_test.cpp