Searched refs:attestation_challenge (Results 1 – 4 of 4) sorted by relevance
/system/keymaster/tests/ |
D | attestation_record_test.cpp | 121 keymaster_blob_t attestation_challenge = {}; in TEST() local 126 &keymaster_security_level, &attestation_challenge, in TEST() 131 std::string(reinterpret_cast<const char*>(attestation_challenge.data), 14)); in TEST() 132 delete[] attestation_challenge.data; in TEST() 201 keymaster_blob_t attestation_challenge = {}; in TEST() local 210 &keymaster_security_level, &attestation_challenge, &parsed_sw_set, in TEST() 219 std::string(reinterpret_cast<const char*>(attestation_challenge.data), 14)); in TEST() 220 delete[] attestation_challenge.data; in TEST() 297 keymaster_blob_t attestation_challenge = {}; in TEST() local 307 &keymaster_security_level, &attestation_challenge, &parsed_sw_set, in TEST()
|
/system/keymaster/km_openssl/ |
D | attestation_record.cpp | 252 bool is_valid_attestation_challenge(const keymaster_blob_t& attestation_challenge) { in is_valid_attestation_challenge() argument 255 return (attestation_challenge.data_length <= kMaximumAttestationChallengeLength); in is_valid_attestation_challenge() 872 keymaster_blob_t attestation_challenge = {nullptr, 0}; in build_eat_record() local 873 if (!attestation_params.GetTagValue(TAG_ATTESTATION_CHALLENGE, &attestation_challenge)) { in build_eat_record() 877 if (!is_valid_attestation_challenge(attestation_challenge)) { in build_eat_record() 881 eat_record.add(EatClaim::NONCE, blob_to_bstr(attestation_challenge)); in build_eat_record() 1014 keymaster_blob_t attestation_challenge = {nullptr, 0}; in build_attestation_record() local 1015 if (!attestation_params.GetTagValue(TAG_ATTESTATION_CHALLENGE, &attestation_challenge)) { in build_attestation_record() 1019 if (!is_valid_attestation_challenge(attestation_challenge)) { in build_attestation_record() 1023 if (!ASN1_OCTET_STRING_set(key_desc->attestation_challenge, attestation_challenge.data, in build_attestation_record() [all …]
|
/system/keymaster/include/keymaster/km_openssl/ |
D | attestation_record.h | 199 ASN1_OCTET_STRING* attestation_challenge; member 210 ASN1_SIMPLE(KM_KEY_DESCRIPTION, attestation_challenge, ASN1_OCTET_STRING), 355 keymaster_blob_t* attestation_challenge, 376 keymaster_security_level_t* keymaster_security_level, keymaster_blob_t* attestation_challenge,
|
/system/keymaster/contexts/ |
D | soft_keymaster_device.cpp | 1000 keymaster_blob_t attestation_challenge = {}; in attest_key() local 1001 request.attest_params.GetTagValue(TAG_ATTESTATION_CHALLENGE, &attestation_challenge); in attest_key() 1002 if (attestation_challenge.data_length > kMaximumAttestationChallengeLength) { in attest_key() 1004 attestation_challenge.data_length, kMaximumAttestationChallengeLength); in attest_key()
|