Home
last modified time | relevance | path

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

/system/keymaster/tests/
Dattestation_record_test.cpp102 keymaster_blob_t attestation_challenge = {}; in TEST() local
107 &keymaster_security_level, &attestation_challenge, in TEST()
112 std::string(reinterpret_cast<const char*>(attestation_challenge.data), 14)); in TEST()
113 delete[] attestation_challenge.data; in TEST()
/system/keymaster/km_openssl/
Dattestation_record.cpp432 keymaster_blob_t attestation_challenge = {nullptr, 0}; in build_attestation_record() local
433 if (!attestation_params.GetTagValue(TAG_ATTESTATION_CHALLENGE, &attestation_challenge)) in build_attestation_record()
436 if (attestation_challenge.data_length > kMaximumAttestationChallengeLength) in build_attestation_record()
439 if (!ASN1_OCTET_STRING_set(key_desc->attestation_challenge, attestation_challenge.data, in build_attestation_record()
440 attestation_challenge.data_length)) in build_attestation_record()
756 keymaster_blob_t* attestation_challenge, in parse_attestation_record() argument
773 attestation_challenge->data = in parse_attestation_record()
774 dup_buffer(record->attestation_challenge->data, record->attestation_challenge->length); in parse_attestation_record()
775 attestation_challenge->data_length = record->attestation_challenge->length; in parse_attestation_record()
/system/keymaster/include/keymaster/
Dattestation_record.h170 ASN1_OCTET_STRING* attestation_challenge; member
181 ASN1_SIMPLE(KM_KEY_DESCRIPTION, attestation_challenge, ASN1_OCTET_STRING),
280 keymaster_blob_t* attestation_challenge,
/system/keymaster/contexts/
Dsoft_keymaster_device.cpp1085 keymaster_blob_t attestation_challenge = {}; in attest_key() local
1086 request.attest_params.GetTagValue(TAG_ATTESTATION_CHALLENGE, &attestation_challenge); in attest_key()
1087 if (attestation_challenge.data_length > kMaximumAttestationChallengeLength) { in attest_key()
1089 attestation_challenge.data_length, kMaximumAttestationChallengeLength); in attest_key()