Searched refs:attestation_challenge (Results 1 – 4 of 4) sorted by relevance
/system/keymaster/tests/ |
D | attestation_record_test.cpp | 102 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/ |
D | attestation_record.cpp | 432 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/ |
D | attestation_record.h | 170 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/ |
D | soft_keymaster_device.cpp | 1085 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()
|