History log of /hardware/interfaces/keymaster/3.0/vts/functional/keymaster_hidl_hal_test.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
35e1be70b4b383e36cbc4c45fd8663c3de256b17 12-Sep-2017 Shawn Willden <swillden@google.com> Merge "Don't send more than 2K to addRngEntropy" into oc-dev
am: 7eeb6b5079

Change-Id: Id0ee0e3f22ee4f2d2b730054043d28c01ac19c6f
7eeb6b5079fed4a8555c3b5e9f44478bd7e8ca42 12-Sep-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Don't send more than 2K to addRngEntropy" into oc-dev
ac06f7576eeafbbb7224e25454f51bd4ce3a7da4 12-Sep-2017 Shawn Willden <swillden@google.com> Merge "Reduce max keymaster message size to 2K" into oc-dev
am: 42d61ce03a

Change-Id: Ia2915bb4305268e5048689ef3e4cf6cf9793d483
02ffb2be413d4cbaaefa1313903e1f108eda4c9e 11-Aug-2017 Shawn Willden <swillden@google.com> Don't send more than 2K to addRngEntropy

Bug: 63745893
Test: VtsHalKeymasterV3_0TargetTest
Change-Id: I136920d3b62e026b22fbe06594bc40ccddc57dc3
(cherry picked from commit 3e1267edf0621185043482a805fcec0fa2a63719)
/hardware/interfaces/keymaster/3.0/vts/functional/keymaster_hidl_hal_test.cpp
703c242322f75fa23e7b349186cfb02103a2ac05 03-Aug-2017 Shawn Willden <swillden@google.com> Reduce max keymaster message size to 2K

Bug: 63745895
Test: VtsHalKeymasterV3_0TargetTest
Change-Id: I9b8c2e551f04bd2124462095f232bd08ff1f63c6
/hardware/interfaces/keymaster/3.0/vts/functional/keymaster_hidl_hal_test.cpp
709e2e1ed9be15c36ec60aa05b2081cc30301242 16-Jun-2017 Shawn Willden <swillden@google.com> Test import of a EC P-521 key.

This failure is also diagnosed by CTS, but it should be validated in VTS
as well.

Merged-In: Ia7654ff8813942fbca9dfa838337e9de5839a9e2
Bug: 33945114
Test: adb shell data/nativetests64/VtsHalKeymasterV3_0TargetTest/VtsHalKeymasterV3_0TargetTest
Change-Id: Ia7654ff8813942fbca9dfa838337e9de5839a9e2
/hardware/interfaces/keymaster/3.0/vts/functional/keymaster_hidl_hal_test.cpp
2bd3e23f3cf3a70825bfb6b9a306f707a14203cb 16-Jun-2017 Shawn Willden <swillden@google.com> Test import of a EC P-521 key.

This failure is also diagnosed by CTS, but it should be validated in VTS
as well.

Bug: 33945114
Test: adb shell data/nativetests64/VtsHalKeymasterV3_0TargetTest/VtsHalKeymasterV3_0TargetTest
Change-Id: Ia7654ff8813942fbca9dfa838337e9de5839a9e2
/hardware/interfaces/keymaster/3.0/vts/functional/keymaster_hidl_hal_test.cpp
da4568eb189b517a8b9cfbcfff67241c139d67ce 21-Jun-2017 Shawn Willden <swillden@google.com> Merge "Check return from DeleteKey correctly." into oc-dev
am: c4f859d1b5

Change-Id: Ib41e416ab79a56cddbaa61084645f626b4a3b22b
c4f859d1b5d0d4057efc849812681651d553638b 21-Jun-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Check return from DeleteKey correctly." into oc-dev
eb5a6056bc25a7fb13f64c0bef0f6ea476a9edf8 14-Jun-2017 Janis Danisevskis <jdanis@google.com> Merge "Purge unsupported RSA key sizes from VTS tests" into oc-dev
am: bc970b089f

Change-Id: Id5c16a9a8a2ff95e18254da4b8568d68e15e5834
39daaa0f96b248539c28f62e6a245798abb45d1b 06-Jun-2017 Janis Danisevskis <jdanis@google.com> Purge unsupported RSA key sizes from VTS tests

Support for 256 bit RSA keys are not mandated by keymaster specs and
must not be used in the VTS tests.

Bug: 62581389
Change-Id: If315088db2752ac2efe31fdb95db7ca13c3ce225
/hardware/interfaces/keymaster/3.0/vts/functional/keymaster_hidl_hal_test.cpp
db5b71c924e8640adaa5e55aa46cd7313ba03c71 08-Jun-2017 Janis Danisevskis <jdanis@google.com> Fix expected attestation version.
am: 538b7d85ef

Change-Id: I35fd340baa71984a9aa5b1db6d8df1b09cda7a6c
538b7d85ef1d9d655587917c744646461f02d8c8 07-Jun-2017 Janis Danisevskis <jdanis@google.com> Fix expected attestation version.

The attestation version cannot be infered from the keymaster version
because we provide software attestation for legacy keymaster 1 keys.
This patch changes the attestation test to expect either attestation
version 1 or 2.

Bug: 37351644
Test: VtsHalKeymasterV3_0TargetTest
Change-Id: I4db83a543db20191d288b2ca8308aa6597cd8e22
/hardware/interfaces/keymaster/3.0/vts/functional/keymaster_hidl_hal_test.cpp
76627c3f72f709be41a4a9150ad94d465d27dca4 01-Jun-2017 Shawn Willden <swillden@google.com> Annotate DeleteKey test with bug number. am: abcd323019
am: 392db77668

Change-Id: If2800344b883ae35e8372d977cc63abdf1832e0d
abcd323019d136e98570e5506afe3274fca60a37 24-Apr-2017 Shawn Willden <swillden@google.com> Annotate DeleteKey test with bug number.

Bug: 37623742
Change-Id: I2cb4bb39bacb3aabf5fff7937f60c7355c9636e3
Test: VTS test, manually run
/hardware/interfaces/keymaster/3.0/vts/functional/keymaster_hidl_hal_test.cpp
1c69c5fcb898481cb0c6132e6b392fa0eddaf103 01-Jun-2017 Shawn Willden <swillden@google.com> Check return from DeleteKey correctly.

DeleteKey may legitimately return ErrorCode::UNIMPLEMENTED rather than
ErrorCode::OK, but the VTS test didn't allow that in all cases. In many
case the return code was also left unchecked.

Test: adb shell/data/nativetest64/VtsHalKeymasterV3_0TargetTest/VtsHalKeymasterV3_0TargetTest
Bug: 62193967
Change-Id: I19a90a87850675b0700baf7409e57098e0584d54
/hardware/interfaces/keymaster/3.0/vts/functional/keymaster_hidl_hal_test.cpp
41fbd43c106775fbd40a4e9767e6fce707a07fbb 18-May-2017 Shawn Willden <swillden@google.com> Validate certificate names.

Bug: 38394614
Test: adb shell /data/nativetest64/VtsHalKeymasterV3_0TargetTest/VtsHalKeymasterV3_0TargetTest
Change-Id: If9d985807000f54f57f979f0c2d9f38df8fbd3d3
/hardware/interfaces/keymaster/3.0/vts/functional/keymaster_hidl_hal_test.cpp
319e5c5c02b18bc74f4b2e20db8e2c12a497d713 16-May-2017 Shawn Willden <swillden@google.com> Verify that attestation root is a valid self-signed cert.

Bug: 38243685
Test: adb shell /data/nativetests64/VtsHalKeymasterV3_0TargetTest/VtsHalKeymasterV3_0TargetTest
Change-Id: I6b57025e4aab7d475116c51fb43ae9f31778d7c8
/hardware/interfaces/keymaster/3.0/vts/functional/keymaster_hidl_hal_test.cpp
032d2afb2ee2eabf98a63833b633ec12408c9352 17-May-2017 Shawn Willden <swillden@google.com> Check HAL return codes.

Test: adb shell /data/nativetest64/VtsHalKeymasterV3_0TargetTest/VtsHalKeymasterV3_0TargetTest
Change-Id: I1772cfa97f60bab5acf12b4afccc242a11946085
/hardware/interfaces/keymaster/3.0/vts/functional/keymaster_hidl_hal_test.cpp
58ce93480b1731b01d8a732179a7c7cf2970e97d 24-Apr-2017 Shawn Willden <swillden@google.com> Add missing application ID tag to AES/HMAC attestation calls

Test: Manually verified by running VTS
Change-Id: Iaba04736e3ccc43a662407a6c18416f20d0ee4ea
/hardware/interfaces/keymaster/3.0/vts/functional/keymaster_hidl_hal_test.cpp
dc9965665e90a9ac11486838f472e262e68d1e0d 12-Apr-2017 Shawn Willden <swillden@google.com> Require attestation app ID.

Bug: 37318025
Test: Manually tested
Change-Id: Iaa992c8d22e0c88c2a2570355199befa484adc19
/hardware/interfaces/keymaster/3.0/vts/functional/keymaster_hidl_hal_test.cpp
4b93bb21dcd2ae0c744814e760e1c4e7a23c13b6 11-Apr-2017 Shawn Willden <swillden@google.com> Fix handling of KM3 attestations.

Test: Manually tested
Bug: 37318025
Change-Id: I91c0c0fe6d36fb4a02d6b58a3b0836a6f8996012
/hardware/interfaces/keymaster/3.0/vts/functional/keymaster_hidl_hal_test.cpp
88164a4c0e83e4a3c2feda1f78bb0328ddff1804 11-Mar-2017 Janis Danisevskis <jdanis@google.com> 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
/hardware/interfaces/keymaster/3.0/vts/functional/keymaster_hidl_hal_test.cpp
63e15f079062579a1b1866026eee0fca5d677fb7 30-Mar-2017 Shawn Willden <swillden@google.com> Revert "Revert "Add keymaster VTS tests.""

This reverts commit 8e10baee45a1bfab4094869159b8ede270b6d416.

Test: Tests pass, except known failures with in-progress vendor fixes
Change-Id: Ia95c1444100e123fa65d095b001878cf9040d0c4
/hardware/interfaces/keymaster/3.0/vts/functional/keymaster_hidl_hal_test.cpp
8e10baee45a1bfab4094869159b8ede270b6d416 29-Mar-2017 Keun Soo Yim <yim@google.com> Revert "Add keymaster VTS tests."

This reverts commit dda22ea8845f6906d4bccc13bf142d96a43976c5.

Change-Id: Ie6a60e17ed5258840eba3d3f6b8092636160b2c2
/hardware/interfaces/keymaster/3.0/vts/functional/keymaster_hidl_hal_test.cpp
dda22ea8845f6906d4bccc13bf142d96a43976c5 02-Dec-2016 Shawn Willden <swillden@google.com> Add keymaster VTS tests.

Note: Recent Google devices have keymaster implementations that don't
pass this test suite. See https://goo.gl/6hsGwa for a summary.

Bug: 32022681
Test: This is the test suite.
Change-Id: Ib200b68e0c7844df02eb9f086385d6c36e306d45
/hardware/interfaces/keymaster/3.0/vts/functional/keymaster_hidl_hal_test.cpp