Home
last modified time | relevance | path

Searched refs:attest_rec (Results 1 – 4 of 4) sorted by relevance

/hardware/interfaces/identity/aidl/vts/
DVtsAttestationParserSupport.cpp101 ASN1_OCTET_STRING* attest_rec = X509_EXTENSION_get_data(attest_rec_ext); in getAttestationRecord() local
102 return attest_rec; in getAttestationRecord()
117 ASN1_OCTET_STRING* attest_rec = getAttestationRecord(cert.get()); in verifyAttestationRecord() local
118 if (!attest_rec) { in verifyAttestationRecord()
125 attest_rec->data, attest_rec->length, &att_attestation_version_, in verifyAttestationRecord()
/hardware/interfaces/keymaster/4.1/support/
Dattestation_record.cpp318 ASN1_OCTET_STRING* attest_rec = X509_EXTENSION_get_data(attest_rec_ext); in MAKE_OPENSSL_PTR_TYPE() local
324 p = attest_rec->data; in MAKE_OPENSSL_PTR_TYPE()
325 KM_KEY_DESCRIPTION_Ptr record(d2i_KM_KEY_DESCRIPTION(nullptr, &p, attest_rec->length)); in MAKE_OPENSSL_PTR_TYPE()
/hardware/interfaces/keymaster/4.0/vts/functional/
Dkeymaster_hidl_hal_test.cpp284 ASN1_OCTET_STRING* attest_rec = X509_EXTENSION_get_data(attest_rec_ext); in get_attestation_record() local
285 EXPECT_TRUE(!!attest_rec) << "Attestation extension contained no data"; in get_attestation_record()
286 return attest_rec; in get_attestation_record()
328 ASN1_OCTET_STRING* attest_rec = get_attestation_record(cert.get()); in verify_attestation_record() local
329 EXPECT_TRUE(!!attest_rec); in verify_attestation_record()
330 if (!attest_rec) return false; in verify_attestation_record()
342 auto error = parse_attestation_record(attest_rec->data, // in verify_attestation_record()
343 attest_rec->length, // in verify_attestation_record()
424 error = parse_root_of_trust(attest_rec->data, attest_rec->length, &verified_boot_key, in verify_attestation_record()
/hardware/interfaces/keymaster/3.0/vts/functional/
Dkeymaster_hidl_hal_test.cpp351 ASN1_OCTET_STRING* attest_rec = X509_EXTENSION_get_data(attest_rec_ext); in get_attestation_record() local
352 EXPECT_TRUE(!!attest_rec); in get_attestation_record()
353 return attest_rec; in get_attestation_record()
947 ASN1_OCTET_STRING* attest_rec = get_attestation_record(cert.get()); in verify_attestation_record() local
948 EXPECT_TRUE(!!attest_rec); in verify_attestation_record()
949 if (!attest_rec) return false; in verify_attestation_record()
961 parse_attestation_record(attest_rec->data, // in verify_attestation_record()
962 attest_rec->length, // in verify_attestation_record()