diff options
author | Linux Build Service Account <lnxbuild@localhost> | 2023-06-29 06:04:48 -0700 |
---|---|---|
committer | Linux Build Service Account <lnxbuild@localhost> | 2023-06-29 06:04:48 -0700 |
commit | a15d15d6e92f86ac7658dcee3020a877352b151d (patch) | |
tree | 9255ed2c8db3b4ad3ea117a94f6f5c09af84e9d7 /keymaster/4.0/vts/functional/BootloaderStateTest.cpp | |
parent | e041de1afe487da9d57b70bed45a98b6549b514a (diff) | |
parent | 173fe3535c5676ff825735b99ed375f1dc82d391 (diff) |
Merge 173fe3535c5676ff825735b99ed375f1dc82d391 on remote branch
Change-Id: Ia3a567041d2212119cd4ab6cad8a2a3453bfc572
Diffstat (limited to 'keymaster/4.0/vts/functional/BootloaderStateTest.cpp')
-rw-r--r-- | keymaster/4.0/vts/functional/BootloaderStateTest.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/keymaster/4.0/vts/functional/BootloaderStateTest.cpp b/keymaster/4.0/vts/functional/BootloaderStateTest.cpp index 6b5e8bf856..912b59b2d2 100644 --- a/keymaster/4.0/vts/functional/BootloaderStateTest.cpp +++ b/keymaster/4.0/vts/functional/BootloaderStateTest.cpp @@ -60,13 +60,9 @@ class BootloaderStateTest : public KeymasterHidlTest { ASSERT_TRUE(attest_rec) << "Failed to get attestation record."; // Parse root of trust. - HidlBuf verified_boot_key; - keymaster_verified_boot_t verified_boot_state; - bool device_locked; - HidlBuf verified_boot_hash; - auto result = - parse_root_of_trust(attest_rec->data, attest_rec->length, &verified_boot_key, - &verified_boot_state, &device_locked, &verified_boot_hash); + auto result = parse_root_of_trust(attest_rec->data, attest_rec->length, &attestedVbKey_, + &attestedVbState_, &attestedBootloaderState_, + &attestedVbmetaDigest_); ASSERT_EQ(result, ErrorCode::OK) << "Failed to parse root of trust."; } |