Searched refs:verified_boot_key (Results 1 – 4 of 4) sorted by relevance
/hardware/interfaces/keymaster/4.0/support/ |
D | attestation_record.cpp | 52 ASN1_OCTET_STRING* verified_boot_key; member 59 ASN1_SIMPLE(KM_ROOT_OF_TRUST, verified_boot_key, ASN1_OCTET_STRING), 311 hidl_vec<uint8_t>* verified_boot_key, in parse_root_of_trust() argument 314 if (!verified_boot_key || !verified_boot_state || !device_locked || !verified_boot_hash) { in parse_root_of_trust() 332 if (!record->tee_enforced->root_of_trust->verified_boot_key) { in parse_root_of_trust() 338 auto& vb_key = root_of_trust->verified_boot_key; in parse_root_of_trust() 339 verified_boot_key->resize(vb_key->length); in parse_root_of_trust() 340 memcpy(verified_boot_key->data(), vb_key->data, vb_key->length); in parse_root_of_trust()
|
/hardware/interfaces/keymaster/4.0/support/include/keymasterV4_0/ |
D | attestation_record.h | 63 hidl_vec<uint8_t>* verified_boot_key,
|
/hardware/interfaces/keymaster/3.0/vts/functional/ |
D | attestation_record.cpp | 48 ASN1_OCTET_STRING* verified_boot_key; member 54 ASN1_SIMPLE(KM_ROOT_OF_TRUST, verified_boot_key, ASN1_OCTET_STRING),
|
/hardware/interfaces/keymaster/4.0/vts/functional/ |
D | keymaster_hidl_hal_test.cpp | 416 HidlBuf verified_boot_key; in verify_attestation_record() local 420 error = parse_root_of_trust(attest_rec->data, attest_rec->length, &verified_boot_key, in verify_attestation_record() 442 std::string verified_boot_key_str((const char*)verified_boot_key.data(), in verify_attestation_record() 443 verified_boot_key.size()); in verify_attestation_record() 448 EXPECT_NE(0, memcmp(verified_boot_key.data(), empty_boot_key.data(), in verify_attestation_record() 449 verified_boot_key.size())); in verify_attestation_record() 452 EXPECT_NE(0, memcmp(verified_boot_key.data(), empty_boot_key.data(), in verify_attestation_record() 453 verified_boot_key.size())); in verify_attestation_record() 456 EXPECT_EQ(0, memcmp(verified_boot_key.data(), empty_boot_key.data(), in verify_attestation_record() 457 verified_boot_key.size())); in verify_attestation_record() [all …]
|