summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Drysdale <drysdale@google.com>2021-04-13 17:22:13 +0100
committerSeth Moore <sethmo@google.com>2021-09-08 17:36:17 +0000
commit0fce69d05c85a402d8991be0097735d2ff2680ec (patch)
tree447ef06018c424aac38bc32a37afda47b5d0e2a8
parent7218fea0ebe257834c342d3e90ca3c5d7f1ec5fb (diff)
downloadplatform_hardware_interfaces-0fce69d05c85a402d8991be0097735d2ff2680ec.tar.gz
platform_hardware_interfaces-0fce69d05c85a402d8991be0097735d2ff2680ec.tar.bz2
platform_hardware_interfaces-0fce69d05c85a402d8991be0097735d2ff2680ec.zip
Disable KeyMint -> IRemotelyProvisionedComponent test
Not required yet. Test: VtsAidlKeyMintTargetTest Change-Id: Ie8fecc4ea4795d7fa4fd6bcf0e6d8013c15f50e5 Bug: 186586864
-rw-r--r--security/keymint/aidl/vts/functional/KeyMintTest.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/security/keymint/aidl/vts/functional/KeyMintTest.cpp b/security/keymint/aidl/vts/functional/KeyMintTest.cpp
index 651b21f19e..a90ee65843 100644
--- a/security/keymint/aidl/vts/functional/KeyMintTest.cpp
+++ b/security/keymint/aidl/vts/functional/KeyMintTest.cpp
@@ -951,8 +951,12 @@ TEST_P(NewKeyGenerationTest, RsaWithAttestation) {
*
* Verifies that keymint can generate all required RSA key sizes, using an attestation key
* that has been generated using an associate IRemotelyProvisionedComponent.
+ *
+ * This test is disabled because the KeyMint specification does not require that implementations
+ * of the first version of KeyMint have to also implement IRemotelyProvisionedComponent.
+ * However, the test is kept in the code because KeyMint v2 will impose this requirement.
*/
-TEST_P(NewKeyGenerationTest, RsaWithRpkAttestation) {
+TEST_P(NewKeyGenerationTest, DISABLED_RsaWithRpkAttestation) {
// There should be an IRemotelyProvisionedComponent instance associated with the KeyMint
// instance.
std::shared_ptr<IRemotelyProvisionedComponent> rp;