identity: Set testMode to false for RKP.

Bug: 283196184
Test: atest VtsHalIdentityTargetTest
Change-Id: Iabe0f4cf14d96aa2cf48fac4709640495e4c522a
This commit is contained in:
David Zeuthen 2023-05-24 17:13:29 -04:00
parent c08b6ba9ed
commit 50001471e5

View file

@ -73,7 +73,7 @@ optional<vector<vector<uint8_t>>> createFakeRemotelyProvisionedCertificateChain(
ndkMacedPublicKey.macedKey = macedPublicKey.macedKey;
vector<uint8_t> publicKeyBits;
check_maced_pubkey(ndkMacedPublicKey, /*testMode=*/true, &publicKeyBits);
check_maced_pubkey(ndkMacedPublicKey, /*testMode=*/false, &publicKeyBits);
::aidl::android::hardware::security::keymint::EVP_PKEY_Ptr publicKey;
p256_pub_key(publicKeyBits, &publicKey);