Merge "identity: Set testMode to false for RKP." am: 087b29d75a am: 8ff617bdd0 am: 6c1c507c6b

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2603749

Change-Id: Id00e38234b267d7a8cb5ba02d31626ecfe71b51d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot 2023-05-25 00:52:17 +00:00 committed by Automerger Merge Worker
commit e21691aafe

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);